|
|
1.1 root 1: # %M% %I% %E%
2: #
3: MAKEPARAM = AS=${AS} CC=${CC} LD=${LD} INCLDIR=${INCLDIR} LIBDIR=${LIBDIR} ULIBDIR=${ULIBDIR} DESTDIR=${DESTDIR}
4:
5: OBJS= reset.o
6: CFLAGS=
7:
8: .c.o:
9: /lib/cpp -E -I$(DESTDIR)/usr/include -DPROF $*.c | ${AS} -o $*.o
10: -${LD} -X -r $*.o
11: mv a.out profiled/$*.o
12: /lib/cpp -E -I$(DESTDIR)/usr/include $*.c | ${AS} -o $*.o
13: -${LD} -x -r $*.o
14: mv a.out $*.o
15:
16: compat-4.1lib compat-4.1lib_p: ${OBJS}
17: @echo "building profiled compat-4.1"
18: @cd profiled; ar cru ../compat-4.1lib_p ${OBJS}
19: @echo "building normal compat-4.1"
20: @ar cru compat-4.1lib ${OBJS}
21:
22: clean:
23: rm -f ${OBJS} profiled/*.o errs a.out core compat-4.1lib compat-4.1lib_p
24:
25: cleansrc:
26:
27: rm -f Makefile *.c compat* *.h
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.