1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
$NetBSD: patch-ab,v 1.1.1.1 2001/04/27 14:56:27 agc Exp $
--- src/Imakefile.orig Sun Feb 4 18:31:52 2001
+++ src/Imakefile
@@ -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)
|