aboutsummaryrefslogtreecommitdiff
path: root/emulators/cpmemu/files/patch-Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/cpmemu/files/patch-Makefile')
-rw-r--r--emulators/cpmemu/files/patch-Makefile53
1 files changed, 0 insertions, 53 deletions
diff --git a/emulators/cpmemu/files/patch-Makefile b/emulators/cpmemu/files/patch-Makefile
deleted file mode 100644
index c7efc6fabcd8..000000000000
--- a/emulators/cpmemu/files/patch-Makefile
+++ /dev/null
@@ -1,53 +0,0 @@
---- Makefile.orig Mon Nov 15 06:49:52 1999
-+++ Makefile Mon Nov 15 06:54:21 1999
-@@ -2,26 +2,26 @@
-
-
- # basic prefix for installation
--PREFIX = /usr/local
-+PREFIX ?= /usr/local
-
- # where to install `cpm' executable.
- BINDIR = $(PREFIX)/bin
-
- # where `cpm' looks for its files (cpm.sys and .com files).
--CPMLIBDIR = $(PREFIX)/lib/cpm
-+CPMLIBDIR = $(PREFIX)/share/cpm
-
-
- # You shouldn't need to edit below this line.
-
--CC = gcc
-+CC ?= gcc
-
--CFLAGS = -O2 -pipe -ansi -Wall \
-+CFLAGS += $(CPPFLAGS) -ansi -Wall \
- -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align \
- -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes \
- -Wnested-externs -Wwrite-strings \
- -DCPMLIBDIR=\"$(CPMLIBDIR)\"
-
--LDFLAGS = -s
-+#LDFLAGS = -s
-
- OBJS = single.o z80emu.o em.o io.o bios.o \
- commands.o running.o main.o disneu.o disz80.o low.o
-@@ -42,11 +42,14 @@
- cpm: $(OBJS)
- $(CC) $(LDFLAGS) -o cpm $(OBJS)
-
-+format: format.o
-+ $(CC) $(LDFLAGS) -o format format.o
-+
- clean:
- rm -f *~ loads.s makeloads *.o $(TARGETS)
-
- install: all
-- install -m 511 cpm $(BINDIR)
-- -mkdir $(CPMLIBDIR)
-- chmod 755 $(CPMLIBDIR)
-- install -m 444 z80-binaries/* $(CPMLIBDIR)
-+ ${BSD_INSTALL_PROGRAM} cpm $(DESTDIR)$(BINDIR)/cpmemu
-+ ${BSD_INSTALL_PROGRAM} format $(DESTDIR)$(BINDIR)/cpmformat
-+ -mkdir $(DESTDIR)$(CPMLIBDIR)
-+ ${BSD_INSTALL_DATA} z80-binaries/* $(DESTDIR)$(CPMLIBDIR)