1# @(#)Makefile 8.12 (Berkeley) 05/18/95 2 3# 4# This Makefile uses the new Berkeley "make" program. See Makefile.dist 5# for a more vanilla version. 6# 7# Configuration files are created using "m4 file.mc > file.cf"; 8# this may be easier than tweaking the Makefile. You do need to 9# have a fairly modern M4 available (GNU m4 works). On SunOS, use 10# /usr/5bin/m4. 11# 12 13M4= m4 14#M4= /usr/src/usr.bin/m4/obj/m4 15CHMOD= chmod 16ROMODE= 444 17RM= rm -f 18 19.SUFFIXES: .mc .cf 20 21.mc.cf: 22 $(RM) $@ 23 (cd ${.CURDIR} && $(M4) ${@:R}.mc > obj/$@) 24 $(CHMOD) $(ROMODE) $@ 25 26ALL= generic-hpux9.cf generic-osf1.cf generic-solaris2.cf \ 27 generic-sunos4.1.cf generic-ultrix4.cf \ 28 cs-hpux9.cf cs-riscos.cf cs-solaris2.cf \ 29 cs-sunos4.1.cf cs-ultrix4.cf cs-osf1.cf \ 30 s2k-ultrix4.cf s2k-osf1.cf \ 31 chez.cs.cf huginn.cs.cf mail.cs.cf mail.eecs.cf mailspool.cs.cf \ 32 python.cs.cf ucbarpa.cf ucbvax.cf vangogh.cs.cf 33 34all: $(ALL) 35 36clean cleandir: 37 $(RM) $(ALL) core 38 39depend install: 40 41# this is overkill, but.... 42M4FILES=\ 43 ../domain/Berkeley.EDU.m4 \ 44 ../domain/CS.Berkeley.EDU.m4 \ 45 ../domain/EECS.Berkeley.EDU.m4 \ 46 ../domain/S2K.Berkeley.EDU.m4 \ 47 ../feature/allmasquerade.m4 \ 48 ../feature/always_add_domain.m4 \ 49 ../feature/bestmx_is_local.m4 \ 50 ../feature/bitdomain.m4 \ 51 ../feature/domaintable.m4 \ 52 ../feature/local_procmail.m4 \ 53 ../feature/mailertable.m4 \ 54 ../feature/nocanonify.m4 \ 55 ../feature/nodns.m4 \ 56 ../feature/notsticky.m4 \ 57 ../feature/nouucp.m4 \ 58 ../feature/nullclient.m4 \ 59 ../feature/redirect.m4 \ 60 ../feature/smrsh.m4 \ 61 ../feature/stickyhost.m4 \ 62 ../feature/use_cw_file.m4 \ 63 ../feature/uucpdomain.m4 \ 64 ../hack/cssubdomain.m4 \ 65 ../m4/cf.m4 \ 66 ../m4/nullrelay.m4 \ 67 ../m4/proto.m4 \ 68 ../m4/version.m4 \ 69 ../mailer/fax.m4 \ 70 ../mailer/local.m4 \ 71 ../mailer/pop.m4 \ 72 ../mailer/procmail.m4 \ 73 ../mailer/smtp.m4 \ 74 ../mailer/usenet.m4 \ 75 ../mailer/uucp.m4 \ 76 ../ostype/aix3.m4 \ 77 ../ostype/amdahl-uts.m4 \ 78 ../ostype/aux.m4 \ 79 ../ostype/bsd4.3.m4 \ 80 ../ostype/bsd4.4.m4 \ 81 ../ostype/bsdi1.0.m4 \ 82 ../ostype/dgux.m4 \ 83 ../ostype/domainos.m4 \ 84 ../ostype/dynix3.2.m4 \ 85 ../ostype/hpux9.m4 \ 86 ../ostype/irix.m4 \ 87 ../ostype/linux.m4 \ 88 ../ostype/nextstep.m4 \ 89 ../ostype/osf1.m4 \ 90 ../ostype/ptx2.m4 \ 91 ../ostype/riscos4.5.m4 \ 92 ../ostype/sco3.2.m4 \ 93 ../ostype/solaris2.m4 \ 94 ../ostype/sunos3.5.m4 \ 95 ../ostype/sunos4.1.m4 \ 96 ../ostype/svr4.m4 \ 97 ../ostype/ultrix4.m4 \ 98 ../siteconfig/uucp.cogsci.m4 \ 99 ../siteconfig/uucp.old.arpa.m4 \ 100 ../siteconfig/uucp.ucbarpa.m4 \ 101 ../siteconfig/uucp.ucbvax.m4 \ 102 103$(ALL): $(M4FILES) 104 105.include <bsd.prog.mk> 106