ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/Frodo4/Src/Makefile.in
Revision: 1.8
Committed: 2004-01-12T14:58:59Z (19 years ago) by cebix
Branch: MAIN
Changes since 1.7: +2 -3 lines
Log Message:
removed obsolete Frodo PC files

File Contents

# Content
1 # Makefile.in for Frodo (generic Unix/X11)
2
3 ## Version information
4 VERSION = 4
5 REVISION = 2
6
7 ## System specific configuration
8 @SET_MAKE@
9 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 CFLAGS = @CFLAGS@ -I./ -DKBD_LANG=@KBD_LANG@
20 DEFS = @DEFS@ -DDATADIR=\"$(datadir)/frodo/\" -DBINDIR=\"$(bindir)/\"
21 LDFLAGS = @LDFLAGS@
22 LIBS = @LIBS@
23 INSTALL = @INSTALL@
24 INSTALL_PROGRAM = @INSTALL_PROGRAM@
25 INSTALL_DATA = @INSTALL_DATA@
26
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 SLFLAGS = -DPRECISE_CPU_CYCLES=1 -DPRECISE_CIA_CYCLES=1 -DPC_IS_POINTER=0
32 SCOBJS = $(OBJS) C64_SC.o CPUC64_SC.o VIC_SC.o CIA_SC.o CPU1541_SC.o CPU_common.o
33 SCFLAGS = -DFRODO_SC
34 SRCS = main.cpp Display.cpp Prefs.cpp SID.cpp REU.cpp IEC.cpp 1541fs.cpp \
35 1541d64.cpp 1541t64.cpp 1541job.cpp SAM.cpp CmdPipe.cpp C64.cpp \
36 C64_SC.cpp CPUC64.cpp CPUC64_SC.cpp VIC.cpp VIC_SC.cpp CIA.cpp \
37 CIA_SC.cpp CPU1541.cpp CPU1541_PC.cpp CPU1541_SC.cpp CPU_common.cpp
38
39 ## Rules
40 .PHONY: install installdirs uninstall clean distclean depend dep
41 .SUFFIXES:
42 .SUFFIXES: .o .cpp .h
43
44 all: Frodo FrodoSC
45
46 Frodo: $(SLOBJS)
47 $(CXX) -o Frodo $(LDFLAGS) $(SLOBJS) $(LIBS)
48
49 FrodoSC: $(SCOBJS)
50 $(CXX) -o FrodoSC $(LDFLAGS) $(SCOBJS) $(LIBS)
51
52 install: Frodo FrodoSC installdirs
53 $(INSTALL_PROGRAM) Frodo $(DESTDIR)$(bindir)/Frodo
54 $(INSTALL_PROGRAM) FrodoSC $(DESTDIR)$(bindir)/FrodoSC
55 $(INSTALL_PROGRAM) Frodo_GUI.tcl $(DESTDIR)$(bindir)/Frodo_GUI.tcl
56 $(INSTALL_DATA) ../Kernal\ ROM $(DESTDIR)$(datadir)/frodo/Kernal\ ROM
57
58 installdirs:
59 $(SHELL) mkinstalldirs $(DESTDIR)$(bindir) $(DESTDIR)$(datadir)/frodo
60
61 uninstall:
62 rm -f $(DESTDIR)$(bindir)/Frodo
63 rm -f $(DESTDIR)$(bindir)/FrodoSC
64 rm -f $(DESTDIR)$(bindir)/Frodo_GUI.tcl
65 rm -f $(DESTDIR)$(datadir)/frodo/Kernal\ ROM
66 rmdir $(DESTDIR)$(datadir)/frodo
67
68 clean:
69 rm -f $(SLOBJS) $(SCOBJS)
70 rm -f Frodo FrodoSC
71 rm -f core* *.core *~ *.bak
72
73 distclean: clean
74 rm -rf autom4te.cache
75 rm -f Makefile sysconfig.h
76 rm -f config.cache config.log config.status config.h
77
78 depend dep:
79 makedepend $(CPPFLAGS) -Y. $(SRCS) 2>/dev/null
80
81 .cpp.o:
82 $(CXX) $(DEFS) $(CFLAGS) -o $@ -c $*.cpp
83
84 C64.o: C64.cpp
85 $(CXX) $(DEFS) $(CFLAGS) $(SLFLAGS) -o $@ -c $*.cpp
86
87 C64_SC.o: C64_SC.cpp
88 $(CXX) $(DEFS) $(CFLAGS) $(SCFLAGS) -o $@ -c $*.cpp
89
90 CPUC64.o: CPUC64.cpp
91 $(CXX) $(DEFS) $(CFLAGS) $(SLFLAGS) -o $@ -c $*.cpp
92
93 CPUC64_SC.o: CPUC64_SC.cpp
94 $(CXX) $(DEFS) $(CFLAGS) $(SCFLAGS) -o $@ -c $*.cpp
95
96 CPU1541.o: CPU1541.cpp
97 $(CXX) $(DEFS) $(CFLAGS) $(SLFLAGS) -o $@ -c $*.cpp
98
99 CPU1541_SC.o: CPU1541_SC.cpp
100 $(CXX) $(DEFS) $(CFLAGS) $(SCFLAGS) -o $@ -c $*.cpp
101
102 VIC_SC.o: VIC_SC.cpp
103 $(CXX) $(DEFS) $(CFLAGS) $(SCFLAGS) -o $@ -c $*.cpp
104
105 CIA_SC.o: CIA_SC.cpp
106 $(CXX) $(DEFS) $(CFLAGS) $(SCFLAGS) -o $@ -c $*.cpp
107
108 #-------------------------------------------------------------------------
109 # DO NOT DELETE THIS LINE -- make depend depends on it.