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)
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
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)
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)