|
|
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 5.8 (Berkeley) 5/20/88 ! 18: # ! 19: DEFS= -DLIBC_SCCS ! 20: FLAGS= -I../../tahoe ${DEFS} ! 21: CFLAGS= -O ${FLAGS} ! 22: SRCS= htonl.s htons.s ntohl.s ntohs.s ! 23: OBJS= htonl.o htons.o ntohl.o ntohs.o ! 24: TAGSFILE=tags ! 25: ! 26: .s.o: ! 27: @/lib/cpp -E ${FLAGS} -DPROF $*.s | ${AS} -o $*.o ! 28: @ld -X -o profiled/$*.o -r $*.o ! 29: /lib/cpp -E ${FLAGS} $*.s | ${AS} -o $*.o ! 30: @ld -x -r $*.o ! 31: @mv a.out $*.o ! 32: ! 33: all: ${OBJS} ! 34: ! 35: link: ${OBJS} ! 36: (cd ../../library; rm -f ${OBJS}) ! 37: (cd ../../profiled; rm -f ${OBJS}) ! 38: ln ${OBJS} ../../library ! 39: (cd profiled; ln ${OBJS} ../../../profiled) ! 40: ! 41: tags: ! 42: (P=`pwd`; \ ! 43: egrep "^ENTRY(.*)|^SYSCALL(.*)" ${SRCS} | /bin/sed \ ! 44: "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 $$P/\1 /^\2(\3\4$$/;" \ ! 45: >> ${TAGSFILE}) ! 46: ! 47: clean: ! 48: rm -f *.o profiled/* a.out core ${TAGSFILE} ! 49: ! 50: depend: ! 51: mkdep ${CFLAGS} ${SRCS} ! 52: ! 53: # DO NOT DELETE THIS LINE -- mkdep uses it. ! 54: # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. ! 55: ! 56: htonl.o: htonl.s ../../tahoe/DEFS.h ! 57: htons.o: htons.s ../../tahoe/DEFS.h ! 58: ntohl.o: ntohl.s ../../tahoe/DEFS.h ! 59: ntohs.o: ntohs.s ../../tahoe/DEFS.h ! 60: ! 61: # 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.