|
|
1.1 root 1: # Makefile 4.2 83/07/05
2: #
3: MAKEPARAM = AS=${AS} CC=${CC} LD=${LD} INCLDIR=${INCLDIR} LIBDIR=${LIBDIR} ULIBDIR=${ULIBDIR} DESTDIR=${DESTDIR}
4:
5: CFLAGS= -O -I$(DESTDIR)/usr/include
6: STD= ftime.o gtty.o nice.o pause.o rand.o stty.o tell.o \
7: times.o utime.o vlimit.o vtimes.o
8: # these should just be pitched, but in the interest of compatibility...
9: TRASH= getpw.o
10: OBJS= ${STD} ${TRASH}
11:
12: .c.o:
13: ${CC} -p ${CFLAGS} -c $*.c
14: -${LD} -X -r $*.o
15: mv a.out profiled/$*.o
16: ${CC} ${CFLAGS} -c $*.c
17: -${LD} -x -r $*.o
18: mv a.out $*.o
19:
20: compat-4.1lib compat-4.1lib_p: ${OBJS}
21: @echo "building profiled compat-4.1lib"
22: @cd profiled; ar cru ../compat-4.1lib_p ${OBJS}
23: @echo "buiding normal compat-4.1lib"
24: @ar cru compat-4.1lib ${OBJS}
25:
26: clean:
27: rm -f compat-4.1lib compat-4.1lib_p ${OBJS} profiled/*.o
28:
29: cleansrc:
30:
31: rm -f *.c Makefile profiled/tar_holder
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.