VirtualBox

Ignore:
Timestamp:
Jun 6, 2013 6:27:06 AM (11 years ago)
Author:
vboxsync
Message:

crOpenGL: more dump stuff to crstate as it's a more appropriate place for it

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/GuestHost/OpenGL/Makefile.kmk

    r46395 r46401  
    107107        util/warp.c \
    108108        util/vreg.cpp \
    109         util/dump.cpp \
    110109        util/blitter.cpp \
    111110        util/vboxhgcm.c \
     
    114113        util/util.def \
    115114        util/util.rc
    116 ifdef VBOX_WITH_CRDUMPER
    117 VBoxOGLcrutil_SOURCES += $(VBOX_PATH_CROGL_GENFILES)/dump_gen.cpp
    118 endif
    119115VBoxOGLcrutil_LIBS.win = \
    120116        $(PATH_SDK_$(VBOX_WINDDK)_LIB)/ddraw.lib \
     
    139135VBoxOGLcrutil_pixel.c_CFLAGS.win.x86     += -Od
    140136VBoxOGLhostcrutil_pixel.c_CFLAGS.win.x86 += -Od
    141 ifdef VBOX_WITH_CRDUMPER
    142 VBoxOGLcrutil_DEFS        += VBOX_WITH_CRDUMPER
    143 VBoxOGLcrutil_LIBS        += \
    144     $(PATH_STAGE_LIB)/additions/VBoxOGLcrstate$(VBOX_SUFF_LIB) \
    145     $(PATH_STAGE_LIB)/additions/VBoxOGLspuload$(VBOX_SUFF_LIB)
    146 endif
    147137
    148138#
     
    167157VBoxOGLcrutil-x86_LIBS.win    += $(VBOX_PATH_ADDITIONS_LIB)/VBoxDispMpLogger-x86$(VBOX_SUFF_LIB)
    168158endif
    169 ifdef VBOX_WITH_CRDUMPER
    170 # VBOX_WITH_CRDUMPER is inheritted from VBoxOGLcrutil_DEFS
    171 #VBoxOGLcrutil-x86_DEFS        += VBOX_WITH_CRDUMPER
    172 VBoxOGLcrutil-x86_LIBS        += \
    173     $(PATH_STAGE_LIB)/additions/VBoxOGLcrstate-x86$(VBOX_SUFF_LIB) \
    174     $(PATH_STAGE_LIB)/additions/VBoxOGLspuload-x86$(VBOX_SUFF_LIB)
    175 endif
    176159# vc7 hangs during compilation of this file when optimizations are enabled.
    177160VBoxOGLcrutil-x86_pixel.c_CFLAGS += -Od
     
    192175    $(PATH_SDK_$(VBOX_WINDDK)_LIB)/dxguid.lib
    193176VBoxOGLhostcrutil_LIBS     = $(LIB_RUNTIME)
    194 ifdef VBOX_WITH_CRDUMPER
    195 VBoxOGLhostcrutil_DEFS    += VBOX_WITH_CRDUMPER
    196 VBoxOGLhostcrutil_LIBS        += \
    197     $(PATH_STAGE_LIB)/VBoxOGLhostcrstate$(VBOX_SUFF_LIB) \
    198     $(PATH_STAGE_LIB)/VBoxOGLhostspuload$(VBOX_SUFF_LIB)
    199 endif
    200177ifdef VBOX_WITH_CRHGSMI
    201178VBoxOGLhostcrutil_DEFS    += VBOX_WITH_CRHGSMI
     
    214191
    215192ifdef VBOX_WITH_CRDUMPER
    216 $(VBOX_PATH_CROGL_GENFILES)/dump_gen.cpp: $(PATH_SUB_CURRENT)/util/dump_gen.py $(PATH_ROOT)/src/VBox/HostServices/SharedOpenGL/crserverlib/get_sizes.py $(addprefix $(PATH_SUB_CURRENT)/state_tracker/, state_isenabled.txt state_extensions_isenabled.txt) $(VBOX_CROGL_API_FILES) | $$(dir $$@)
     193$(VBOX_PATH_CROGL_GENFILES)/dump_gen.cpp: $(PATH_SUB_CURRENT)/state_tracker/dump_gen.py $(PATH_ROOT)/src/VBox/HostServices/SharedOpenGL/crserverlib/get_sizes.py $(addprefix $(PATH_SUB_CURRENT)/state_tracker/, state_isenabled.txt state_extensions_isenabled.txt) $(VBOX_CROGL_API_FILES) | $$(dir $$@)
    217194        $(call MSG_GENERATE,python,$@,$<)
    218195        $(QUIET)$(call VBOX_CROGL_PYTHON_ENV,$(VBOX_PATH_CROGL_PYTHON_INCLUDE),$@) $(VBOX_BLD_PYTHON) $< $(VBOX_PATH_CROGL_GLAPI) $(<D)
     
    501478        $(VBOX_PATH_CROGL_GENFILES)/state_get.c \
    502479        $(VBOX_PATH_CROGL_GENFILES)/state_isenabled.c
     480ifdef VBOX_WITH_CRDUMPER
     481VBoxOGLcrstate_SOURCES += state_tracker/dump.cpp \
     482        $(VBOX_PATH_CROGL_GENFILES)/dump_gen.cpp
     483endif
     484       
    503485VBoxOGLcrstate_CLEAN = \
    504486        $(VBOX_PATH_CROGL_GENFILES)/state_buffer_gen.c \
     
    516498        $(VBOX_PATH_CROGL_GENFILES)/state_isenabled.c \
    517499        $(VBOX_PATH_CROGL_GENFILES)/state/cr_statefuncs.h
     500ifdef VBOX_WITH_CRDUMPER
     501VBoxOGLcrstate_CLEAN += $(VBOX_PATH_CROGL_GENFILES)/dump_gen.cpp
     502endif
     503       
    518504ifneq ($(KBUILD_TARGET),win)
    519505 ifeq ($(VBOX_WITH_COMPATIBLE_LINUX_GUEST_PACKAGE),)
     
    527513ifdef VBOX_WITH_WDDM
    528514VBoxOGLcrstate_DEFS.win   += VBOX_WITH_WDDM
     515endif
     516ifdef VBOX_WITH_CRDUMPER
     517VBoxOGLcrstate_DEFS        += VBOX_WITH_CRDUMPER
     518#VBoxOGLcrutil_LIBS        += \
     519    $(PATH_STAGE_LIB)/additions/VBoxOGLcrstate$(VBOX_SUFF_LIB) \
     520    $(PATH_STAGE_LIB)/additions/VBoxOGLspuload$(VBOX_SUFF_LIB)
    529521endif
    530522
Note: See TracChangeset for help on using the changeset viewer.

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