fortify-headers

standalone fortify-source implementation
git clone git://git.2f30.org/fortify-headers
Log | Files | Refs | README | LICENSE

Makefile (585B)


      1 VERSION = 2.1
      2 PREFIX = /usr/local
      3 
      4 install:
      5 	install -D -t $(DESTDIR)$(PREFIX)/include/fortify \
      6 		include/*.h
      7 	install -D -t $(DESTDIR)$(PREFIX)/include/fortify/sys \
      8 		include/sys/*.h
      9 
     10 uninstall:
     11 	rm -rf $(DESTDIR)$(PREFIX)/include/fortify
     12 
     13 dist: clean
     14 	mkdir -p fortify-headers-$(VERSION)
     15 	cp -R LICENSE Makefile README include fortify-headers-$(VERSION)
     16 	tar -cf fortify-headers-$(VERSION).tar fortify-headers-$(VERSION)
     17 	gzip fortify-headers-$(VERSION).tar
     18 	rm -rf fortify-headers-$(VERSION)
     19 
     20 clean:
     21 	rm -f fortify-headers-$(VERSION).tar.gz
     22 
     23 .PHONY:
     24 	install uninstall dist clean