annotate Makefile.test @ 424:b1a9a6fc9aad

Added tag stable-6-0-59 for changeset c9b7b6dd1206
author Carl Byington <carl@five-ten-sg.com>
date Wed, 26 Jul 2017 09:02:22 -0700
parents 1142e46be550
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
96a9758165cd Initial revision
carl
parents:
diff changeset
1 # These could be used by sendmail, but are not part of the default install.
96a9758165cd Initial revision
carl
parents:
diff changeset
2 # To use them you will have to generate your own sendmail.cf with
96a9758165cd Initial revision
carl
parents:
diff changeset
3 # FEATURE('whatever')
96a9758165cd Initial revision
carl
parents:
diff changeset
4 #
96a9758165cd Initial revision
carl
parents:
diff changeset
5 POSSIBLE += $(shell test -f bitdomain && echo bitdomain.db)
96a9758165cd Initial revision
carl
parents:
diff changeset
6 POSSIBLE += $(shell test -f uudomain && echo uudomain.db)
96a9758165cd Initial revision
carl
parents:
diff changeset
7 POSSIBLE += $(shell test -f genericstable && echo genericstable.db)
96a9758165cd Initial revision
carl
parents:
diff changeset
8 POSSIBLE += $(shell test -f userdb && echo userdb.db)
96a9758165cd Initial revision
carl
parents:
diff changeset
9 CFFILES = sendmail.cf submit.cf
96a9758165cd Initial revision
carl
parents:
diff changeset
10
96a9758165cd Initial revision
carl
parents:
diff changeset
11
96a9758165cd Initial revision
carl
parents:
diff changeset
12 all: ${CFFILES} ${POSSIBLE} virtusertable.db access.db domaintable.db mailertable.db
96a9758165cd Initial revision
carl
parents:
diff changeset
13 @chown root:smmsp *.db
96a9758165cd Initial revision
carl
parents:
diff changeset
14
96a9758165cd Initial revision
carl
parents:
diff changeset
15 userdb.db : userdb
96a9758165cd Initial revision
carl
parents:
diff changeset
16 @makemap btree $@ < $<
96a9758165cd Initial revision
carl
parents:
diff changeset
17
96a9758165cd Initial revision
carl
parents:
diff changeset
18 %.db : %
96a9758165cd Initial revision
carl
parents:
diff changeset
19 @makemap hash $@ < $<
96a9758165cd Initial revision
carl
parents:
diff changeset
20
96a9758165cd Initial revision
carl
parents:
diff changeset
21 %.cf : %.mc
96a9758165cd Initial revision
carl
parents:
diff changeset
22 @if test -f /usr/share/sendmail-cf/m4/cf.m4; then \
96a9758165cd Initial revision
carl
parents:
diff changeset
23 mv -f $@ $@.bak; \
96a9758165cd Initial revision
carl
parents:
diff changeset
24 m4 $< > $@; \
96a9758165cd Initial revision
carl
parents:
diff changeset
25 fi;
96a9758165cd Initial revision
carl
parents:
diff changeset
26
96a9758165cd Initial revision
carl
parents:
diff changeset
27 clean:
96a9758165cd Initial revision
carl
parents:
diff changeset
28 rm -f *.db *~
96a9758165cd Initial revision
carl
parents:
diff changeset
29