- Timestamp:
- Jul 4, 2008 1:48:28 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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) [email protected] '#endif' 321 326 $(QUIET)$(APPEND) [email protected] '' 322 $(QUIET)$(SED) -f Sun/deftoimp.sed VBoxREM.def>> [email protected]327 $(QUIET)$(SED) -f $(VBOX_PATH_RECOMPILER_SRC)/Sun/deftoimp.sed $< >> [email protected] 323 328 $(QUIET)$(MV) -f [email protected] $@ 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> [email protected]335 $< > [email protected] 331 336 $(MV) -f [email protected] $@ 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 [email protected]; \441 $(CP_EXT) -f $(VBOX_PATH_RECOMPILER_SRC)/Sun/staged-op-elf-$(KBUILD_TARGET_ARCH).S [email protected]; \ 437 442 fi 438 443 else 439 $(CP) Sun/staged-op-elf-$(KBUILD_TARGET_ARCH).S [email protected]440 endif 441 $(SED) -f Sun/op-validate.sed [email protected]444 $(CP) $(VBOX_PATH_RECOMPILER_SRC)/Sun/staged-op-elf-$(KBUILD_TARGET_ARCH).S [email protected] 445 endif 446 $(SED) -f $(VBOX_PATH_RECOMPILER_SRC)/Sun/op-validate.sed [email protected] 442 447 ifeq ($(KBUILD_TARGET),darwin) 443 $(SED) -f Sun/op-darwin.sed [email protected] > [email protected]444 $(SED) -e 's/^\(.*\)$$/#define \1 _\1/' Sun/op-undefined.lst > [email protected]448 $(SED) -f $(VBOX_PATH_RECOMPILER_SRC)/Sun/op-darwin.sed [email protected] > [email protected] 449 $(SED) -e 's/^\(.*\)$$/#define \1 _\1/' $(VBOX_PATH_RECOMPILER_SRC)/Sun/op-undefined.lst > [email protected] 445 450 $(CAT_EXT) [email protected] >> [email protected] 446 451 endif
Note:
See TracChangeset
for help on using the changeset viewer.