|
|
1.1 root 1: # Makefile 4.1 83/06/27
2: #
3: MAKEPARAM = AS=${AS} CC=${CC} LD=${LD} INCLDIR=${INCLDIR} LIBDIR=${LIBDIR} ULIBDIR=${ULIBDIR} DESTDIR=${DESTDIR}
4:
5: CFLAGS= -O -DCM_N -DCM_GT -DCM_B -DCM_D
6:
7: .c.o:
8: $(CC) $(CFLAGS) -c -p $*.c
9: $(LD) $(LDFLAGS) -x -r -o profiled/$*.o $*.o
10: $(CC) $(CFLAGS) -c $*.c
11: $(LD) $(LDFLAGS) -X -r $*.o
12: mv a.out $*.o
13:
14: termcap.a termcap_p.a: termcap.o tgoto.o tputs.o
15: ar cr termcap.a termcap.o tgoto.o tputs.o
16: cd profiled; ar cr ../termcap_p.a termcap.o tgoto.o tputs.o
17:
18: clean:
19: -rm -f *.o profiled/*.o
20:
21: cleansrc:
22:
23: -rm -f termcap.a termcap_p.a
24: rm -f *.c Makefile
25:
26: install: termcap.a termcap_p.a
27: install -c termcap.a ${DESTDIR}/usr/lib/libtermcap.a
28: -rm -f ${DESTDIR}/usr/lib/libtermlib.a
29: ln ${DESTDIR}/usr/lib/libtermcap.a ${DESTDIR}/usr/lib/libtermlib.a
30: ranlib ${DESTDIR}/usr/lib/libtermcap.a
31: install -c termcap_p.a ${DESTDIR}/usr/lib/libtermcap_p.a
32: -rm -f ${DESTDIR}/usr/lib/libtermlib_p.a
33: ln ${DESTDIR}/usr/lib/libtermcap_p.a ${DESTDIR}/usr/lib/libtermlib_p.a
34: ranlib ${DESTDIR}/usr/lib/libtermcap_p.a
35:
36: VGRIND= csh /usr/ucb/vgrind
37: vgrind:
38: cp /dev/null index
39: ${VGRIND} -h "Termcap library" termcap.c tputs.c tgoto.c
40: ${VGRIND} -h "Termcap library" -x index
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.