ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/Frodo4/Src/Makefile.in
(Generate patch)

Comparing Frodo4/Src/Makefile.in (file contents):
Revision 1.3 by cebix, 2003-07-01T17:51:06Z vs.
Revision 1.7 by cebix, 2003-07-09T13:47:10Z

# Line 1 | Line 1
1   # Makefile.in for Frodo (generic Unix/X11)
2  
3   ## Version information
4 < VERSION   = 4
5 < REVISION  = 1
4 > VERSION  = 4
5 > REVISION = 2
6  
7 + ## System specific configuration
8   @SET_MAKE@
9 < CXX    = @CXX@
9 < LIBS   = @LIBS@
10 < CFLAGS = @CFLAGS@ -I./ -DFRODO_HPUX_REV=@HPUX_REV@ -DKBD_LANG=@KBD_LANG@
9 > SHELL = /bin/sh
10  
11 < INSTALL         = @INSTALL@
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@
15 < prefix          = @prefix@
16 < exec_prefix     = @exec_prefix@
17 < bindir          = @bindir@
18 < libdir          = @libdir@
19 < sysconfdir      = @sysconfdir@
20 <
21 < .SUFFIXES: .o .cpp .h
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 < PCOBJS  = $(OBJS) C64_PC.o CPUC64_PC.o VIC.o CIA.o CPU1541_PC.o
28 < PCFLAGS = -DPRECISE_CPU_CYCLES=1 -DPRECISE_CIA_CYCLES=1 -DPC_IS_POINTER=0
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 \
# Line 34 | Line 37 | SRCS    = main.cpp Display.cpp Prefs.cpp
37            VIC.cpp VIC_SC.cpp CIA.cpp CIA_SC.cpp CPU1541.cpp CPU1541_PC.cpp \
38            CPU1541_SC.cpp CPU_common.cpp
39  
40 < all: Frodo FrodoPC FrodoSC
40 > ## Rules
41 > .PHONY: install installdirs uninstall clean distclean depend dep
42 > .SUFFIXES:
43 > .SUFFIXES: .o .cpp .h
44 >
45 > all: Frodo FrodoSC
46  
47   Frodo: $(SLOBJS)
48 <        $(CXX) -o Frodo $(SLOBJS) $(LDFLAGS) $(LIBS)
41 <
42 < FrodoPC: $(PCOBJS)
43 <        $(CXX) -o FrodoPC $(PCOBJS) $(LDFLAGS) $(LIBS)
48 >        $(CXX) -o Frodo $(LDFLAGS) $(SLOBJS) $(LIBS)
49  
50   FrodoSC: $(SCOBJS)
51 <        $(CXX) -o FrodoSC $(SCOBJS) $(LDFLAGS) $(LIBS)
51 >        $(CXX) -o FrodoSC $(LDFLAGS) $(SCOBJS) $(LIBS)
52 >
53 > install: Frodo FrodoSC installdirs
54 >        $(INSTALL_PROGRAM) Frodo $(DESTDIR)$(bindir)/Frodo
55 >        $(INSTALL_PROGRAM) FrodoSC $(DESTDIR)$(bindir)/FrodoSC
56 >        $(INSTALL_PROGRAM) Frodo_GUI.tcl $(DESTDIR)$(bindir)/Frodo_GUI.tcl
57 >        $(INSTALL_DATA) ../Kernal\ ROM $(DESTDIR)$(datadir)/frodo/Kernal\ ROM
58 >
59 > installdirs:
60 >        $(SHELL) mkinstalldirs $(DESTDIR)$(bindir) $(DESTDIR)$(datadir)/frodo
61 >
62 > uninstall:
63 >        rm -f $(DESTDIR)$(bindir)/Frodo
64 >        rm -f $(DESTDIR)$(bindir)/FrodoSC
65 >        rm -f $(DESTDIR)$(bindir)/Frodo_GUI.tcl
66 >        rm -f $(DESTDIR)$(datadir)/frodo/Kernal\ ROM
67 >        rmdir $(DESTDIR)$(datadir)/frodo
68  
69   clean:
70 <        rm -f $(SLOBJS) $(PCOBJS) $(SCOBJS)
71 <        rm -f Frodo FrodoPC FrodoSC
70 >        rm -f $(SLOBJS) $(SCOBJS)
71 >        rm -f Frodo FrodoSC
72 >        rm -f core* *.core *~ *.bak
73  
74   distclean: clean
75          rm -rf autom4te.cache
# Line 58 | Line 80 | depend dep:
80          makedepend $(CPPFLAGS) -Y. $(SRCS) 2>/dev/null
81  
82   .cpp.o:
83 <        $(CC) $(INCLUDES) $(CFLAGS) -o $@ -c $*.cpp
62 <      
63 < .cpp.s:
64 <        $(CC) $(INCLUDES) $(CFLAGS) $(EXTRAFLAGS) -o $@ -S $*.cpp -g0
83 >        $(CXX) $(DEFS) $(CFLAGS) -o $@ -c $*.cpp
84  
85 < 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
86 <        $(CC) $(INCLUDES) $(CFLAGS) $(PCFLAGS) -o $@ -c $*.cpp
85 > C64.o: C64.cpp
86 >        $(CXX) $(DEFS) $(CFLAGS) $(SLFLAGS) -o $@ -c $*.cpp
87  
88 < 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
89 <        $(CC) $(INCLUDES) $(CFLAGS) $(PCFLAGS) -o $@ -c $*.cpp
88 > C64_SC.o: C64_SC.cpp
89 >        $(CXX) $(DEFS) $(CFLAGS) $(SCFLAGS) -o $@ -c $*.cpp
90  
91 < CPU1541_PC.o: CPU1541.cpp CPU1541.h CPU_emulline.h 1541job.h C64.h CIA.h Display.h
92 <        $(CC) $(INCLUDES) $(CFLAGS) $(PCFLAGS) -o $@ -c $*.cpp
91 > CPUC64.o: CPUC64.cpp
92 >        $(CXX) $(DEFS) $(CFLAGS) $(SLFLAGS) -o $@ -c $*.cpp
93  
94 < 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
95 <        $(CC) $(INCLUDES) $(CFLAGS) $(SCFLAGS) -o $@ -c $*.cpp
94 > CPUC64_SC.o: CPUC64_SC.cpp
95 >        $(CXX) $(DEFS) $(CFLAGS) $(SCFLAGS) -o $@ -c $*.cpp
96  
97 < 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
98 <        $(CC) $(INCLUDES) $(CFLAGS) $(SCFLAGS) -o $@ -c $*.cpp
97 > CPU1541.o: CPU1541.cpp
98 >        $(CXX) $(DEFS) $(CFLAGS) $(SLFLAGS) -o $@ -c $*.cpp
99  
100 < CPU1541_SC.o: CPU1541_SC.cpp CPU1541.h CPU_emulcycle.h CPU_common.h 1541job.h C64.h CIA.h Display.h
101 <        $(CC) $(INCLUDES) $(CFLAGS) $(SCFLAGS) -o $@ -c $*.cpp
100 > CPU1541_SC.o: CPU1541_SC.cpp
101 >        $(CXX) $(DEFS) $(CFLAGS) $(SCFLAGS) -o $@ -c $*.cpp
102  
103 < VIC_SC.o: VIC_SC.cpp VIC.h C64.h CPUC64.h Display.h Prefs.h
104 <        $(CC) $(INCLUDES) $(CFLAGS) $(SCFLAGS) -o $@ -c $*.cpp
103 > VIC_SC.o: VIC_SC.cpp
104 >        $(CXX) $(DEFS) $(CFLAGS) $(SCFLAGS) -o $@ -c $*.cpp
105  
106 < CIA_SC.o: CIA_SC.cpp CIA.h CPUC64.h CPU1541.h VIC.h Prefs.h
107 <        $(CC) $(INCLUDES) $(CFLAGS) $(SCFLAGS) -o $@ -c $*.cpp
106 > CIA_SC.o: CIA_SC.cpp
107 >        $(CXX) $(DEFS) $(CFLAGS) $(SCFLAGS) -o $@ -c $*.cpp
108  
109   #-------------------------------------------------------------------------
110   # DO NOT DELETE THIS LINE -- make depend depends on it.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines