Added all of the MH sources, including RCS files, in
[mmh] / docs / historical / mh-6.8.5 / conf / makefiles / mtsM
1 ##############################################################################
2 #    Instructions to Make, for compilation of MTS-specific libraries
3 #
4 #       @(MHWARNING)
5 # @(#)$Id: mtsM,v 2.3 90/04/18 13:47:30 sources Exp $
6 ##############################################################################
7
8 # The following entries were inserted during MH configuration
9 @BEGIN: MHMTS
10 MTS     =       mh
11 @END: MHMTS
12 @BEGIN: MMDFMTS
13 MTS     =       mmdf
14 @END: MMDFMTS
15 @BEGIN: SENDMTS
16 MTS     =       sendmail
17 @END: SENDMTS
18
19 LIB     =       libmts.a
20 LLIB    =       llib-lmts
21
22 MAKE    =       make DESTDIR=$(DESTDIR) $(MFLAGS)
23 SHELL   =       /bin/sh
24
25
26 ##############################################################################
27 #       Generate MTS-specific library
28 ##############################################################################
29
30 ALL     =       $(MTS)
31
32 all:;           for d in $(ALL); do (cd $$d; $(MAKE) all); done
33
34 depend:;        for d in $(ALL); do (cd $$d; $(MAKE) depend); done
35
36 lint:;          for d in $(ALL); do (cd $$d; $(MAKE) lint); done
37
38
39 ##############################################################################
40 #       Miscellaneous tasks
41 ##############################################################################
42
43 DIRS    =       mh mmdf sendmail
44
45 unconfig:;      -rm -f $(LIB) $(LLIB)
46                 for d in $(DIRS); do (cd $$d; $(MAKE) unconfig); done
47                 -rm -f Makefile
48
49 distribution:;  -rm -f $(LIB) $(LLIB)
50                 for d in $(DIRS); do (cd $$d; $(MAKE) distribution); done
51
52 clean:;         -rm -f $(LIB) $(LLIB)
53                 for d in $(DIRS); do (cd $$d; $(MAKE) clean); done
54
55 unclean:;       for d in $(DIRS); do (cd $$d; $(MAKE) unclean); done