X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?p=secnet.git;a=blobdiff_plain;f=Makefile.in;h=fba120258e564c79438e393c1ed3021c9fad19b9;hp=0461854486e7ce617f38ad96210e5a698e885226;hb=fcbc59051841c6e76a6737acf8ccaac4afd98666;hpb=ea7ec970f650793fa9cc5d308a1fceb3e3d74336 diff --git a/Makefile.in b/Makefile.in index 0461854..fba1202 100644 --- a/Makefile.in +++ b/Makefile.in @@ -18,7 +18,7 @@ .PHONY: all clean realclean distclean dist install PACKAGE:=secnet -VERSION:=0.1.16 +VERSION:=0.1.18 @SET_MAKE@ @@ -34,7 +34,12 @@ INSTALL_PROGRAM:=@INSTALL_PROGRAM@ # Use -DHACKY_PARALLEL if you are compiling secnet for an extremely # slow machine #CFLAGS:=-Wall @WRITESTRINGS@ @CFLAGS@ -DHACKY_PARALLEL -CFLAGS:=-Wall @WRITESTRINGS@ @CFLAGS@ +CFLAGS:=-Wall @WRITESTRINGS@ @CFLAGS@ \ + -W -Wno-unused \ + -Wno-pointer-sign -Wstrict-prototypes -Wmissing-prototypes \ + -Wmissing-declarations -Wnested-externs -Wredundant-decls \ + -Wpointer-arith -Wformat=2 -Winit-self \ + -Wswitch-enum -Wunused-variable -Wbad-function-cast ALL_CFLAGS:=@DEFS@ -I$(srcdir) -I. $(CFLAGS) CPPFLAGS:=@CPPFLAGS@ LDFLAGS:=@LDFLAGS@ @@ -74,8 +79,8 @@ DISTFILES:=BUGS COPYING CREDITS INSTALL LICENSE.txt Makefile.in \ sha1.c site.c slip.c stamp-h.in transform.c tun.c udp.c \ unaligned.h util.c util.h \ hackypar.c hackypar.h -DISTSUBDIRS:=debian/conffiles debian/copyright debian/changelog \ - debian/control debian/init debian/rules +DISTSUBDIRS:=debian/copyright debian/changelog debian/control \ + debian/init debian/rules debian/compat debian/default %.c: %.y @@ -131,7 +136,9 @@ secnet: $(OBJECTS) $(CC) $(LDFLAGS) $(ALL_CFLAGS) -o $@ $(OBJECTS) $(LDLIBS) version.c: Makefile - echo "char version[]=\"secnet $(VERSION)\";" >version.c + echo "#include \"secnet.h\"" >$@.new + echo "char version[]=\"secnet $(VERSION)\";" >>$@.new + mv -f $@.new $@ install: all $(INSTALL) -d $(prefix)/share/secnet $(sbindir) @@ -141,6 +148,7 @@ install: all clean: $(RM) -f *.o *.yy.c *.tab.[ch] $(TARGETS) core version.c + $(RM) -f *.d *~ realclean: clean $(RM) -f *~ Makefile config.h *.d \