|
|
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 the above copyright notice and this paragraph are ! 7: # duplicated in all such forms and that any documentation, ! 8: # advertising materials, and other materials related to such ! 9: # distribution and use acknowledge that the software was developed ! 10: # by the University of California, Berkeley. The name of the ! 11: # University may not be used to endorse or promote products derived ! 12: # from this software without specific prior written permission. ! 13: # THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR ! 14: # IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED ! 15: # WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. ! 16: # ! 17: # @(#)Makefile 4.20 (Berkeley) 6/27/88 ! 18: # ! 19: DEFS= -DLIBC_SCCS ! 20: FLAGS= -I../../vax ${DEFS} ! 21: CFLAGS= -O ${FLAGS} ! 22: SRCS= _setjmp.s abs.s alloca.s atof.s bcmp.s bcopy.s bzero.s fabs.s \ ! 23: ffs.s frexp.s index.s insque.s ldexp.s modf.s nargs.s remque.s \ ! 24: rindex.s setjmp.s strcat.s strcmp.s strcpy.s strlen.s strncat.s \ ! 25: strncmp.s strncpy.s udiv.s urem.s ! 26: OBJS= _setjmp.o abs.o alloca.o atof.o bcmp.o bcopy.o bzero.o fabs.o \ ! 27: ffs.o frexp.o index.o insque.o ldexp.o modf.o nargs.o remque.o \ ! 28: rindex.o setjmp.o strcat.o strcmp.o strcpy.o strlen.o strncat.o \ ! 29: strncmp.o strncpy.o udiv.o urem.o ! 30: TAGSFILE=tags ! 31: ! 32: .s.o: ! 33: @/lib/cpp -E ${FLAGS} -DPROF $*.s | ${AS} -o $*.o ! 34: @-ld -X -o profiled/$*.o -r $*.o ! 35: /lib/cpp -E ${FLAGS} $*.s | ${AS} -o $*.o ! 36: @-ld -x -r $*.o ! 37: @mv a.out $*.o ! 38: ! 39: all: ${OBJS} ! 40: ! 41: link: ${OBJS} ! 42: (cd ../../library; rm -f ${OBJS}) ! 43: (cd ../../profiled; rm -f ${OBJS}) ! 44: ln ${OBJS} ../../library ! 45: (cd profiled; ln ${OBJS} ../../../profiled) ! 46: ! 47: tags: ! 48: (P=`pwd`; \ ! 49: egrep "^ENTRY(.*)|^SYSCALL(.*)" ${SRCS} | sed \ ! 50: "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 $$P/\1 /^\2(\3\4$$/;" \ ! 51: >> ${TAGSFILE}) ! 52: ! 53: clean: ! 54: rm -f *.o profiled/* a.out core ${TAGSFILE} ! 55: ! 56: depend: ! 57: mkdep ${CFLAGS} ${SRCS} ! 58: ! 59: # DO NOT DELETE THIS LINE -- mkdep uses it. ! 60: # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. ! 61: ! 62: _setjmp.o: _setjmp.s ! 63: _setjmp.o:DEFS.h ! 64: abs.o: abs.s ! 65: abs.o:DEFS.h ! 66: alloca.o: alloca.s ! 67: alloca.o:DEFS.h ! 68: atof.o: atof.s ! 69: atof.o:DEFS.h ! 70: bcmp.o: bcmp.s ! 71: bcmp.o:DEFS.h ! 72: bcopy.o: bcopy.s ! 73: bcopy.o:DEFS.h ! 74: bzero.o: bzero.s ! 75: bzero.o:DEFS.h ! 76: fabs.o: fabs.s ! 77: fabs.o:DEFS.h ! 78: ffs.o: ffs.s ! 79: ffs.o:DEFS.h ! 80: frexp.o: frexp.s ! 81: frexp.o:DEFS.h ! 82: index.o: index.s ! 83: index.o:DEFS.h ! 84: insque.o: insque.s ! 85: insque.o:DEFS.h ! 86: ldexp.o: ldexp.s ! 87: ldexp.o:DEFS.h ! 88: ldexp.o: /usr/include/errno.h ! 89: modf.o: modf.s ! 90: modf.o:DEFS.h ! 91: nargs.o: nargs.s ! 92: nargs.o:DEFS.h ! 93: remque.o: remque.s ! 94: remque.o:DEFS.h ! 95: rindex.o: rindex.s ! 96: rindex.o:DEFS.h ! 97: setjmp.o: setjmp.s ! 98: setjmp.o:DEFS.h ! 99: strcat.o: strcat.s ! 100: strcat.o:DEFS.h ! 101: strcmp.o: strcmp.s ! 102: strcmp.o:DEFS.h ! 103: strcpy.o: strcpy.s ! 104: strcpy.o:DEFS.h ! 105: strlen.o: strlen.s ! 106: strlen.o:DEFS.h ! 107: strncat.o: strncat.s ! 108: strncat.o:DEFS.h ! 109: strncmp.o: strncmp.s ! 110: strncmp.o:DEFS.h ! 111: strncpy.o: strncpy.s ! 112: strncpy.o:DEFS.h ! 113: udiv.o: udiv.s ! 114: udiv.o:DEFS.h ! 115: urem.o: urem.s ! 116: urem.o:DEFS.h ! 117: ! 118: # 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.