chiark
/
gitweb
/
~ian
/
inn-innduct.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
manpage fix and todolist entries
[inn-innduct.git]
/
backends
/
Makefile
diff --git
a/backends/Makefile
b/backends/Makefile
index e6365d3437c25b3d3cfc4743d9a9e2c6cc7c5eb8..bf4d10d6c42412e0239ad0c38f2f19487d4c7552 100644
(file)
--- a/
backends/Makefile
+++ b/
backends/Makefile
@@
-57,13
+57,19
@@
LINK = $(LIBLD) $(LDFLAGS) -o $@
INNLIBS = $(LIBINN) $(LIBS)
STORELIBS = $(BOTH) $(EXTSTORAGELIBS) $(LIBS)
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
FIX = $(FIXSCRIPT)
$(FIXSCRIPT):
@echo Run configure before running make. See INSTALL for details.
@exit 1
-innduct.o: CFLAGS += -Wimplicit -Wstrict-prototypes -Wmissing-prototypes
+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)
actsync: actsync.o $(LIBINN) ; $(LINK) actsync.o $(INNLIBS)
archive: archive.o $(BOTH) ; $(LINK) archive.o $(STORELIBS)
@@
-77,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)
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
+innduct:
$(DUCT_OBJS) $(BOTH) ; $(LINK) $(DUCT_OBJS) $(STORELIBS) -loop -lm
buffchan: buffchan.o map.o $(LIBINN)
$(LINK) buffchan.o map.o $(LIBINN) $(LIBS)
buffchan: buffchan.o map.o $(LIBINN)
$(LINK) buffchan.o map.o $(LIBINN) $(LIBS)