|
|
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 -DBSD44 -DBERK -DTTYD -DDUMB -DMHE -DNETWORK -DBIND -DRPATHS -DATZ -DSBACKUP='".\043"' -DDBM -DSENDMTS -DSMTP -I..
9:
10: CC = /usr/bin/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.o
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: l-getbbent:; $(LINT) $(LFLAGS) getbbent.c $(LLIBS)
39:
40:
41: ##############################################################################
42: # Miscellaneous tasks
43: ##############################################################################
44:
45: distribution: clean
46:
47: clean: unclean
48: -rm -f *.o
49:
50: unclean:; -rm -f _* :* core eddep makedep
51:
52:
53: ##############################################################################
54: # Dependencies
55: ##############################################################################
56:
57: MODULES = getbbent
58: depend:; for m in $(MODULES); do ( \
59: i=`basename $$m .c`; \
60: echo $$i.o: $$i.c >> makedep; \
61: grep '^#[ ]*include' $$i.c | \
62: sed -e 's,[^"]*"/\([^"]*\)".*,'$$i'.o: /\1,' \
63: -e 's,[^"]*"\([^"]*\)".*,'$$i'.o: \1,' \
64: -e 's,[^<]*<\(.*\)>.*,#'$$i'.o: /usr/include/\1,' \
65: >> makedep \
66: ); done
67: echo '/^# DO NOT DELETE THIS LINE/+2,$$d' > eddep
68: echo '$$r makedep' >> eddep
69: echo 'w' >> eddep
70: cp Makefile _Makefile
71: ed - Makefile < eddep
72: rm eddep makedep
73: echo '# DEPENDENCIES MUST END AT END OF FILE' >> Makefile
74: echo '# IF YOU PUT STUFF HERE IT WILL GO AWAY' >> Makefile
75:
76: # DO NOT DELETE THIS LINE
77: # DEPENDENCIES START HERE
78: getbbent.o: getbbent.c
79: getbbent.o: bboards.h
80: getbbent.o: ../../h/strings.h
81: #getbbent.o: /usr/include/ctype.h
82: #getbbent.o: /usr/include/pwd.h
83: #getbbent.o: /usr/include/grp.h
84: #getbbent.o: /usr/include/stdio.h
85: #getbbent.o: /usr/include/sys/types.h
86: #getbbent.o: /usr/include/sys/stat.h
87: # DEPENDENCIES MUST END AT END OF FILE
88: # 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.