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