6a2f2ff3e9
These are being imported for the upcoming FreeBSD 4.6 release.
50 lines
970 B
Makefile
50 lines
970 B
Makefile
# $Id: Makefile,v 1.1.1.4 2002/02/17 21:56:38 gshapiro Exp $
|
|
|
|
SHELL= /bin/sh
|
|
SUBDIRS= libsm libsmutil libsmdb sendmail editmap mail.local \
|
|
mailstats makemap praliases rmail smrsh vacation
|
|
# libmilter: requires pthread
|
|
BUILD= ./Build
|
|
OPTIONS= $(CONFIG) $(FLAGS)
|
|
|
|
all: FRC
|
|
@for x in $(SUBDIRS); \
|
|
do \
|
|
(cd $$x; echo Making $@ in:; pwd; \
|
|
$(SHELL) $(BUILD) $(OPTIONS)); \
|
|
done
|
|
|
|
clean: FRC
|
|
@for x in $(SUBDIRS); \
|
|
do \
|
|
(cd $$x; echo Making $@ in:; pwd; \
|
|
$(SHELL) $(BUILD) $(OPTIONS) $@); \
|
|
done
|
|
|
|
install: FRC
|
|
@for x in $(SUBDIRS); \
|
|
do \
|
|
(cd $$x; echo Making $@ in:; pwd; \
|
|
$(SHELL) $(BUILD) $(OPTIONS) $@); \
|
|
done
|
|
|
|
install-docs: FRC
|
|
@for x in $(SUBDIRS); \
|
|
do \
|
|
(cd $$x; echo Making $@ in:; pwd; \
|
|
$(SHELL) $(BUILD) $(OPTIONS) $@); \
|
|
done
|
|
|
|
fresh: FRC
|
|
@for x in $(SUBDIRS); \
|
|
do \
|
|
(cd $$x; echo Making $@ in:; pwd; \
|
|
$(SHELL) $(BUILD) $(OPTIONS) -c); \
|
|
done
|
|
|
|
$(SUBDIRS): FRC
|
|
@cd $@; pwd; \
|
|
$(SHELL) $(BUILD) $(OPTIONS)
|
|
|
|
FRC:
|