head     1.3;
access   ;
symbols  ;
locks    ; strict;
comment  @# @;


1.3
date     86.04.22.13.56.36;  author mark;  state Exp;
branches ;
next     1.2;

1.2
date     86.03.10.08.46.15;  author root;  state Exp;
branches ;
next     1.1;

1.1
date     86.02.28.13.34.45;  author root;  state Exp;
branches ;
next     ;


desc
@@


1.3
log
@added bus.s and das.c.
@
text
@#
# $Header: Makefile,v 1.2 86/03/10 08:46:15 root Exp $
#
# $Log:	Makefile,v $
# Revision 1.2  86/03/10  08:46:15  root
# added complete dependencies
# 
# Revision 1.1  86/02/28  13:34:45  root
# Initial revision
# 
#
#
#	Makefile	4.3	82/10/27
#
DESTDIR= 
OPTS = 
DFLAGS = -DADB -DMULD2 -DVFORK ${OPTS}
CFLAGS=	-w -O ${DFLAGS}
CFILES= access.c command.c expr.c format.c input.c main.c message.c \
	output.c pcs.c print.c runpcs.c setup.c sym.c \
	inst.c dis.c das.c opset.c
OFILES= access.o command.o expr.o format.o input.o main.o message.o \
	output.o pcs.o print.o runpcs.o setup.o sym.o \
	inst.o das.o opset.o bus.o
#
#	path to the directory containing as
#

adb:	${OFILES}
	${CC} -s -o adb ${OFILES}

defs.h:		mac.h mode.h
mode.h:		machine.h

opset.o:	defs.h opset.c
	${CC}  -c ${DFLAGS} opset.c
access.o:	defs.h access.c
command.o:	defs.h command.c
expr.o:		defs.h expr.c
format.o:	defs.h format.c
input.o:	defs.h input.c
main.o:		defs.h main.c
message.o:	mac.h mode.h message.c
	${CC} -c -R message.c
pcs.o:		defs.h pcs.c
print.o:	defs.h print.c
runpcs.o:	defs.h runpcs.c
setup.o:	defs.h setup.c
sym.o:		defs.h sym.c
inst.o:		inst.h
dis.o:		inst.h
bus.o:		bus.s

install:
	install -s adb ${DESTDIR}/bin

clean:
	rm -f adb ${OFILES}

print:
	@@ls -l | pr
	@@pr -f Makefile *.h ${CFILES}
#
# DEFINCLUDES has all the stuf that is included by defs.h.
#
DEFINCLUDES = \
	/usr/include/machine/psl.h \
	/usr/include/machine/pte.h \
	/usr/include/sys/param.h \
	/usr/include/sys/dir.h \
	/usr/include/sys/user.h \
	/usr/include/ctype.h \
	/usr/include/a.out.h \
	mac.h \
	mode.h \
	head.h \
	/usr/include/machine/reg.h \
	machine.h \
	/usr/include/sys/vm.h

access.o:	defs.h $(DEFINCLUDES)
command.o:	defs.h $(DEFINCLUDES)
dis.o:		/usr/include/stdio.h
dis.o:		inst.h
expr.o:		defs.h $(DEFINCLUDES)
format.o:	defs.h $(DEFINCLUDES)
input.o:	defs.h $(DEFINCLUDES)
inst.o:		inst.h
main.o:		defs.h $(DEFINCLUDES)
main.o:		/usr/include/sgtty.h
message.o:	mac.h
message.o:	mode.h machine.h /usr/include/sys/vm.h
opset.o:	defs.h $(DEFINCLUDES)
optab.o:	defs.h $(DEFINCLUDES)
optab.o:	defs.h $(DEFINCLUDES)
optab.o:	instrs.h
optab.o:	instrs.adb
optab.o:	assizetab.c
output.o:	defs.h $(DEFINCLUDES)
pcs.o:		defs.h $(DEFINCLUDES)
print.o:	defs.h $(DEFINCLUDES)
runpcs.o:	defs.h $(DEFINCLUDES)
runpcs.o:	/usr/include/sgtty.h
setup.o:	defs.h $(DEFINCLUDES)
setup.o:	/usr/include/sys/stat.h
sym.o:		defs.h $(DEFINCLUDES)
sym.o:		/usr/include/stab.h
@


1.2
log
@added complete dependencies
@
text
@d2 1
a2 1
# $Header: Makefile,v 1.1 86/02/28 13:34:45 root Exp $
d5 3
d21 1
a21 1
	inst.c dis.c opset.c
d24 1
a24 1
	inst.o dis.o opset.o
d52 1
@


1.1
log
@Initial revision
@
text
@d2 1
a2 1
# $Header$
d4 4
a7 1
# $Log$
d59 45
@
