VirtualBox

Changeset 10184

Show
Ignore:
Timestamp:
07/04/08 03:36:21 (5 months ago)
Author:
vboxsync
Message:

Converted to sub-makefile.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/recompiler/Makefile.kmk

    r9561 r10184  
    11# $Id$ 
    22## @file 
    3 # The Recompiler Makefile. 
     3# The Recompiler Sub-Makefile. 
    44# 
    55# There are a few of complicating factors here, esp. on AMD64 systems: 
     
    3434 
    3535 
    36 DEPTH = ../.. 
    37 include $(KBUILD_PATH)/header.kmk 
    38  
    39  
    40 BLDPROGS              = dyngen 
     36SUB_DEPTH = ../.. 
     37include $(KBUILD_PATH)/subheader.kmk 
     38 
     39 
     40BLDPROGS             += dyngen 
    4141ifneq ($(or $(eq $(KBUILD_TARGET_ARCH),amd64) , $(VBOX_TARGET_MAC_OS_X_VERSION_10_5)),) 
    42  SYSMODS              = VBoxREM2 
    43  REM_MOD              = VBoxREM2 
     42 SYSMODS             += VBoxREM2 
     43 REM_MOD             += VBoxREM2 
    4444else 
    45  REM_MOD              = VBoxREM 
    46 endif 
    47 DLLS                  = VBoxREM 
    48 IMPORT_LIBS          = VBoxREMImp 
    49  
    50 OTHER_CLEAN          = \ 
     45 REM_MOD             += VBoxREM 
     46endif 
     47DLLS                 += VBoxREM 
     48IMPORT_LIBS          += VBoxREMImp 
     49 
     50OTHER_CLEAN          += \ 
    5151        $(PATH_$(REM_MOD))/op.h \ 
    5252        $(PATH_$(REM_MOD))/opc.h \ 
     
    5454        $(PATH_$(REM_MOD))/opc.h 
    5555 
    56 DEFS += REM_PHYS_ADDR_IN_TLB 
    5756 
    5857# 
     
    8382 dyngen_TEMPLATE      = VBOXBLDPROG 
    8483endif 
     84dyngen_DEFS          += REM_PHYS_ADDR_IN_TLB 
    8585ifeq ($(KBUILD_TARGET_ARCH),amd64) 
    8686 dyngen_DEFS         += HOST_X86_64=1 
    8787endif 
    8888dyngen_CFLAGS        += -Wno-missing-prototypes -Wno-missing-declarations 
    89 dyngen_INCS          := \ 
     89dyngen_INCS          = \ 
    9090        Sun \ 
    9191        target-i386 \ 
    9292        fpu \ 
    93         $(PATH_SUB_CURRENT) 
     93        . 
    9494dyngen_SOURCES        = dyngen.c 
    9595 
     
    9999# 
    100100$(REM_MOD)_DEFS             = IN_REM_R3 REM_INCLUDE_CPU_H 
     101$(REM_MOD)_DEFS            += REM_PHYS_ADDR_IN_TLB 
    101102#$(REM_MOD)_DEFS          += DEBUG_ALL_LOGGING DEBUG_DISAS DEBUG_PCALL DEBUG_EXEC DEBUG_FLUSH DEBUG_IOPORT DEBUG_SIGNAL DEBUG_TLB_CHECK DEBUG_TB_INVALIDATE DEBUG_TLB  # Enables huge amounts of debug logging. 
    102103 
     
    108109        $(PATH_$(REM_MOD)) \ 
    109110        $(PATH_ROOT)/src/VBox/VMM \ 
    110         $(PATH_CURRENT) 
     111        . 
    111112 
    112113$(REM_MOD)_SOURCES          = \ 
     
    237238 
    238239 
     240translate-all.c_DEPS = \ 
     241        $(PATH_$(REM_MOD))/op.h \ 
     242        $(PATH_$(REM_MOD))/opc.h \ 
     243        $(PATH_$(REM_MOD))/gen-op.h 
     244translate-op.c_DEPS = $(translate-all.c_INTERMEDIATES) 
     245target-i386/translate.c_DEPS = $(translate-all.c_INTERMEDIATES) 
     246 
     247 
    239248# 
    240249# The math testcase as a standalone program for testing and debugging purposes. 
     
    324333 
    325334 
    326 include $(KBUILD_PATH)/footer.kmk 
     335include $(KBUILD_PATH)/subfooter.kmk 
    327336 
    328337 
     
    466475        $(QUIET)$(DYNGEN_EXEC) -g -o $@ $< 
    467476 
    468 # Dyngen dependants (sp?). 
    469 translate-all.c \ 
    470 translate-op.c \ 
    471 target-i386/translate.c \ 
    472         : $(PATH_$(REM_MOD))/op.h $(PATH_$(REM_MOD))/opc.h $(PATH_$(REM_MOD))/gen-op.h 
    473  
    474477 
    475478# Some aliases 

© 2008 Sun Microsystems, Inc.
ContactPrivacy policy