|
|
1.1 ! root 1: # ! 2: # Copyright (c) 1987 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.6 (Berkeley) 6/18/88 ! 18: # ! 19: CFLAGS= -O ! 20: LIBC= /lib/libc.a ! 21: SRCS= htable.c parse.c scan.c ! 22: OBJS= htable.o parse.o scan.o ! 23: ! 24: all: htable ! 25: ! 26: htable: ${OBJS} ${LIBC} ! 27: ${CC} -o $@ ${CFLAGS} ${OBJS} ! 28: ! 29: y.tab.h: ! 30: yacc -d parse.y ! 31: rm -f y.tab.c ! 32: ! 33: clean: FRC ! 34: rm -f ${OBJS} core htable parse.c scan.c y.tab.h ! 35: ! 36: depend: ${SRCS} y.tab.h FRC ! 37: mkdep ${CFLAGS} ${SRCS} ! 38: ! 39: install: FRC ! 40: install -s -o bin -g bin -m 755 htable ${DESTDIR}/etc/htable ! 41: ! 42: lint: ${SRCS} FRC ! 43: lint ${CFLAGS} ${SRCS} ! 44: ! 45: tags: FRC ! 46: ctags ${SRCS} ! 47: ! 48: FRC: ! 49: ! 50: # DO NOT DELETE THIS LINE -- mkdep uses it. ! 51: # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. ! 52: ! 53: htable.o: htable.c /usr/include/stdio.h /usr/include/ctype.h ! 54: htable.o: /usr/include/errno.h /usr/include/netdb.h htable.h ! 55: htable.o: /usr/include/sys/types.h /usr/include/netinet/in.h ! 56: htable.o: /usr/include/sys/socket.h /usr/include/arpa/inet.h ! 57: parse.o: parse.c htable.h /usr/include/sys/types.h /usr/include/netinet/in.h ! 58: parse.o: /usr/include/stdio.h ! 59: scan.o: scan.c /usr/include/stdio.h y.tab.h htable.h /usr/include/sys/types.h ! 60: scan.o: /usr/include/netinet/in.h ! 61: ! 62: # 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.