Pristine Ack-5.5
[Ack-5.5.git] / util / ego / cs / proto.make
1 # $Id: proto.make,v 1.4 1994/06/24 10:22:58 ceriel Exp $
2
3 #PARAMS         do not remove this line!
4
5 SRC_DIR = $(SRC_HOME)/util/ego/cs
6 EMH=$(TARGET_HOME)/h
7 EMLIB=$(TARGET_HOME)/lib.bin
8
9 LDFLAGS=$(LDOPTIONS)
10 CPPFLAGS=-DVERBOSE -DNOTCOMPACT -I$(EMH) -I$(SRC_DIR) -I$(EMLIB)/ego
11 CFLAGS=$(CPPFLAGS) $(COPTIONS)
12 LINTFLAGS=$(CPPFLAGS) $(LINTOPTIONS)
13
14 CFILES=\
15         $(SRC_DIR)/cs.c \
16         $(SRC_DIR)/cs_alloc.c \
17         $(SRC_DIR)/cs_aux.c \
18         $(SRC_DIR)/cs_avail.c \
19         $(SRC_DIR)/cs_debug.c \
20         $(SRC_DIR)/cs_elim.c \
21         $(SRC_DIR)/cs_entity.c \
22         $(SRC_DIR)/cs_kill.c \
23         $(SRC_DIR)/cs_partit.c \
24         $(SRC_DIR)/cs_profit.c \
25         $(SRC_DIR)/cs_getent.c \
26         $(SRC_DIR)/cs_stack.c \
27         $(SRC_DIR)/cs_vnm.c
28
29 OFILES=\
30         cs.$(SUF) \
31         cs_alloc.$(SUF) \
32         cs_aux.$(SUF) \
33         cs_avail.$(SUF) \
34         cs_debug.$(SUF) \
35         cs_elim.$(SUF) \
36         cs_entity.$(SUF) \
37         cs_kill.$(SUF) \
38         cs_partit.$(SUF) \
39         cs_profit.$(SUF) \
40         cs_getent.$(SUF) \
41         cs_stack.$(SUF) \
42         cs_vnm.$(SUF)
43
44 HFILES=\
45         $(SRC_DIR)/cs.h \
46         $(SRC_DIR)/cs_alloc.h \
47         $(SRC_DIR)/cs_aux.h \
48         $(SRC_DIR)/cs_avail.h \
49         $(SRC_DIR)/cs_debug.h \
50         $(SRC_DIR)/cs_elim.h \
51         $(SRC_DIR)/cs_entity.h \
52         $(SRC_DIR)/cs_kill.h \
53         $(SRC_DIR)/cs_partit.h \
54         $(SRC_DIR)/cs_profit.h \
55         $(SRC_DIR)/cs_getent.h \
56         $(SRC_DIR)/cs_stack.h \
57         $(SRC_DIR)/cs_vnm.h
58
59 PRFILES=\
60         $(CFILES) $(HFILES) $(SRC_DIR)/proto.make
61
62 all:    cs
63
64 cs:     $(OFILES)
65         $(CC) -o cs $(LDFLAGS) $(OFILES) $(EMLIB)/ego/share.$(LIBSUF) $(EMLIB)/em_data.$(LIBSUF)
66
67 install:        all
68         cp cs $(EMLIB)/ego/cs
69
70 cmp:    all
71         -cmp cs $(EMLIB)/ego/cs
72
73 clean:
74         rm -f *.$(SUF) cs Out out nohup.out
75
76 lint:
77         $(LINT) $(LINTFLAGS) $(CFILES) $(EMLIB)/ego/$(LINTPREF)share.$(LINTSUF) $(EMLIB)/$(LINTPREF)em_data.$(LINTSUF)
78
79 pr:
80         @pr $(PRFILES)
81
82 opr:
83         make pr | opr
84
85 depend:
86         rm_deps Makefile >Makefile.new
87         for i in $(CFILES) ; do \
88                 echo "`basename $$i .c`.$$(SUF):        $$i" >> Makefile.new ; \
89                 echo '  $$(CC) -c $$(CFLAGS)' $$i >> Makefile.new ; \
90                 $(UTIL_HOME)/lib.bin/cpp -d $(CPPFLAGS) $$i | sed "s/^/`basename $$i .c`.$$(SUF):       /" >> Makefile.new ; \
91         done
92         mv Makefile Makefile.old
93         mv Makefile.new Makefile
94
95 # do not remove the next line
96 #DEPENDENCIES
97 cs.$(SUF):      $(SRC_DIR)/cs.c
98         $(CC) -c $(CFLAGS) $(SRC_DIR)/cs.c
99 cs.$(SUF):      $(SRC_DIR)/cs_vnm.h
100 cs.$(SUF):      $(SRC_DIR)/cs_stack.h
101 cs.$(SUF):      $(SRC_DIR)/cs_profit.h
102 cs.$(SUF):      $(SRC_DIR)/cs_entity.h
103 cs.$(SUF):      $(SRC_DIR)/cs_elim.h
104 cs.$(SUF):      $(SRC_DIR)/cs_debug.h
105 cs.$(SUF):      $(SRC_DIR)/cs_avail.h
106 cs.$(SUF):      $(SRC_DIR)/cs_aux.h
107 cs.$(SUF):      $(SRC_DIR)/cs.h
108 cs.$(SUF):      $(SRC_DIR)/../share/go.h
109 cs.$(SUF):      $(SRC_DIR)/../share/debug.h
110 cs.$(SUF):      $(SRC_DIR)/../share/lset.h
111 cs.$(SUF):      $(SRC_DIR)/../share/types.h
112 cs_alloc.$(SUF):        $(SRC_DIR)/cs_alloc.c
113         $(CC) -c $(CFLAGS) $(SRC_DIR)/cs_alloc.c
114 cs_alloc.$(SUF):        $(SRC_DIR)/cs.h
115 cs_alloc.$(SUF):        $(SRC_DIR)/../share/alloc.h
116 cs_alloc.$(SUF):        $(SRC_DIR)/../share/types.h
117 cs_aux.$(SUF):  $(SRC_DIR)/cs_aux.c
118         $(CC) -c $(CFLAGS) $(SRC_DIR)/cs_aux.c
119 cs_aux.$(SUF):  $(SRC_DIR)/cs_entity.h
120 cs_aux.$(SUF):  $(SRC_DIR)/cs.h
121 cs_aux.$(SUF):  $(SRC_DIR)/../share/lset.h
122 cs_aux.$(SUF):  $(SRC_DIR)/../share/global.h
123 cs_aux.$(SUF):  $(SRC_DIR)/../share/aux.h
124 cs_aux.$(SUF):  $(SRC_DIR)/../share/debug.h
125 cs_aux.$(SUF):  $(SRC_DIR)/../share/types.h
126 cs_avail.$(SUF):        $(SRC_DIR)/cs_avail.c
127         $(CC) -c $(CFLAGS) $(SRC_DIR)/cs_avail.c
128 cs_avail.$(SUF):        $(SRC_DIR)/cs_getent.h
129 cs_avail.$(SUF):        $(SRC_DIR)/cs_alloc.h
130 cs_avail.$(SUF):        $(SRC_DIR)/cs_debug.h
131 cs_avail.$(SUF):        $(SRC_DIR)/cs_aux.h
132 cs_avail.$(SUF):        $(SRC_DIR)/cs.h
133 cs_avail.$(SUF):        $(SRC_DIR)/../share/global.h
134 cs_avail.$(SUF):        $(SRC_DIR)/../share/lset.h
135 cs_avail.$(SUF):        $(SRC_DIR)/../share/aux.h
136 cs_avail.$(SUF):        $(SRC_DIR)/../share/debug.h
137 cs_avail.$(SUF):        $(SRC_DIR)/../share/types.h
138 cs_avail.$(SUF):        $(EMH)/em_mnem.h
139 cs_debug.$(SUF):        $(SRC_DIR)/cs_debug.c
140         $(CC) -c $(CFLAGS) $(SRC_DIR)/cs_debug.c
141 cs_debug.$(SUF):        $(SRC_DIR)/cs_entity.h
142 cs_debug.$(SUF):        $(SRC_DIR)/cs_avail.h
143 cs_debug.$(SUF):        $(SRC_DIR)/cs_aux.h
144 cs_debug.$(SUF):        $(SRC_DIR)/cs.h
145 cs_debug.$(SUF):        $(SRC_DIR)/../share/lset.h
146 cs_debug.$(SUF):        $(SRC_DIR)/../share/debug.h
147 cs_debug.$(SUF):        $(SRC_DIR)/../share/types.h
148 cs_debug.$(SUF):        $(EMH)/em_spec.h
149 cs_elim.$(SUF): $(SRC_DIR)/cs_elim.c
150         $(CC) -c $(CFLAGS) $(SRC_DIR)/cs_elim.c
151 cs_elim.$(SUF): $(SRC_DIR)/cs_partit.h
152 cs_elim.$(SUF): $(SRC_DIR)/cs_profit.h
153 cs_elim.$(SUF): $(SRC_DIR)/cs_debug.h
154 cs_elim.$(SUF): $(SRC_DIR)/cs_aux.h
155 cs_elim.$(SUF): $(SRC_DIR)/cs_alloc.h
156 cs_elim.$(SUF): $(SRC_DIR)/cs_avail.h
157 cs_elim.$(SUF): $(SRC_DIR)/cs.h
158 cs_elim.$(SUF): $(SRC_DIR)/../share/debug.h
159 cs_elim.$(SUF): $(SRC_DIR)/../share/global.h
160 cs_elim.$(SUF): $(SRC_DIR)/../share/aux.h
161 cs_elim.$(SUF): $(SRC_DIR)/../share/lset.h
162 cs_elim.$(SUF): $(SRC_DIR)/../share/alloc.h
163 cs_elim.$(SUF): $(SRC_DIR)/../share/types.h
164 cs_elim.$(SUF): $(EMH)/em_mnem.h
165 cs_elim.$(SUF): $(EMH)/em_reg.h
166 cs_entity.$(SUF):       $(SRC_DIR)/cs_entity.c
167         $(CC) -c $(CFLAGS) $(SRC_DIR)/cs_entity.c
168 cs_entity.$(SUF):       $(SRC_DIR)/cs_aux.h
169 cs_entity.$(SUF):       $(SRC_DIR)/cs_alloc.h
170 cs_entity.$(SUF):       $(SRC_DIR)/cs.h
171 cs_entity.$(SUF):       $(SRC_DIR)/../share/debug.h
172 cs_entity.$(SUF):       $(SRC_DIR)/../share/lset.h
173 cs_entity.$(SUF):       $(SRC_DIR)/../share/global.h
174 cs_entity.$(SUF):       $(SRC_DIR)/../share/types.h
175 cs_kill.$(SUF): $(SRC_DIR)/cs_kill.c
176         $(CC) -c $(CFLAGS) $(SRC_DIR)/cs_kill.c
177 cs_kill.$(SUF): $(SRC_DIR)/cs_entity.h
178 cs_kill.$(SUF): $(SRC_DIR)/cs_avail.h
179 cs_kill.$(SUF): $(SRC_DIR)/cs_debug.h
180 cs_kill.$(SUF): $(SRC_DIR)/cs_aux.h
181 cs_kill.$(SUF): $(SRC_DIR)/cs.h
182 cs_kill.$(SUF): $(SRC_DIR)/../share/map.h
183 cs_kill.$(SUF): $(SRC_DIR)/../share/aux.h
184 cs_kill.$(SUF): $(SRC_DIR)/../share/cset.h
185 cs_kill.$(SUF): $(SRC_DIR)/../share/lset.h
186 cs_kill.$(SUF): $(SRC_DIR)/../share/global.h
187 cs_kill.$(SUF): $(SRC_DIR)/../share/debug.h
188 cs_kill.$(SUF): $(SRC_DIR)/../share/types.h
189 cs_kill.$(SUF): $(EMH)/em_mnem.h
190 cs_partit.$(SUF):       $(SRC_DIR)/cs_partit.c
191         $(CC) -c $(CFLAGS) $(SRC_DIR)/cs_partit.c
192 cs_partit.$(SUF):       $(SRC_DIR)/cs_stack.h
193 cs_partit.$(SUF):       $(SRC_DIR)/cs.h
194 cs_partit.$(SUF):       $(SRC_DIR)/../share/global.h
195 cs_partit.$(SUF):       $(SRC_DIR)/../share/debug.h
196 cs_partit.$(SUF):       $(SRC_DIR)/../share/aux.h
197 cs_partit.$(SUF):       $(SRC_DIR)/../share/types.h
198 cs_partit.$(SUF):       $(EMH)/em_spec.h
199 cs_partit.$(SUF):       $(EMH)/em_reg.h
200 cs_partit.$(SUF):       $(EMH)/em_pseu.h
201 cs_partit.$(SUF):       $(EMH)/em_mnem.h
202 cs_profit.$(SUF):       $(SRC_DIR)/cs_profit.c
203         $(CC) -c $(CFLAGS) $(SRC_DIR)/cs_profit.c
204 cs_profit.$(SUF):       $(SRC_DIR)/cs_partit.h
205 cs_profit.$(SUF):       $(SRC_DIR)/cs_avail.h
206 cs_profit.$(SUF):       $(SRC_DIR)/cs_debug.h
207 cs_profit.$(SUF):       $(SRC_DIR)/cs_aux.h
208 cs_profit.$(SUF):       $(SRC_DIR)/cs.h
209 cs_profit.$(SUF):       $(SRC_DIR)/../share/lset.h
210 cs_profit.$(SUF):       $(SRC_DIR)/../share/cset.h
211 cs_profit.$(SUF):       $(SRC_DIR)/../share/aux.h
212 cs_profit.$(SUF):       $(SRC_DIR)/../share/global.h
213 cs_profit.$(SUF):       $(SRC_DIR)/../share/debug.h
214 cs_profit.$(SUF):       $(SRC_DIR)/../share/types.h
215 cs_profit.$(SUF):       $(EMH)/em_spec.h
216 cs_profit.$(SUF):       $(EMH)/em_mnem.h
217 cs_getent.$(SUF):       $(SRC_DIR)/cs_getent.c
218         $(CC) -c $(CFLAGS) $(SRC_DIR)/cs_getent.c
219 cs_getent.$(SUF):       $(SRC_DIR)/cs_stack.h
220 cs_getent.$(SUF):       $(SRC_DIR)/cs_entity.h
221 cs_getent.$(SUF):       $(SRC_DIR)/cs_aux.h
222 cs_getent.$(SUF):       $(SRC_DIR)/cs.h
223 cs_getent.$(SUF):       $(SRC_DIR)/../share/global.h
224 cs_getent.$(SUF):       $(SRC_DIR)/../share/debug.h
225 cs_getent.$(SUF):       $(SRC_DIR)/../share/aux.h
226 cs_getent.$(SUF):       $(SRC_DIR)/../share/types.h
227 cs_getent.$(SUF):       $(EMH)/em_mnem.h
228 cs_stack.$(SUF):        $(SRC_DIR)/cs_stack.c
229         $(CC) -c $(CFLAGS) $(SRC_DIR)/cs_stack.c
230 cs_stack.$(SUF):        $(SRC_DIR)/cs_aux.h
231 cs_stack.$(SUF):        $(SRC_DIR)/cs.h
232 cs_stack.$(SUF):        $(SRC_DIR)/../share/aux.h
233 cs_stack.$(SUF):        $(SRC_DIR)/../share/debug.h
234 cs_stack.$(SUF):        $(SRC_DIR)/../share/global.h
235 cs_stack.$(SUF):        $(SRC_DIR)/../share/types.h
236 cs_vnm.$(SUF):  $(SRC_DIR)/cs_vnm.c
237         $(CC) -c $(CFLAGS) $(SRC_DIR)/cs_vnm.c
238 cs_vnm.$(SUF):  $(SRC_DIR)/cs_getent.h
239 cs_vnm.$(SUF):  $(SRC_DIR)/cs_partit.h
240 cs_vnm.$(SUF):  $(SRC_DIR)/cs_kill.h
241 cs_vnm.$(SUF):  $(SRC_DIR)/cs_stack.h
242 cs_vnm.$(SUF):  $(SRC_DIR)/cs_avail.h
243 cs_vnm.$(SUF):  $(SRC_DIR)/cs_entity.h
244 cs_vnm.$(SUF):  $(SRC_DIR)/cs_aux.h
245 cs_vnm.$(SUF):  $(SRC_DIR)/cs_alloc.h
246 cs_vnm.$(SUF):  $(SRC_DIR)/cs.h
247 cs_vnm.$(SUF):  $(SRC_DIR)/../share/aux.h
248 cs_vnm.$(SUF):  $(SRC_DIR)/../share/debug.h
249 cs_vnm.$(SUF):  $(SRC_DIR)/../share/global.h
250 cs_vnm.$(SUF):  $(SRC_DIR)/../share/types.h
251 cs_vnm.$(SUF):  $(EMH)/em_mnem.h