X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?p=inn-innduct.git;a=blobdiff_plain;f=backends%2FMakefile;h=bf4d10d6c42412e0239ad0c38f2f19487d4c7552;hp=1d8071c937f8a7a9d27afbe130a23f00001da2f6;hb=58574c7dd1bb38e5e4ba4a6c4bd459e9e9a8e625;hpb=4e748bf495b4c5c0582b877aee531dec31fc2a36 diff --git a/backends/Makefile b/backends/Makefile index 1d8071c..bf4d10d 100644 --- a/backends/Makefile +++ b/backends/Makefile @@ -57,12 +57,20 @@ LINK = $(LIBLD) $(LDFLAGS) -o $@ INNLIBS = $(LIBINN) $(LIBS) STORELIBS = $(BOTH) $(EXTSTORAGELIBS) $(LIBS) +DUCT_OBJS = innduct.o __oop-read-copy.o + FIX = $(FIXSCRIPT) $(FIXSCRIPT): @echo Run configure before running make. See INSTALL for details. @exit 1 +INNDUCT_WARNING_CFLAGS= \ + -Wall -Wwrite-strings -Wpointer-arith -Wmissing-declarations \ + -Wnested-externs -Wmissing-prototypes -Wstrict-prototypes + +innduct.o: CFLAGS += $(INNDUCT_WARNING_CFLAGS) + actsync: actsync.o $(LIBINN) ; $(LINK) actsync.o $(INNLIBS) archive: archive.o $(BOTH) ; $(LINK) archive.o $(STORELIBS) batcher: batcher.o $(BOTH) ; $(LINK) batcher.o $(STORELIBS) @@ -75,7 +83,7 @@ nntpget: nntpget.o $(BOTH) ; $(LINK) nntpget.o $(STORELIBS) overchan: overchan.o $(BOTH) ; $(LINK) overchan.o $(STORELIBS) shlock: shlock.o $(LIBINN) ; $(LINK) shlock.o $(INNLIBS) shrinkfile: shrinkfile.o $(LIBINN) ; $(LINK) shrinkfile.o $(INNLIBS) -innduct: innduct.o $(LIBINN) ; $(LINK) innduct.o $(INNLIBS) +innduct: $(DUCT_OBJS) $(BOTH) ; $(LINK) $(DUCT_OBJS) $(STORELIBS) -loop -lm buffchan: buffchan.o map.o $(LIBINN) $(LINK) buffchan.o map.o $(LIBINN) $(LIBS)