|
|
1.1 ! root 1: # ! 2: # Copyright (c) 1988 Regents of the University of California. ! 3: # All rights reserved. ! 4: # ! 5: # Redistribution and use in source and binary forms are permitted ! 6: # provided that this notice is preserved and that due credit is given ! 7: # to the University of California at Berkeley. The name of the University ! 8: # may not be used to endorse or promote products derived from this ! 9: # software without specific prior written permission. This software ! 10: # is provided ``as is'' without express or implied warranty. ! 11: # ! 12: # @(#)Makefile 5.8 (Berkeley) 5/20/88 ! 13: # ! 14: DEFS= -DLIBC_SCCS ! 15: CFLAGS= -O ${DEFS} ! 16: STDSRCS=ftime.c gtty.c nice.c pause.c rand.c stty.c tell.c \ ! 17: times.c utime.c vlimit.c vtimes.c ! 18: STD= ftime.o gtty.o nice.o pause.o rand.o stty.o tell.o \ ! 19: times.o utime.o vlimit.o vtimes.o ! 20: # these should just be pitched, but in the interest of compatibility... ! 21: TRASHSRC=getpw.c ! 22: TRASH= getpw.o ! 23: SRCS= ${STDSRCS} ${TRASHSRCS} ! 24: OBJS= ${STD} ${TRASH} ! 25: TAGSFILE=tags ! 26: ! 27: .c.o: ! 28: @${CC} -p ${CFLAGS} -c $*.c ! 29: @-ld -X -o profiled/$*.o -r $*.o ! 30: ${CC} ${CFLAGS} -c $*.c ! 31: @-ld -x -r $*.o ! 32: @mv a.out $*.o ! 33: ! 34: all: ${OBJS} ! 35: ! 36: link: ${OBJS} ! 37: (cd ../library; rm -f ${OBJS}) ! 38: (cd ../profiled; rm -f ${OBJS}) ! 39: ln ${OBJS} ../library ! 40: (cd profiled; ln ${OBJS} ../../profiled) ! 41: ! 42: tags: ! 43: cwd=`pwd`; \ ! 44: for i in ${SRCS}; do \ ! 45: ctags -a -f ${TAGSFILE} $$cwd/$$i; \ ! 46: done ! 47: ! 48: clean: ! 49: rm -f *.o profiled/* a.out core ${TAGSFILE} ! 50: ! 51: depend: ! 52: mkdep ${CFLAGS} ${SRCS} ! 53: ! 54: # DO NOT DELETE THIS LINE -- mkdep uses it. ! 55: # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. ! 56: ! 57: ftime.o: ftime.c /usr/include/sys/types.h /usr/include/sys/time.h ! 58: ftime.o: /usr/include/time.h ! 59: gtty.o: gtty.c /usr/include/sgtty.h /usr/include/sys/ioctl.h ! 60: gtty.o: /usr/include/sys/ttychars.h /usr/include/sys/ttydev.h ! 61: nice.o: nice.c /usr/include/sys/time.h /usr/include/time.h ! 62: nice.o: /usr/include/sys/resource.h ! 63: pause.o: pause.c ! 64: rand.o: rand.c ! 65: stty.o: stty.c /usr/include/sgtty.h /usr/include/sys/ioctl.h ! 66: stty.o: /usr/include/sys/ttychars.h /usr/include/sys/ttydev.h ! 67: tell.o: tell.c ! 68: times.o: times.c /usr/include/sys/time.h /usr/include/time.h ! 69: times.o: /usr/include/sys/resource.h ! 70: utime.o: utime.c /usr/include/sys/time.h /usr/include/time.h ! 71: vlimit.o: vlimit.c /usr/include/sys/time.h /usr/include/time.h ! 72: vlimit.o: /usr/include/sys/resource.h /usr/include/errno.h ! 73: vtimes.o: vtimes.c /usr/include/sys/time.h /usr/include/time.h ! 74: vtimes.o: /usr/include/sys/resource.h ! 75: ! 76: # IF YOU PUT ANYTHING HERE IT WILL GO AWAY
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.