ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/Frodo4/Src/Makefile.in
Revision: 1.6
Committed: 2003-07-01T19:14:08Z (21 years, 3 months ago) by cebix
Branch: MAIN
Changes since 1.5: +3 -1 lines
Log Message:
TkGui.tcl renamed to Frodo_GUI.tcl, which is now expected and installed in
/usr/bin

File Contents

# User Rev Content
1 cebix 1.1 # Makefile.in for Frodo (generic Unix/X11)
2    
3     ## Version information
4 cebix 1.5 VERSION = 4
5     REVISION = 2
6 cebix 1.1
7 cebix 1.5 ## System specific configuration
8 cebix 1.1 @SET_MAKE@
9 cebix 1.5 SHELL = /bin/sh
10    
11     prefix = @prefix@
12     exec_prefix = @exec_prefix@
13     bindir = @bindir@
14     datadir = @datadir@
15    
16     DESTDIR =
17    
18     CXX = @CXX@
19 cebix 1.1 CFLAGS = @CFLAGS@ -I./ -DFRODO_HPUX_REV=@HPUX_REV@ -DKBD_LANG=@KBD_LANG@
20 cebix 1.6 DEFS = @DEFS@ -DDATADIR=\"$(datadir)/frodo/\" -DBINDIR=\"$(bindir)/\"
21 cebix 1.5 LDFLAGS = @LDFLAGS@
22     LIBS = @LIBS@
23     INSTALL = @INSTALL@
24 cebix 1.1 INSTALL_PROGRAM = @INSTALL_PROGRAM@
25 cebix 1.5 INSTALL_DATA = @INSTALL_DATA@
26 cebix 1.1
27     ## Files
28     OBJS = main.o Display.o Prefs.o SID.o REU.o IEC.o 1541fs.o \
29     1541d64.o 1541t64.o 1541job.o SAM.o CmdPipe.o
30     SLOBJS = $(OBJS) C64.o CPUC64.o VIC.o CIA.o CPU1541.o
31     PCOBJS = $(OBJS) C64_PC.o CPUC64_PC.o VIC.o CIA.o CPU1541_PC.o
32     PCFLAGS = -DPRECISE_CPU_CYCLES=1 -DPRECISE_CIA_CYCLES=1 -DPC_IS_POINTER=0
33     SCOBJS = $(OBJS) C64_SC.o CPUC64_SC.o VIC_SC.o CIA_SC.o CPU1541_SC.o CPU_common.o
34     SCFLAGS = -DFRODO_SC
35     SRCS = main.cpp Display.cpp Prefs.cpp SID.cpp REU.cpp IEC.cpp 1541fs.cpp \
36     1541d64.cpp 1541t64.cpp 1541job.cpp SAM.cpp CmdPipe.cpp C64.cpp \
37     C64_PC.cpp C64_SC.cpp CPUC64.cpp CPUC64_PC.cpp CPUC64_SC.cpp \
38     VIC.cpp VIC_SC.cpp CIA.cpp CIA_SC.cpp CPU1541.cpp CPU1541_PC.cpp \
39     CPU1541_SC.cpp CPU_common.cpp
40    
41 cebix 1.5 ## Rules
42     .PHONY: install installdirs uninstall clean distclean depend dep
43     .SUFFIXES:
44     .SUFFIXES: .o .cpp .h
45    
46 cebix 1.1 all: Frodo FrodoPC FrodoSC
47    
48     Frodo: $(SLOBJS)
49 cebix 1.5 $(CXX) -o Frodo $(LDFLAGS) $(SLOBJS) $(LIBS)
50 cebix 1.1
51     FrodoPC: $(PCOBJS)
52 cebix 1.5 $(CXX) -o FrodoPC $(LDFLAGS) $(PCOBJS) $(LIBS)
53 cebix 1.1
54     FrodoSC: $(SCOBJS)
55 cebix 1.5 $(CXX) -o FrodoSC $(LDFLAGS) $(SCOBJS) $(LIBS)
56    
57     install: Frodo FrodoPC FrodoSC installdirs
58     $(INSTALL_PROGRAM) Frodo $(DESTDIR)$(bindir)/Frodo
59     $(INSTALL_PROGRAM) FrodoPC $(DESTDIR)$(bindir)/FrodoPC
60     $(INSTALL_PROGRAM) FrodoSC $(DESTDIR)$(bindir)/FrodoSC
61 cebix 1.6 $(INSTALL_PROGRAM) Frodo_GUI.tcl $(DESTDIR)$(bindir)/Frodo_GUI.tcl
62 cebix 1.5 $(INSTALL_DATA) ../1541\ ROM $(DESTDIR)$(datadir)/frodo/1541\ ROM
63     $(INSTALL_DATA) ../Basic\ ROM $(DESTDIR)$(datadir)/frodo/Basic\ ROM
64     $(INSTALL_DATA) ../Char\ ROM $(DESTDIR)$(datadir)/frodo/Char\ ROM
65     $(INSTALL_DATA) ../Kernal\ ROM $(DESTDIR)$(datadir)/frodo/Kernal\ ROM
66    
67     installdirs:
68     $(SHELL) mkinstalldirs $(DESTDIR)$(bindir) $(DESTDIR)$(datadir)/frodo
69    
70     uninstall:
71     rm -f $(DESTDIR)$(bindir)/Frodo
72     rm -f $(DESTDIR)$(bindir)/FrodoPC
73     rm -f $(DESTDIR)$(bindir)/FrodoSC
74 cebix 1.6 rm -f $(DESTDIR)$(bindir)/Frodo_GUI.tcl
75 cebix 1.5 rm -f $(DESTDIR)$(datadir)/frodo/1541\ ROM
76     rm -f $(DESTDIR)$(datadir)/frodo/Basic\ ROM
77     rm -f $(DESTDIR)$(datadir)/frodo/Char\ ROM
78     rm -f $(DESTDIR)$(datadir)/frodo/Kernal\ ROM
79     rmdir $(DESTDIR)$(datadir)/frodo
80 cebix 1.1
81     clean:
82     rm -f $(SLOBJS) $(PCOBJS) $(SCOBJS)
83     rm -f Frodo FrodoPC FrodoSC
84 cebix 1.5 rm -f core* *.core *~ *.bak
85 cebix 1.1
86     distclean: clean
87     rm -rf autom4te.cache
88     rm -f Makefile sysconfig.h
89     rm -f config.cache config.log config.status config.h
90    
91     depend dep:
92     makedepend $(CPPFLAGS) -Y. $(SRCS) 2>/dev/null
93    
94     .cpp.o:
95 cebix 1.5 $(CXX) $(DEFS) $(CFLAGS) -o $@ -c $*.cpp
96 cebix 1.1
97 cebix 1.2 C64_PC.o: C64.cpp C64.h C64_x.h CmdPipe.h CPUC64.h CPU1541.h VIC.h SID.h CIA.h REU.h IEC.h 1541job.h Display.h Prefs.h
98 cebix 1.5 $(CXX) $(DEFS) $(CFLAGS) $(PCFLAGS) -o $@ -c $*.cpp
99 cebix 1.1
100 cebix 1.2 CPUC64_PC.o: CPUC64.cpp CPUC64.h CPU_emulline.h C64.h VIC.h SID.h CIA.h REU.h IEC.h Display.h Version.h
101 cebix 1.5 $(CXX) $(DEFS) $(CFLAGS) $(PCFLAGS) -o $@ -c $*.cpp
102 cebix 1.1
103 cebix 1.2 CPU1541_PC.o: CPU1541.cpp CPU1541.h CPU_emulline.h 1541job.h C64.h CIA.h Display.h
104 cebix 1.5 $(CXX) $(DEFS) $(CFLAGS) $(PCFLAGS) -o $@ -c $*.cpp
105 cebix 1.1
106 cebix 1.2 C64_SC.o: C64_SC.cpp C64.h C64_x.h CmdPipe.h CPUC64.h CPU1541.h VIC.h SID.h CIA.h REU.h IEC.h 1541job.h Display.h Prefs.h
107 cebix 1.5 $(CXX) $(DEFS) $(CFLAGS) $(SCFLAGS) -o $@ -c $*.cpp
108 cebix 1.1
109 cebix 1.2 CPUC64_SC.o: CPUC64_SC.cpp CPUC64.h CPU_emulcycle.h CPU_common.h C64.h VIC.h SID.h CIA.h REU.h IEC.h Display.h Version.h
110 cebix 1.5 $(CXX) $(DEFS) $(CFLAGS) $(SCFLAGS) -o $@ -c $*.cpp
111 cebix 1.1
112 cebix 1.2 CPU1541_SC.o: CPU1541_SC.cpp CPU1541.h CPU_emulcycle.h CPU_common.h 1541job.h C64.h CIA.h Display.h
113 cebix 1.5 $(CXX) $(DEFS) $(CFLAGS) $(SCFLAGS) -o $@ -c $*.cpp
114 cebix 1.1
115     VIC_SC.o: VIC_SC.cpp VIC.h C64.h CPUC64.h Display.h Prefs.h
116 cebix 1.5 $(CXX) $(DEFS) $(CFLAGS) $(SCFLAGS) -o $@ -c $*.cpp
117 cebix 1.1
118     CIA_SC.o: CIA_SC.cpp CIA.h CPUC64.h CPU1541.h VIC.h Prefs.h
119 cebix 1.5 $(CXX) $(DEFS) $(CFLAGS) $(SCFLAGS) -o $@ -c $*.cpp
120 cebix 1.1
121     #-------------------------------------------------------------------------
122     # DO NOT DELETE THIS LINE -- make depend depends on it.