1#:ts=8 2# 3# $Id: Makefile,v 4.19 2004/08/27 14:20:02 n0ll Exp $ 4# 5# Makefile for FIDOGATE sendmail/cf/ 6# 7 8# 9# Normally it should not be necessary to modify this file, see 10# ../config.make and ../rules.make 11# 12 13TOPDIR = ../.. 14 15include $(TOPDIR)/config.make 16include $(TOPDIR)/rules.make 17 18M4OPTIONS = -DconfFIDOGATE_LIBDIR=$(LIBDIR) 19#M4OPTIONS = -DconfFIDOGATE_LIBDIR=$(LIBDIR) \ 20# -DconfFIDOGATE_OUTDIR=%S/outpkt/mail 21 22 23#CF = redhat6-orodruin.cf redhat7-orodruin.cf \ 24# redhat6-morannon.cf 25#CF = orodruin.cf orodruin-smtp.cf orodruin-check.cf\ 26# morannon.cf morannon-ffx.cf morannon-check.cf\ 27# point.cf 28 29 30all: 31 32redhat6: redhat6-morannon.cf 33redhat7: redhat7-orodruin.cf 34redhat9: redhat9-orodruin.cf redhat9-submit.cf redhat9-morannon.cf 35 36redhat9-morannon.cf: redhat9-morannon.mc 37 $(M4) $(M4OPTIONS) $< | ./mycfpost >$*.cf 38 39 40 41install: 42 43install-orodruin: 44 $(INSTALL) -c -o root -g root -m 444 redhat9-orodruin.mc \ 45 /etc/mail/sendmail.mc 46 $(INSTALL) -c -o root -g root -m 444 redhat9-orodruin.cf \ 47 /etc/mail/sendmail.cf 48 $(INSTALL) -c -o root -g root -m 444 redhat9-submit.mc \ 49 /etc/mail/submit.mc 50 $(INSTALL) -c -o root -g root -m 444 redhat9-submit.cf \ 51 /etc/mail/submit.cf 52 53install-morannon: 54 $(INSTALL) -c -o root -g root -m 444 redhat9-morannon.mc \ 55 /etc/mail/sendmail.mc 56 $(INSTALL) -c -o root -g root -m 444 redhat9-morannon.cf \ 57 /etc/mail/sendmail.cf 58 59 60clean: 61 rm -f *.cf 62 rm -f *~ *.bak *.o tags TAGS core paths.tmp 63 64test check verify: 65 66 67# 68# Dependencies 69# 70$(CF): ../mailer/ftn.m4 ../mailer/ffx.m4 71 72depend: 73 74depend-all: 75