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=f419e3fd6c1919d8ad0822dbd850c9ce935f9778;hb=58574c7dd1bb38e5e4ba4a6c4bd459e9e9a8e625;hpb=d5b3cbfbd8f26b8b77ce3ce100a9c13c5a71c8f3 diff --git a/backends/Makefile b/backends/Makefile index f419e3f..bf4d10d 100644 --- a/backends/Makefile +++ b/backends/Makefile @@ -9,13 +9,13 @@ ALL = actmerge actsync actsyncd archive batcher buffchan \ cvtbatch filechan inndf innxmit innxbatch mod-active \ news2mail ninpaths nntpget nntpsend overchan send-ihave \ send-nntp send-uucp sendinpaths sendxbatches shlock \ - shrinkfile + shrinkfile innduct MAN = ../doc/man/send-uucp.8 SOURCES = actsync.c archive.c batcher.c buffchan.c cvtbatch.c \ filechan.c inndf.c innxbatch.c innxmit.c map.c ninpaths.c \ - nntpget.c overchan.c shlock.c shrinkfile.c + nntpget.c overchan.c shlock.c shrinkfile.c innduct.c all: $(ALL) @@ -26,7 +26,7 @@ warnings: install: all for F in actmerge actsyncd news2mail nntpsend send-ihave send-nntp \ - send-uucp sendinpaths sendxbatches ; do \ + send-uucp sendinpaths sendxbatches innduct ; do \ $(CP_XPUB) $$F $D$(PATHBIN)/$$F ; \ done $(CP_XPRI) mod-active $D$(PATHBIN)/mod-active @@ -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,6 +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: $(DUCT_OBJS) $(BOTH) ; $(LINK) $(DUCT_OBJS) $(STORELIBS) -loop -lm buffchan: buffchan.o map.o $(LIBINN) $(LINK) buffchan.o map.o $(LIBINN) $(LIBS)