|
|
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.7 (Berkeley) 6/18/88 ! 18: # ! 19: CFLAGS= -O ! 20: LIBC= /lib/libc.a ! 21: LIBS= -ll ! 22: SRCS= y.tab.c main.c lex.yy.c mkioconf.c mkmakefile.c \ ! 23: mkglue.c mkheaders.c mkswapconf.c ! 24: OBJS= y.tab.o main.o lex.yy.o mkioconf.o mkmakefile.o \ ! 25: mkglue.o mkheaders.o mkswapconf.o ! 26: ! 27: all: config ! 28: ! 29: config: ${OBJS} ${LIBC} ! 30: ${CC} -o $@ ${OBJS} ${LIBS} ! 31: ! 32: lex.yy.c: config.l ! 33: lex config.l ! 34: ! 35: y.tab.h: ! 36: yacc -d config.y ! 37: ! 38: y.tab.c: config.y ! 39: yacc config.y ! 40: ! 41: clean: FRC ! 42: rm -f ${OBJS} lex.yy.c y.tab.c y.tab.h config core ! 43: ! 44: depend: y.tab.h ${SRCS} FRC ! 45: mkdep ${CFLAGS} ${SRCS} ! 46: ! 47: install: FRC ! 48: install -s -o bin -g bin -m 755 config ${DESTDIR}/etc/config ! 49: ! 50: lint: FRC ! 51: lint ${CFLAGS} ${SRCS} ! 52: ! 53: tags: FRC ! 54: ctags ${SRCS} ! 55: ! 56: FRC: ! 57: ! 58: # DO NOT DELETE THIS LINE -- mkdep uses it. ! 59: # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. ! 60: ! 61: y.tab.o: y.tab.c config.h /usr/include/sys/types.h /usr/include/ctype.h ! 62: y.tab.o: /usr/include/stdio.h ! 63: main.o: main.c /usr/include/sys/types.h /usr/include/sys/stat.h ! 64: main.o: /usr/include/sys/file.h /usr/include/stdio.h /usr/include/ctype.h ! 65: main.o: y.tab.h config.h /usr/include/sys/types.h ! 66: lex.yy.o: lex.yy.c /usr/include/stdio.h /usr/include/ctype.h y.tab.h config.h ! 67: lex.yy.o: /usr/include/sys/types.h ! 68: mkioconf.o: mkioconf.c /usr/include/stdio.h y.tab.h config.h ! 69: mkioconf.o: /usr/include/sys/types.h ! 70: mkmakefile.o: mkmakefile.c /usr/include/stdio.h /usr/include/ctype.h y.tab.h ! 71: mkmakefile.o: config.h /usr/include/sys/types.h ! 72: mkglue.o: mkglue.c /usr/include/stdio.h config.h /usr/include/sys/types.h ! 73: mkglue.o: y.tab.h /usr/include/ctype.h ! 74: mkheaders.o: mkheaders.c /usr/include/stdio.h /usr/include/ctype.h config.h ! 75: mkheaders.o: /usr/include/sys/types.h y.tab.h ! 76: mkswapconf.o: mkswapconf.c config.h /usr/include/sys/types.h ! 77: mkswapconf.o: /usr/include/stdio.h /usr/include/ctype.h ! 78: ! 79: # 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.