1 ## $Id: Makefile 7739 2008-04-06 09:38:31Z iulius $
3 ## Files that can be handled by fixscript (and need to be so handled) need
4 ## a rule to build them from the .in version, and then all files need an
5 ## installation rule. Do the installation rules individually so as to
6 ## avoid needless work if the files haven't changed. We also need lists
7 ## of files to build and files to install for the all and install rules.
9 include ../Makefile.global
13 ALL = innmail innreport innstat innupgrade innwatch rc.news \
14 scanlogs simpleftp tally.control writelog
16 EXTRA = inncheck innshellvars innshellvars.pl innshellvars.tcl \
19 INSTALLED = $(D)$(PATHBIN)/inncheck \
20 $(D)$(PATHBIN)/innmail \
21 $(D)$(PATHBIN)/innreport \
22 $(D)$(PATHBIN)/innstat \
23 $(D)$(PATHBIN)/innupgrade \
24 $(D)$(PATHBIN)/innwatch \
25 $(D)$(PATHBIN)/news.daily \
26 $(D)$(PATHBIN)/rc.news \
27 $(D)$(PATHBIN)/scanlogs \
28 $(D)$(PATHBIN)/simpleftp \
29 $(D)$(PATHBIN)/tally.control \
30 $(D)$(PATHBIN)/writelog \
31 $(D)$(PATHLIB)/innreport_inn.pm \
32 $(D)$(PATHLIB)/innshellvars \
33 $(D)$(PATHLIB)/innshellvars.pl \
34 $(D)$(PATHLIB)/innshellvars.tcl
39 for F in innmail innreport simpleftp ; do \
40 $(CP_XPUB) $$F $D$(PATHBIN)/$$F ; \
42 for F in inncheck innstat innupgrade innwatch news.daily rc.news \
43 scanlogs tally.control writelog ; do \
44 $(CP_XPRI) $$F $D$(PATHBIN)/$$F ; \
46 for F in innreport_inn.pm innshellvars innshellvars.pl \
47 innshellvars.tcl ; do \
48 $(CP_RPUB) $$F $D$(PATHLIB)/$$F ; \
54 clobber distclean: clean
61 $(EXTRA) $(FIXSCRIPT):
62 @echo Run configure before running make. See INSTALL for details.
70 innmail: innmail.in $(FIX) ; $(FIX) innmail.in
71 innreport: innreport.in $(FIX) ; $(FIX) innreport.in
72 innstat: innstat.in $(FIX) ; $(FIX) innstat.in
73 innupgrade: innupgrade.in $(FIX) ; $(FIX) -i innupgrade.in
74 innwatch: innwatch.in $(FIX) ; $(FIX) innwatch.in
75 rc.news: rc.news.in $(FIX) ; $(FIX) rc.news.in
76 scanlogs: scanlogs.in $(FIX) ; $(FIX) scanlogs.in
77 simpleftp: simpleftp.in $(FIX) ; $(FIX) -i simpleftp.in
78 tally.control: tally.control.in $(FIX) ; $(FIX) tally.control.in
79 writelog: writelog.in $(FIX) ; $(FIX) writelog.in