Fix media samples being compiled when USE_MEDIA=0
This commit is contained in:
@@ -56,9 +56,15 @@ __htlbox___depname = htlbox
|
|||||||
!if "$(USE_HTML)" == "1"
|
!if "$(USE_HTML)" == "1"
|
||||||
__html___depname = html
|
__html___depname = html
|
||||||
!endif
|
!endif
|
||||||
|
!if "$(USE_MEDIA)" == "1"
|
||||||
|
__mediaplayer___depname = mediaplayer
|
||||||
|
!endif
|
||||||
!if "$(USE_HTML)" == "1"
|
!if "$(USE_HTML)" == "1"
|
||||||
__richtext___depname = richtext
|
__richtext___depname = richtext
|
||||||
!endif
|
!endif
|
||||||
|
!if "$(USE_MEDIA)" == "1"
|
||||||
|
__splash___depname = splash
|
||||||
|
!endif
|
||||||
!if "$(USE_HTML)" == "1"
|
!if "$(USE_HTML)" == "1"
|
||||||
__xrc___depname = xrc
|
__xrc___depname = xrc
|
||||||
!endif
|
!endif
|
||||||
@@ -66,7 +72,7 @@ __xrc___depname = xrc
|
|||||||
|
|
||||||
### Targets: ###
|
### Targets: ###
|
||||||
|
|
||||||
all: access animate artprov $(__aui___depname) calendar caret clipboard collpane combo config console dataview dialogs dialup display dll dnd docview dragimag drawing erase event $(__except___depname) exec font grid $(__help___depname) $(__htlbox___depname) $(__html___depname) image internat ipc joytest keyboard layout listctrl mdi mediaplayer menu minimal nativdlg notebook oleauto opengl ownerdrw popup power preferences printing propgrid regtest render ribbon $(__richtext___depname) sashtest scroll secretstore shaped sockets sound splash splitter statbar stc svg taborder taskbar text thread toolbar treectrl typetest uiaction validate vscroll webview widgets wizard wrapsizer $(__xrc___depname)
|
all: access animate artprov $(__aui___depname) calendar caret clipboard collpane combo config console dataview dialogs dialup display dll dnd docview dragimag drawing erase event $(__except___depname) exec font grid $(__help___depname) $(__htlbox___depname) $(__html___depname) image internat ipc joytest keyboard layout listctrl mdi $(__mediaplayer___depname) menu minimal nativdlg notebook oleauto opengl ownerdrw popup power preferences printing propgrid regtest render ribbon $(__richtext___depname) sashtest scroll secretstore shaped sockets sound $(__splash___depname) splitter statbar stc svg taborder taskbar text thread toolbar treectrl typetest uiaction validate vscroll webview widgets wizard wrapsizer $(__xrc___depname)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
-if exist .\*.obj del .\*.obj
|
-if exist .\*.obj del .\*.obj
|
||||||
@@ -629,11 +635,13 @@ mdi:
|
|||||||
call mdi.bat
|
call mdi.bat
|
||||||
@del mdi.bat
|
@del mdi.bat
|
||||||
|
|
||||||
|
!if "$(USE_MEDIA)" == "1"
|
||||||
mediaplayer:
|
mediaplayer:
|
||||||
@echo cd mediaplayer >mediaplayer.bat
|
@echo cd mediaplayer >mediaplayer.bat
|
||||||
@echo $(MAKE) -f makefile.bcc $(MAKEARGS) all >>mediaplayer.bat
|
@echo $(MAKE) -f makefile.bcc $(MAKEARGS) all >>mediaplayer.bat
|
||||||
call mediaplayer.bat
|
call mediaplayer.bat
|
||||||
@del mediaplayer.bat
|
@del mediaplayer.bat
|
||||||
|
!endif
|
||||||
|
|
||||||
menu:
|
menu:
|
||||||
@echo cd menu >menu.bat
|
@echo cd menu >menu.bat
|
||||||
@@ -769,11 +777,13 @@ sound:
|
|||||||
call sound.bat
|
call sound.bat
|
||||||
@del sound.bat
|
@del sound.bat
|
||||||
|
|
||||||
|
!if "$(USE_MEDIA)" == "1"
|
||||||
splash:
|
splash:
|
||||||
@echo cd splash >splash.bat
|
@echo cd splash >splash.bat
|
||||||
@echo $(MAKE) -f makefile.bcc $(MAKEARGS) all >>splash.bat
|
@echo $(MAKE) -f makefile.bcc $(MAKEARGS) all >>splash.bat
|
||||||
call splash.bat
|
call splash.bat
|
||||||
@del splash.bat
|
@del splash.bat
|
||||||
|
!endif
|
||||||
|
|
||||||
splitter:
|
splitter:
|
||||||
@echo cd splitter >splitter.bat
|
@echo cd splitter >splitter.bat
|
||||||
|
@@ -49,9 +49,15 @@ endif
|
|||||||
ifeq ($(USE_HTML),1)
|
ifeq ($(USE_HTML),1)
|
||||||
__html___depname = html
|
__html___depname = html
|
||||||
endif
|
endif
|
||||||
|
ifeq ($(USE_MEDIA),1)
|
||||||
|
__mediaplayer___depname = mediaplayer
|
||||||
|
endif
|
||||||
ifeq ($(USE_HTML),1)
|
ifeq ($(USE_HTML),1)
|
||||||
__richtext___depname = richtext
|
__richtext___depname = richtext
|
||||||
endif
|
endif
|
||||||
|
ifeq ($(USE_MEDIA),1)
|
||||||
|
__splash___depname = splash
|
||||||
|
endif
|
||||||
ifeq ($(USE_HTML),1)
|
ifeq ($(USE_HTML),1)
|
||||||
__xrc___depname = xrc
|
__xrc___depname = xrc
|
||||||
endif
|
endif
|
||||||
@@ -59,7 +65,7 @@ endif
|
|||||||
|
|
||||||
### Targets: ###
|
### Targets: ###
|
||||||
|
|
||||||
all: access animate artprov $(__aui___depname) calendar caret clipboard collpane combo config console dataview dialogs dialup display dll dnd docview dragimag drawing erase event $(__except___depname) exec font grid $(__help___depname) $(__htlbox___depname) $(__html___depname) image internat ipc joytest keyboard layout listctrl mdi mediaplayer menu minimal nativdlg notebook oleauto opengl ownerdrw popup power preferences printing propgrid regtest render ribbon $(__richtext___depname) sashtest scroll secretstore shaped sockets sound splash splitter statbar stc svg taborder taskbar text thread toolbar treectrl typetest uiaction validate vscroll webview widgets wizard wrapsizer $(__xrc___depname)
|
all: access animate artprov $(__aui___depname) calendar caret clipboard collpane combo config console dataview dialogs dialup display dll dnd docview dragimag drawing erase event $(__except___depname) exec font grid $(__help___depname) $(__htlbox___depname) $(__html___depname) image internat ipc joytest keyboard layout listctrl mdi $(__mediaplayer___depname) menu minimal nativdlg notebook oleauto opengl ownerdrw popup power preferences printing propgrid regtest render ribbon $(__richtext___depname) sashtest scroll secretstore shaped sockets sound $(__splash___depname) splitter statbar stc svg taborder taskbar text thread toolbar treectrl typetest uiaction validate vscroll webview widgets wizard wrapsizer $(__xrc___depname)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
-if exist .\*.o del .\*.o
|
-if exist .\*.o del .\*.o
|
||||||
@@ -267,8 +273,10 @@ listctrl:
|
|||||||
mdi:
|
mdi:
|
||||||
$(MAKE) -C mdi -f makefile.gcc $(MAKEARGS) all
|
$(MAKE) -C mdi -f makefile.gcc $(MAKEARGS) all
|
||||||
|
|
||||||
|
ifeq ($(USE_MEDIA),1)
|
||||||
mediaplayer:
|
mediaplayer:
|
||||||
$(MAKE) -C mediaplayer -f makefile.gcc $(MAKEARGS) all
|
$(MAKE) -C mediaplayer -f makefile.gcc $(MAKEARGS) all
|
||||||
|
endif
|
||||||
|
|
||||||
menu:
|
menu:
|
||||||
$(MAKE) -C menu -f makefile.gcc $(MAKEARGS) all
|
$(MAKE) -C menu -f makefile.gcc $(MAKEARGS) all
|
||||||
@@ -338,8 +346,10 @@ sockets:
|
|||||||
sound:
|
sound:
|
||||||
$(MAKE) -C sound -f makefile.gcc $(MAKEARGS) all
|
$(MAKE) -C sound -f makefile.gcc $(MAKEARGS) all
|
||||||
|
|
||||||
|
ifeq ($(USE_MEDIA),1)
|
||||||
splash:
|
splash:
|
||||||
$(MAKE) -C splash -f makefile.gcc $(MAKEARGS) all
|
$(MAKE) -C splash -f makefile.gcc $(MAKEARGS) all
|
||||||
|
endif
|
||||||
|
|
||||||
splitter:
|
splitter:
|
||||||
$(MAKE) -C splitter -f makefile.gcc $(MAKEARGS) all
|
$(MAKE) -C splitter -f makefile.gcc $(MAKEARGS) all
|
||||||
|
@@ -47,9 +47,15 @@ __htlbox___depname = sub_htlbox
|
|||||||
!if "$(USE_HTML)" == "1"
|
!if "$(USE_HTML)" == "1"
|
||||||
__html___depname = sub_html
|
__html___depname = sub_html
|
||||||
!endif
|
!endif
|
||||||
|
!if "$(USE_MEDIA)" == "1"
|
||||||
|
__mediaplayer___depname = sub_mediaplayer
|
||||||
|
!endif
|
||||||
!if "$(USE_HTML)" == "1"
|
!if "$(USE_HTML)" == "1"
|
||||||
__richtext___depname = sub_richtext
|
__richtext___depname = sub_richtext
|
||||||
!endif
|
!endif
|
||||||
|
!if "$(USE_MEDIA)" == "1"
|
||||||
|
__splash___depname = sub_splash
|
||||||
|
!endif
|
||||||
!if "$(USE_HTML)" == "1"
|
!if "$(USE_HTML)" == "1"
|
||||||
__xrc___depname = sub_xrc
|
__xrc___depname = sub_xrc
|
||||||
!endif
|
!endif
|
||||||
@@ -57,7 +63,7 @@ __xrc___depname = sub_xrc
|
|||||||
|
|
||||||
### Targets: ###
|
### Targets: ###
|
||||||
|
|
||||||
all: sub_access sub_animate sub_artprov $(__aui___depname) sub_calendar sub_caret sub_clipboard sub_collpane sub_combo sub_config sub_console sub_dataview sub_dialogs sub_dialup sub_display sub_dll sub_dnd sub_docview sub_dragimag sub_drawing sub_erase sub_event $(__except___depname) sub_exec sub_font sub_grid $(__help___depname) $(__htlbox___depname) $(__html___depname) sub_image sub_internat sub_ipc sub_joytest sub_keyboard sub_layout sub_listctrl sub_mdi sub_mediaplayer sub_menu sub_minimal sub_nativdlg sub_notebook sub_oleauto sub_opengl sub_ownerdrw sub_popup sub_power sub_preferences sub_printing sub_propgrid sub_regtest sub_render sub_ribbon $(__richtext___depname) sub_sashtest sub_scroll sub_secretstore sub_shaped sub_sockets sub_sound sub_splash sub_splitter sub_statbar sub_stc sub_svg sub_taborder sub_taskbar sub_text sub_thread sub_toolbar sub_treectrl sub_typetest sub_uiaction sub_validate sub_vscroll sub_webview sub_widgets sub_wizard sub_wrapsizer $(__xrc___depname)
|
all: sub_access sub_animate sub_artprov $(__aui___depname) sub_calendar sub_caret sub_clipboard sub_collpane sub_combo sub_config sub_console sub_dataview sub_dialogs sub_dialup sub_display sub_dll sub_dnd sub_docview sub_dragimag sub_drawing sub_erase sub_event $(__except___depname) sub_exec sub_font sub_grid $(__help___depname) $(__htlbox___depname) $(__html___depname) sub_image sub_internat sub_ipc sub_joytest sub_keyboard sub_layout sub_listctrl sub_mdi $(__mediaplayer___depname) sub_menu sub_minimal sub_nativdlg sub_notebook sub_oleauto sub_opengl sub_ownerdrw sub_popup sub_power sub_preferences sub_printing sub_propgrid sub_regtest sub_render sub_ribbon $(__richtext___depname) sub_sashtest sub_scroll sub_secretstore sub_shaped sub_sockets sub_sound $(__splash___depname) sub_splitter sub_statbar sub_stc sub_svg sub_taborder sub_taskbar sub_text sub_thread sub_toolbar sub_treectrl sub_typetest sub_uiaction sub_validate sub_vscroll sub_webview sub_widgets sub_wizard sub_wrapsizer $(__xrc___depname)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
-if exist .\*.obj del .\*.obj
|
-if exist .\*.obj del .\*.obj
|
||||||
@@ -508,10 +514,12 @@ sub_mdi:
|
|||||||
$(MAKE) -f makefile.vc $(MAKEARGS) all
|
$(MAKE) -f makefile.vc $(MAKEARGS) all
|
||||||
cd "$(MAKEDIR)"
|
cd "$(MAKEDIR)"
|
||||||
|
|
||||||
|
!if "$(USE_MEDIA)" == "1"
|
||||||
sub_mediaplayer:
|
sub_mediaplayer:
|
||||||
cd mediaplayer
|
cd mediaplayer
|
||||||
$(MAKE) -f makefile.vc $(MAKEARGS) all
|
$(MAKE) -f makefile.vc $(MAKEARGS) all
|
||||||
cd "$(MAKEDIR)"
|
cd "$(MAKEDIR)"
|
||||||
|
!endif
|
||||||
|
|
||||||
sub_menu:
|
sub_menu:
|
||||||
cd menu
|
cd menu
|
||||||
@@ -625,10 +633,12 @@ sub_sound:
|
|||||||
$(MAKE) -f makefile.vc $(MAKEARGS) all
|
$(MAKE) -f makefile.vc $(MAKEARGS) all
|
||||||
cd "$(MAKEDIR)"
|
cd "$(MAKEDIR)"
|
||||||
|
|
||||||
|
!if "$(USE_MEDIA)" == "1"
|
||||||
sub_splash:
|
sub_splash:
|
||||||
cd splash
|
cd splash
|
||||||
$(MAKE) -f makefile.vc $(MAKEARGS) all
|
$(MAKE) -f makefile.vc $(MAKEARGS) all
|
||||||
cd "$(MAKEDIR)"
|
cd "$(MAKEDIR)"
|
||||||
|
!endif
|
||||||
|
|
||||||
sub_splitter:
|
sub_splitter:
|
||||||
cd splitter
|
cd splitter
|
||||||
|
@@ -49,7 +49,7 @@
|
|||||||
<subproject id="layout" template="sub"/>
|
<subproject id="layout" template="sub"/>
|
||||||
<subproject id="listctrl" template="sub"/>
|
<subproject id="listctrl" template="sub"/>
|
||||||
<subproject id="mdi" template="sub"/>
|
<subproject id="mdi" template="sub"/>
|
||||||
<subproject id="mediaplayer" template="sub"/>
|
<subproject id="mediaplayer" template="sub" cond="USE_MEDIA=='1'"/>
|
||||||
<subproject id="menu" template="sub"/>
|
<subproject id="menu" template="sub"/>
|
||||||
<subproject id="minimal" template="sub"/>
|
<subproject id="minimal" template="sub"/>
|
||||||
<subproject id="nativdlg" template="sub"/>
|
<subproject id="nativdlg" template="sub"/>
|
||||||
@@ -72,7 +72,7 @@
|
|||||||
<subproject id="shaped" template="sub"/>
|
<subproject id="shaped" template="sub"/>
|
||||||
<subproject id="sockets" template="sub"/>
|
<subproject id="sockets" template="sub"/>
|
||||||
<subproject id="sound" template="sub"/>
|
<subproject id="sound" template="sub"/>
|
||||||
<subproject id="splash" template="sub"/>
|
<subproject id="splash" template="sub" cond="USE_MEDIA=='1'"/>
|
||||||
<subproject id="splitter" template="sub"/>
|
<subproject id="splitter" template="sub"/>
|
||||||
<subproject id="statbar" template="sub"/>
|
<subproject id="statbar" template="sub"/>
|
||||||
<subproject id="stc" template="sub"/>
|
<subproject id="stc" template="sub"/>
|
||||||
|
Reference in New Issue
Block a user