chiark / gitweb /
some todos
[inn-innduct.git] / backends / Makefile
index f419e3f..e6365d3 100644 (file)
@@ -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
@@ -63,6 +63,8 @@ $(FIXSCRIPT):
        @echo Run configure before running make.  See INSTALL for details.
        @exit 1
 
+innduct.o: CFLAGS += -Wimplicit -Wstrict-prototypes -Wmissing-prototypes
+
 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 +77,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    $(BOTH)    ; $(LINK) innduct.o $(STORELIBS) -loop
 
 buffchan:      buffchan.o map.o $(LIBINN)
        $(LINK) buffchan.o map.o $(LIBINN) $(LIBS)