1266692Sgshapiro# $Id: Makefile.dist,v 8.15 2001-08-23 20:44:39 ca Exp $ 238032Speter 338032SpeterSHELL= /bin/sh 490792SgshapiroSUBDIRS= libsm libsmutil libsmdb sendmail editmap mail.local \ 590792Sgshapiro mailstats makemap praliases rmail smrsh vacation 690792Sgshapiro# libmilter: requires pthread 738032SpeterBUILD= ./Build 838032SpeterOPTIONS= $(CONFIG) $(FLAGS) 938032Speter 1064562Sgshapiroall: FRC 1138032Speter @for x in $(SUBDIRS); \ 1238032Speter do \ 1338032Speter (cd $$x; echo Making $@ in:; pwd; \ 1464562Sgshapiro $(SHELL) $(BUILD) $(OPTIONS)); \ 1564562Sgshapiro done 1664562Sgshapiro 1764562Sgshapiroclean: FRC 1864562Sgshapiro @for x in $(SUBDIRS); \ 1964562Sgshapiro do \ 2064562Sgshapiro (cd $$x; echo Making $@ in:; pwd; \ 2138032Speter $(SHELL) $(BUILD) $(OPTIONS) $@); \ 2238032Speter done 2338032Speter 2464562Sgshapiroinstall: FRC 2538032Speter @for x in $(SUBDIRS); \ 2638032Speter do \ 2738032Speter (cd $$x; echo Making $@ in:; pwd; \ 2864562Sgshapiro $(SHELL) $(BUILD) $(OPTIONS) $@); \ 2964562Sgshapiro done 3064562Sgshapiro 3190792Sgshapiroinstall-docs: FRC 3290792Sgshapiro @for x in $(SUBDIRS); \ 3390792Sgshapiro do \ 3490792Sgshapiro (cd $$x; echo Making $@ in:; pwd; \ 3590792Sgshapiro $(SHELL) $(BUILD) $(OPTIONS) $@); \ 3690792Sgshapiro done 3790792Sgshapiro 3864562Sgshapirofresh: FRC 3964562Sgshapiro @for x in $(SUBDIRS); \ 4064562Sgshapiro do \ 4164562Sgshapiro (cd $$x; echo Making $@ in:; pwd; \ 4238032Speter $(SHELL) $(BUILD) $(OPTIONS) -c); \ 4338032Speter done 4438032Speter 4564562Sgshapiro$(SUBDIRS): FRC 4638032Speter @cd $@; pwd; \ 4738032Speter $(SHELL) $(BUILD) $(OPTIONS) 4838032Speter 4938032SpeterFRC: 50