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.2 by gbeauche, 2003-01-04T12:23:39Z vs.
Revision 1.9 by gbeauche, 2004-01-18T22:12:24Z

# Line 20 | Line 20 | DEFS = @DEFS@ -D_REENTRANT -DDATADIR=\"$
20   LDFLAGS = @LDFLAGS@
21   LIBS = @LIBS@
22   SYSSRCS = @SYSSRCS@
23 + CPUSRCS = @CPUSRCS@
24 + DYNGENSRCS = @DYNGENSRCS@
25 + DYNGEN_OP_FLAGS = @DYNGEN_OP_FLAGS@
26 + BLESS = @BLESS@
27   INSTALL = @INSTALL@
28   INSTALL_PROGRAM = @INSTALL_PROGRAM@ -s
29   INSTALL_DATA = @INSTALL_DATA@
# Line 29 | Line 33 | SRCS = main_unix.cpp ../prefs.cpp ../pre
33      ../rom_patches.cpp ../rsrc_patches.cpp ../emul_op.cpp ../name_registry.cpp \
34      ../macos_util.cpp ../timer.cpp timer_unix.cpp ../xpram.cpp xpram_unix.cpp \
35      ../adb.cpp clip_unix.cpp ../sony.cpp ../disk.cpp ../cdrom.cpp ../scsi.cpp \
36 <    Linux/scsi_linux.cpp ../video.cpp video_x.cpp ../audio.cpp audio_oss_esd.cpp ../ether.cpp \
37 <    Linux/ether_linux.cpp ../serial.cpp serial_unix.cpp ../extfs.cpp extfs_unix.cpp \
36 >    ../video.cpp video_blit.cpp video_x.cpp ../audio.cpp ../ether.cpp ../thunks.cpp \
37 >    ../serial.cpp ../extfs.cpp extfs_unix.cpp \
38      about_window_unix.cpp ../user_strings.cpp user_strings_unix.cpp \
39 <    sshpty.c strlcpy.c $(SYSSRCS)
39 >    vm_alloc.cpp sigsegv.cpp \
40 >    sshpty.c strlcpy.c $(SYSSRCS) $(CPUSRCS)
41   APP = SheepShaver
42  
43   ## Rules
# Line 52 | Line 57 | define SRCS_LIST_TO_OBJS
57   endef
58   OBJS = $(SRCS_LIST_TO_OBJS)
59  
60 + define DYNGENSRCS_LIST_TO_OBJS
61 +        $(addprefix $(OBJ_DIR)/, $(addsuffix .o, $(foreach file, $(DYNGENSRCS), \
62 +        $(basename $(notdir $(file))))))
63 + endef
64 + DYNGENOBJS = $(DYNGENSRCS_LIST_TO_OBJS)
65 +
66   SRC_PATHS += $(sort $(foreach file, $(SRCS), $(dir $(file))))
67   VPATH :=
68   VPATH += $(addprefix :, $(subst  ,:, $(filter-out $($(subst, :, ,$(VPATH))), $(SRC_PATHS))))
69  
70   $(APP): $(OBJ_DIR) $(OBJS)
71          $(CXX) -o $(APP) $(LDFLAGS) $(OBJS) $(LIBS)
72 +        $(BLESS) $(APP)
73  
74   modules:
75          cd NetDriver; make
# Line 74 | Line 86 | uninstall:
86          rm -f $(man1dir)/$(APP).1
87  
88   clean:
89 <        rm -f $(APP) $(OBJ_DIR)/* core* *.core *~ *.bak
89 >        rm -f $(APP) $(OBJ_DIR)/* core* *.core *~ *.bak ppc-execute-impl.cpp
90 >        rm -f dyngen basic-dyngen-ops.hpp ppc-dyngen-ops.hpp
91  
92   distclean: clean
93          rm -rf $(OBJ_DIR)
# Line 93 | Line 106 | $(OBJ_DIR)/%.o : %.S
106          $(AS) $(ASFLAGS) -o $@ $*.s
107          rm $*.s
108  
109 + # Kheperix CPU emulator
110 + GENEXEC = ../kpx_cpu/src/cpu/ppc/genexec.pl
111 +
112 + $(OBJ_DIR)/ppc-execute.o: ppc-execute-impl.cpp
113 + ppc-execute-impl.cpp: ../kpx_cpu/src/cpu/ppc/ppc-decode.cpp $(GENEXEC)
114 +        $(CPP) $(CPPFLAGS) -DGENEXEC $< | $(GENEXEC) > $@
115 +
116 + dyngen: $(DYNGENOBJS)
117 +        $(CXX) -o $@ $(LDFLAGS) $(DYNGENOBJS)
118 +
119 + $(OBJ_DIR)/basic-dyngen.o: basic-dyngen-ops.hpp
120 + $(OBJ_DIR)/basic-dyngen-ops.o: ../kpx_cpu/src/cpu/jit/basic-dyngen-ops.cpp
121 +        $(CXX) $(CPPFLAGS) $(DEFS) $(CXXFLAGS) $(DYNGEN_OP_FLAGS) -c $< -o $@
122 + basic-dyngen-ops.hpp: $(OBJ_DIR)/basic-dyngen-ops.o dyngen
123 +        ./dyngen -o $@ $<
124 +
125 + $(OBJ_DIR)/ppc-dyngen.o: ppc-dyngen-ops.hpp
126 + $(OBJ_DIR)/ppc-dyngen-ops.o: ../kpx_cpu/src/cpu/ppc/ppc-dyngen-ops.cpp
127 +        $(CXX) $(CPPFLAGS) $(DEFS) $(CXXFLAGS) $(DYNGEN_OP_FLAGS) -c $< -o $@
128 + ppc-dyngen-ops.hpp: $(OBJ_DIR)/ppc-dyngen-ops.o dyngen
129 +        ./dyngen -o $@ $<
130 +
131   #-------------------------------------------------------------------------
132   # DO NOT DELETE THIS LINE -- make depend depends on it.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines