ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/Frodo4/Src/Makefile.in
Revision: 1.12
Committed: 2008-02-29T07:56:46Z (14 years, 11 months ago) by berlac
Branch: MAIN
Changes since 1.11: +7 -1 lines
Log Message:
Added Maemo install files.

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 berlac 1.10 REVISION = 3
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 berlac 1.11 CFLAGS = @CFLAGS@ @GLADE_CFLAGS@ @OSSO_CFLAGS@ -I./ -DKBD_LANG=@KBD_LANG@
20 cebix 1.6 DEFS = @DEFS@ -DDATADIR=\"$(datadir)/frodo/\" -DBINDIR=\"$(bindir)/\"
21 cebix 1.5 LDFLAGS = @LDFLAGS@
22 berlac 1.11 LIBS = @LIBS@ @GLADE_LIBS@ @OSSO_LIBS@
23 cebix 1.5 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 berlac 1.10 GUIOBJS = @GUIOBJS@
29     OBJS = $(GUIOBJS) main.o Display.o Prefs.o SID.o REU.o IEC.o 1541fs.o \
30 cebix 1.1 1541d64.o 1541t64.o 1541job.o SAM.o CmdPipe.o
31     SLOBJS = $(OBJS) C64.o CPUC64.o VIC.o CIA.o CPU1541.o
32 cebix 1.7 SLFLAGS = -DPRECISE_CPU_CYCLES=1 -DPRECISE_CIA_CYCLES=1 -DPC_IS_POINTER=0
33 cebix 1.1 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 berlac 1.10 GUISRCS = @GUISRCS@
36     SRCS = $(GUISRCS) main.cpp Display.cpp Prefs.cpp SID.cpp REU.cpp IEC.cpp 1541fs.cpp \
37 cebix 1.1 1541d64.cpp 1541t64.cpp 1541job.cpp SAM.cpp CmdPipe.cpp C64.cpp \
38 cebix 1.8 C64_SC.cpp CPUC64.cpp CPUC64_SC.cpp VIC.cpp VIC_SC.cpp CIA.cpp \
39     CIA_SC.cpp CPU1541.cpp CPU1541_PC.cpp CPU1541_SC.cpp CPU_common.cpp
40 cebix 1.1
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.7 all: Frodo FrodoSC
47 cebix 1.1
48     Frodo: $(SLOBJS)
49 cebix 1.5 $(CXX) -o Frodo $(LDFLAGS) $(SLOBJS) $(LIBS)
50 cebix 1.1
51     FrodoSC: $(SCOBJS)
52 cebix 1.5 $(CXX) -o FrodoSC $(LDFLAGS) $(SCOBJS) $(LIBS)
53    
54 cebix 1.7 install: Frodo FrodoSC installdirs
55 cebix 1.5 $(INSTALL_PROGRAM) Frodo $(DESTDIR)$(bindir)/Frodo
56     $(INSTALL_PROGRAM) FrodoSC $(DESTDIR)$(bindir)/FrodoSC
57 cebix 1.6 $(INSTALL_PROGRAM) Frodo_GUI.tcl $(DESTDIR)$(bindir)/Frodo_GUI.tcl
58 cebix 1.5 $(INSTALL_DATA) ../Kernal\ ROM $(DESTDIR)$(datadir)/frodo/Kernal\ ROM
59 cebix 1.9 $(INSTALL_DATA) glade/Frodo.glade $(DESTDIR)$(datadir)/frodo/Frodo.glade
60 berlac 1.12 $(INSTALL_DATA) maemo/frodo.desktop $(DESTDIR)$(datadir)/applications/hildon/frodo.desktop
61     $(INSTALL_DATA) maemo/frodo.service $(DESTDIR)$(datadir)/dbus-1/services/frodo.service
62     $(INSTALL_DATA) maemo/frodo.service $(DESTDIR)$(datadir)/dbus-1/services/frodo.service
63     $(INSTALL_DATA) maemo/Frodo_26_26.png $(DESTDIR)$(datadir)/icons/hicolor/26x26/hildon/frodo.png
64     $(INSTALL_DATA) maemo/Frodo_40_40.png $(DESTDIR)$(datadir)/icons/hicolor/40x40/hildon/frodo.png
65     $(INSTALL_DATA) maemo/Frodo_64_64.png $(DESTDIR)$(datadir)/icons/hicolor/scalable/hildon/frodo.png
66 cebix 1.5
67     installdirs:
68 berlac 1.12 $(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
69 cebix 1.5
70     uninstall:
71     rm -f $(DESTDIR)$(bindir)/Frodo
72     rm -f $(DESTDIR)$(bindir)/FrodoSC
73 cebix 1.6 rm -f $(DESTDIR)$(bindir)/Frodo_GUI.tcl
74 cebix 1.5 rm -f $(DESTDIR)$(datadir)/frodo/Kernal\ ROM
75     rmdir $(DESTDIR)$(datadir)/frodo
76 cebix 1.1
77     clean:
78 cebix 1.7 rm -f $(SLOBJS) $(SCOBJS)
79     rm -f Frodo FrodoSC
80 cebix 1.5 rm -f core* *.core *~ *.bak
81 cebix 1.1
82     distclean: clean
83     rm -rf autom4te.cache
84     rm -f Makefile sysconfig.h
85     rm -f config.cache config.log config.status config.h
86    
87     depend dep:
88     makedepend $(CPPFLAGS) -Y. $(SRCS) 2>/dev/null
89    
90     .cpp.o:
91 cebix 1.5 $(CXX) $(DEFS) $(CFLAGS) -o $@ -c $*.cpp
92 cebix 1.1
93 cebix 1.7 C64.o: C64.cpp
94     $(CXX) $(DEFS) $(CFLAGS) $(SLFLAGS) -o $@ -c $*.cpp
95    
96     C64_SC.o: C64_SC.cpp
97     $(CXX) $(DEFS) $(CFLAGS) $(SCFLAGS) -o $@ -c $*.cpp
98 cebix 1.1
99 cebix 1.7 CPUC64.o: CPUC64.cpp
100     $(CXX) $(DEFS) $(CFLAGS) $(SLFLAGS) -o $@ -c $*.cpp
101 cebix 1.1
102 cebix 1.7 CPUC64_SC.o: CPUC64_SC.cpp
103 cebix 1.5 $(CXX) $(DEFS) $(CFLAGS) $(SCFLAGS) -o $@ -c $*.cpp
104 cebix 1.1
105 cebix 1.7 CPU1541.o: CPU1541.cpp
106     $(CXX) $(DEFS) $(CFLAGS) $(SLFLAGS) -o $@ -c $*.cpp
107 cebix 1.1
108 cebix 1.7 CPU1541_SC.o: CPU1541_SC.cpp
109 cebix 1.5 $(CXX) $(DEFS) $(CFLAGS) $(SCFLAGS) -o $@ -c $*.cpp
110 cebix 1.1
111 cebix 1.7 VIC_SC.o: VIC_SC.cpp
112 cebix 1.5 $(CXX) $(DEFS) $(CFLAGS) $(SCFLAGS) -o $@ -c $*.cpp
113 cebix 1.1
114 cebix 1.7 CIA_SC.o: CIA_SC.cpp
115 cebix 1.5 $(CXX) $(DEFS) $(CFLAGS) $(SCFLAGS) -o $@ -c $*.cpp
116 cebix 1.1
117     #-------------------------------------------------------------------------
118     # DO NOT DELETE THIS LINE -- make depend depends on it.