added wxgl pseudotarget

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45360 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2007-04-09 20:33:57 +00:00
parent eafd76b02c
commit 7dd1ae1114
8 changed files with 69 additions and 4 deletions

View File

@@ -38,4 +38,6 @@
<msvc-headers>$(OPENGL_HDR)</msvc-headers>
</lib>
<wxshortcut id="wxgl" cond="USE_GUI=='1' and USE_OPENGL=='1'"/>
</makefile>

View File

@@ -3852,6 +3852,12 @@ __WXLIB_MONO_p = \
__gllib___depname = \
$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gl.lib
!endif
!if "$(SHARED)" == "1"
____wxgl_namedll_DEP = $(__gldll___depname)
!endif
!if "$(SHARED)" == "0"
____wxgl_namelib_DEP = $(__gllib___depname)
!endif
!if "$(MONOLITHIC)" == "0" && "$(SHARED)" == "1" && "$(USE_GUI)" == "1" && "$(USE_HTML)" == "1"
__htmldll_library_link_DEP = $(__htmldll___depname)
!endif
@@ -4490,6 +4496,10 @@ $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXD
|
!endif
!if "$(USE_GUI)" == "1" && "$(USE_OPENGL)" == "1"
wxgl: $(____wxgl_namedll_DEP) $(____wxgl_namelib_DEP)
!endif
samples:
@echo cd ..\..\samples >$(OBJS)\samples.bat
@echo $(MAKE) -f makefile.bcc $(MAKEARGS) all >>$(OBJS)\samples.bat

View File

@@ -4003,6 +4003,12 @@ __gllib___depname = \
endif
endif
endif
ifeq ($(SHARED),1)
____wxgl_namedll_DEP = $(__gldll___depname)
endif
ifeq ($(SHARED),0)
____wxgl_namelib_DEP = $(__gllib___depname)
endif
ifeq ($(MONOLITHIC),0)
ifeq ($(SHARED),1)
ifeq ($(USE_GUI),1)
@@ -4652,6 +4658,12 @@ endif
endif
endif
ifeq ($(USE_GUI),1)
ifeq ($(USE_OPENGL),1)
wxgl: $(____wxgl_namedll_DEP) $(____wxgl_namelib_DEP)
endif
endif
samples:
$(MAKE) -C ..\..\samples -f makefile.gcc $(MAKEARGS) all
@@ -13983,7 +13995,7 @@ $(OBJS)\gllib_dummy.o: ../../src/common/dummy.cpp
$(OBJS)\gllib_glcanvas.o: ../../src/msw/glcanvas.cpp
$(CXX) -c -o $@ $(GLLIB_CXXFLAGS) $(CPPDEPS) $<
.PHONY: all clean setup_h wxbase wxnet wxcore wxadv wxmedia wxdbgrid wxhtml wxqa wxxml wxxrc wxaui wxrichtext wxstc samples build_cfg_file
.PHONY: all clean setup_h wxbase wxnet wxcore wxadv wxmedia wxdbgrid wxhtml wxqa wxxml wxxrc wxaui wxrichtext wxstc wxgl samples build_cfg_file
# Dependencies tracking:

View File

@@ -4216,6 +4216,12 @@ __RUNTIME_LIBS_518 = D
!if "$(RUNTIME_LIBS)" == "static"
__RUNTIME_LIBS_518 = $(__THREADSFLAG)
!endif
!if "$(SHARED)" == "1"
____wxgl_namedll_DEP = $(__gldll___depname)
!endif
!if "$(SHARED)" == "0"
____wxgl_namelib_DEP = $(__gllib___depname)
!endif
!if "$(MONOLITHIC)" == "0" && "$(SHARED)" == "1" && "$(USE_GUI)" == "1" && "$(USE_HTML)" == "1"
__htmldll_library_link_DEP = $(__htmldll___depname)
!endif
@@ -4497,7 +4503,7 @@ clean:
-if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gl.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gl.lib
cd ..\..\samples
$(MAKE) -f makefile.vc $(MAKEARGS) clean
cd "$(MAKEDIR)"
cd $(MAKEDIR)
setup_h: $(SETUPHDIR)\wx ..\..\include\wx\$(__SETUP_H_SUBDIR_FILENAMES)\setup.h $(SETUPHDIR)\wx\setup.h $(SETUPHDIR)\wx\msw\rcdefs.h
@@ -4843,10 +4849,14 @@ $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXD
<<
!endif
!if "$(USE_GUI)" == "1" && "$(USE_OPENGL)" == "1"
wxgl: $(____wxgl_namedll_DEP) $(____wxgl_namelib_DEP)
!endif
sub_samples:
cd ..\..\samples
$(MAKE) -f makefile.vc $(MAKEARGS) all
cd "$(MAKEDIR)"
cd $(MAKEDIR)
$(LIBDIRNAME):
if not exist $(LIBDIRNAME) mkdir $(LIBDIRNAME)

View File

@@ -2811,6 +2811,14 @@ __gllib___depname = &
!endif
!endif
!endif
____wxgl_namedll_DEP =
!ifeq SHARED 1
____wxgl_namedll_DEP = $(__gldll___depname)
!endif
____wxgl_namelib_DEP =
!ifeq SHARED 0
____wxgl_namelib_DEP = $(__gllib___depname)
!endif
__htmldll_library_link_DEP =
!ifeq MONOLITHIC 0
!ifeq SHARED 1
@@ -4919,6 +4927,12 @@ $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXD
!endif
!endif
!ifeq USE_GUI 1
!ifeq USE_OPENGL 1
wxgl : .SYMBOLIC $(____wxgl_namedll_DEP) $(____wxgl_namelib_DEP)
!endif
!endif
samples : .SYMBOLIC
cd ..\..\samples
wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) all