xref: /freebsd/contrib/sendmail/Makefile (revision f4b37ed0f8b307b1f3f0f630ca725d68f1dff30d)
1#       $Id: Makefile.dist,v 8.15 2001-08-23 20:44:39 ca Exp $
2
3SHELL= /bin/sh
4SUBDIRS= libsm libsmutil libsmdb sendmail editmap mail.local \
5	 mailstats makemap praliases rmail smrsh vacation
6# libmilter: requires pthread
7BUILD=   ./Build
8OPTIONS= $(CONFIG) $(FLAGS)
9
10all: FRC
11	@for x in $(SUBDIRS); \
12	do \
13		(cd $$x; echo Making $@ in:; pwd; \
14		$(SHELL) $(BUILD) $(OPTIONS)); \
15	done
16
17clean: FRC
18	@for x in $(SUBDIRS); \
19	do \
20		(cd $$x; echo Making $@ in:; pwd; \
21		$(SHELL) $(BUILD) $(OPTIONS) $@); \
22	done
23
24install: FRC
25	@for x in $(SUBDIRS); \
26	do \
27		(cd $$x; echo Making $@ in:; pwd; \
28		$(SHELL) $(BUILD) $(OPTIONS) $@); \
29	done
30
31install-docs: FRC
32	@for x in $(SUBDIRS); \
33	do \
34		(cd $$x; echo Making $@ in:; pwd; \
35		$(SHELL) $(BUILD) $(OPTIONS) $@); \
36	done
37
38fresh: FRC
39	@for x in $(SUBDIRS); \
40	do \
41		(cd $$x; echo Making $@ in:; pwd; \
42		$(SHELL) $(BUILD) $(OPTIONS) -c); \
43	done
44
45$(SUBDIRS): FRC
46	@cd $@; pwd; \
47	$(SHELL) $(BUILD) $(OPTIONS)
48
49FRC:
50