Changeset 10185
- Timestamp:
- 07/04/08 03:48:28 (2 months ago)
- Files:
-
- trunk/src/recompiler/Makefile.kmk (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/src/recompiler/Makefile.kmk
r10184 r10185 53 53 $(PATH_$(REM_MOD))/gen-op.h \ 54 54 $(PATH_$(REM_MOD))/opc.h 55 56 # 57 # Globals 58 # 59 VBOX_PATH_RECOMPILER_SRC := $(PATH_SUB_CURRENT) 55 60 56 61 … … 311 316 VBoxREMImp_LDFLAGS.l4 = -T$(L4_LIBDIR)/../main_rel.ld -nostdlib 312 317 313 $(PATH_TARGET)/VBoxREMImp.c: VBoxREM.defSun/deftoimp.sed Makefile.kmk | $(call DIRDEP,$(PATH_TARGET))318 $(PATH_TARGET)/VBoxREMImp.c: $(VBOX_PATH_RECOMPILER_SRC)/VBoxREM.def $(VBOX_PATH_RECOMPILER_SRC)/Sun/deftoimp.sed Makefile.kmk | $(call DIRDEP,$(PATH_TARGET)) 314 319 $(call MSG_GENERATE,,$@) 315 320 $(QUIET)$(MKDIR) -p $(PATH_TARGET) … … 320 325 $(QUIET)$(APPEND) $@.tmp '#endif' 321 326 $(QUIET)$(APPEND) $@.tmp '' 322 $(QUIET)$(SED) -f Sun/deftoimp.sed VBoxREM.def>> $@.tmp327 $(QUIET)$(SED) -f $(VBOX_PATH_RECOMPILER_SRC)/Sun/deftoimp.sed $< >> $@.tmp 323 328 $(QUIET)$(MV) -f $@.tmp $@ 324 329 325 $(VBoxREMImp_SOURCES.os2): VBoxREM.def $(MAKEFILE) | $(call DIRDEP,$(PATH_TARGET))330 $(VBoxREMImp_SOURCES.os2): $(VBOX_PATH_RECOMPILER_SRC)/VBoxREM.def $(MAKEFILE) | $(call DIRDEP,$(PATH_TARGET)) 326 331 $(SED) \ 327 332 -e 's/^[ \t][ \t]*REMR3/ _REMR3/' \ 328 333 -e 's/\.[Dd][Ll][Ll]//' \ 329 334 -e 's/^LIBRARY .*/LIBRARY VBoxREM INITINSTANCE TERMINSTANCE\nDATA MULTIPLE\n/' \ 330 VBoxREM.def> $@.tmp335 $< > $@.tmp 331 336 $(MV) -f $@.tmp $@ 332 337 … … 413 418 # The rule. 414 419 $(PATH_$(REM_MOD))/op.S: \ 415 target-i386/op.c \416 Sun/staged-op-elf-$(KBUILD_TARGET_ARCH).S \417 Sun/op-validate.sed \418 Sun/op-darwin.sed \419 Sun/op-undefined.lst \420 Makefile.kmk \420 $(VBOX_PATH_RECOMPILER_SRC)/target-i386/op.c \ 421 $(VBOX_PATH_RECOMPILER_SRC)/Sun/staged-op-elf-$(KBUILD_TARGET_ARCH).S \ 422 $(VBOX_PATH_RECOMPILER_SRC)/Sun/op-validate.sed \ 423 $(VBOX_PATH_RECOMPILER_SRC)/Sun/op-darwin.sed \ 424 $(VBOX_PATH_RECOMPILER_SRC)/Sun/op-undefined.lst \ 425 $(VBOX_PATH_RECOMPILER_SRC)/Makefile.kmk \ 421 426 $(comp-cmds COMPILE_OP_CMDS,COMPILE_OP_CMDS_PREV,FORCE) \ 422 427 | $(call DIRDEP,$(PATH_$(REM_MOD))) … … 434 439 else \ 435 440 $(ECHO_EXT) "Using staged op.S [gcc v$${major_ver}.$${minor_ver}.$${bugfix_ver}]" && \ 436 $(CP_EXT) -f Sun/staged-op-elf-$(KBUILD_TARGET_ARCH).S $@.tmp; \441 $(CP_EXT) -f $(VBOX_PATH_RECOMPILER_SRC)/Sun/staged-op-elf-$(KBUILD_TARGET_ARCH).S $@.tmp; \ 437 442 fi 438 443 else 439 $(CP) Sun/staged-op-elf-$(KBUILD_TARGET_ARCH).S $@.tmp440 endif 441 $(SED) -f Sun/op-validate.sed $@.tmp444 $(CP) $(VBOX_PATH_RECOMPILER_SRC)/Sun/staged-op-elf-$(KBUILD_TARGET_ARCH).S $@.tmp 445 endif 446 $(SED) -f $(VBOX_PATH_RECOMPILER_SRC)/Sun/op-validate.sed $@.tmp 442 447 ifeq ($(KBUILD_TARGET),darwin) 443 $(SED) -f Sun/op-darwin.sed $@.tmp > $@.tmp2444 $(SED) -e 's/^\(.*\)$$/#define \1 _\1/' Sun/op-undefined.lst > $@.tmp448 $(SED) -f $(VBOX_PATH_RECOMPILER_SRC)/Sun/op-darwin.sed $@.tmp > $@.tmp2 449 $(SED) -e 's/^\(.*\)$$/#define \1 _\1/' $(VBOX_PATH_RECOMPILER_SRC)/Sun/op-undefined.lst > $@.tmp 445 450 $(CAT_EXT) $@.tmp2 >> $@.tmp 446 451 endif

