summaryrefslogtreecommitdiff
path: root/emulators/x48/files/patch-Imakefile
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/x48/files/patch-Imakefile')
-rw-r--r--emulators/x48/files/patch-Imakefile49
1 files changed, 49 insertions, 0 deletions
diff --git a/emulators/x48/files/patch-Imakefile b/emulators/x48/files/patch-Imakefile
new file mode 100644
index 000000000000..3513e6ecee95
--- /dev/null
+++ b/emulators/x48/files/patch-Imakefile
@@ -0,0 +1,49 @@
+--- src/Imakefile.orig Sun Jul 4 17:04:21 1999
++++ src/Imakefile Sat Jun 28 19:01:04 2003
+@@ -60,7 +60,7 @@
+ LDOPTIONS = LDOPTIONS_DEF
+ #endif
+
+- DEFINES = -I/usr/openwin/include UNIX_DEF XSHM_DEF READLINE_DEF
++ DEFINES = UNIX_DEF XSHM_DEF READLINE_DEF
+ HDRS = annunc.h append.h buttons.h constants.h debugger.h \
+ device.h disasm.h errors.h global.h hp.h hp48.h \
+ hp48_emu.h hp48char.h icon.h mmu.h options.h resources.h \
+@@ -87,9 +87,9 @@
+ CO = co -l
+ TARFILES = Imakefile X48.ad $(TARS1) $(SRCS2) $(SRCS3) $(SRCS4) $(HDRS)
+
+-all:: $(BIN)/x48 $(BIN)/dump2rom $(BIN)/checkrom $(BIN)/mkcard
++all:: x48 dump2rom checkrom mkcard
+
+- PROGRAMS = $(BIN)/x48 $(BIN)/dump2rom $(BIN)/checkrom $(BIN)/mkcard
++ PROGRAMS = x48 dump2rom checkrom mkcard
+
+ depend:: version.c X48.ad.h
+
+@@ -102,16 +102,20 @@
+ RemoveTargetProgram($@) @@\
+ $(CC) -o $@ $(LDOPTIONS) $(OBJS4) locallib $(LDLIBS) syslib $(EXTRA_LOAD_FLAGS) @@\
+ @@\
+-SaberProgramTarget(program,$(SRCS4),$(OBJS4),locallib,syslib) @@\
+ @@\
+ InstallProgram(program,$(BINDIR)) @@\
+ InstallManPage(program,$(MANDIR))
+ #endif /* ComplexProgramTarget_4 */
+
+-ComplexProgramTarget_1($(BIN)/x48, $(X48LIBS),)
+-ComplexProgramTarget_2($(BIN)/dump2rom,,)
+-ComplexProgramTarget_3($(BIN)/checkrom,,)
+-ComplexProgramTarget_4($(BIN)/mkcard,,)
++NormalProgramTarget(x48, $(OBJS1),, $(X48LIBS),)
++NormalProgramTarget(dump2rom, $(OBJS2),,,)
++NormalProgramTarget(checkrom, $(OBJS3),,,)
++NormalProgramTarget(mkcard, $(OBJS4),,,)
++
++InstallProgram(x48, $(BINDIR))
++InstallProgram(dump2rom, $(BINDIR))
++InstallProgram(checkrom, $(BINDIR))
++InstallProgram(mkcard, $(BINDIR))
+
+ InstallAppDefaults(X48)
+