9 date 92.11.12.23.22.48; author jromine; state Exp;
14 date 90.04.05.15.16.32; author sources; state Exp;
19 date 90.03.12.11.27.58; author sources; state Exp;
24 date 90.02.21.16.58.36; author sources; state Exp;
29 date 90.02.06.12.56.09; author sources; state Exp;
34 date 90.01.25.16.18.55; author sources; state Exp;
39 date 90.01.25.16.18.24; author sources; state Exp;
50 @fix for broken "make"s
53 @##############################################################################
54 # Instructions to Make, for compilation of ZOT UIP/utility processes
57 # @@(#)$Id: bboards,v 1.6 1990/04/05 15:16:32 sources Exp jromine $
58 ##############################################################################
60 # The following entries were inserted during MH configuration
61 OPTIONS = @@(MHOPTIONS) -I..
71 LFLAGS = -bhu $(OPTIONS)
76 ######################################################################
78 ######################################################################
84 install: inst-all clean
93 ######################################################################
95 ######################################################################
99 l-getbbent:; $(LINT) $(LFLAGS) getbbent.c $(LLIBS)
102 ##############################################################################
103 # Miscellaneous tasks
104 ##############################################################################
106 unconfig: distribution
114 unclean:; -rm -f _* :* core eddep makedep
117 ##############################################################################
119 ##############################################################################
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,' \
131 echo '/^# DO NOT DELETE THIS LINE/+2,$$d' > eddep
132 echo '$$r makedep' >> eddep
134 cp Makefile _Makefile
135 ed - Makefile < eddep
137 echo '# DEPENDENCIES MUST END AT END OF FILE' >> Makefile
138 echo '# IF YOU PUT STUFF HERE IT WILL GO AWAY' >> Makefile
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
172 @remove -O (put in mhconfig)
181 @make unconfig changes
186 CFLAGS = -O $(OPTIONS)
201 @add default rule for .c