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

Comparing BasiliskII/src/MacOSX/Makefile.in (file contents):
Revision 1.3 by nigel, 2002-03-16T09:09:19Z vs.
Revision 1.4 by nigel, 2002-03-16T11:50:45Z

# Line 16 | Line 16 | LIBS = @LIBS@
16  
17   ## Files
18   OBJ_DIR = build
19 < GENSRCS = user_strings_unix.h cpudefs.cpp cpuemu.cpp cpustbl.cpp cputbl.h \
20 <          README.txt
19 > GENSRCS = cpudefs.cpp cpuemu.cpp cpustbl.cpp cputbl.h
20 >
21 > # Wrappers which split the very large cpuemu.cpp into smaller compile units
22 > GENEMUS = cpuemu1.cpp cpuemu2.cpp cpuemu3.cpp cpuemu4.cpp \
23 >          cpuemu5.cpp cpuemu6.cpp cpuemu7.cpp cpuemu8.cpp
24 >
25 > # Symlinks to files in other directories
26 > GENLINK = README.txt acconfig.h install-sh \
27 >          config.guess config.sub user_strings_unix.h
28 >
29 > GEN  = $(GENEMUS) $(GENSRCS) $(GENLINK)
30 >
31   SRCS =  BasiliskII.icns Controller.h Controller.mm Credits.html \
32          Emulator.h Emulator.mm EmulatorView.h EmulatorView.mm English.lproj \
33          NNThread.h NNThread.m PrefsEditor.h PrefsEditor.mm \
# Line 35 | Line 45 | APP = $(OBJ_DIR)/BasiliskII.app
45  
46   all: $(APP)
47  
48 < ide: $(OBJ_DIR) $(GENSRCS) $(SRCS)
48 > ide: $(OBJ_DIR) $(GEN) $(SRCS)
49          open BasiliskII.pbproj
50  
51   test: $(APP)
# Line 49 | Line 59 | $(APP): $(OBJ_DIR) $(GENSRCS) $(SRCS)
59          pbxbuild -buildstyle Deployment
60   #       pbxbuild
61  
52 README.txt : ../../README
53        ln -s $< $@
54
55 user_strings_unix.h : ../Unix/user_strings_unix.h
56        ln -s $< $@
57
62   BasiliskII.icns :
63          touch $@
64  
# Line 62 | Line 66 | mostlyclean:
66          rm -fr English.lproj/*~* $(OBJ_DIR)/* core* *.core *~ *.bak
67  
68   clean: mostlyclean
69 <        rm -f $(GENSRCS)
69 >        rm -f $(GEN)
70          rm -f cpudefs.cpp cputmp*.s cpufast*.s cpustbl.cpp
71  
72   distclean: clean
# Line 103 | Line 107 | cpuemu.cpp cpustbl.cpp cputbl.h: $(OBJ_D
107          $<
108  
109  
106 $(OBJ_DIR)/cpuemu1.o: cpuemu.cpp
107        $(CXX) $(CPPFLAGS) $(DEFS) -DPART_1 $(CXXFLAGS) -c $< -o $@
108 $(OBJ_DIR)/cpuemu2.o: cpuemu.cpp
109        $(CXX) $(CPPFLAGS) $(DEFS) -DPART_2 $(CXXFLAGS) -c $< -o $@
110 $(OBJ_DIR)/cpuemu3.o: cpuemu.cpp
111        $(CXX) $(CPPFLAGS) $(DEFS) -DPART_3 $(CXXFLAGS) -c $< -o $@
112 $(OBJ_DIR)/cpuemu4.o: cpuemu.cpp
113        $(CXX) $(CPPFLAGS) $(DEFS) -DPART_4 $(CXXFLAGS) -c $< -o $@
114 $(OBJ_DIR)/cpuemu5.o: cpuemu.cpp
115        $(CXX) $(CPPFLAGS) $(DEFS) -DPART_5 $(CXXFLAGS) -c $< -o $@
116 $(OBJ_DIR)/cpuemu6.o: cpuemu.cpp
117        $(CXX) $(CPPFLAGS) $(DEFS) -DPART_6 $(CXXFLAGS) -c $< -o $@
118 $(OBJ_DIR)/cpuemu7.o: cpuemu.cpp
119        $(CXX) $(CPPFLAGS) $(DEFS) -DPART_7 $(CXXFLAGS) -c $< -o $@
120 $(OBJ_DIR)/cpuemu8.o: cpuemu.cpp
121        $(CXX) $(CPPFLAGS) $(DEFS) -DPART_8 $(CXXFLAGS) -c $< -o $@
122
110   cpuemu1.cpp: cpuemu.cpp
111 <        $(CXX) -E -DPART_1 $< >$@
111 >        echo '#define PART_1' > $@
112 >        echo '#include "$<"' >> $@
113   cpuemu2.cpp: cpuemu.cpp
114 <        $(CXX) -E -DPART_2 $< >$@
114 >        echo '#define PART_2' > $@
115 >        echo '#include "$<"' >> $@
116   cpuemu3.cpp: cpuemu.cpp
117 <        $(CXX) -E -DPART_3 $< >$@
117 >        echo '#define PART_3' > $@
118 >        echo '#include "$<"' >> $@
119   cpuemu4.cpp: cpuemu.cpp
120 <        $(CXX) -E -DPART_4 $< >$@
120 >        echo '#define PART_4' > $@
121 >        echo '#include "$<"' >> $@
122   cpuemu5.cpp: cpuemu.cpp
123 <        $(CXX) -E -DPART_5 $< >$@
123 >        echo '#define PART_5' > $@
124 >        echo '#include "$<"' >> $@
125   cpuemu6.cpp: cpuemu.cpp
126 <        $(CXX) -E -DPART_6 $< >$@
126 >        echo '#define PART_6' > $@
127 >        echo '#include "$<"' >> $@
128   cpuemu7.cpp: cpuemu.cpp
129 <        $(CXX) -E -DPART_7 $< >$@
129 >        echo '#define PART_7' > $@
130 >        echo '#include "$<"' >> $@
131   cpuemu8.cpp: cpuemu.cpp
132 <        $(CXX) -E -DPART_8 $< >$@
132 >        echo '#define PART_8' > $@
133 >        echo '#include "$<"' >> $@
134 >
135 > #cpuemu1.cpp: cpuemu.cpp
136 > #       $(CXX) $(CPPFLAGS) $(DEFS) -DPART_1 -E $< > $@
137 > #cpuemu2.cpp: cpuemu.cpp
138 > #       $(CXX) $(CPPFLAGS) $(DEFS) -DPART_2 -E $< > $@
139 > #cpuemu3.cpp: cpuemu.cpp
140 > #       $(CXX) $(CPPFLAGS) $(DEFS) -DPART_3 -E $< > $@
141 > #cpuemu4.cpp: cpuemu.cpp
142 > #       $(CXX) $(CPPFLAGS) $(DEFS) -DPART_4 -E $< > $@
143 > #cpuemu5.cpp: cpuemu.cpp
144 > #       $(CXX) $(CPPFLAGS) $(DEFS) -DPART_5 -E $< > $@
145 > #cpuemu6.cpp: cpuemu.cpp
146 > #       $(CXX) $(CPPFLAGS) $(DEFS) -DPART_6 -E $< > $@
147 > #cpuemu7.cpp: cpuemu.cpp
148 > #       $(CXX) $(CPPFLAGS) $(DEFS) -DPART_7 -E $< > $@
149 > #cpuemu8.cpp: cpuemu.cpp
150 > #       $(CXX) $(CPPFLAGS) $(DEFS) -DPART_8 -E $< > $@
151  
152  
153   cpufast.s: cpuemu.cpp $(OBJ_DIR)/cpuopti

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines