|
|
1.1 root 1: ##############################################################################
2: # Instructions to Make, for compilation of ZOT UIP/utility processes
3: #
4: # This file is automatically generated. Do not edit!
5: ##############################################################################
6:
7: # The following entries were inserted during MH configuration
8: OPTIONS = -DBSD42 -DBSD43 -DBERK -DTTYD -DDUMB -DMHE -DNETWORK -DBIND -DRPATHS -DATZ -DSBACKUP='"\043"' -DSENDMTS -DSMTP -I..
9:
10: CC = cc
11: CFLAGS = -O $(OPTIONS)
12: LINT = lint
13: LFLAGS = -bhu $(OPTIONS)
14: LLIBS =
15:
16:
17: ######################################################################
18: # Here it is...
19: ######################################################################
20:
21: all: getbbent
22:
23: lint: l-getbbent
24:
25: install: inst-all clean
26:
27: inst-all:;
28:
29: tar:;
30:
31: uninstall:;
32:
33:
34: ######################################################################
35: # getbbent
36: ######################################################################
37:
38: getbbent: getbbent.o
39:
40: l-getbbent:; $(LINT) $(LFLAGS) getbbent.c $(LLIBS)
41:
42:
43: ##############################################################################
44: # Miscellaneous tasks
45: ##############################################################################
46:
47: distribution: clean
48:
49: clean: unclean
50: -rm -f *.o
51:
52: unclean:; -rm -f _* :* core eddep makedep
53:
54:
55: ##############################################################################
56: # Dependencies
57: ##############################################################################
58:
59: MODULES = getbbent
60: depend:; for m in $(MODULES); do ( \
61: i=`basename $$m .c`; \
62: echo $$i.o: $$i.c >> makedep; \
63: grep '^#[ ]*include' $$i.c | \
64: sed -e 's,[^"]*"/\([^"]*\)".*,'$$i'.o: /\1,' \
65: -e 's,[^"]*"\([^"]*\)".*,'$$i'.o: \1,' \
66: -e 's,[^<]*<\(.*\)>.*,#'$$i'.o: /usr/include/\1,' \
67: >> makedep \
68: ); done
69: echo '/^# DO NOT DELETE THIS LINE/+2,$$d' > eddep
70: echo '$$r makedep' >> eddep
71: echo 'w' >> eddep
72: cp Makefile _Makefile
73: ed - Makefile < eddep
74: rm eddep makedep
75: echo '# DEPENDENCIES MUST END AT END OF FILE' >> Makefile
76: echo '# IF YOU PUT STUFF HERE IT WILL GO AWAY' >> Makefile
77:
78: # DO NOT DELETE THIS LINE
79: # DEPENDENCIES START HERE
80: getbbent.o: getbbent.c
81: getbbent.o: bboards.h
82: getbbent.o: ../../h/strings.h
83: #getbbent.o: /usr/include/ctype.h
84: #getbbent.o: /usr/include/pwd.h
85: #getbbent.o: /usr/include/grp.h
86: #getbbent.o: /usr/include/stdio.h
87: #getbbent.o: /usr/include/sys/types.h
88: #getbbent.o: /usr/include/sys/stat.h
89: # DEPENDENCIES MUST END AT END OF FILE
90: # IF YOU PUT STUFF HERE IT WILL GO AWAY
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.