diff options
Diffstat (limited to 'emulators/prodosemu/files/patch-aa')
-rw-r--r-- | emulators/prodosemu/files/patch-aa | 63 |
1 files changed, 0 insertions, 63 deletions
diff --git a/emulators/prodosemu/files/patch-aa b/emulators/prodosemu/files/patch-aa deleted file mode 100644 index d5d0d1ffa7d0..000000000000 --- a/emulators/prodosemu/files/patch-aa +++ /dev/null @@ -1,63 +0,0 @@ ---- Makefile.orig Tue Jan 9 13:00:03 1996 -+++ Makefile Tue Aug 15 20:34:22 2000 -@@ -1,12 +1,23 @@ - # --#Makefile for ProDOS Emulator v0.1 --# -+# Makefile for ProDOS Emulator v0.1 -+# FreeBSD modifications by Joel Sutton 18th Feb, 1997 -+ -+# Paths to various places -+PREFIX?= /usr/local -+BINDIR= ${PREFIX}/bin -+LIBDIR= ${PREFIX}/share -+ROMDIR= ${LIBDIR}/apple2 -+ROM= prodos-2e.rom -+ -+# Certain programs -+CC?= cc -+MKDIR?= mkdir -p - - all : prodos - - # Linux doesn't seem to like Randy Frank's beep code, - # if you're compiling on something else, you could try not defining NOBEEP --OPT = -O2 -DNOBEEP -+OPT = ${CFLAGS} -DNOBEEP -DROMFILE=\"${ROMDIR}/${ROM}\" - - # Necessary libraries - LIB = -lcurses -ltermcap -@@ -16,20 +27,26 @@ - - # Build modules from source: - main.o: main.c apple.h -- cc -c $(OPT) main.c -+ $(CC) -c $(OPT) main.c - 6502.o: 6502.c apple.h -- cc -c $(OPT) 6502.c -+ $(CC) -c $(OPT) 6502.c - mega2.o: mega2.c apple.h -- cc -c $(OPT) mega2.c -+ $(CC) -c $(OPT) mega2.c - debug.o: debug.c apple.h -- cc -c $(OPT) debug.c -+ $(CC) -c $(OPT) debug.c - prodos.o: prodos.c apple.h -- cc -c $(OPT) prodos.c -+ $(CC) -c $(OPT) prodos.c - - # Build the executale - prodos : $(OBJ) -- cc $(OPT) -o prodos $(OBJ) $(LIB) -+ $(CC) $(OPT) -o prodos $(OBJ) $(LIB) -+ -+# Install the program -+install: all -+ if [ ! -f ${ROMDIR} ]; then ${MKDIR} ${ROMDIR}; fi -+ ${BSD_INSTALL_PROGRAM} prodos ${BINDIR} -+ ${BSD_INSTALL_DATA} apple.rom ${ROMDIR}/${ROM} - - # Clean up - clean: -- rm *.o *~ -+ rm *.o |