File: patch.build_pam

package info (click to toggle)
openafs 1.3.81-3sarge3
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 64,948 kB
  • ctags: 86,354
  • sloc: ansic: 451,050; cpp: 103,220; sh: 9,324; makefile: 8,940; perl: 7,275; java: 5,247; asm: 1,279; yacc: 983; lex: 318; tcl: 249; objc: 135; csh: 123
file content (466 lines) | stat: -rw-r--r-- 17,668 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
? src/tests/run-tests
? src/tests/OpenAFS/Dirpath.pm
Index: src/audit/Makefile.in
===================================================================
RCS file: /afs/sipb/project/openafs/debian/cvs/openafs/src/audit/Makefile.in,v
retrieving revision 1.7
diff -u -r1.7 Makefile.in
--- src/audit/Makefile.in	13 Apr 2003 20:41:58 -0000	1.7
+++ src/audit/Makefile.in	13 Apr 2003 21:14:09 -0000
@@ -65,9 +65,11 @@
 
 audit.o: audit.c audit.h 
 	${CC} ${CFLAGS} -c audit.c
+	-mkdir -p ../pic/audit
+	${CC} ${CFLAGS} -c audit.c -fPIC -o ../pic/audit/audit.o
 
 clean:
-	$(RM) -f *.a *.o core AFS_component_version_number.c
+	$(RM) -f *.a *.o core AFS_component_version_number.c $(PICTARGET)/*.o ../pic/audit/audit.o
 
 include ../config/Makefile.version
 ${DESTDIR}${libdir}/afs/libaudit.a: libaudit.a
Index: src/auth/Makefile.in
===================================================================
RCS file: /afs/sipb/project/openafs/debian/cvs/openafs/src/auth/Makefile.in,v
retrieving revision 1.7
diff -u -r1.7 Makefile.in
--- src/auth/Makefile.in	13 Apr 2003 20:41:58 -0000	1.7
+++ src/auth/Makefile.in	13 Apr 2003 21:14:09 -0000
@@ -45,7 +45,15 @@
 UKSRCS=${KSRCS} cellconfig.h acfg_errors.c keys.h cellconfig.c \
        ktc.c authcon.c ktc_errors.c
 
-all: kinstall ukinstall ${TOP_LIBDIR}/libauth.a ${TOP_LIBDIR}/libauth.krb.a ${TOP_INCDIR}/afs/keys.h ${TOP_INCDIR}/afs/cellconfig.h ${TOP_INCDIR}/afs/auth.h copyauth setkey
+PICTARGET =../pic/auth
+PICOBJS = $(patsubst %.o,$(PICTARGET)/%.o,$(OBJS))
+$(PICTARGET)/%.o: %.c $(PICTARGET)
+	$(CC) -c $(PAM_CFLAGS) $(CFLAGS) $< -o $@
+
+$(PICTARGET):
+	mkdir -p $(PICTARGET)
+
+all: kinstall ukinstall ${TOP_LIBDIR}/libauth.a ${TOP_LIBDIR}/libauth.krb.a ${TOP_INCDIR}/afs/keys.h ${TOP_INCDIR}/afs/cellconfig.h ${TOP_INCDIR}/afs/auth.h copyauth setkey $(PICOBJS)
 
 cellconfig.o: cellconfig.c ${INCLS}
 ktc.o: ktc.c ${INCLS} ${TOP_INCDIR}/afs/vice.h
@@ -155,7 +163,7 @@
 
 clean:
 	$(RM) -f *.o *.a copyauth setkey auth.h cellconfig.h acfg_errors.c ktc_errors.c core\
-	AFS_component_version_number.c
+	AFS_component_version_number.c $(PICTARGET)/*.o
 
 include ../config/Makefile.version
 ${DESTDIR}${libdir}/afs/libauth.a: libauth.a
Index: src/cmd/Makefile.in
===================================================================
RCS file: /afs/sipb/project/openafs/debian/cvs/openafs/src/cmd/Makefile.in,v
retrieving revision 1.7
diff -u -r1.7 Makefile.in
--- src/cmd/Makefile.in	13 Apr 2003 20:41:58 -0000	1.7
+++ src/cmd/Makefile.in	13 Apr 2003 21:14:12 -0000
@@ -34,6 +34,18 @@
 
 CFLAGS=${OPTMZ} -I${TOP_SRCDIR}/config -I${TOP_INCDIR} ${XCFLAGS}
 
+PICTARGET =../pic/cmd
+PICOBJS = $(patsubst %.o,$(PICTARGET)/%.o,$(LIBOBJS))
+PIC64OBJS = $(patsubst %.o,$(PICTARGET)/%.o,$(LIB64OBJS))
+$(PICTARGET)/%.o: %.c $(PICTARGET)
+	$(CC) -c $(PAM_CFLAGS) $(CFLAGS) $< -o $@
+
+$(PICTARGET)/%64.o: %.c $(PICTARGET)
+	$(CC) -c $(PAM_CFLAGS) $(CFLAGS)${XCFLAGS64} $< -o $@
+
+$(PICTARGET):
+	mkdir -p $(PICTARGET)
+
 all: ${TOP_LIBDIR}/libcmd.a ${TOP_INCDIR}/afs/cmd.h
 
 all64: all ${TOP_LIBDIR}/libcmd64.a
@@ -42,10 +54,6 @@
 	$(RM) -f cmd.h cmd_errors.c
 	${COMPILE_ET} cmd_errors -h cmd
 
-cmd_errors.o: cmd_errors.c
-
-cmd.o: cmd.c cmd.h
-
 cmd_errors64.o: cmd_errors.c
 	${CC} ${OPTMZ} -I${TOP_SRCDIR}/config -I${TOP_INCDIR} ${XCFLAGS64} -c -o cmd_errors64.o cmd_errors.c
 
@@ -53,12 +61,12 @@
 	${CC} ${OPTMZ} -I${TOP_SRCDIR}/config -I${TOP_INCDIR} ${XCFLAGS64} -c -o cmd64.o cmd.c
 
 
-libcmd64.a: ${LIB64OBJS} AFS_component_version_number64.o
+libcmd64.a: ${LIB64OBJS} AFS_component_version_number64.o 
 	-$(RM) -f $@
 	$(AR) crv $@ ${LIB64OBJS} AFS_component_version_number64.o
 	$(RANLIB) $@
 
-libcmd.a: ${LIBOBJS} AFS_component_version_number.o
+libcmd.a: ${LIBOBJS} AFS_component_version_number.o $(PICOBJS)
 	-$(RM) -f $@
 	$(AR) crv $@ ${LIBOBJS} AFS_component_version_number.o
 	$(RANLIB) $@
@@ -89,7 +97,7 @@
 	(cd test; $(MAKE) )
 
 clean:
-	$(RM) -f  *.a *.o ctest dtest cmd.h cmd_errors.c core AFS_component_version_number.c
+	$(RM) -f  *.a *.o ctest dtest cmd.h cmd_errors.c core AFS_component_version_number.c $(PICTARGET)/*.o
 
 include ../config/Makefile.version
 ${DESTDIR}${libdir}/afs/libcmd.a: libcmd.a
Index: src/comerr/Makefile.in
===================================================================
RCS file: /afs/sipb/project/openafs/debian/cvs/openafs/src/comerr/Makefile.in,v
retrieving revision 1.7
diff -u -r1.7 Makefile.in
--- src/comerr/Makefile.in	13 Apr 2003 20:41:59 -0000	1.7
+++ src/comerr/Makefile.in	13 Apr 2003 21:14:12 -0000
@@ -45,7 +45,18 @@
 	${CC} ${CFLAGS} -o compile_et compile_et.o error_table.o -L${TOP_LIBDIR} -lafsutil -ll;; \
 	esac
 
-libcom_err.a: error_msg.o et_name.o com_err.o AFS_component_version_number.o
+OBJS = error_msg.o et_name.o com_err.o
+
+PICTARGET =../pic/comerr
+PICOBJS = $(patsubst %.o,$(PICTARGET)/%.o,$(OBJS))
+$(PICTARGET)/%.o: %.c $(PICTARGET)
+	$(CC) -c $(PAM_CFLAGS) $(CFLAGS) $< -o $@
+
+$(PICTARGET):
+	mkdir -p $(PICTARGET)
+
+
+libcom_err.a: error_msg.o et_name.o com_err.o AFS_component_version_number.o $(PICOBJS)
 	$(RM) -f $@
 	$(AR) crv $@ error_msg.o et_name.o com_err.o AFS_component_version_number.o
 	$(RANLIB) $@
@@ -108,7 +119,7 @@
 		*.cp *.fn *.ky *.log *.pg *.tp *.vr *.o libcom_err.a \
 		com_err.o compile_et et.ar TAGS y.tab.c lex.yy.c error_table.c \
 		et_lex.lex.c test1.h test1.c test2.h test2.c \
-		eddep makedep core AFS_component_version_number.c
+		eddep makedep core AFS_component_version_number.c $(PICTARGET)/*.o
 
 test:
 	cd test; $(MAKE)
Index: src/des/Makefile.in
===================================================================
RCS file: /afs/sipb/project/openafs/debian/cvs/openafs/src/des/Makefile.in,v
retrieving revision 1.7
diff -u -r1.7 Makefile.in
--- src/des/Makefile.in	13 Apr 2003 20:41:59 -0000	1.7
+++ src/des/Makefile.in	13 Apr 2003 21:14:12 -0000
@@ -73,7 +73,16 @@
 .c.o:
 	${CC} -c -I. -I${TOP_INCDIR} -I${TOP_SRCDIR}/config ${XCFLAGS} $<
 
-libdes.a: ${OBJS} AFS_component_version_number.o
+
+PICTARGET =../pic/des
+PICOBJS = $(patsubst %.o,$(PICTARGET)/%.o,$(OBJS))
+$(PICTARGET)/%.o: %.c $(PICTARGET)
+	$(CC) -I. -I${TOP_INCDIR} -I${TOP_SRCDIR}/config ${XCFLAGS}  -c $(PAM_CFLAGS) $(CFLAGS) $< -o $@
+
+$(PICTARGET):
+	mkdir -p $(PICTARGET)
+
+libdes.a: ${OBJS} AFS_component_version_number.o $(PICOBJS)
 	$(RM) -f libdes.a
 	$(AR) crv libdes.a ${OBJS} AFS_component_version_number.o
 	$(RANLIB) libdes.a
@@ -212,7 +221,7 @@
 	$(RM) -f *.a *.s *.o *.b core *~ *.com *.ld
 	$(RM) -f make_fp make_ip make_keyperm make_odd make_p \
 		make_p_table make_s_table key_perm.h p_table.h \
-		s_table.h odd.h p.c s.c fp.c ip.c AFS_component_version_number.c
+		s_table.h odd.h p.c s.c fp.c ip.c AFS_component_version_number.c $(PICTARGET)/*.o
 	cd test; $(MAKE) clean
 
 include ../config/Makefile.version
Index: src/kauth/Makefile.in
===================================================================
RCS file: /afs/sipb/project/openafs/debian/cvs/openafs/src/kauth/Makefile.in,v
retrieving revision 1.7
diff -u -r1.7 Makefile.in
--- src/kauth/Makefile.in	13 Apr 2003 20:41:59 -0000	1.7
+++ src/kauth/Makefile.in	13 Apr 2003 21:14:14 -0000
@@ -79,13 +79,22 @@
 
 noversion: install
 
-all: ukinstall kaserver kas kpwvalid klog klog.krb knfs kpasswd ${TOP_LIBDIR}/libkauth.a ${TOP_LIBDIR}/libkauth.krb.a rebuild kdb ${TOP_INCDIR}/afs/kautils.h ${TOP_INCDIR}/afs/kauth.h ${TOP_INCDIR}/afs/kaport.h
+
+PICTARGET =../pic/kauth
+PICOBJS = $(patsubst %.o,$(PICTARGET)/%.o,$(OBJS))
+$(PICTARGET)/%.o: %.c $(PICTARGET)
+	$(CC) -c $(PAM_CFLAGS) $(CFLAGS) $< -o $@
+
+$(PICTARGET):
+	mkdir -p $(PICTARGET)
+
+all: ukinstall kaserver kas kpwvalid klog klog.krb knfs kpasswd ${TOP_LIBDIR}/libkauth.a ${TOP_LIBDIR}/libkauth.krb.a rebuild kdb ${TOP_INCDIR}/afs/kautils.h ${TOP_INCDIR}/afs/kauth.h ${TOP_INCDIR}/afs/kaport.h $(PICOBJS)
 
 test tests: all
 	cd test; $(MAKE)
 
 clean:
-	$(RM) -f *.o kaserver kas klog multiklog kpasswd klogin rebuild kauth.cs.c kauth.ss.c kauth.xdr.c kauth.h kautils.h kaerrors.c *.a core kpwvalid AFS_component_version_number.c klog.krb knfs klogin.krb kdb Kkauth.xdr.c Kkauth.h Kkauth.cs.c
+	$(RM) -f *.o kaserver kas klog multiklog kpasswd klogin rebuild kauth.cs.c kauth.ss.c kauth.xdr.c kauth.h kautils.h kaerrors.c *.a core kpwvalid AFS_component_version_number.c klog.krb knfs klogin.krb kdb Kkauth.xdr.c Kkauth.h Kkauth.cs.c $(PICTARGET)/*.o
 
 kaserver: kautils.o kalocalcell.o kadatabase.o kaprocs.o kalog.o kauth.ss.o kauth.xdr.o kaserver.o kaaux.o krb_udp.o kaauxdb.o $(LIBS) 
 	${CC} ${LDFLAGS} -o kaserver kaserver.o kautils.o kalocalcell.o kadatabase.o krb_udp.o kaprocs.o kalog.o kauth.ss.o kauth.xdr.o kaaux.o kaauxdb.o $(LIBS) ${XLIBS} ${TOP_LIBDIR}/libaudit.a
Index: src/lwp/Makefile.in
===================================================================
RCS file: /afs/sipb/project/openafs/debian/cvs/openafs/src/lwp/Makefile.in,v
retrieving revision 1.8
diff -u -r1.8 Makefile.in
--- src/lwp/Makefile.in	13 Apr 2003 20:41:59 -0000	1.8
+++ src/lwp/Makefile.in	13 Apr 2003 21:14:19 -0000
@@ -37,7 +37,15 @@
 LIBOBJS=lwp.o process.o lock.o iomgr.o timer.o fasttime.o preempt.o \
 	waitkey.o threadname.o AFS_component_version_number.o
 
-all: ${TOP_LIBDIR}/liblwp.a ${TOP_INCDIR}/lock.h ${TOP_INCDIR}/lwp.h ${TOP_INCDIR}/preempt.h ${TOP_INCDIR}/timer.h
+PICTARGET =../pic/lwp
+PICOBJS = $(patsubst %.o,$(PICTARGET)/%.o,$(LIBOBJS))
+$(PICTARGET)/%.o: %.c $(PICTARGET)
+	$(CC) -c $(PAM_CFLAGS) $(CFLAGS) $< -o $@
+
+$(PICTARGET):
+	mkdir -p $(PICTARGET)
+
+all: ${TOP_LIBDIR}/liblwp.a ${TOP_INCDIR}/lock.h ${TOP_INCDIR}/lwp.h ${TOP_INCDIR}/preempt.h ${TOP_INCDIR}/timer.h $(PICOBJS)
 
 #
 # Build rules
@@ -143,7 +151,7 @@
 # Misc. targets
 #
 clean:
-	$(RM) -f *.o *.a core AFS_component_version_number.c
+	$(RM) -f *.o *.a core AFS_component_version_number.c $(PICTARGET)/*.o
 
 include ../config/Makefile.version
 ${DESTDIR}${libdir}/liblwp.a: liblwp.a
Index: src/pam/Makefile.in
===================================================================
RCS file: /afs/sipb/project/openafs/debian/cvs/openafs/src/pam/Makefile.in,v
retrieving revision 1.8
diff -u -r1.8 Makefile.in
--- src/pam/Makefile.in	13 Apr 2003 20:41:59 -0000	1.8
+++ src/pam/Makefile.in	13 Apr 2003 21:14:21 -0000
@@ -49,22 +49,22 @@
 all: test_pam ${TOP_LIBDIR}/pam_afs.so.1 ${TOP_LIBDIR}/pam_afs.krb.so.1
 
 afs_setcred.o: afs_setcred.c afs_pam_msg.h afs_message.h afs_util.h
-	${CC} ${CFLAGS} -c afs_setcred.c -o afs_setcred.o
+	${CC} ${CFLAGS} $(PAM_CFLAGS) -c afs_setcred.c -o afs_setcred.o
 
 afs_setcred_krb.o: afs_setcred.c afs_pam_msg.h afs_message.h afs_util.h
-	${CC} ${CFLAGS} -DAFS_KERBEROS_ENV -c afs_setcred.c -o afs_setcred_krb.o
+	${CC} ${CFLAGS} $(PAM_CFLAGS)  -DAFS_KERBEROS_ENV -c afs_setcred.c -o afs_setcred_krb.o
 
 afs_auth.o: afs_auth.c afs_pam_msg.h afs_message.h afs_util.h
-	${CC} ${CFLAGS}  -c afs_auth.c -o afs_auth.o
+	${CC} ${CFLAGS}  $(PAM_CFLAGS)  -c afs_auth.c -o afs_auth.o
 
 afs_auth_krb.o: afs_auth.c afs_pam_msg.h afs_message.h afs_util.h
-	${CC} ${CFLAGS} -DAFS_KERBEROS_ENV  -c afs_auth.c -o afs_auth_krb.o
+	${CC} ${CFLAGS} $(PAM_CFLAGS)  -DAFS_KERBEROS_ENV  -c afs_auth.c -o afs_auth_krb.o
 
 afs_util.o: afs_util.c afs_util.h
-	${CC} ${CFLAGS} -c afs_util.c -o afs_util.o
+	${CC} ${CFLAGS} $(PAM_CFLAGS)  -c afs_util.c -o afs_util.o
 
 afs_util_krb.o: afs_util.c afs_util.h
-	${CC} ${CFLAGS} -DAFS_KERBEROS_ENV -c afs_util.c -o afs_util_krb.o
+	${CC} ${CFLAGS} $(PAM_CFLAGS)  -DAFS_KERBEROS_ENV -c afs_util.c -o afs_util_krb.o
 
 pam_afs.so.1: $(SHOBJS) afs_setcred.o afs_auth.o afs_util.o
 	set -x; \
@@ -76,7 +76,7 @@
 		$(LD) $(LDFLAGS) -M mapfile -o $@ afs_setcred.o afs_auth.o afs_util.o\
 			$(SHOBJS) $(LIBS) ;; \
 	*linux*) \
-		$(CC) $(LDFLAGS) -o $@ afs_setcred.o afs_auth.o afs_util.o $(SHOBJS) $(LIBS) ;;\
+		$(CC) $(LDFLAGS) $(PAM_CFLAGS) -o $@ afs_setcred.o afs_auth.o afs_util.o $(SHOBJS)  `find ../pic/ -name "*.o" | grep -v AFS_compo`  -lpam;;\
 	*fbsd*) \
 		$(CC) $(LDFLAGS) -o $@ afs_setcred.o afs_auth.o afs_util.o $(SHOBJS) $(LIBS) ;;\
 	* ) \
Index: src/rx/Makefile.in
===================================================================
RCS file: /afs/sipb/project/openafs/debian/cvs/openafs/src/rx/Makefile.in,v
retrieving revision 1.7
diff -u -r1.7 Makefile.in
--- src/rx/Makefile.in	13 Apr 2003 20:41:59 -0000	1.7
+++ src/rx/Makefile.in	13 Apr 2003 21:14:22 -0000
@@ -72,7 +72,15 @@
 	xdr_afsuuid.c rx_trace.h xdr_int64.c
 UKSRCS = $(KSRCS) rx_conncache.c
 
-all: includes kinstall ukinstall ${TOP_LIBDIR}/librx.a
+PICTARGET =../pic/rx
+PICOBJS = $(patsubst %.o,$(PICTARGET)/%.o,$(OBJS))
+$(PICTARGET)/%.o: %.c $(PICTARGET)
+	$(CC) -c $(PAM_CFLAGS) $(CFLAGS) $< -o $@
+
+$(PICTARGET):
+	mkdir -p $(PICTARGET)
+
+all: includes kinstall ukinstall ${TOP_LIBDIR}/librx.a $(PICOBJS)
 
 RX_component_version_number.c: AFS_component_version_number.c
 	sed 's/cml_version/rx_cml_version/' <AFS_component_version_number.c >RX_component_version_number.c
@@ -222,7 +230,7 @@
 # Misc. targets
 #
 clean:
-	$(RM) -f *.o *.a core *_component_version_number.c
+	$(RM) -f *.o *.a core *_component_version_number.c $(PICTARGET)/*.o
 
 include ../config/Makefile.version
 
Index: src/rxkad/Makefile.in
===================================================================
RCS file: /afs/sipb/project/openafs/debian/cvs/openafs/src/rxkad/Makefile.in,v
retrieving revision 1.7
diff -u -r1.7 Makefile.in
--- src/rxkad/Makefile.in	13 Apr 2003 20:41:59 -0000	1.7
+++ src/rxkad/Makefile.in	13 Apr 2003 21:14:24 -0000
@@ -40,6 +40,15 @@
 OBJS=rxkad_client.o rxkad_server.o rxkad_common.o ticket.o rxkad_errs.o \
 	fcrypt.o crypt_conn.o ticket.o ticket5.o crc.o
 
+
+PICTARGET =../pic/rxkad
+PICOBJS = $(patsubst %.o,$(PICTARGET)/%.o,$(OBJS))
+$(PICTARGET)/%.o: %.c $(PICTARGET)
+	$(CC) -c $(PAM_CFLAGS) $(CFLAGS) $< -o $@
+
+$(PICTARGET):
+	mkdir -p $(PICTARGET)
+
 fc_test_OBJS=fc_test.o
 
 fc_test_LIBS=\
@@ -163,7 +172,7 @@
 # Build targets
 #
 
-librxkad.a: ${OBJS} AFS_component_version_number.o
+librxkad.a: ${OBJS} AFS_component_version_number.o $(PICOBJS)
 	-$(RM) -f $@
 	$(AR) crv $@ ${OBJS} AFS_component_version_number.o
 	$(RANLIB) $@
@@ -209,7 +218,7 @@
 	$(RM) -f *.o *.a tcrypt core rxkad_errs.c rxkad.h \
 		AFS_component_version_number.c \
 		crypt_conn.c fcrypt.c fcrypt.h sboxes.h \
-		fc_test
+		fc_test $(PICTARGET)/*.o
 
 test:
 	cd test; $(MAKE)
Index: src/sys/Makefile.in
===================================================================
RCS file: /afs/sipb/project/openafs/debian/cvs/openafs/src/sys/Makefile.in,v
retrieving revision 1.8
diff -u -r1.8 Makefile.in
--- src/sys/Makefile.in	13 Apr 2003 20:41:59 -0000	1.8
+++ src/sys/Makefile.in	13 Apr 2003 21:14:26 -0000
@@ -36,12 +36,21 @@
 LIBS=libsys.a ${TOP_LIBDIR}/librx.a libsys.a ${TOP_LIBDIR}/liblwp.a ${TOP_LIBDIR}/util.a ${XLIBS}
 UKSRCS=afsl.exp
 
+PICTARGET =../pic/sys
+PICOBJS = $(patsubst %.o,$(PICTARGET)/%.o,$(OBJS))
+$(PICTARGET)/%.o: %.c $(PICTARGET)
+	$(CC) -c $(PAM_CFLAGS) $(CFLAGS) $< -o $@
+
+$(PICTARGET):
+	mkdir -p $(PICTARGET)
+
+
 OBJECTS= afssyscalls.o syscall.o
 RMTOBJS=rmtsysnet.o rmtsysc.o rmtsys.cs.o rmtsys.xdr.o rmtsys.ss.o rmtsyss.o 
 
 include ../config/Makefile.version
 
-all: ${TOP_LIBDIR}/libsys.a rmtsysd ${TOP_INCDIR}/afs/afssyscalls.h pagsh pagsh.krb kinstall ukinstall
+all: ${TOP_LIBDIR}/libsys.a rmtsysd ${TOP_INCDIR}/afs/afssyscalls.h pagsh pagsh.krb kinstall ukinstall $(PICOBJS)
 	case "${SYS_NAME}" in \
 	rs_aix*)			\
 		${INSTALL} afs.exp ${TOP_LIBDIR};;	\
@@ -206,7 +215,7 @@
 clean:
 	$(RM) -f *.o libsys.a xfsinode iinc idec icreate iopen istat core \
 	rmtsysc rmtsyss *.o rmtsys.ss.c rmtsys.cs.c rmtsys.xdr.c rmtsys.h \
-	rmtsysd AFS_component_version_number.c pagsh pagsh.krb
+	rmtsysd AFS_component_version_number.c pagsh pagsh.krb $(PICTARGET)/*.o
 ${DEST}/lib/afs/libsys.a: libsys.a
 	${INSTALL} $? $@
 
Index: src/util/Makefile.in
===================================================================
RCS file: /afs/sipb/project/openafs/debian/cvs/openafs/src/util/Makefile.in,v
retrieving revision 1.8
diff -u -r1.8 Makefile.in
--- src/util/Makefile.in	13 Apr 2003 20:41:59 -0000	1.8
+++ src/util/Makefile.in	13 Apr 2003 21:14:27 -0000
@@ -45,6 +45,15 @@
 	 dirpath.o fileutil.o netutils.o flipbase64.o \
 	 afs_atomlist.o afs_lhash.o snprintf.o ${REGEX_OBJ}
 
+
+PICTARGET =../pic/util
+PICOBJS = $(patsubst %.o,$(PICTARGET)/%.o,$(OBJS)) 
+$(PICTARGET)/%.o: %.c $(PICTARGET)
+	$(CC) -c $(PAM_CFLAGS) $(CFLAGS) $< -o $@
+
+$(PICTARGET):
+	mkdir -p $(PICTARGET)
+
 all: ukinstall kinstall \
 	${TOP_INCDIR}/afs/dirpath.h \
 	${TOP_INCDIR}/afs/pthread_nosigs.h \
@@ -81,7 +90,7 @@
 		dirpath.hin >dirpath.h.tmp && \
 		mv dirpath.h.tmp dirpath.h )
 
-util.a: ${objects} AFS_component_version_number.o
+util.a: ${objects} AFS_component_version_number.o $(PICOBJS)
 	$(RM) -f util.a
 	$(AR) crv util.a ${objects} AFS_component_version_number.o
 	$(RANLIB) util.a
@@ -445,7 +454,7 @@
 
 clean:
 	$(RM) -f ${objects} sys dirpath.h
-	$(RM) -f util.a *.o core AFS_component_version_number.c
+	$(RM) -f util.a *.o core AFS_component_version_number.c $(PICTARGET)/*.o
 
 test:
 	cd test; $(MAKE)
Index: src/venus/Makefile.in
===================================================================
RCS file: /afs/sipb/project/openafs/debian/cvs/openafs/src/venus/Makefile.in,v
retrieving revision 1.7
diff -u -r1.7 Makefile.in
--- src/venus/Makefile.in	13 Apr 2003 20:41:59 -0000	1.7
+++ src/venus/Makefile.in	13 Apr 2003 21:14:29 -0000
@@ -288,7 +288,7 @@
 #
 
 clean:
-	$(RM) -f *.o *.a up fs kdump-* kdump kdump64 core cmdebug AFS_component_version_number.c fstrace gcpags
+	$(RM) -f *.o *.a up fs kdump-* kdump kdump64 core cmdebug AFS_component_version_number.c fstrace gcpags livesys
 
 test:
 	cd test; $(MAKE)