Revision 20368,
967 bytes
checked in by zacheiss, 21 years ago
(diff) |
Build with milter support.
|
Line | |
---|
1 | # $Id: Makefile,v 1.3 2004-04-07 17:06:19 zacheiss Exp $ |
---|
2 | |
---|
3 | SHELL= /bin/sh |
---|
4 | SUBDIRS= libsm libsmutil libsmdb sendmail editmap mail.local \ |
---|
5 | mailstats makemap praliases rmail smrsh libmilter |
---|
6 | # libmilter: requires pthread |
---|
7 | BUILD= ./Build |
---|
8 | OPTIONS= $(CONFIG) $(FLAGS) |
---|
9 | |
---|
10 | all: FRC |
---|
11 | @for x in $(SUBDIRS); \ |
---|
12 | do \ |
---|
13 | (cd $$x; echo Making $@ in:; pwd; \ |
---|
14 | $(SHELL) $(BUILD) $(OPTIONS)); \ |
---|
15 | done |
---|
16 | |
---|
17 | clean: FRC |
---|
18 | @for x in $(SUBDIRS); \ |
---|
19 | do \ |
---|
20 | (cd $$x; echo Making $@ in:; pwd; \ |
---|
21 | $(SHELL) $(BUILD) $(OPTIONS) $@); \ |
---|
22 | done |
---|
23 | |
---|
24 | install: FRC |
---|
25 | @for x in $(SUBDIRS); \ |
---|
26 | do \ |
---|
27 | (cd $$x; echo Making $@ in:; pwd; \ |
---|
28 | $(SHELL) $(BUILD) $(OPTIONS) $@); \ |
---|
29 | done |
---|
30 | |
---|
31 | install-docs: FRC |
---|
32 | @for x in $(SUBDIRS); \ |
---|
33 | do \ |
---|
34 | (cd $$x; echo Making $@ in:; pwd; \ |
---|
35 | $(SHELL) $(BUILD) $(OPTIONS) $@); \ |
---|
36 | done |
---|
37 | |
---|
38 | fresh: FRC |
---|
39 | @for x in $(SUBDIRS); \ |
---|
40 | do \ |
---|
41 | (cd $$x; echo Making $@ in:; pwd; \ |
---|
42 | $(SHELL) $(BUILD) $(OPTIONS) -c); \ |
---|
43 | done |
---|
44 | |
---|
45 | $(SUBDIRS): FRC |
---|
46 | @cd $@; pwd; \ |
---|
47 | $(SHELL) $(BUILD) $(OPTIONS) |
---|
48 | |
---|
49 | FRC: |
---|
Note: See
TracBrowser
for help on using the repository browser.