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.1 by cebix, 2003-07-01T17:09:43Z vs.
Revision 1.13 by cebix, 2010-04-21T19:56:11Z

# Line 1 | Line 1
1   # Makefile.in for Frodo (generic Unix/X11)
2  
3 < ## Version information
4 < VERSION   = 4
5 < REVISION  = 1
6 <
3 > ## System specific configuration
4   @SET_MAKE@
5 < CXX    = @CXX@
9 < LIBS   = @LIBS@
10 < CFLAGS = @CFLAGS@ -I./ -DFRODO_HPUX_REV=@HPUX_REV@ -DKBD_LANG=@KBD_LANG@
5 > SHELL = /bin/sh
6  
7 < INSTALL         = @INSTALL@
7 > prefix = @prefix@
8 > exec_prefix = @exec_prefix@
9 > bindir = @bindir@
10 > datarootdir = @datarootdir@
11 > datadir = @datadir@
12 >
13 > DESTDIR =
14 >
15 > CXX = @CXX@
16 > CFLAGS = @CFLAGS@ @GLADE_CFLAGS@ @OSSO_CFLAGS@ -I./ -DKBD_LANG=@KBD_LANG@
17 > DEFS = @DEFS@ -DDATADIR=\"$(datadir)/frodo/\" -DBINDIR=\"$(bindir)/\"
18 > LDFLAGS = @LDFLAGS@
19 > LIBS = @LIBS@ @GLADE_LIBS@ @OSSO_LIBS@
20 > INSTALL = @INSTALL@
21   INSTALL_PROGRAM = @INSTALL_PROGRAM@
22 < 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
22 > INSTALL_DATA = @INSTALL_DATA@
23  
24   ## Files
25 < OBJS    = main.o Display.o Prefs.o SID.o REU.o IEC.o 1541fs.o \
25 > GUIOBJS = @GUIOBJS@
26 > OBJS    = $(GUIOBJS) main.o Display.o Prefs.o SID.o REU.o IEC.o 1541fs.o \
27            1541d64.o 1541t64.o 1541job.o SAM.o CmdPipe.o
28   SLOBJS  = $(OBJS) C64.o CPUC64.o VIC.o CIA.o CPU1541.o
29 < 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
29 > SLFLAGS = -DPRECISE_CPU_CYCLES=1 -DPRECISE_CIA_CYCLES=1 -DPC_IS_POINTER=0
30   SCOBJS  = $(OBJS) C64_SC.o CPUC64_SC.o VIC_SC.o CIA_SC.o CPU1541_SC.o CPU_common.o
31   SCFLAGS = -DFRODO_SC
32 < SRCS    = main.cpp Display.cpp Prefs.cpp SID.cpp REU.cpp IEC.cpp 1541fs.cpp \
32 > GUISRCS = @GUISRCS@
33 > SRCS    = $(GUISRCS) main.cpp Display.cpp Prefs.cpp SID.cpp REU.cpp IEC.cpp 1541fs.cpp \
34            1541d64.cpp 1541t64.cpp 1541job.cpp SAM.cpp CmdPipe.cpp C64.cpp \
35 <          C64_PC.cpp C64_SC.cpp CPUC64.cpp CPUC64_PC.cpp CPUC64_SC.cpp \
36 <          VIC.cpp VIC_SC.cpp CIA.cpp CIA_SC.cpp CPU1541.cpp CPU1541_PC.cpp \
35 <          CPU1541_SC.cpp CPU_common.cpp
35 >          C64_SC.cpp CPUC64.cpp CPUC64_SC.cpp VIC.cpp VIC_SC.cpp CIA.cpp \
36 >          CIA_SC.cpp CPU1541.cpp CPU1541_PC.cpp CPU1541_SC.cpp CPU_common.cpp
37  
38 < all: Frodo FrodoPC FrodoSC
38 > ## Rules
39 > .PHONY: install installdirs uninstall clean distclean depend dep
40 > .SUFFIXES:
41 > .SUFFIXES: .o .cpp .h
42  
43 < Frodo: $(SLOBJS)
40 <        $(CXX) -o Frodo $(SLOBJS) $(LDFLAGS) $(LIBS)
41 <        cp Frodo ..
43 > all: Frodo FrodoSC
44  
45 < FrodoPC: $(PCOBJS)
46 <        $(CXX) -o FrodoPC $(PCOBJS) $(LDFLAGS) $(LIBS)
45 <        cp FrodoPC ..
45 > Frodo: $(SLOBJS)
46 >        $(CXX) -o Frodo $(LDFLAGS) $(SLOBJS) $(LIBS)
47  
48   FrodoSC: $(SCOBJS)
49 <        $(CXX) -o FrodoSC $(SCOBJS) $(LDFLAGS) $(LIBS)
50 <        cp FrodoSC ..
49 >        $(CXX) -o FrodoSC $(LDFLAGS) $(SCOBJS) $(LIBS)
50 >
51 > install: Frodo FrodoSC installdirs
52 >        $(INSTALL_PROGRAM) Frodo $(DESTDIR)$(bindir)/Frodo
53 >        $(INSTALL_PROGRAM) FrodoSC $(DESTDIR)$(bindir)/FrodoSC
54 >        $(INSTALL_PROGRAM) Frodo_GUI.tcl $(DESTDIR)$(bindir)/Frodo_GUI.tcl
55 >        $(INSTALL_DATA) ../Kernal\ ROM $(DESTDIR)$(datadir)/frodo/Kernal\ ROM
56 >        $(INSTALL_DATA) glade/Frodo.glade $(DESTDIR)$(datadir)/frodo/Frodo.glade
57 >        $(INSTALL_DATA) maemo/frodo.desktop $(DESTDIR)$(datadir)/applications/hildon/frodo.desktop
58 >        $(INSTALL_DATA) maemo/frodo.service $(DESTDIR)$(datadir)/dbus-1/services/frodo.service
59 >        $(INSTALL_DATA) maemo/frodo.service $(DESTDIR)$(datadir)/dbus-1/services/frodo.service
60 >        $(INSTALL_DATA) maemo/Frodo_26_26.png $(DESTDIR)$(datadir)/icons/hicolor/26x26/hildon/frodo.png
61 >        $(INSTALL_DATA) maemo/Frodo_40_40.png $(DESTDIR)$(datadir)/icons/hicolor/40x40/hildon/frodo.png
62 >        $(INSTALL_DATA) maemo/Frodo_64_64.png $(DESTDIR)$(datadir)/icons/hicolor/scalable/hildon/frodo.png
63 >
64 > installdirs:
65 >        $(SHELL) mkinstalldirs $(DESTDIR)$(bindir) $(DESTDIR)$(datadir)/frodo $(DESTDIR)$(datadir)/applications/hildon $(DESTDIR)$(datadir)/dbus-1/services $(DESTDIR)$(datadir)/icons/hicolor/26x26/hildon  $(DESTDIR)$(datadir)/icons/hicolor/40x40/hildon $(DESTDIR)$(datadir)/icons/hicolor/scalable/hildon
66 >
67 > uninstall:
68 >        rm -f $(DESTDIR)$(bindir)/Frodo
69 >        rm -f $(DESTDIR)$(bindir)/FrodoSC
70 >        rm -f $(DESTDIR)$(bindir)/Frodo_GUI.tcl
71 >        rm -f $(DESTDIR)$(datadir)/frodo/Kernal\ ROM
72 >        rmdir $(DESTDIR)$(datadir)/frodo
73  
74   clean:
75 <        rm -f $(SLOBJS) $(PCOBJS) $(SCOBJS)
76 <        rm -f Frodo FrodoPC FrodoSC
75 >        rm -f $(SLOBJS) $(SCOBJS)
76 >        rm -f Frodo FrodoSC
77 >        rm -f core* *.core *~ *.bak
78  
79   distclean: clean
80          rm -rf autom4te.cache
# Line 61 | Line 85 | depend dep:
85          makedepend $(CPPFLAGS) -Y. $(SRCS) 2>/dev/null
86  
87   .cpp.o:
88 <        $(CC) $(INCLUDES) $(CFLAGS) -o $@ -c $*.cpp
65 <      
66 < .cpp.s:
67 <        $(CC) $(INCLUDES) $(CFLAGS) $(EXTRAFLAGS) -o $@ -S $*.cpp -g0
88 >        $(CXX) $(DEFS) $(CFLAGS) -o $@ -c $*.cpp
89  
90 < C64_PC.o: C64.cpp C64.h C64_x.i CmdPipe.h CPUC64.h CPU1541.h VIC.h SID.h CIA.h REU.h IEC.h 1541job.h Display.h Prefs.h
91 <        $(CC) $(INCLUDES) $(CFLAGS) $(PCFLAGS) -o $@ -c $*.cpp
90 > C64.o: C64.cpp
91 >        $(CXX) $(DEFS) $(CFLAGS) $(SLFLAGS) -o $@ -c $*.cpp
92  
93 < CPUC64_PC.o: CPUC64.cpp CPUC64.h CPU_emulline.i C64.h VIC.h SID.h CIA.h REU.h IEC.h Display.h Version.h
94 <        $(CC) $(INCLUDES) $(CFLAGS) $(PCFLAGS) -o $@ -c $*.cpp
93 > C64_SC.o: C64_SC.cpp
94 >        $(CXX) $(DEFS) $(CFLAGS) $(SCFLAGS) -o $@ -c $*.cpp
95  
96 < CPU1541_PC.o: CPU1541.cpp CPU1541.h CPU_emulline.i 1541job.h C64.h CIA.h Display.h
97 <        $(CC) $(INCLUDES) $(CFLAGS) $(PCFLAGS) -o $@ -c $*.cpp
96 > CPUC64.o: CPUC64.cpp
97 >        $(CXX) $(DEFS) $(CFLAGS) $(SLFLAGS) -o $@ -c $*.cpp
98  
99 < C64_SC.o: C64_SC.cpp C64.h C64_x.i CmdPipe.h CPUC64.h CPU1541.h VIC.h SID.h CIA.h REU.h IEC.h 1541job.h Display.h Prefs.h
100 <        $(CC) $(INCLUDES) $(CFLAGS) $(SCFLAGS) -o $@ -c $*.cpp
99 > CPUC64_SC.o: CPUC64_SC.cpp
100 >        $(CXX) $(DEFS) $(CFLAGS) $(SCFLAGS) -o $@ -c $*.cpp
101  
102 < CPUC64_SC.o: CPUC64_SC.cpp CPUC64.h CPU_emulcycle.i CPU_common.h C64.h VIC.h SID.h CIA.h REU.h IEC.h Display.h Version.h
103 <        $(CC) $(INCLUDES) $(CFLAGS) $(SCFLAGS) -o $@ -c $*.cpp
102 > CPU1541.o: CPU1541.cpp
103 >        $(CXX) $(DEFS) $(CFLAGS) $(SLFLAGS) -o $@ -c $*.cpp
104  
105 < CPU1541_SC.o: CPU1541_SC.cpp CPU1541.h CPU_emulcycle.i CPU_common.h 1541job.h C64.h CIA.h Display.h
106 <        $(CC) $(INCLUDES) $(CFLAGS) $(SCFLAGS) -o $@ -c $*.cpp
105 > CPU1541_SC.o: CPU1541_SC.cpp
106 >        $(CXX) $(DEFS) $(CFLAGS) $(SCFLAGS) -o $@ -c $*.cpp
107  
108 < VIC_SC.o: VIC_SC.cpp VIC.h C64.h CPUC64.h Display.h Prefs.h
109 <        $(CC) $(INCLUDES) $(CFLAGS) $(SCFLAGS) -o $@ -c $*.cpp
108 > VIC_SC.o: VIC_SC.cpp
109 >        $(CXX) $(DEFS) $(CFLAGS) $(SCFLAGS) -o $@ -c $*.cpp
110  
111 < CIA_SC.o: CIA_SC.cpp CIA.h CPUC64.h CPU1541.h VIC.h Prefs.h
112 <        $(CC) $(INCLUDES) $(CFLAGS) $(SCFLAGS) -o $@ -c $*.cpp
111 > CIA_SC.o: CIA_SC.cpp
112 >        $(CXX) $(DEFS) $(CFLAGS) $(SCFLAGS) -o $@ -c $*.cpp
113  
114   #-------------------------------------------------------------------------
115   # DO NOT DELETE THIS LINE -- make depend depends on it.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines