annotate Makefile.test @ 12:bb3d2cd6007e stable-1-4

more fixes for solaris
author carl
date Mon, 19 Mar 2007 22:38:37 -0700
parents 45c8592d5d13
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
45c8592d5d13 initial version
carl
parents:
diff changeset
1 # These could be used by sendmail, but are not part of the default install.
45c8592d5d13 initial version
carl
parents:
diff changeset
2 # To use them you will have to generate your own sendmail.cf with
45c8592d5d13 initial version
carl
parents:
diff changeset
3 # FEATURE('whatever')
45c8592d5d13 initial version
carl
parents:
diff changeset
4 #
45c8592d5d13 initial version
carl
parents:
diff changeset
5 POSSIBLE += $(shell test -f bitdomain && echo bitdomain.db)
45c8592d5d13 initial version
carl
parents:
diff changeset
6 POSSIBLE += $(shell test -f uudomain && echo uudomain.db)
45c8592d5d13 initial version
carl
parents:
diff changeset
7 POSSIBLE += $(shell test -f genericstable && echo genericstable.db)
45c8592d5d13 initial version
carl
parents:
diff changeset
8 POSSIBLE += $(shell test -f userdb && echo userdb.db)
45c8592d5d13 initial version
carl
parents:
diff changeset
9 CFFILES = sendmail.cf submit.cf
45c8592d5d13 initial version
carl
parents:
diff changeset
10
45c8592d5d13 initial version
carl
parents:
diff changeset
11
45c8592d5d13 initial version
carl
parents:
diff changeset
12 all: ${CFFILES} ${POSSIBLE} virtusertable.db access.db domaintable.db mailertable.db
45c8592d5d13 initial version
carl
parents:
diff changeset
13 @chown root:smmsp *.db
45c8592d5d13 initial version
carl
parents:
diff changeset
14
45c8592d5d13 initial version
carl
parents:
diff changeset
15 userdb.db : userdb
45c8592d5d13 initial version
carl
parents:
diff changeset
16 @makemap btree $@ < $<
45c8592d5d13 initial version
carl
parents:
diff changeset
17
45c8592d5d13 initial version
carl
parents:
diff changeset
18 %.db : %
45c8592d5d13 initial version
carl
parents:
diff changeset
19 @makemap hash $@ < $<
45c8592d5d13 initial version
carl
parents:
diff changeset
20
45c8592d5d13 initial version
carl
parents:
diff changeset
21 %.cf : %.mc
45c8592d5d13 initial version
carl
parents:
diff changeset
22 @if test -f /usr/share/sendmail-cf/m4/cf.m4; then \
45c8592d5d13 initial version
carl
parents:
diff changeset
23 mv -f $@ $@.bak; \
45c8592d5d13 initial version
carl
parents:
diff changeset
24 m4 $< > $@; \
45c8592d5d13 initial version
carl
parents:
diff changeset
25 fi;
45c8592d5d13 initial version
carl
parents:
diff changeset
26
45c8592d5d13 initial version
carl
parents:
diff changeset
27 clean:
45c8592d5d13 initial version
carl
parents:
diff changeset
28 rm -f *.db *~
45c8592d5d13 initial version
carl
parents:
diff changeset
29