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

Comparing BasiliskII/src/Unix/Makefile.in (file contents):
Revision 1.16 by cebix, 2000-07-13T13:47:05Z vs.
Revision 1.27 by nigel, 2004-01-20T03:30:52Z

# Line 11 | Line 11 | datadir = @datadir@
11   mandir = @mandir@
12   man1dir = $(mandir)/man1
13  
14 + DESTDIR =
15 +
16   CC = @CC@
17   CXX = @CXX@
18   CFLAGS = @CFLAGS@
# Line 21 | Line 23 | LDFLAGS = @LDFLAGS@
23   LIBS = @LIBS@
24   SYSSRCS = @SYSSRCS@
25   CPUSRCS = @CPUSRCS@
26 + BLESS = @BLESS@
27   INSTALL = @INSTALL@
28   INSTALL_PROGRAM = @INSTALL_PROGRAM@ -s
29   INSTALL_DATA = @INSTALL_DATA@
30  
31   ## Files
32 < SRCS = ../main.cpp main_unix.cpp ../prefs.cpp prefs_unix.cpp sys_unix.cpp \
33 <    ../rom_patches.cpp ../slot_rom.cpp ../rsrc_patches.cpp ../emul_op.cpp \
34 <    ../macos_util.cpp ../xpram.cpp xpram_unix.cpp ../timer.cpp timer_unix.cpp \
35 <    clip_unix.cpp ../adb.cpp ../serial.cpp ../ether.cpp ../sony.cpp \
36 <    ../disk.cpp ../cdrom.cpp ../scsi.cpp ../video.cpp video_x.cpp ../audio.cpp \
37 <    ../extfs.cpp extfs_unix.cpp ../user_strings.cpp user_strings_unix.cpp \
32 > SRCS = ../main.cpp main_unix.cpp ../prefs.cpp ../prefs_items.cpp prefs_unix.cpp \
33 >    sys_unix.cpp ../rom_patches.cpp ../slot_rom.cpp ../rsrc_patches.cpp \
34 >    ../emul_op.cpp ../macos_util.cpp ../xpram.cpp xpram_unix.cpp ../timer.cpp \
35 >    timer_unix.cpp clip_unix.cpp ../adb.cpp ../serial.cpp ../ether.cpp \
36 >    ../sony.cpp ../disk.cpp ../cdrom.cpp ../scsi.cpp ../video.cpp video_blit.cpp \
37 >    video_x.cpp vm_alloc.cpp sigsegv.cpp ../audio.cpp ../extfs.cpp extfs_unix.cpp \
38 >        ../user_strings.cpp user_strings_unix.cpp sshpty.c strlcpy.c \
39      $(SYSSRCS) $(CPUSRCS)
40   APP = BasiliskII
41  
42   ## Rules
43 < .PHONY: modules install uninstall clean distclean depend dep
43 > .PHONY: modules install installdirs uninstall mostlyclean clean distclean depend dep
44   .SUFFIXES:
45   .SUFFIXES: .c .cpp .s .o .h
46  
# Line 58 | Line 62 | VPATH += $(addprefix :, $(subst  ,:, $(f
62  
63   $(APP): $(OBJ_DIR) $(OBJS)
64          $(CXX) -o $(APP) $(LDFLAGS) $(OBJS) $(LIBS)
65 +        $(BLESS) $(APP)
66  
67   modules:
68          cd Linux/NetDriver; make
69  
70   install: $(APP) installdirs
71 <        $(INSTALL_PROGRAM) $(APP) $(bindir)/$(APP)
72 <        -$(INSTALL_DATA) $(APP).1 $(man1dir)/$(APP).1
73 <        $(INSTALL_DATA) keycodes $(datadir)/$(APP)/keycodes
74 <        $(INSTALL_DATA) fbdevices $(datadir)/$(APP)/fbdevices
71 >        $(INSTALL_PROGRAM) $(APP) $(DESTDIR)$(bindir)/$(APP)
72 >        -$(INSTALL_DATA) $(APP).1 $(DESTDIR)$(man1dir)/$(APP).1
73 >        $(INSTALL_DATA) keycodes $(DESTDIR)$(datadir)/$(APP)/keycodes
74 >        $(INSTALL_DATA) fbdevices $(DESTDIR)$(datadir)/$(APP)/fbdevices
75  
76   installdirs:
77 <        $(SHELL) mkinstalldirs $(bindir) $(man1dir) $(datadir)/$(APP)
77 >        $(SHELL) mkinstalldirs $(DESTDIR)$(bindir) $(DESTDIR)$(man1dir) $(DESTDIR)$(datadir)/$(APP)
78  
79   uninstall:
80 <        rm -f $(bindir)/$(APP)
81 <        rm -f $(man1dir)/$(APP).1
82 <        rm -f $(datadir)/$(APP)/keycodes
83 <        rm -f $(datadir)/$(APP)/fbdevices
84 <        rmdir $(datadir)/$(APP)
80 >        rm -f $(DESTDIR)$(bindir)/$(APP)
81 >        rm -f $(DESTDIR)$(man1dir)/$(APP).1
82 >        rm -f $(DESTDIR)$(datadir)/$(APP)/keycodes
83 >        rm -f $(DESTDIR)$(datadir)/$(APP)/fbdevices
84 >        rmdir $(DESTDIR)$(datadir)/$(APP)
85  
86   mostlyclean:
87          rm -f $(APP) $(OBJ_DIR)/* core* *.core *~ *.bak
88  
89   clean: mostlyclean
90 <        rm -f cpuemu.cpp cpudefs.cpp cputmp*.s cpufast*.s cpustbl.cpp cputbl.h
90 >        rm -f cpuemu.cpp cpudefs.cpp cputmp*.s cpufast*.s cpustbl.cpp cputbl.h compemu.cpp compstbl.cpp comptbl.h
91  
92   distclean: clean
93          rm -rf $(OBJ_DIR)
94 +        rm -rf autom4te.cache
95          rm -f Makefile
96 <        rm -f config.cache config.log config.status config.h
96 >        rm -f config.cache config.log config.status config.h config.h.in
97 >        rm -f Darwin/lowmem Darwin/pagezero
98  
99   depend dep:
100          makedepend $(CPPFLAGS) -Y. $(SRCS) 2>/dev/null
# Line 104 | Line 111 | $(OBJ_DIR)/cpuopti: $(OBJ_DIR)/cpuopti.o
111   $(OBJ_DIR)/build68k: $(OBJ_DIR)/build68k.o
112          $(CC) $(LDFLAGS) -o $(OBJ_DIR)/build68k $(OBJ_DIR)/build68k.o
113   $(OBJ_DIR)/gencpu: $(OBJ_DIR)/gencpu.o $(OBJ_DIR)/readcpu.o $(OBJ_DIR)/cpudefs.o
114 <        $(CC) $(LDFLAGS) -o $(OBJ_DIR)/gencpu $(OBJ_DIR)/gencpu.o $(OBJ_DIR)/readcpu.o $(OBJ_DIR)/cpudefs.o
114 >        $(CXX) $(LDFLAGS) -o $(OBJ_DIR)/gencpu $(OBJ_DIR)/gencpu.o $(OBJ_DIR)/readcpu.o $(OBJ_DIR)/cpudefs.o
115 > $(OBJ_DIR)/gencomp: $(OBJ_DIR)/gencomp.o $(OBJ_DIR)/readcpu.o $(OBJ_DIR)/cpudefs.o
116 >        $(CXX) $(LDFLAGS) -o $(OBJ_DIR)/gencomp $(OBJ_DIR)/gencomp.o $(OBJ_DIR)/readcpu.o $(OBJ_DIR)/cpudefs.o
117 >
118   cpudefs.cpp: $(OBJ_DIR)/build68k ../uae_cpu/table68k
119          $(OBJ_DIR)/build68k <../uae_cpu/table68k >cpudefs.cpp
120   cpustbl.cpp: cpuemu.cpp
121 + cpustbl_nf.cpp: cpustbl.cpp
122 + compstbl.cpp: compemu.cpp
123   cputbl.h: cpuemu.cpp
124 + comptbl.h: compemu.cpp
125  
126   cpuemu.cpp: $(OBJ_DIR)/gencpu
127          $(OBJ_DIR)/gencpu
128  
129 + compemu.cpp: $(OBJ_DIR)/gencomp
130 +        $(OBJ_DIR)/gencomp
131 +
132 + $(OBJ_DIR)/cpustbl_nf.o: cpustbl.cpp
133 +        $(CXX) $(CPPFLAGS) $(DEFS) $(CXXFLAGS) -DNOFLAGS -c $< -o $@
134 +
135 + $(OBJ_DIR)/compemu_support.o: compemu_support.cpp comptbl.h
136 +        $(CXX) $(CPPFLAGS) $(DEFS) $(CXXFLAGS) -c $< -o $@
137 +
138   $(OBJ_DIR)/cpuemu1.o: cpuemu.cpp
139          $(CXX) $(CPPFLAGS) $(DEFS) -DPART_1 $(CXXFLAGS) -c $< -o $@
140   $(OBJ_DIR)/cpuemu2.o: cpuemu.cpp
# Line 130 | Line 152 | $(OBJ_DIR)/cpuemu7.o: cpuemu.cpp
152   $(OBJ_DIR)/cpuemu8.o: cpuemu.cpp
153          $(CXX) $(CPPFLAGS) $(DEFS) -DPART_8 $(CXXFLAGS) -c $< -o $@
154  
155 + $(OBJ_DIR)/cpuemu1_nf.o: cpuemu.cpp
156 +        $(CXX) $(CPPFLAGS) $(DEFS) -DPART_1 -DNOFLAGS $(CXXFLAGS) -c $< -o $@
157 + $(OBJ_DIR)/cpuemu2_nf.o: cpuemu.cpp
158 +        $(CXX) $(CPPFLAGS) $(DEFS) -DPART_2 -DNOFLAGS $(CXXFLAGS) -c $< -o $@
159 + $(OBJ_DIR)/cpuemu3_nf.o: cpuemu.cpp
160 +        $(CXX) $(CPPFLAGS) $(DEFS) -DPART_3 -DNOFLAGS $(CXXFLAGS) -c $< -o $@
161 + $(OBJ_DIR)/cpuemu4_nf.o: cpuemu.cpp
162 +        $(CXX) $(CPPFLAGS) $(DEFS) -DPART_4 -DNOFLAGS $(CXXFLAGS) -c $< -o $@
163 + $(OBJ_DIR)/cpuemu5_nf.o: cpuemu.cpp
164 +        $(CXX) $(CPPFLAGS) $(DEFS) -DPART_5 -DNOFLAGS $(CXXFLAGS) -c $< -o $@
165 + $(OBJ_DIR)/cpuemu6_nf.o: cpuemu.cpp
166 +        $(CXX) $(CPPFLAGS) $(DEFS) -DPART_6 -DNOFLAGS $(CXXFLAGS) -c $< -o $@
167 + $(OBJ_DIR)/cpuemu7_nf.o: cpuemu.cpp
168 +        $(CXX) $(CPPFLAGS) $(DEFS) -DPART_7 -DNOFLAGS $(CXXFLAGS) -c $< -o $@
169 + $(OBJ_DIR)/cpuemu8_nf.o: cpuemu.cpp
170 +        $(CXX) $(CPPFLAGS) $(DEFS) -DPART_8 -DNOFLAGS $(CXXFLAGS) -c $< -o $@
171 +
172 + $(OBJ_DIR)/compemu1.o: compemu.cpp
173 +        $(CXX) $(CPPFLAGS) $(DEFS) -DPART_1 $(CXXFLAGS) -c $< -o $@
174 + $(OBJ_DIR)/compemu2.o: compemu.cpp
175 +        $(CXX) $(CPPFLAGS) $(DEFS) -DPART_2 $(CXXFLAGS) -c $< -o $@
176 + $(OBJ_DIR)/compemu3.o: compemu.cpp
177 +        $(CXX) $(CPPFLAGS) $(DEFS) -DPART_3 $(CXXFLAGS) -c $< -o $@
178 + $(OBJ_DIR)/compemu4.o: compemu.cpp
179 +        $(CXX) $(CPPFLAGS) $(DEFS) -DPART_4 $(CXXFLAGS) -c $< -o $@
180 + $(OBJ_DIR)/compemu5.o: compemu.cpp
181 +        $(CXX) $(CPPFLAGS) $(DEFS) -DPART_5 $(CXXFLAGS) -c $< -o $@
182 + $(OBJ_DIR)/compemu6.o: compemu.cpp
183 +        $(CXX) $(CPPFLAGS) $(DEFS) -DPART_6 $(CXXFLAGS) -c $< -o $@
184 + $(OBJ_DIR)/compemu7.o: compemu.cpp
185 +        $(CXX) $(CPPFLAGS) $(DEFS) -DPART_7 $(CXXFLAGS) -c $< -o $@
186 + $(OBJ_DIR)/compemu8.o: compemu.cpp
187 +        $(CXX) $(CPPFLAGS) $(DEFS) -DPART_8 $(CXXFLAGS) -c $< -o $@
188 +
189   cpufast.s: cpuemu.cpp $(OBJ_DIR)/cpuopti
190          $(CXX) $(CPPFLAGS) $(DEFS) -S $(CXXFLAGS) $< -o cputmp.s
191          $(OBJ_DIR)/cpuopti <cputmp.s >$@ || mv cputmp.s $@
# Line 167 | Line 223 | cpufast8.s: cpuemu.cpp $(OBJ_DIR)/cpuopt
223          $(OBJ_DIR)/cpuopti <cputmp8.s >$@ || mv cputmp8.s $@
224          rm -f cputmp8.s
225  
226 + cpufast_nf.s: cpuemu.cpp $(OBJ_DIR)/cpuopti
227 +        $(CXX) $(CPPFLAGS) $(DEFS) -DNOFLAGS -S $(CXXFLAGS) $< -o cputmp_nf.s
228 +        $(OBJ_DIR)/cpuopti <cputmp_nf.s >$@ || mv cputmp_nf.s $@
229 +        rm -f cputmp_nf.s
230 + cpufast1_nf.s: cpuemu.cpp $(OBJ_DIR)/cpuopti
231 +        $(CXX) $(CPPFLAGS) $(DEFS) -DPART_1 -DNOFLAGS -S $(CXXFLAGS) $< -o cputmp1_nf.s
232 +        $(OBJ_DIR)/cpuopti <cputmp1_nf.s >$@ || mv cputmp1_nf.s $@
233 +        rm -f cputmp1_nf.s
234 + cpufast2_nf.s: cpuemu.cpp $(OBJ_DIR)/cpuopti
235 +        $(CXX) $(CPPFLAGS) $(DEFS) -DPART_2 -DNOFLAGS -S $(CXXFLAGS) $< -o cputmp2_nf.s
236 +        $(OBJ_DIR)/cpuopti <cputmp2_nf.s >$@ || mv cputmp2_nf.s $@
237 +        rm -f cputmp2_nf.s
238 + cpufast3_nf.s: cpuemu.cpp $(OBJ_DIR)/cpuopti
239 +        $(CXX) $(CPPFLAGS) $(DEFS) -DPART_3 -DNOFLAGS -S $(CXXFLAGS) $< -o cputmp3_nf.s
240 +        $(OBJ_DIR)/cpuopti <cputmp3_nf.s >$@ || mv cputmp3_nf.s $@
241 +        rm -f cputmp3_nf.s
242 + cpufast4_nf.s: cpuemu.cpp $(OBJ_DIR)/cpuopti
243 +        $(CXX) $(CPPFLAGS) $(DEFS) -DPART_4 -DNOFLAGS -S $(CXXFLAGS) $< -o cputmp4_nf.s
244 +        $(OBJ_DIR)/cpuopti <cputmp4_nf.s >$@ || mv cputmp4_nf.s $@
245 +        rm -f cputmp4_nf.s
246 + cpufast5_nf.s: cpuemu.cpp $(OBJ_DIR)/cpuopti
247 +        $(CXX) $(CPPFLAGS) $(DEFS) -DPART_5 -DNOFLAGS -S $(CXXFLAGS) $< -o cputmp5_nf.s
248 +        $(OBJ_DIR)/cpuopti <cputmp5_nf.s >$@ || mv cputmp5_nf.s $@
249 +        rm -f cputmp5_nf.s
250 + cpufast6_nf.s: cpuemu.cpp $(OBJ_DIR)/cpuopti
251 +        $(CXX) $(CPPFLAGS) $(DEFS) -DPART_6 -DNOFLAGS -S $(CXXFLAGS) $< -o cputmp6_nf.s
252 +        $(OBJ_DIR)/cpuopti <cputmp6_nf.s >$@ || mv cputmp6_nf.s $@
253 +        rm -f cputmp6_nf.s
254 + cpufast7_nf.s: cpuemu.cpp $(OBJ_DIR)/cpuopti
255 +        $(CXX) $(CPPFLAGS) $(DEFS) -DPART_7 -DNOFLAGS -S $(CXXFLAGS) $< -o cputmp7_nf.s
256 +        $(OBJ_DIR)/cpuopti <cputmp7_nf.s >$@ || mv cputmp7_nf.s $@
257 +        rm -f cputmp7_nf.s
258 + cpufast8_nf.s: cpuemu.cpp $(OBJ_DIR)/cpuopti
259 +        $(CXX) $(CPPFLAGS) $(DEFS) -DPART_8 -DNOFLAGS -S $(CXXFLAGS) $< -o cputmp8_nf.s
260 +        $(OBJ_DIR)/cpuopti <cputmp8_nf.s >$@ || mv cputmp8_nf.s $@
261 +        rm -f cputmp8_nf.s
262 +
263   #-------------------------------------------------------------------------
264   # DO NOT DELETE THIS LINE -- make depend depends on it.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines