summaryrefslogtreecommitdiff
path: root/dis88/Makefile
diff options
context:
space:
mode:
authorRobert de Bath <rdebath@poboxes.com>1996-03-24 17:45:55 +0100
committerLubomir Rintel <lkundrak@v3.sk>2013-10-23 23:29:43 +0200
commitfe22c37817ce338fbbc90b239320248c270957fa (patch)
treed9550410c4a20bdd382fcc58d2d3d7c5e04e5245 /dis88/Makefile
parenta7aba15e8efffb1c5d3097656f1a93955a64f01f (diff)
parent42192453ea219b80d0bf9f41e51e36d3d4d0740b (diff)
downloaddev86-fe22c37817ce338fbbc90b239320248c270957fa.tar.gz
Import Dev86-0.0.4.tar.gzv0.0.4
Diffstat (limited to 'dis88/Makefile')
-rw-r--r--dis88/Makefile51
1 files changed, 51 insertions, 0 deletions
diff --git a/dis88/Makefile b/dis88/Makefile
new file mode 100644
index 0000000..692326f
--- /dev/null
+++ b/dis88/Makefile
@@ -0,0 +1,51 @@
+# Makefile for dis
+
+# @(#) Makefile, Ver. 2.1 created 00:00:00 87/09/01
+# Makefile for 8088 symbolic disassembler
+
+# Copyright (C) 1987 G. M. Harding, all rights reserved.
+# Permission to copy and redistribute is hereby granted,
+# provided full source code, with all copyright notices,
+# accompanies any redistribution.
+
+# This Makefile automates the process of compiling and linking
+# a symbolic object-file disassembler program for the Intel
+# 8088 CPU. Relatively machine-independent code is contained in
+# the file dismain.c; lookup tables and handler routines, which
+# are by their nature machine-specific, are contained in two
+# files named distabs.c and dishand.c, respectively. (A third
+# machine-specific file, disfp.c, contains handler routines for
+# floating-point coprocessor opcodes.) A header file, dis.h,
+# attempts to mediate between the machine-specific and machine-
+# independent portions of the code. An attempt has been made to
+# isolate machine dependencies and to deal with them in fairly
+# straightforward ways. Thus, it should be possible to target a
+# different CPU by rewriting the handler routines and changing
+# the initialization data in the lookup tables. It should not
+# be necessary to alter the formats of the tables.
+
+CC=bcc
+CFLAGS=-O
+LDFLAGS=
+
+OBJ = disrel.o dismain.o distabs.o dishand.o disfp.o
+
+all: dis88
+
+dis88: $(OBJ)
+ $(CC) $(LDFLAGS) -o dis88 $(OBJ)
+
+install: /usr/bin/dis88
+
+/usr/bin/dis88: dis88
+ install -cs -o bin dis88 $@
+
+disrel.o: disrel.c
+dismain.o: dismain.c dis.h
+distabs.o: distabs.c dis.h
+dishand.o: dishand.c dis.h
+disfp.o: disfp.c dis.h
+
+
+clean:
+ rm -f *.bak *.o core dis88