|
|
1.1 ! root 1: # ! 2: # Copyright (c) 1987 Regents of the University of California. ! 3: # All rights reserved. The Berkeley software License Agreement ! 4: # specifies the terms and conditions for redistribution. ! 5: # ! 6: # @(#)Makefile 4.7 (Berkeley) 6/5/87 ! 7: # ! 8: LIBC= /lib/libc.a ! 9: DFLAGS= -DADB ! 10: CFLAGS= -O -w ${DFLAGS} ! 11: # path to the directory containing as ! 12: AS = ../../as/as.vax ! 13: SRCS= access.c command.c expr.c format.c input.c main.c message.c \ ! 14: opset.c optab.c output.c pcs.c print.c runpcs.c setup.c sym.c ! 15: OBJS= access.o command.o expr.o format.o input.o main.o message.o \ ! 16: opset.o optab.o output.o pcs.o print.o runpcs.o setup.o sym.o ! 17: ! 18: all: adb ! 19: ! 20: adb: ${OBJS} ${LIBC} ! 21: ${CC} -o $@ ${OBJS} ! 22: ! 23: message.o: ! 24: ${CC} -c -R message.c ! 25: ! 26: opset.o: ! 27: ${CC} ${CFLAGS} -c -I. -I${AS} opset.c ! 28: ! 29: optab.o: instrs.adb ! 30: ${CC} ${CFLAGS} -c -R -I. -I${AS} optab.c ! 31: ! 32: instrs.adb: ${AS}/instrs ! 33: {echo FLAVOR ADB; cat ${AS}/instrs) | awk -f ${AS}/instrs > instrs.adb ! 34: ! 35: clean: FRC ! 36: rm -f ${OBJS} core adb ! 37: ! 38: depend: FRC ! 39: mkdep ${CFLAGS} -I. -I${AS} ${SRCS} ! 40: ! 41: install: FRC ! 42: install -s -o bin -g bin -m 755 adb ${DESTDIR}/bin/adb ! 43: ! 44: lint: FRC ! 45: lint ${CFLAGS} ${SRCS} ! 46: ! 47: tags: FRC ! 48: ctags ${SRCS} ! 49: ! 50: FRC: ! 51: ! 52: # DO NOT DELETE THIS LINE -- mkdep uses it. ! 53: # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.