VirtualBox

忽略:
時間撮記:
2009-1-27 下午08:52:29 (16 年 以前)
作者:
vboxsync
訊息:

GuestHost/OpenGL/Makefile.kmk: review and some style adjustments.

檔案:
修改 1 筆資料

圖例:

未更動
新增
刪除
  • trunk/src/VBox/GuestHost/OpenGL/Makefile.kmk

    r16242 r16274  
    2323include $(KBUILD_PATH)/subheader.kmk
    2424
    25 if1of ($(KBUILD_HOST), win)
    26 VBOX_CROGL_GUEST_HOST_PYTHONPATH := $(VBOX_PATH_CROGL_GLAPI);$(PATH_ROOT)/src/VBox/GuestHost/OpenGL/packer;$(PATH_ROOT)/src/VBox/HostServices/SharedOpenGL/crserverlib
    27 else
    28 VBOX_CROGL_GUEST_HOST_PYTHONPATH := $(VBOX_PATH_CROGL_GLAPI):$(PATH_ROOT)/src/VBox/GuestHost/OpenGL/packer:$(PATH_ROOT)/src/VBox/HostServices/SharedOpenGL/crserverlib
    29 endif
    30 
     25
     26#
     27# Target lists.
     28#
    3129BLDDIRS += \
    3230        $(VBOX_PATH_CROGL_GENFILES)/ \
     
    3432
    3533ifdef VBOX_WITH_ADDITIONS
    36 DLLS      += VBoxOGLcrutil
    37 DLLS      += VBoxOGLerrorspu
    38 LIBRARIES += VBoxOGLcrpacker
    39 LIBRARIES += VBoxOGLspuload
    40 LIBRARIES += VBoxOGLcrstate
     34 DLLS      += VBoxOGLcrutil VBoxOGLerrorspu
     35 LIBRARIES += VBoxOGLcrpacker VBoxOGLspuload VBoxOGLcrstate
    4136endif
    4237
    4338ifndef VBOX_ONLY_ADDITIONS
    44 DLLS      += VBoxOGLhostcrutil
    45 DLLS      += VBoxOGLhosterrorspu
    46 LIBRARIES += VBoxOGLhostcrpacker
    47 LIBRARIES += VBoxOGLhostspuload
    48 LIBRARIES += VBoxOGLhostcrstate
    49 endif
    50 
     39 DLLS      += VBoxOGLhostcrutil VBoxOGLhosterrorspu
     40 LIBRARIES += VBoxOGLhostcrpacker VBoxOGLhostspuload VBoxOGLhostcrstate
     41endif
     42
     43
     44#
     45# Globals
     46#
     47if1of ($(KBUILD_HOST), win)
     48 VBOX_CROGL_GUEST_HOST_PYTHONPATH := $(VBOX_PATH_CROGL_GLAPI);$(PATH_ROOT)/src/VBox/GuestHost/OpenGL/packer;$(PATH_ROOT)/src/VBox/HostServices/SharedOpenGL/crserverlib
     49else
     50 VBOX_CROGL_GUEST_HOST_PYTHONPATH := $(VBOX_PATH_CROGL_GLAPI):$(PATH_ROOT)/src/VBox/GuestHost/OpenGL/packer:$(PATH_ROOT)/src/VBox/HostServices/SharedOpenGL/crserverlib
     51endif
     52
     53
     54#
     55# OpenGL templates.
     56#
     57## @todo r=bird: Most of the keywords are overridden here... check each and why. r42044 fixed did the wrong fix it seems - the cyclic refs were backres to the super class.
    5158## VBOXCROGLR3HOST ##
    5259TEMPLATE_VBOXCROGLR3HOST                = VBox OpenGL Host DLLs/Libraries
     
    8087TEMPLATE_VBOXCROGLR3GUESTLIB_INST    = $(INST_ADDITIONS_LIB)
    8188
     89
    8290#
    8391# VBoxOGLcrutil
    8492#
    85 
    8693VBoxOGLcrutil_TEMPLATE      = VBOXCROGLR3GUESTDLL
    8794VBoxOGLcrutil_SDKS.win      = DXSDK
    8895VBoxOGLcrutil_INTERMEDIATES = $(VBOX_PATH_CROGL_GENFILES)/cr_opcodes.h
    8996VBoxOGLcrutil_SOURCES       = \
    90         bbox.c \
    91         bufpool.c \
    92         calllists.c \
    93         devnull.c \
    94         dll.c \
    95         endian.c \
    96         environment.c \
    97         error.c \
    98         filenet.c \
    99         hash.c \
    100         hull.c \
    101         list.c \
    102         matrix.c \
    103         mem.c \
    104         net.c \
    105         pixel.c \
    106         process.c \
    107         rand.c \
    108         string.c \
    109         threads.c \
    110         tcpip.c \
    111         udptcpip.c \
    112         timer.c \
    113         url.c \
    114         warp.c \
    115         vboxhgcm.c
    116 VBoxOGLcrutil_SOURCES    := $(addprefix util/, $(VBoxOGLcrutil_SOURCES)) $(VBOX_PATH_CROGL_GENFILES)/debug_opcodes.c
    117 VBoxOGLcrutil_SOURCES.win.x86 = util/util.def
    118 VBoxOGLcrutil_CLEAN      := $(VBOX_PATH_CROGL_GENFILES)/debug_opcodes.c
    119 VBoxOGLcrutil_LIBS.win    = \
     97        util/bbox.c \
     98        util/bufpool.c \
     99        util/calllists.c \
     100        util/devnull.c \
     101        util/dll.c \
     102        util/endian.c \
     103        util/environment.c \
     104        util/error.c \
     105        util/filenet.c \
     106        util/hash.c \
     107        util/hull.c \
     108        util/list.c \
     109        util/matrix.c \
     110        util/mem.c \
     111        util/net.c \
     112        util/pixel.c \
     113        util/process.c \
     114        util/rand.c \
     115        util/string.c \
     116        util/threads.c \
     117        util/tcpip.c \
     118        util/udptcpip.c \
     119        util/timer.c \
     120        util/url.c \
     121        util/warp.c \
     122        util/vboxhgcm.c \
     123        $(VBOX_PATH_CROGL_GENFILES)/debug_opcodes.c
     124VBoxOGLcrutil_SOURCES.win.x86 = \
     125        util/util.def
     126VBoxOGLcrutil_LIBS.win = \
    120127        $(PATH_SDK_DXSDK_LIB)/ddraw.lib \
    121128        $(PATH_SDK_DXSDK_LIB)/dxguid.lib
     129VBoxOGLcrutil_CLEAN = \
     130        $(VBOX_PATH_CROGL_GENFILES)/debug_opcodes.c
    122131
    123132# vc7 hangs during compilation of this file when optimizations are enabled.
     
    125134VBoxOGLhostcrutil_pixel.c_CFLAGS.win.x86 += -Od
    126135
     136#
     137# VBoxOGLhostcrutil
     138#
     139VBoxOGLhostcrutil_EXTENDS  = VBoxOGLcrutil
    127140VBoxOGLhostcrutil_TEMPLATE = VBOXCROGLR3HOST
    128 VBoxOGLhostcrutil_EXTENDS = VBoxOGLcrutil
    129 VBoxOGLhostcrutil_INTERMEDIATES = $(VBoxOGLcrutil_INTERMEDIATES)
    130 VBoxOGLhostcrutil_LDFLAGS.darwin += $(VBoxOGLcrutil_LDFLAGS.darwin) -install_name $(VBOX_DYLD_EXECUTABLE_PATH)/VBoxOGLhostcrutil.dylib -current_version $(VBOX_VERSION_MAJOR).$(VBOX_VERSION_MINOR).$(VBOX_VERSION_BUILD)
    131 # hostcrutil_NAME = crutil - possible, but it creates conflicting library files in PATH_LIB.
     141## @todo kBuild: Check this.
     142VBoxOGLhostcrutil_INTERMEDIATES  = $(VBoxOGLcrutil_INTERMEDIATES)
     143VBoxOGLhostcrutil_LDFLAGS.darwin = $(VBoxOGLcrutil_LDFLAGS.darwin) \
     144        -install_name $(VBOX_DYLD_EXECUTABLE_PATH)/VBoxOGLhostcrutil.dylib \
     145        -current_version $(VBOX_VERSION_MAJOR).$(VBOX_VERSION_MINOR).$(VBOX_VERSION_BUILD)
    132146## @todo kBuild bug, possibly same as ticket #51: PATH_SDK_DXSDK_LIB is expanded too early.
    133147# Update. bug 51 was fixed.
    134148# Still fails as PATH_SDK_DXSDK_LIB is empty.
    135 VBoxOGLhostcrutil_LIBS    += $(LIB_RUNTIME)
     149## @todo kBuild: recheck this (note to self).
    136150VBoxOGLhostcrutil_LIBS.win = $(VBoxOGLcrutil_LIBS.win)
    137 
     151VBoxOGLhostcrutil_LIBS     = $(LIB_RUNTIME)
     152
     153#
     154# Generate files for VBoxOGLcrutil and VBoxOGLhostcrutil.
     155#
    138156$(VBOX_PATH_CROGL_GENFILES)/debug_opcodes.c: $(PATH_SUB_CURRENT)/util/debug_opcodes.py $(VBOX_CROGL_API_FILES) | $$(dir $$@)
    139157        $(call VBOX_CROGL_PYTHON_ENV,$(VBOX_CROGL_GUEST_HOST_PYTHONPATH),$@) $(VBOX_BLD_PYTHON) $< $(VBOX_PATH_CROGL_GLAPI)
    140158
     159
    141160#
    142161# VBoxOGLcrpacker
    143162#
    144 
    145 VBoxOGLcrpacker_TEMPLATE       = VBOXCROGLR3GUESTLIB
    146 VBoxOGLcrpacker_INCS          := $(PATH_SUB_CURRENT)/packer
    147 VBoxOGLcrpacker_SOURCES       := \
     163VBoxOGLcrpacker_TEMPLATE = VBOXCROGLR3GUESTLIB
     164VBoxOGLcrpacker_INCS = \
     165        packer
     166VBoxOGLcrpacker_INTERMEDIATES = \
     167        $(VBOX_PATH_CROGL_GENFILES)/cr_packfunctions.h \
     168        $(VBOX_PATH_CROGL_GENFILES)/cr_opcodes.h \
     169        $(VBOX_PATH_CROGL_GENFILES)/state/cr_currentpointers.h \
     170        $(VBOX_PATH_CROGL_GENFILES)/spu_dispatch_table.h
     171VBoxOGLcrpacker_SOURCES = \
    148172        packer/pack_arrays.c \
    149173        packer/pack_beginend.c \
     
    196220        $(VBOX_PATH_CROGL_GENFILES)/pack_current.c \
    197221        $(VBOX_PATH_CROGL_GENFILES)/packer.c
    198 VBoxOGLcrpacker_INTERMEDIATES := \
    199         $(VBOX_PATH_CROGL_GENFILES)/cr_packfunctions.h \
    200         $(VBOX_PATH_CROGL_GENFILES)/cr_opcodes.h \
    201         $(VBOX_PATH_CROGL_GENFILES)/state/cr_currentpointers.h \
    202         $(VBOX_PATH_CROGL_GENFILES)/spu_dispatch_table.h
    203 VBoxOGLcrpacker_CLEAN         := \
     222VBoxOGLcrpacker_CLEAN = \
    204223        $(VBOX_PATH_CROGL_GENFILES)/pack_arrays_swap.c \
    205224        $(VBOX_PATH_CROGL_GENFILES)/pack_bounds_swap.c \
     
    223242        $(VBOX_PATH_CROGL_GENFILES)/cr_opcodes.h \
    224243        $(VBOX_PATH_CROGL_GENFILES)/state/cr_currentpointers.h
    225 VBoxOGLcrpacker_LIBS.win       = $(PATH_OBJ)/VBoxOGLcrutil/VBoxOGLcrutil$(VBOX_SUFF_LIB)
    226 if1of ($(KBUILD_TARGET), linux solaris darwin)
     244VBoxOGLcrpacker_LIBS.win = $(PATH_OBJ)/VBoxOGLcrutil/VBoxOGLcrutil$(VBOX_SUFF_LIB)
     245if1of ($(KBUILD_TARGET), darwin linux solaris)
    227246 VBoxOGLcrpacker_LIBS = $(VBOX_PATH_ADDITIONS)/VBoxOGLcrutil$(VBOX_SUFF_DLL)
    228247endif
    229248
     249#
     250# VBoxOGLhostcrpacker
     251#
     252VBoxOGLhostcrpacker_EXTENDS  = VBoxOGLcrpacker
    230253VBoxOGLhostcrpacker_TEMPLATE = VBOXCROGLR3HOST
    231 VBoxOGLhostcrpacker_EXTENDS  = VBoxOGLcrpacker
    232254VBoxOGLhostcrpacker_INTERMEDIATES = $(VBoxOGLcrpacker_INTERMEDIATES)
    233255VBoxOGLhostcrpacker_LIBS.win = $(PATH_OBJ)/VBoxOGLhostcrutil/VBoxOGLhostcrutil$(VBOX_SUFF_LIB)
     256## @todo r=bird: this is used by all VBOXCROGLR3HOST users execpt VBoxOGLhostcrutil. Any reason why it's not using it? If not, then move it to the template.
    234257VBoxOGLhostcrpacker_LDFLAGS.linux += -Wl,--no-as-needed
    235258if1of ($(KBUILD_TARGET), linux solaris darwin)
    236  VBoxOGLhostcrpacker_LIBS    = $(PATH_BIN)/VBoxOGLhostcrutil$(VBOX_SUFF_DLL)
    237 endif
    238 
     259 VBoxOGLhostcrpacker_LIBS = $(PATH_BIN)/VBoxOGLhostcrutil$(VBOX_SUFF_DLL)
     260endif
     261
     262#
     263# Generate files for VBoxOGLcrpacker and VBoxOGLhostcrpacker.
     264#
    239265$(VBOX_PATH_CROGL_GENFILES)/packer.def: $(PATH_SUB_CURRENT)/packer/packer_defs.py $(VBOX_CROGL_API_FILES) | $$(dir $$@)
    240266        $(call VBOX_CROGL_PYTHON_ENV,$(VBOX_CROGL_GUEST_HOST_PYTHONPATH),$@) $(VBOX_BLD_PYTHON) $< $(VBOX_PATH_CROGL_GLAPI)
     
    261287        $(call VBOX_CROGL_PYTHON_ENV,$(VBOX_CROGL_GUEST_HOST_PYTHONPATH),$@) $(VBOX_BLD_PYTHON) $(<D)/pack_swap.py $<
    262288
     289
    263290#
    264291# VBoxOGLspuload
    265292#
    266 
    267 VBoxOGLspuload_TEMPLATE   = VBOXCROGLR3GUESTLIB
    268 VBoxOGLspuload_SOURCES    = \
     293VBoxOGLspuload_TEMPLATE = VBOXCROGLR3GUESTLIB
     294## @todo r=bird: Why is this not an INTERMEDIATE?
     295VBoxOGLspuload_DEPS = \
     296        $(VBOX_PATH_CROGL_GENFILES)/spu_dispatch_table.h
     297VBoxOGLspuload_SOURCES = \
    269298        spu_loader/spuinit.c \
    270299        spu_loader/spuload.c \
     
    274303        $(VBOX_PATH_CROGL_GENFILES)/dispatch.c \
    275304        $(VBOX_PATH_CROGL_GENFILES)/glloader.c
    276 VBoxOGLspuload_DEPS      := $(VBOX_PATH_CROGL_GENFILES)/spu_dispatch_table.h
    277 VBoxOGLspuload_CLEAN      = \
     305VBoxOGLspuload_CLEAN = \
    278306        $(VBOX_PATH_CROGL_GENFILES)/spuchange.c \
    279307        $(VBOX_PATH_CROGL_GENFILES)/spucopy.c \
     
    281309        $(VBOX_PATH_CROGL_GENFILES)/glloader.c \
    282310        $(VBOX_PATH_CROGL_GENFILES)/spu_dispatch_table.h
    283 VBoxOGLspuload_LIBS.win   = $(PATH_OBJ)/VBoxOGLcrutil/VBoxOGLcrutil$(VBOX_SUFF_LIB)
     311VBoxOGLspuload_LIBS.win = \
     312        $(PATH_OBJ)/VBoxOGLcrutil/VBoxOGLcrutil$(VBOX_SUFF_LIB)
    284313if1of ($(KBUILD_TARGET), linux solaris darwin)
    285314 VBoxOGLspuload_LIBS += \
     
    287316endif
    288317
     318#
     319# VBoxOGLspuload
     320#
     321VBoxOGLhostspuload_EXTENDS  = VBoxOGLspuload
    289322VBoxOGLhostspuload_TEMPLATE = VBOXCROGLR3HOST
    290 VBoxOGLhostspuload_EXTENDS  = VBoxOGLspuload
     323VBoxOGLhostspuload_LDFLAGS.linux += -Wl,--no-as-needed
    291324VBoxOGLhostspuload_LIBS.win = $(PATH_OBJ)/VBoxOGLhostcrutil/VBoxOGLhostcrutil$(VBOX_SUFF_LIB)
    292 VBoxOGLhostspuload_LDFLAGS.linux += -Wl,--no-as-needed
    293325if1of ($(KBUILD_TARGET), linux solaris darwin)
    294326 VBoxOGLhostspuload_LIBS += \
     
    296328endif
    297329
     330#
     331# Generate files for VBoxOGLspuload and VBoxOGLspuload.
     332#
    298333$(VBOX_PATH_CROGL_GENFILES)/dispatch.c: $(PATH_SUB_CURRENT)/spu_loader/dispatch.py $(VBOX_CROGL_API_FILES) | $$(dir $$@)
    299334        $(call VBOX_CROGL_PYTHON_ENV,$(VBOX_CROGL_GUEST_HOST_PYTHONPATH),$@) $(VBOX_BLD_PYTHON) $< $(VBOX_PATH_CROGL_GLAPI)
     
    311346        $(call VBOX_CROGL_PYTHON_ENV,$(VBOX_CROGL_GUEST_HOST_PYTHONPATH),$@) $(VBOX_BLD_PYTHON) $< $(VBOX_PATH_CROGL_GLAPI)
    312347
    313 #
    314 #  VBoxOGLcrstate
    315 #
    316 
    317 VBoxOGLcrstate_TEMPLATE       = VBOXCROGLR3GUESTLIB
    318 VBoxOGLcrstate_INCS          := $(PATH_SUB_CURRENT)/state_tracker
    319 VBoxOGLcrstate_SOURCES       := \
     348
     349#
     350# VBoxOGLcrstate
     351#
     352VBoxOGLcrstate_TEMPLATE = VBOXCROGLR3GUESTLIB
     353VBoxOGLcrstate_INCS = \
     354        state_tracker
     355VBoxOGLcrstate_INTERMEDIATES = \
     356        $(VBOX_PATH_CROGL_GENFILES)/state/cr_statefuncs.h
     357VBoxOGLcrstate_SOURCES = \
    320358        state_tracker/state_attrib.c \
    321359        state_tracker/state_buffer.c \
     
    366404        $(VBOX_PATH_CROGL_GENFILES)/state_get.c \
    367405        $(VBOX_PATH_CROGL_GENFILES)/state_isenabled.c
    368 VBoxOGLcrstate_INTERMEDIATES := $(VBOX_PATH_CROGL_GENFILES)/state/cr_statefuncs.h
    369 VBoxOGLcrstate_CLEAN         := \
     406VBoxOGLcrstate_CLEAN = \
    370407        $(VBOX_PATH_CROGL_GENFILES)/state_buffer_gen.c \
    371408        $(VBOX_PATH_CROGL_GENFILES)/state_current_gen.c \
     
    383420        $(VBOX_PATH_CROGL_GENFILES)/state_isenabled.c \
    384421        $(VBOX_PATH_CROGL_GENFILES)/state/cr_statefuncs.h
    385 VBoxOGLcrstate_LIBS.win      = \
     422VBoxOGLcrstate_LIBS.win = \
    386423        $(PATH_OBJ)/VBoxOGLcrutil/VBoxOGLcrutil$(VBOX_SUFF_LIB) \
    387424        $(PATH_LIB)/VBoxOGLspuload$(VBOX_SUFF_LIB)
    388 if1of ($(KBUILD_TARGET), linux solaris darwin)
     425if1of ($(KBUILD_TARGET), darwin linux solaris)
    389426 VBoxOGLcrstate_LIBS += \
    390427        $(VBOX_PATH_ADDITIONS)/VBoxOGLcrutil$(VBOX_SUFF_DLL) \
     
    392429endif
    393430
     431#
     432# VBoxOGLhostcrstate
     433#
     434VBoxOGLhostcrstate_EXTENDS  = VBoxOGLcrstate
    394435VBoxOGLhostcrstate_TEMPLATE = VBOXCROGLR3HOST
    395 VBoxOGLhostcrstate_EXTENDS  = VBoxOGLcrstate
    396 VBoxOGLhostcrstate_INTERMEDIATES = $(VBoxOGLcrstate_INTERMEDIATES)
    397 VBoxOGLhostcrstate_SOURCES  = $(VBoxOGLcrstate_SOURCES) state_tracker/state_snapshot.c
     436VBoxOGLhostcrstate_INTERMEDIATES = \
     437        $(VBoxOGLcrstate_INTERMEDIATES)
     438VBoxOGLhostcrstate_SOURCES = \
     439        $(VBoxOGLcrstate_SOURCES) \
     440        state_tracker/state_snapshot.c
    398441VBoxOGLhostcrstate_LIBS.win = \
    399442        $(PATH_OBJ)/VBoxOGLhostcrutil/VBoxOGLhostcrutil$(VBOX_SUFF_LIB) \
     
    408451endif
    409452
     453#
     454# Generate files for VBoxOGLcrstate and VBoxOGLhostcrstate.
     455#
    410456$(VBOX_PATH_CROGL_GENFILES)/state_buffer_gen.c: $(addprefix $(PATH_SUB_CURRENT)/state_tracker/, state_buffer.txt gendiffcode.py) | $$(dir $$@)
    411457        $(call VBOX_CROGL_PYTHON_ENV,$(VBOX_CROGL_GUEST_HOST_PYTHONPATH),$@) $(VBOX_BLD_PYTHON) $(<D)/gendiffcode.py buffer Buffer $(<D)
     
    459505        $(call VBOX_CROGL_PYTHON_ENV,$(VBOX_CROGL_GUEST_HOST_PYTHONPATH),$@) $(VBOX_BLD_PYTHON) $(<D)/state_funcs.py $(VBOX_PATH_CROGL_GLAPI) $(<D)
    460506
     507
    461508#
    462509# VBoxOGLerrorspu
    463510#
    464 
    465511VBoxOGLerrorspu_TEMPLATE      = VBOXCROGLR3GUESTDLL
    466 VBoxOGLerrorspu_DEPS.darwin  += $(PATH_OUT)/obj/VBoxOGL/GL/gl.h $(PATH_OUT)/obj/VBoxOGL/GL/glu.h
    467 VBoxOGLerrorspu_INTERMEDIATES = $(VBOX_PATH_CROGL_GENFILES)/spu_dispatch_table.h
     512## @todo r=bird: Why is this necessary? (Christian?)
     513VBoxOGLerrorspu_DEPS.darwin   = \
     514        $(PATH_OUT)/obj/VBoxOGL/GL/gl.h \
     515        $(PATH_OUT)/obj/VBoxOGL/GL/glu.h
     516VBoxOGLerrorspu_INTERMEDIATES = \
     517        $(VBOX_PATH_CROGL_GENFILES)/spu_dispatch_table.h
    468518VBoxOGLerrorspu_SOURCES       = \
    469519        $(VBOX_PATH_CROGL_GENFILES)/errorspu.c \
    470520        error/errorspu_init.c
    471 VBoxOGLerrorspu_SOURCES.win.x86 = error/error.def
    472 VBoxOGLerrorspu_CLEAN        := $(VBOX_PATH_CROGL_GENFILES)/errorspu.c
     521VBoxOGLerrorspu_SOURCES.win.x86 = \
     522        error/error.def
     523VBoxOGLerrorspu_CLEAN         = \
     524        $(VBOX_PATH_CROGL_GENFILES)/errorspu.c
    473525VBoxOGLerrorspu_LIBS.win      = $(PATH_OBJ)/VBoxOGLcrutil/VBoxOGLcrutil$(VBOX_SUFF_LIB)
    474526if1of ($(KBUILD_TARGET), linux solaris darwin)
     
    477529endif
    478530
     531#
     532# VBoxOGLhosterrorspu
     533#
     534VBoxOGLhosterrorspu_EXTENDS  = VBoxOGLerrorspu
    479535VBoxOGLhosterrorspu_TEMPLATE = VBOXCROGLR3HOST
    480 VBoxOGLhosterrorspu_EXTENDS  = VBoxOGLerrorspu
    481 VBoxOGLhosterrorspu_INTERMEDIATES = $(VBoxOGLerrorspu_INTERMEDIATES)
     536VBoxOGLhosterrorspu_INTERMEDIATES = \
     537        $(VBoxOGLerrorspu_INTERMEDIATES)
    482538VBoxOGLhosterrorspu_LIBS    += $(LIB_RUNTIME)
    483539VBoxOGLhosterrorspu_LIBS.win = $(PATH_OBJ)/VBoxOGLhostcrutil/VBoxOGLhostcrutil$(VBOX_SUFF_LIB)
    484 VBoxOGLhosterrorspu_LDFLAGS.darwin += $(VBoxOGLerrorspu_LDFLAGS.darwin) -install_name $(VBOX_DYLD_EXECUTABLE_PATH)/VBoxOGLhosterrorspu.dylib -current_version $(VBOX_VERSION_MAJOR).$(VBOX_VERSION_MINOR).$(VBOX_VERSION_BUILD)
     540VBoxOGLhosterrorspu_LDFLAGS.darwin += $(VBoxOGLerrorspu_LDFLAGS.darwin) \
     541        -install_name $(VBOX_DYLD_EXECUTABLE_PATH)/VBoxOGLhosterrorspu.dylib \
     542        -current_version $(VBOX_VERSION_MAJOR).$(VBOX_VERSION_MINOR).$(VBOX_VERSION_BUILD)
    485543VBoxOGLhosterrorspu_LDFLAGS.linux += -Wl,--no-as-needed
    486544if1of ($(KBUILD_TARGET), linux solaris darwin)
     
    489547endif
    490548
     549#
     550# Generate files for VBoxOGLerrorspu and VBoxOGLerrorspu.
     551#
    491552$(VBOX_PATH_CROGL_GENFILES)/errorspu.c: $(PATH_SUB_CURRENT)/error/error.py $(VBOX_CROGL_API_FILES)
    492553        $(call VBOX_CROGL_PYTHON_ENV,$(VBOX_CROGL_GUEST_HOST_PYTHONPATH),$@) $(VBOX_BLD_PYTHON) $< $(VBOX_PATH_CROGL_GLAPI)
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette