1 | # Makefile for OLC/Motif |
---|
2 | |
---|
3 | MACHTYPE = vax |
---|
4 | |
---|
5 | MOTIFDIR = /afs/athena/astaff/project/motifdev |
---|
6 | OLCDEV = /mit/olcdev |
---|
7 | OLCLIB = ${OLCDEV}/${MACHTYPE}/clients/lib |
---|
8 | BINDIR = ${MOTIFDIR}/${MACHTYPE}bin |
---|
9 | INCDIR = -I${MOTIFDIR}/include \ |
---|
10 | -I${OLCDEV}/src/include -I${OLCDEV}/src/clients/olc |
---|
11 | LIBDIR = -L${MOTIFDIR}/${MACHTYPE}lib -L${OLCDEV}/${MACHTYPE}lib |
---|
12 | UILINCDIR = -I${MOTIFDIR}/include/uil |
---|
13 | |
---|
14 | CC = /bin/cc |
---|
15 | UIL = ${BINDIR}/uil |
---|
16 | LINT = /usr/bin/lint |
---|
17 | DEBUG = /usr/ucb/dbx |
---|
18 | DEPEND = /usr/athena/makedepend |
---|
19 | RM = /bin/rm -f |
---|
20 | TAR = /bin/tar |
---|
21 | COMPRESS = /usr/ucb/compress -fv |
---|
22 | |
---|
23 | CFLAGS = -g ${INCDIR} -DHESIOD -DZEPHYR -DKERBEROS -DATHENA -DTEST |
---|
24 | LDFLAGS = ${LIBDIR} |
---|
25 | LINTFLAGS = -haucbx ${INCDIR} ${LIBS} |
---|
26 | UILFLAGS = ${UILINCDIR} |
---|
27 | |
---|
28 | RCSDIR = ${MOTIFDIR}/projects/olc/RCS |
---|
29 | BACKUPDIR = /mit/motifdev/backups |
---|
30 | BACKUPFIL = ${BACKUPDIR}/olc.rcs.tar |
---|
31 | ERRORLOG = errorlog |
---|
32 | |
---|
33 | SOURCES = main.c procs.c widget_create.c x_motd.c x_hand_resp.c |
---|
34 | OBJFOOS = main.o procs.o widget_create.o x_motd.o x_hand_resp.o |
---|
35 | OBJECTS = ${OBJFOOS} \ |
---|
36 | ${OLCLIB}/../parser/p_utils.o |
---|
37 | |
---|
38 | TARGET = xolc |
---|
39 | LIBS = -lMu -lMrm -lXm -lXt -lX11 \ |
---|
40 | -lolc \ |
---|
41 | -lhesiod -lzephyr -lcom_err -lkrb -ldes |
---|
42 | |
---|
43 | UIL_SRC = olc.uil |
---|
44 | UID = olc.uid |
---|
45 | |
---|
46 | |
---|
47 | all: ${UID} ${TARGET} |
---|
48 | |
---|
49 | uil: ${UID} |
---|
50 | c: ${TARGET} |
---|
51 | |
---|
52 | ${UID}: ${UIL_SRC} |
---|
53 | ${UIL} ${UILFLAGS} -o ${UID} ${UIL_SRC} |
---|
54 | |
---|
55 | ${TARGET}: ${OBJFOOS} |
---|
56 | ${CC} ${LDFLAGS} -o ${TARGET} ${OBJECTS} ${LIBS} |
---|
57 | |
---|
58 | .c.o: |
---|
59 | ${CC} ${CFLAGS} -c $*.c |
---|
60 | |
---|
61 | clean: |
---|
62 | ${RM} *~ *.bak *.uid *.o ${UID} ${TARGET} |
---|
63 | |
---|
64 | lint: |
---|
65 | ${LINT} ${LINTFLAGS} ${CFLAGS} ${SOURCES} |
---|
66 | |
---|
67 | dbx: ${TARGET} |
---|
68 | ${DEBUG} ${TARGET} |
---|
69 | |
---|
70 | backup: |
---|
71 | ${TAR} -cvf ${BACKUPFIL} ${RCSDIR} |
---|
72 | ${COMPRESS} ${BACKUPFIL} |
---|
73 | |
---|
74 | depend: |
---|
75 | ${DEPEND} ${CFLAGS} ${SOURCES} |
---|
76 | |
---|
77 | |
---|
78 | # DO NOT DELETE THIS LINE -- make depend depends on it. |
---|
79 | |
---|
80 | main.o: main.c xolc.h /mit/olcdev/src/include/olc/olc.h /usr/include/stdio.h |
---|
81 | main.o: /usr/include/strings.h /usr/include/krb.h |
---|
82 | main.o: /usr/include/mit-copyright.h /usr/include/des.h |
---|
83 | main.o: /usr/include/des_conf.h /usr/include/hesiod.h |
---|
84 | main.o: /mit/olcdev/src/include/olc/macros.h |
---|
85 | main.o: /mit/olcdev/src/include/olc/structs.h |
---|
86 | main.o: /mit/olcdev/src/include/olc/requests.h |
---|
87 | main.o: /mit/olcdev/src/include/olc/procs.h |
---|
88 | main.o: /mit/olcdev/src/include/olc/status.h |
---|
89 | main.o: /mit/olcdev/src/include/olc/olc_tty.h |
---|
90 | main.o: /mit/olcdev/src/include/olc/olc_parser.h |
---|
91 | main.o: /mit/olcdev/src/clients/olc/olc.h /usr/include/zephyr/zephyr.h |
---|
92 | main.o: /usr/include/zephyr/mit-copyright.h /usr/include/zephyr/zephyr_err.h |
---|
93 | main.o: /usr/include/zephyr/zephyr_conf.h /usr/include/errno.h |
---|
94 | main.o: /usr/include/sys/types.h /usr/include/netinet/in.h |
---|
95 | main.o: /usr/include/sys/time.h /usr/include/sys/time.h |
---|
96 | main.o: /afs/athena/astaff/project/motifdev/include/Mrm/MrmAppl.h |
---|
97 | main.o: /usr/include/X11/Xlib.h /usr/include/X11/X.h |
---|
98 | main.o: /afs/athena/astaff/project/motifdev/include/X11/Intrinsic.h |
---|
99 | main.o: /usr/include/X11/Xutil.h /usr/include/X11/Xresource.h |
---|
100 | main.o: /usr/include/X11/Xos.h /usr/include/sys/file.h |
---|
101 | main.o: /afs/athena/astaff/project/motifdev/include/X11/Core.h |
---|
102 | main.o: /afs/athena/astaff/project/motifdev/include/X11/Composite.h |
---|
103 | main.o: /afs/athena/astaff/project/motifdev/include/X11/Constraint.h |
---|
104 | main.o: /afs/athena/astaff/project/motifdev/include/X11/Object.h |
---|
105 | main.o: /afs/athena/astaff/project/motifdev/include/X11/RectObj.h |
---|
106 | main.o: /afs/athena/astaff/project/motifdev/include/X11/WindowObj.h |
---|
107 | main.o: /afs/athena/astaff/project/motifdev/include/X11/CompObj.h |
---|
108 | main.o: /afs/athena/astaff/project/motifdev/include/Mrm/MrmPublic.h |
---|
109 | main.o: /afs/athena/astaff/project/motifdev/include/Mrm/MrmDecls.h |
---|
110 | main.o: /afs/athena/astaff/project/motifdev/include/X11/StringDefs.h |
---|
111 | main.o: /afs/athena/astaff/project/motifdev/include/X11/Shell.h |
---|
112 | main.o: /afs/athena/astaff/project/motifdev/include/X11/Vendor.h |
---|
113 | main.o: /afs/athena/astaff/project/motifdev/include/Xm/Xm.h |
---|
114 | main.o: /usr/include/signal.h /usr/include/sys/stat.h /usr/include/pwd.h |
---|
115 | main.o: /usr/include/netdb.h |
---|
116 | procs.o: procs.c xolc.h /mit/olcdev/src/include/olc/olc.h |
---|
117 | procs.o: /usr/include/stdio.h /usr/include/strings.h /usr/include/krb.h |
---|
118 | procs.o: /usr/include/mit-copyright.h /usr/include/des.h |
---|
119 | procs.o: /usr/include/des_conf.h /usr/include/hesiod.h |
---|
120 | procs.o: /mit/olcdev/src/include/olc/macros.h |
---|
121 | procs.o: /mit/olcdev/src/include/olc/structs.h |
---|
122 | procs.o: /mit/olcdev/src/include/olc/requests.h |
---|
123 | procs.o: /mit/olcdev/src/include/olc/procs.h |
---|
124 | procs.o: /mit/olcdev/src/include/olc/status.h |
---|
125 | procs.o: /mit/olcdev/src/include/olc/olc_tty.h |
---|
126 | procs.o: /mit/olcdev/src/include/olc/olc_parser.h |
---|
127 | procs.o: /mit/olcdev/src/clients/olc/olc.h /usr/include/zephyr/zephyr.h |
---|
128 | procs.o: /usr/include/zephyr/mit-copyright.h /usr/include/zephyr/zephyr_err.h |
---|
129 | procs.o: /usr/include/zephyr/zephyr_conf.h /usr/include/errno.h |
---|
130 | procs.o: /usr/include/sys/types.h /usr/include/netinet/in.h |
---|
131 | procs.o: /usr/include/sys/time.h /usr/include/sys/time.h |
---|
132 | procs.o: /afs/athena/astaff/project/motifdev/include/Mrm/MrmAppl.h |
---|
133 | procs.o: /usr/include/X11/Xlib.h /usr/include/X11/X.h |
---|
134 | procs.o: /afs/athena/astaff/project/motifdev/include/X11/Intrinsic.h |
---|
135 | procs.o: /usr/include/X11/Xutil.h /usr/include/X11/Xresource.h |
---|
136 | procs.o: /usr/include/X11/Xos.h /usr/include/sys/file.h |
---|
137 | procs.o: /afs/athena/astaff/project/motifdev/include/X11/Core.h |
---|
138 | procs.o: /afs/athena/astaff/project/motifdev/include/X11/Composite.h |
---|
139 | procs.o: /afs/athena/astaff/project/motifdev/include/X11/Constraint.h |
---|
140 | procs.o: /afs/athena/astaff/project/motifdev/include/X11/Object.h |
---|
141 | procs.o: /afs/athena/astaff/project/motifdev/include/X11/RectObj.h |
---|
142 | procs.o: /afs/athena/astaff/project/motifdev/include/X11/WindowObj.h |
---|
143 | procs.o: /afs/athena/astaff/project/motifdev/include/X11/CompObj.h |
---|
144 | procs.o: /afs/athena/astaff/project/motifdev/include/Mrm/MrmPublic.h |
---|
145 | procs.o: /afs/athena/astaff/project/motifdev/include/Mrm/MrmDecls.h |
---|
146 | procs.o: /afs/athena/astaff/project/motifdev/include/X11/StringDefs.h |
---|
147 | procs.o: /afs/athena/astaff/project/motifdev/include/X11/Shell.h |
---|
148 | procs.o: /afs/athena/astaff/project/motifdev/include/X11/Vendor.h |
---|
149 | procs.o: /afs/athena/astaff/project/motifdev/include/Xm/Xm.h |
---|
150 | procs.o: /usr/include/signal.h /usr/include/sys/stat.h /usr/include/pwd.h |
---|
151 | procs.o: /usr/include/netdb.h |
---|
152 | widget_create.o: widget_create.c xolc.h /mit/olcdev/src/include/olc/olc.h |
---|
153 | widget_create.o: /usr/include/stdio.h /usr/include/strings.h |
---|
154 | widget_create.o: /usr/include/krb.h /usr/include/mit-copyright.h |
---|
155 | widget_create.o: /usr/include/des.h /usr/include/des_conf.h |
---|
156 | widget_create.o: /usr/include/hesiod.h /mit/olcdev/src/include/olc/macros.h |
---|
157 | widget_create.o: /mit/olcdev/src/include/olc/structs.h |
---|
158 | widget_create.o: /mit/olcdev/src/include/olc/requests.h |
---|
159 | widget_create.o: /mit/olcdev/src/include/olc/procs.h |
---|
160 | widget_create.o: /mit/olcdev/src/include/olc/status.h |
---|
161 | widget_create.o: /mit/olcdev/src/include/olc/olc_tty.h |
---|
162 | widget_create.o: /mit/olcdev/src/include/olc/olc_parser.h |
---|
163 | widget_create.o: /mit/olcdev/src/clients/olc/olc.h |
---|
164 | widget_create.o: /usr/include/zephyr/zephyr.h |
---|
165 | widget_create.o: /usr/include/zephyr/mit-copyright.h |
---|
166 | widget_create.o: /usr/include/zephyr/zephyr_err.h |
---|
167 | widget_create.o: /usr/include/zephyr/zephyr_conf.h /usr/include/errno.h |
---|
168 | widget_create.o: /usr/include/sys/types.h /usr/include/netinet/in.h |
---|
169 | widget_create.o: /usr/include/sys/time.h /usr/include/sys/time.h |
---|
170 | widget_create.o: /afs/athena/astaff/project/motifdev/include/Mrm/MrmAppl.h |
---|
171 | widget_create.o: /usr/include/X11/Xlib.h /usr/include/X11/X.h |
---|
172 | widget_create.o: /afs/athena/astaff/project/motifdev/include/X11/Intrinsic.h |
---|
173 | widget_create.o: /usr/include/X11/Xutil.h /usr/include/X11/Xresource.h |
---|
174 | widget_create.o: /usr/include/X11/Xos.h /usr/include/sys/file.h |
---|
175 | widget_create.o: /afs/athena/astaff/project/motifdev/include/X11/Core.h |
---|
176 | widget_create.o: /afs/athena/astaff/project/motifdev/include/X11/Composite.h |
---|
177 | widget_create.o: /afs/athena/astaff/project/motifdev/include/X11/Constraint.h |
---|
178 | widget_create.o: /afs/athena/astaff/project/motifdev/include/X11/Object.h |
---|
179 | widget_create.o: /afs/athena/astaff/project/motifdev/include/X11/RectObj.h |
---|
180 | widget_create.o: /afs/athena/astaff/project/motifdev/include/X11/WindowObj.h |
---|
181 | widget_create.o: /afs/athena/astaff/project/motifdev/include/X11/CompObj.h |
---|
182 | widget_create.o: /afs/athena/astaff/project/motifdev/include/Mrm/MrmPublic.h |
---|
183 | widget_create.o: /afs/athena/astaff/project/motifdev/include/Mrm/MrmDecls.h |
---|
184 | widget_create.o: /afs/athena/astaff/project/motifdev/include/X11/StringDefs.h |
---|
185 | widget_create.o: /afs/athena/astaff/project/motifdev/include/X11/Shell.h |
---|
186 | widget_create.o: /afs/athena/astaff/project/motifdev/include/X11/Vendor.h |
---|
187 | widget_create.o: /afs/athena/astaff/project/motifdev/include/Xm/Xm.h |
---|
188 | widget_create.o: /usr/include/signal.h /usr/include/sys/stat.h |
---|
189 | widget_create.o: /usr/include/pwd.h /usr/include/netdb.h |
---|
190 | x_motd.o: x_motd.c xolc.h /mit/olcdev/src/include/olc/olc.h |
---|
191 | x_motd.o: /usr/include/stdio.h /usr/include/strings.h /usr/include/krb.h |
---|
192 | x_motd.o: /usr/include/mit-copyright.h /usr/include/des.h |
---|
193 | x_motd.o: /usr/include/des_conf.h /usr/include/hesiod.h |
---|
194 | x_motd.o: /mit/olcdev/src/include/olc/macros.h |
---|
195 | x_motd.o: /mit/olcdev/src/include/olc/structs.h |
---|
196 | x_motd.o: /mit/olcdev/src/include/olc/requests.h |
---|
197 | x_motd.o: /mit/olcdev/src/include/olc/procs.h |
---|
198 | x_motd.o: /mit/olcdev/src/include/olc/status.h |
---|
199 | x_motd.o: /mit/olcdev/src/include/olc/olc_tty.h |
---|
200 | x_motd.o: /mit/olcdev/src/include/olc/olc_parser.h |
---|
201 | x_motd.o: /mit/olcdev/src/clients/olc/olc.h /usr/include/zephyr/zephyr.h |
---|
202 | x_motd.o: /usr/include/zephyr/mit-copyright.h |
---|
203 | x_motd.o: /usr/include/zephyr/zephyr_err.h /usr/include/zephyr/zephyr_conf.h |
---|
204 | x_motd.o: /usr/include/errno.h /usr/include/sys/types.h |
---|
205 | x_motd.o: /usr/include/netinet/in.h /usr/include/sys/time.h |
---|
206 | x_motd.o: /usr/include/sys/time.h |
---|
207 | x_motd.o: /afs/athena/astaff/project/motifdev/include/Mrm/MrmAppl.h |
---|
208 | x_motd.o: /usr/include/X11/Xlib.h /usr/include/X11/X.h |
---|
209 | x_motd.o: /afs/athena/astaff/project/motifdev/include/X11/Intrinsic.h |
---|
210 | x_motd.o: /usr/include/X11/Xutil.h /usr/include/X11/Xresource.h |
---|
211 | x_motd.o: /usr/include/X11/Xos.h /usr/include/sys/file.h |
---|
212 | x_motd.o: /afs/athena/astaff/project/motifdev/include/X11/Core.h |
---|
213 | x_motd.o: /afs/athena/astaff/project/motifdev/include/X11/Composite.h |
---|
214 | x_motd.o: /afs/athena/astaff/project/motifdev/include/X11/Constraint.h |
---|
215 | x_motd.o: /afs/athena/astaff/project/motifdev/include/X11/Object.h |
---|
216 | x_motd.o: /afs/athena/astaff/project/motifdev/include/X11/RectObj.h |
---|
217 | x_motd.o: /afs/athena/astaff/project/motifdev/include/X11/WindowObj.h |
---|
218 | x_motd.o: /afs/athena/astaff/project/motifdev/include/X11/CompObj.h |
---|
219 | x_motd.o: /afs/athena/astaff/project/motifdev/include/Mrm/MrmPublic.h |
---|
220 | x_motd.o: /afs/athena/astaff/project/motifdev/include/Mrm/MrmDecls.h |
---|
221 | x_motd.o: /afs/athena/astaff/project/motifdev/include/X11/StringDefs.h |
---|
222 | x_motd.o: /afs/athena/astaff/project/motifdev/include/X11/Shell.h |
---|
223 | x_motd.o: /afs/athena/astaff/project/motifdev/include/X11/Vendor.h |
---|
224 | x_motd.o: /afs/athena/astaff/project/motifdev/include/Xm/Xm.h |
---|
225 | x_motd.o: /usr/include/signal.h /usr/include/sys/stat.h /usr/include/pwd.h |
---|
226 | x_motd.o: /usr/include/netdb.h |
---|
227 | x_hand_resp.o: x_hand_resp.c xolc.h /mit/olcdev/src/include/olc/olc.h |
---|
228 | x_hand_resp.o: /usr/include/stdio.h /usr/include/strings.h /usr/include/krb.h |
---|
229 | x_hand_resp.o: /usr/include/mit-copyright.h /usr/include/des.h |
---|
230 | x_hand_resp.o: /usr/include/des_conf.h /usr/include/hesiod.h |
---|
231 | x_hand_resp.o: /mit/olcdev/src/include/olc/macros.h |
---|
232 | x_hand_resp.o: /mit/olcdev/src/include/olc/structs.h |
---|
233 | x_hand_resp.o: /mit/olcdev/src/include/olc/requests.h |
---|
234 | x_hand_resp.o: /mit/olcdev/src/include/olc/procs.h |
---|
235 | x_hand_resp.o: /mit/olcdev/src/include/olc/status.h |
---|
236 | x_hand_resp.o: /mit/olcdev/src/include/olc/olc_tty.h |
---|
237 | x_hand_resp.o: /mit/olcdev/src/include/olc/olc_parser.h |
---|
238 | x_hand_resp.o: /mit/olcdev/src/clients/olc/olc.h /usr/include/zephyr/zephyr.h |
---|
239 | x_hand_resp.o: /usr/include/zephyr/mit-copyright.h |
---|
240 | x_hand_resp.o: /usr/include/zephyr/zephyr_err.h |
---|
241 | x_hand_resp.o: /usr/include/zephyr/zephyr_conf.h /usr/include/errno.h |
---|
242 | x_hand_resp.o: /usr/include/sys/types.h /usr/include/netinet/in.h |
---|
243 | x_hand_resp.o: /usr/include/sys/time.h /usr/include/sys/time.h |
---|
244 | x_hand_resp.o: /afs/athena/astaff/project/motifdev/include/Mrm/MrmAppl.h |
---|
245 | x_hand_resp.o: /usr/include/X11/Xlib.h /usr/include/X11/X.h |
---|
246 | x_hand_resp.o: /afs/athena/astaff/project/motifdev/include/X11/Intrinsic.h |
---|
247 | x_hand_resp.o: /usr/include/X11/Xutil.h /usr/include/X11/Xresource.h |
---|
248 | x_hand_resp.o: /usr/include/X11/Xos.h /usr/include/sys/file.h |
---|
249 | x_hand_resp.o: /afs/athena/astaff/project/motifdev/include/X11/Core.h |
---|
250 | x_hand_resp.o: /afs/athena/astaff/project/motifdev/include/X11/Composite.h |
---|
251 | x_hand_resp.o: /afs/athena/astaff/project/motifdev/include/X11/Constraint.h |
---|
252 | x_hand_resp.o: /afs/athena/astaff/project/motifdev/include/X11/Object.h |
---|
253 | x_hand_resp.o: /afs/athena/astaff/project/motifdev/include/X11/RectObj.h |
---|
254 | x_hand_resp.o: /afs/athena/astaff/project/motifdev/include/X11/WindowObj.h |
---|
255 | x_hand_resp.o: /afs/athena/astaff/project/motifdev/include/X11/CompObj.h |
---|
256 | x_hand_resp.o: /afs/athena/astaff/project/motifdev/include/Mrm/MrmPublic.h |
---|
257 | x_hand_resp.o: /afs/athena/astaff/project/motifdev/include/Mrm/MrmDecls.h |
---|
258 | x_hand_resp.o: /afs/athena/astaff/project/motifdev/include/X11/StringDefs.h |
---|
259 | x_hand_resp.o: /afs/athena/astaff/project/motifdev/include/X11/Shell.h |
---|
260 | x_hand_resp.o: /afs/athena/astaff/project/motifdev/include/X11/Vendor.h |
---|
261 | x_hand_resp.o: /afs/athena/astaff/project/motifdev/include/Xm/Xm.h |
---|
262 | x_hand_resp.o: /usr/include/signal.h /usr/include/sys/stat.h |
---|
263 | x_hand_resp.o: /usr/include/pwd.h /usr/include/netdb.h |
---|