2014-05-22 04:39:17 +00:00
|
|
|
# $Id: Makefile.dist,v 8.15 2001-08-23 20:44:39 ca Exp $
|
1998-08-03 05:56:20 +00:00
|
|
|
|
|
|
|
SHELL= /bin/sh
|
2002-02-17 21:56:45 +00:00
|
|
|
SUBDIRS= libsm libsmutil libsmdb sendmail editmap mail.local \
|
|
|
|
mailstats makemap praliases rmail smrsh vacation
|
|
|
|
# libmilter: requires pthread
|
1998-08-03 05:56:20 +00:00
|
|
|
BUILD= ./Build
|
|
|
|
OPTIONS= $(CONFIG) $(FLAGS)
|
|
|
|
|
2000-08-12 21:55:49 +00: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
|
1998-08-03 05:56:20 +00:00
|
|
|
@for x in $(SUBDIRS); \
|
|
|
|
do \
|
|
|
|
(cd $$x; echo Making $@ in:; pwd; \
|
|
|
|
$(SHELL) $(BUILD) $(OPTIONS) $@); \
|
|
|
|
done
|
|
|
|
|
2002-02-17 21:56:45 +00:00
|
|
|
install-docs: FRC
|
|
|
|
@for x in $(SUBDIRS); \
|
|
|
|
do \
|
|
|
|
(cd $$x; echo Making $@ in:; pwd; \
|
|
|
|
$(SHELL) $(BUILD) $(OPTIONS) $@); \
|
|
|
|
done
|
|
|
|
|
2000-08-12 21:55:49 +00:00
|
|
|
fresh: FRC
|
1998-08-03 05:56:20 +00:00
|
|
|
@for x in $(SUBDIRS); \
|
|
|
|
do \
|
|
|
|
(cd $$x; echo Making $@ in:; pwd; \
|
|
|
|
$(SHELL) $(BUILD) $(OPTIONS) -c); \
|
|
|
|
done
|
|
|
|
|
2000-08-12 21:55:49 +00:00
|
|
|
$(SUBDIRS): FRC
|
1998-08-03 05:56:20 +00:00
|
|
|
@cd $@; pwd; \
|
|
|
|
$(SHELL) $(BUILD) $(OPTIONS)
|
|
|
|
|
|
|
|
FRC:
|