Added all of the MH sources, including RCS files, in
[mmh] / docs / historical / mh-6.8.5 / conf / makefiles / zotnet / RCS / bboards,v
1 head    1.7;
2 access;
3 symbols;
4 locks; strict;
5 comment @# @;
6
7
8 1.7
9 date    92.11.12.23.22.48;      author jromine; state Exp;
10 branches;
11 next    1.6;
12
13 1.6
14 date    90.04.05.15.16.32;      author sources; state Exp;
15 branches;
16 next    1.5;
17
18 1.5
19 date    90.03.12.11.27.58;      author sources; state Exp;
20 branches;
21 next    1.4;
22
23 1.4
24 date    90.02.21.16.58.36;      author sources; state Exp;
25 branches;
26 next    1.3;
27
28 1.3
29 date    90.02.06.12.56.09;      author sources; state Exp;
30 branches;
31 next    1.2;
32
33 1.2
34 date    90.01.25.16.18.55;      author sources; state Exp;
35 branches;
36 next    1.1;
37
38 1.1
39 date    90.01.25.16.18.24;      author sources; state Exp;
40 branches;
41 next    ;
42
43
44 desc
45 @@
46
47
48 1.7
49 log
50 @fix for broken "make"s
51 @
52 text
53 @##############################################################################
54 #    Instructions to Make, for compilation of ZOT UIP/utility processes
55 #
56 #       @@(MHWARNING)
57 # @@(#)$Id: bboards,v 1.6 1990/04/05 15:16:32 sources Exp jromine $
58 ##############################################################################
59
60 # The following entries were inserted during MH configuration
61 OPTIONS =       @@(MHOPTIONS) -I..
62
63 CC      =       @@(MHCOMPILER)
64 @@BEGIN: OPTIM
65 CFLAGS  =       $(OPTIONS)
66 @@END: OPTIM
67 @@BEGIN: DEBUG
68 CFLAGS  =             $(OPTIONS)
69 @@END: DEBUG
70 LINT    =       lint
71 LFLAGS  =       -bhu $(OPTIONS)
72 LLIBS   =
73
74 .c:;            echo $@@
75
76 ######################################################################
77 #       Here it is...
78 ######################################################################
79
80 all:            getbbent.o
81
82 lint:           l-getbbent
83
84 install:        inst-all clean
85
86 inst-all:;
87
88 tar:;
89
90 uninstall:;
91
92
93 ######################################################################
94 # getbbent
95 ######################################################################
96
97 getbbent:       getbbent.o
98
99 l-getbbent:;    $(LINT) $(LFLAGS) getbbent.c $(LLIBS)
100
101
102 ##############################################################################
103 #       Miscellaneous tasks
104 ##############################################################################
105
106 unconfig:       distribution
107                 -rm -f Makefile
108
109 distribution:   clean
110
111 clean:          unclean
112                 -rm -f *.o
113
114 unclean:;       -rm -f _* :* core eddep makedep
115
116
117 ##############################################################################
118 #       Dependencies
119 ##############################################################################
120
121 MODULES =       getbbent
122 depend:;        for m in $(MODULES); do ( \
123                     i=`basename $$m .c`; \
124                     echo $$i.o: $$i.c >> makedep; \
125                     grep '^#[   ]*include' $$i.c | \
126                         sed -e 's,[^"]*"/\([^"]*\)".*,'$$i'.o: /\1,' \
127                             -e 's,[^"]*"\([^"]*\)".*,'$$i'.o: \1,' \
128                             -e 's,[^<]*<\(.*\)>.*,#'$$i'.o: /usr/include/\1,' \
129                         >> makedep \
130                 ); done
131                 echo '/^# DO NOT DELETE THIS LINE/+2,$$d' > eddep
132                 echo '$$r makedep' >> eddep
133                 echo 'w' >> eddep
134                 cp Makefile _Makefile
135                 ed - Makefile < eddep
136                 rm eddep makedep
137                 echo '# DEPENDENCIES MUST END AT END OF FILE' >> Makefile
138                 echo '# IF YOU PUT STUFF HERE IT WILL GO AWAY' >> Makefile
139
140 # DO NOT DELETE THIS LINE
141 # DEPENDENCIES START HERE
142 getbbent.o: getbbent.c
143 getbbent.o: bboards.h
144 getbbent.o: ../../h/strings.h
145 #getbbent.o: /usr/include/ctype.h
146 #getbbent.o: /usr/include/pwd.h
147 #getbbent.o: /usr/include/grp.h
148 #getbbent.o: /usr/include/stdio.h
149 #getbbent.o: /usr/include/sys/types.h
150 #getbbent.o: /usr/include/sys/stat.h
151 # DEPENDENCIES MUST END AT END OF FILE
152 # IF YOU PUT STUFF HERE IT WILL GO AWAY
153 @
154
155
156 1.6
157 log
158 @add ID
159 @
160 text
161 @d5 1
162 a5 1
163 # @@(#)$Id:$
164 d28 1
165 a28 1
166 all:            getbbent
167 @
168
169
170 1.5
171 log
172 @remove -O (put in mhconfig)
173 @
174 text
175 @d5 1
176 @
177
178
179 1.4
180 log
181 @make unconfig changes
182 @
183 text
184 @d12 1
185 a12 1
186 CFLAGS  =       -O    $(OPTIONS)
187 @
188
189
190 1.3
191 log
192 @ANSI Compilance
193 @
194 text
195 @d53 3
196 @
197
198
199 1.2
200 log
201 @add default rule for .c
202 @
203 text
204 @d10 1
205 a10 1
206 CC      =       cc
207 @
208
209
210 1.1
211 log
212 @Initial revision
213 @
214 text
215 @d21 1
216 @