mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-06 17:18:32 +00:00
50 lines
1,022 B
Makefile
50 lines
1,022 B
Makefile
# $Id: Makefile.dist,v 8.15 2001-08-23 20:44:39 ca 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)) || exit; \
|
|
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) $@) || exit; \
|
|
done
|
|
|
|
install-docs: FRC
|
|
@for x in $(SUBDIRS); \
|
|
do \
|
|
(cd $$x && echo Making $@ in: && pwd && \
|
|
$(SHELL) $(BUILD) $(OPTIONS) $@) || exit; \
|
|
done
|
|
|
|
fresh: FRC
|
|
@for x in $(SUBDIRS); \
|
|
do \
|
|
(cd $$x && echo Making $@ in: && pwd && \
|
|
$(SHELL) $(BUILD) $(OPTIONS) -c) || exit; \
|
|
done
|
|
|
|
$(SUBDIRS): FRC
|
|
@cd $@; pwd; \
|
|
$(SHELL) $(BUILD) $(OPTIONS)
|
|
|
|
FRC:
|