1# $Id: Makefile.dist,v 8.9 1999/09/27 21:39:11 gshapiro Exp $ 2 3SHELL= /bin/sh 4SUBDIRS= libsmutil libsmdb sendmail mail.local mailstats makemap \ 5 praliases rmail smrsh vacation 6BUILD= ./Build 7OPTIONS= $(CONFIG) $(FLAGS) 8 9all: FRC 10 @for x in $(SUBDIRS); \ 11 do \ 12 (cd $$x; echo Making $@ in:; pwd; \ 13 $(SHELL) $(BUILD) $(OPTIONS)); \ 14 done 15 16clean: FRC 17 @for x in $(SUBDIRS); \ 18 do \ 19 (cd $$x; echo Making $@ in:; pwd; \ 20 $(SHELL) $(BUILD) $(OPTIONS) $@); \ 21 done 22 23install: FRC 24 @for x in $(SUBDIRS); \ 25 do \ 26 (cd $$x; echo Making $@ in:; pwd; \ 27 $(SHELL) $(BUILD) $(OPTIONS) $@); \ 28 done 29 30fresh: FRC 31 @for x in $(SUBDIRS); \ 32 do \ 33 (cd $$x; echo Making $@ in:; pwd; \ 34 $(SHELL) $(BUILD) $(OPTIONS) -c); \ 35 done 36 37$(SUBDIRS): FRC 38 @cd $@; pwd; \ 39 $(SHELL) $(BUILD) $(OPTIONS) 40 41FRC: 42