diff --git a/build/bakefiles/common.bkl b/build/bakefiles/common.bkl
index d0efe6ec53..84bcde3f90 100644
--- a/build/bakefiles/common.bkl
+++ b/build/bakefiles/common.bkl
@@ -151,6 +151,9 @@
$(mk.evalExpr(wxwin.mkLibName('adv')))
+
+ $(mk.evalExpr(wxwin.mkLibName('media')))
+
$(mk.evalExpr(wxwin.mkLibName('html')))
diff --git a/build/bakefiles/files.bkl b/build/bakefiles/files.bkl
index 38638abd71..d1581683f9 100644
--- a/build/bakefiles/files.bkl
+++ b/build/bakefiles/files.bkl
@@ -2297,6 +2297,54 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
src/gtk/eggtrayicon.c
+
+
+
+
+
+
+
+
+ wx/mediactrl.h
+
+
+
+ src/msw/mediactrl.cpp
+
+
+ wx/msw/mediactrl.h
+
+
+
+
+
+
+
+
+ src/mac/carbon/mediactrl.cpp
+
+
+ include/mac/carbon/mediactrl.h
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -2676,6 +2724,29 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
$(ADVANCED_CMN_SRC) $(ADVANCED_PLATFORM_SRC)
$(ADVANCED_CMN_HDR) $(ADVANCED_PLATFORM_HDR)
+
+
+ $(MEDIA_MSW_SRC) $(MEDIA_MSW_ONLY_SRC)
+ $(MEDIA_MSW_SRC)
+ $(MEDIA_MAC_SRC)
+ $(MEDIA_COCOA_SRC)
+ $(MEDIA_UNIX_SRC)
+ $(MEDIA_UNIX_SRC) $(MEDIA_GTK_SRC)
+ $(MEDIA_UNIX_SRC)
+ $(MEDIA_OS2_SRC)
+
+
+ $(MEDIA_MSW_HDR) $(MEDIA_MSW_ONLY_HDR)
+ $(MEDIA_MSW_HDR)
+ $(MEDIA_MAC_HDR)
+ $(MEDIA_COCOA_HDR)
+ $(MEDIA_UNIX_HDR)
+ $(MEDIA_UNIX_HDR)
+ $(MEDIA_UNIX_HDR)
+ $(MEDIA_OS2_HDR)
+
+ $(MEDIA_CMN_SRC) $(MEDIA_PLATFORM_SRC)
+ $(MEDIA_CMN_HDR) $(MEDIA_PLATFORM_HDR)
@@ -2688,7 +2759,7 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
$(GUI_CMN_HDR)
$(LOWLEVEL_HDR)
$(GUI_CORE_HEADERS)
- $(ADVANCED_HDR) $(HTML_HDR)
+ $(ADVANCED_HDR) $(MEDIA_HDR) $(HTML_HDR)
$(OPENGL_HDR) $(DBGRID_HDR) $(XRC_HDR)
diff --git a/build/bakefiles/monolithic.bkl b/build/bakefiles/monolithic.bkl
index 4ff6ce415c..63886c739c 100644
--- a/build/bakefiles/monolithic.bkl
+++ b/build/bakefiles/monolithic.bkl
@@ -4,8 +4,8 @@
- $(CORE_SRC) $(ADVANCED_SRC) $(HTML_SRC) $(ODBC_SRC) $(DBGRID_SRC)
- $(XRC_SRC)
+ $(CORE_SRC) $(ADVANCED_SRC) $(MEDIA_SRC) $(HTML_SRC) $(ODBC_SRC) $(DBGRID_SRC)
+ $(XRC_SRC)
diff --git a/build/bakefiles/multilib.bkl b/build/bakefiles/multilib.bkl
index 9f1a033d26..5cd3ef0d6a 100644
--- a/build/bakefiles/multilib.bkl
+++ b/build/bakefiles/multilib.bkl
@@ -95,6 +95,37 @@
adv=advlib+advdll
+
+
+
+
+
+ WXUSINGDLL
+ WXMAKINGDLL_MEDIA
+ $(MEDIA_SRC)
+ $(MEDIA_HDR)
+ coredll
+ basedll
+
+
+
+
+
+ $(MEDIA_SRC)
+ $(MEDIA_HDR)
+
+
+ media=medialib+mediadll
+
+
diff --git a/build/bakefiles/wxwin.py b/build/bakefiles/wxwin.py
index 6fc3390438..d5bead7c7d 100644
--- a/build/bakefiles/wxwin.py
+++ b/build/bakefiles/wxwin.py
@@ -40,10 +40,10 @@ def mk_wxid(id):
# All libs that are part of the main library (i.e. non-contrib):
MAIN_LIBS = ['mono', 'base', 'core', 'adv', 'html', 'xml', 'net',
- 'odbc', 'dbgrid', 'xrc']
+ 'media', 'odbc', 'dbgrid', 'xrc']
# List of library names/ids for categories with different names:
LIBS_NOGUI = ['xml', 'net', 'odbc']
-LIBS_GUI = ['core', 'adv', 'html', 'gl', 'dbgrid', 'xrc']
+LIBS_GUI = ['core', 'adv', 'html', 'gl', 'dbgrid', 'xrc', 'media']
# Additional libraries that must be linked in:
EXTRALIBS = {
'gl' : '$(EXTRALIBS_OPENGL)',