2000-05-03 14:49:07 +04:00
|
|
|
# Id: Makefile.dist,v 8.9 1999/09/27 21:39:11 gshapiro Exp
|
2000-02-07 23:05:21 +03:00
|
|
|
|
|
|
|
SHELL= /bin/sh
|
2000-05-03 13:27:16 +04:00
|
|
|
SUBDIRS= libsmutil libsmdb sendmail mail.local mailstats makemap \
|
|
|
|
praliases rmail smrsh vacation
|
2000-02-07 23:05:21 +03:00
|
|
|
BUILD= ./Build
|
|
|
|
OPTIONS= $(CONFIG) $(FLAGS)
|
|
|
|
|
2000-05-03 13:27:16 +04:00
|
|
|
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
|
2000-02-07 23:05:21 +03:00
|
|
|
@for x in $(SUBDIRS); \
|
|
|
|
do \
|
|
|
|
(cd $$x; echo Making $@ in:; pwd; \
|
|
|
|
$(SHELL) $(BUILD) $(OPTIONS) $@); \
|
|
|
|
done
|
|
|
|
|
2000-05-03 13:27:16 +04:00
|
|
|
fresh: FRC
|
2000-02-07 23:05:21 +03:00
|
|
|
@for x in $(SUBDIRS); \
|
|
|
|
do \
|
|
|
|
(cd $$x; echo Making $@ in:; pwd; \
|
|
|
|
$(SHELL) $(BUILD) $(OPTIONS) -c); \
|
|
|
|
done
|
|
|
|
|
2000-05-03 13:27:16 +04:00
|
|
|
$(SUBDIRS): FRC
|
2000-02-07 23:05:21 +03:00
|
|
|
@cd $@; pwd; \
|
|
|
|
$(SHELL) $(BUILD) $(OPTIONS)
|
|
|
|
|
|
|
|
FRC:
|