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

Comparing SheepShaver/src/Unix/Makefile.in (file contents):
Revision 1.20 by gbeauche, 2004-11-22T22:23:55Z vs.
Revision 1.26 by gbeauche, 2004-12-21T23:27:11Z

# Line 23 | Line 23 | LDFLAGS = @LDFLAGS@
23   LIBS = @LIBS@
24   SYSSRCS = @SYSSRCS@
25   CPUSRCS = @CPUSRCS@
26 + MONSRCS = @MONSRCS@
27   DYNGENSRCS = @DYNGENSRCS@
28   DYNGEN_CC = @DYNGEN_CC@
29   DYNGEN_OP_FLAGS = @DYNGEN_OP_FLAGS@
# Line 33 | Line 34 | INSTALL = @INSTALL@
34   INSTALL_PROGRAM = @INSTALL_PROGRAM@ -s
35   INSTALL_DATA = @INSTALL_DATA@
36  
37 + # Append disassembler to dyngen, if available
38 + ifneq (:,$(MONSRCS):$(DYNGENSRCS))
39 + DYNGENSRCS += $(filter %i386-dis.c,$(MONSRCS))
40 + endif
41 +
42   ## Files
43   SRCS = main_unix.cpp ../prefs.cpp ../prefs_items.cpp prefs_unix.cpp sys_unix.cpp \
44      ../rom_patches.cpp ../rsrc_patches.cpp ../emul_op.cpp ../name_registry.cpp \
# Line 42 | Line 48 | SRCS = main_unix.cpp ../prefs.cpp ../pre
48      ../serial.cpp ../extfs.cpp \
49      about_window_unix.cpp ../user_strings.cpp user_strings_unix.cpp \
50      vm_alloc.cpp sigsegv.cpp \
51 <    sshpty.c strlcpy.c $(SYSSRCS) $(CPUSRCS)
51 >    sshpty.c strlcpy.c $(SYSSRCS) $(CPUSRCS) $(MONSRCS)
52   APP = SheepShaver
53   APP_EXE = $(APP)$(EXEEXT)
54   APP_APP = $(APP).app
# Line 138 | Line 144 | kpxsrcdir = ../kpx_cpu/src
144   GENEXEC   = $(kpxsrcdir)/cpu/ppc/genexec.pl
145   DYNGEN    = dyngen$(EXEEXT)
146  
141 $(OBJ_DIR)/ppc-execute.o: ppc-execute-impl.cpp
142 ppc-execute-impl.cpp: $(kpxsrcdir)/cpu/ppc/ppc-decode.cpp $(GENEXEC) $(DYNGENDEPS)
143        $(CPP) $(CPPFLAGS) -DGENEXEC $< | $(GENEXEC) > $@
144
147   ifneq ($(DYNGENSRCS),)
148   DYNGENDEPS = basic-dyngen-ops.hpp ppc-dyngen-ops.hpp
149  
148 basic-dyngen-ops.hpp ppc-dyngen-ops.hpp
150   $(DYNGEN): $(DYNGENOBJS)
151          $(CXX) -o $@ $(LDFLAGS) $(DYNGENOBJS)
152  
# Line 164 | Line 165 | ppc-dyngen-ops.hpp: $(OBJ_DIR)/ppc-dynge
165   $(OBJ_DIR)/sheepshaver_glue.o $(OBJ_DIR)/ppc-cpu.o $(OBJ_DIR)/ppc-decode.o $(OBJ_DIR)/ppc-translate.o: basic-dyngen-ops.hpp ppc-dyngen-ops.hpp
166   endif
167  
168 + $(OBJ_DIR)/ppc-execute.o: ppc-execute-impl.cpp
169 + ppc-execute-impl.cpp: $(kpxsrcdir)/cpu/ppc/ppc-decode.cpp $(GENEXEC) $(DYNGENDEPS)
170 +        $(CPP) $(CPPFLAGS) -DGENEXEC $< | $(GENEXEC) > $@
171 +
172 + # PowerPC CPU tester
173 + TESTSRCS_ = mathlib/ieeefp.cpp cpu/ppc/ppc-cpu.cpp cpu/ppc/ppc-decode.cpp cpu/ppc/ppc-execute.cpp cpu/ppc/ppc-translate.cpp test/test-powerpc.cpp $(MONSRCS) vm_alloc.cpp
174 + ifneq ($(DYNGENSRCS),)
175 + TESTSRCS_ += cpu/jit/jit-cache.cpp cpu/jit/basic-dyngen.cpp cpu/ppc/ppc-dyngen.cpp
176 + endif
177 + TESTSRCS  = $(TESTSRCS_:%.cpp=$(kpxsrcdir)/%.cpp)
178 +
179 + define TESTSRCS_LIST_TO_OBJS
180 +        $(addprefix $(OBJ_DIR)/, $(addsuffix .o, $(foreach file, $(TESTSRCS), \
181 +        $(basename $(notdir $(file))))))
182 + endef
183 + TESTOBJS  = $(TESTSRCS_LIST_TO_OBJS)
184 +
185 + $(OBJ_DIR)/test-powerpc.o: $(kpxsrcdir)/test/test-powerpc.cpp
186 +        $(CXX) $(CPPFLAGS) $(DEFS) $(CXXFLAGS) -DEMU_KHEPERIX -c $< -o $@
187 +
188 + test-powerpc$(EXEEXT): $(TESTOBJS)
189 +        $(CXX) -o $@ $(LDFLAGS) $(TESTOBJS) $(LIBS)
190 +
191   #-------------------------------------------------------------------------
192   # DO NOT DELETE THIS LINE -- make depend depends on it.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines