chiark / gitweb /
Commit 2.4.5-5 as unpacked
[inn-innduct.git] / contrib / Makefile
1 ##  $Id: Makefile 6299 2003-04-20 19:04:14Z vinocur $
2 ##
3 ##  There are no installation rules or other top-level rules for this
4 ##  directory as it's not properly part of INN.  Installation should be
5 ##  done by the user by hand for those files that they're interested in.
6
7 include ../Makefile.global
8
9 top           = ..
10 CFLAGS        = $(GCFLAGS)
11
12 ALL           = archivegz backlogstat backupfeed cleannewsgroups delayer \
13                 findreadgroups makeexpctl makestorconf mlockfile newsresp \
14                 pullart reset-cnfs respool showtoken stathist thdexpire \
15                 tunefeed
16
17 all: $(ALL)
18
19 warnings:
20         $(MAKE) COPT='$(WARNINGS)' all
21
22 clean clobber distclean:
23         rm -f *.o $(ALL)
24         rm -rf .libs
25
26 $(FIXSCRIPT):
27         @echo Run configure before running make.  See INSTALL for details.
28         @exit 1
29
30
31 ##  Compilation rules.
32
33 LINK            = $(LIBLD) $(LDFLAGS) -o $@
34 FIX             = $(FIXSCRIPT)
35
36 STORELIBS       = $(LIBSTORAGE) $(LIBINN) $(EXTSTORAGELIBS) $(LIBS)
37
38 expirectl:      expirectl.o     ; $(LINK) expirectl.o
39 mlockfile:      mlockfile.o     ; $(LINK) mlockfile.o
40 newsresp:       newsresp.o      ; $(LINK) newsresp.o $(LIBS)
41 pullart:        pullart.o       ; $(LINK) pullart.o $(LIBINN)
42 reset-cnfs:     reset-cnfs.o    ; $(LINK) reset-cnfs.o
43 respool:        respool.o       ; $(LINK) respool.o $(STORELIBS)
44
45 archivegz:       archivegz.in       $(FIX) ; $(FIX) -i archivegz.in
46 backlogstat:     backlogstat.in     $(FIX) ; $(FIX) backlogstat.in
47 backupfeed:      backupfeed.in      $(FIX) ; $(FIX) -i backupfeed.in
48 cleannewsgroups: cleannewsgroups.in $(FIX) ; $(FIX) cleannewsgroups.in
49 delayer:         delayer.in         $(FIX) ; $(FIX) -i delayer.in
50 findreadgroups:  findreadgroups.in  $(FIX) ; $(FIX) findreadgroups.in
51 makeexpctl:      makeexpctl.in      $(FIX) ; $(FIX) makeexpctl.in
52 makestorconf:    makestorconf.in    $(FIX) ; $(FIX) makestorconf.in
53 showtoken:       showtoken.in       $(FIX) ; $(FIX) -i showtoken.in
54 stathist:        stathist.in        $(FIX) ; $(FIX) -i stathist.in
55 thdexpire:       thdexpire.in       $(FIX) ; $(FIX) thdexpire.in
56 tunefeed:        tunefeed.in        $(FIX) ; $(FIX) -i tunefeed.in