diff --git a/build/bakefiles/Bakefiles.bkgen b/build/bakefiles/Bakefiles.bkgen
index 70a4fbcb11..13ed6e5c0e 100644
--- a/build/bakefiles/Bakefiles.bkgen
+++ b/build/bakefiles/Bakefiles.bkgen
@@ -25,7 +25,6 @@
wx.bkl
- ../../contrib/build/*/*.bkl
../../samples/*.bkl
../../samples/*/*.bkl
../../samples/*/*/*.bkl
@@ -35,10 +34,6 @@
../../utils/*.bkl
../../utils/*/*.bkl
../../utils/*/*/*.bkl
- ../../contrib/samples/*.bkl
- ../../contrib/samples/*/*.bkl
- ../../contrib/samples/*/*/*.bkl
- ../../contrib/utils/*/*.bkl
../../tests/*.bkl
@@ -70,7 +65,6 @@
msevc4prj
msevc4prj
msevc4prj
- msevc4prj
msevc4prj
@@ -117,13 +111,6 @@
-o../wince/wx.vcw
-
- -o../../contrib/src/$(INPUT_FILE_BASENAME_NOEXT)/Makefile.in
-
-
- -DSRCDIR=../../src/$(INPUT_FILE_BASENAME_NOEXT)
-
diff --git a/build/bakefiles/README b/build/bakefiles/README
index e404af6b60..906e570d92 100644
--- a/build/bakefiles/README
+++ b/build/bakefiles/README
@@ -1,6 +1,6 @@
This directory contains Bakefile (see http://bakefile.sourceforge.net)
-files needed to generate native makefiles for wxWidgets library, contrib and
+files needed to generate native makefiles for wxWidgets library and
samples.
Use the bakefile_gen utility to regenerate the makefiles (run it in this
@@ -31,11 +31,9 @@ information that speed up regeneration process.
Note: the following files are generated using bakefile_gen:
* build/msw/*
- * contrib/build/* (except .bkl files)
* makefiles with same names as makefiles in above dirs, Makefile.in files
that contain "This makefile was generated by Bakefile" banner and
- VC++ project files in samples, demos and utils directories (inc. contrib
- ones)
+ VC++ project files in samples, demos and utils directories
* src/wxWindows.dsp
* {wxGTK,wxMotif,wxX11}.spec (only wxBase headers list)
* autoconf_inc.m4
diff --git a/build/bakefiles/common.bkl b/build/bakefiles/common.bkl
index 8fed34f9a1..1245c000ad 100644
--- a/build/bakefiles/common.bkl
+++ b/build/bakefiles/common.bkl
@@ -746,7 +746,7 @@ $(TAB)$(VC_COMPILER) /EP /nologo "$(DOLLAR)(InputPath)" > "$(SETUPHDIR)\wx\msw\r
-
+
diff --git a/build/bakefiles/common_contrib.bkl b/build/bakefiles/common_contrib.bkl
deleted file mode 100644
index 4c95e7d2ad..0000000000
--- a/build/bakefiles/common_contrib.bkl
+++ /dev/null
@@ -1,50 +0,0 @@
-
-
-
-
-
-
-
-
-
- $(SRCDIR)/../../include
-
-
-
-
-
-
- $(CONTRIB_HDR_DIR)
-
-
-
-
- $(CONTRIB_HDR_DIR)
-
-
- $(CONTRIB_HDR_DIR)
-
-
-
-
- $(CONTRIB_HDR_DIR)
-
-
-
-
-
-
- $(wxwin.libToLink(value))
- $(wxwin.extraLdflags(value))
-
-
- $(wxwin.makeContribDspDependency(value))
-
-
-
-
-
diff --git a/build/bakefiles/common_samples.bkl b/build/bakefiles/common_samples.bkl
index 07889de21c..c63cb21309 100644
--- a/build/bakefiles/common_samples.bkl
+++ b/build/bakefiles/common_samples.bkl
@@ -3,8 +3,6 @@
- 1
-
0
diff --git a/build/bakefiles/make_dist.mk b/build/bakefiles/make_dist.mk
index 051f5be21b..1ecaa60fcb 100644
--- a/build/bakefiles/make_dist.mk
+++ b/build/bakefiles/make_dist.mk
@@ -315,8 +315,6 @@ GTK_DIST: UNIV_DIST
mkdir $(DISTDIR)/include/wx/mac/corefoundation
$(CP_P) $(WXDIR)/include/wx/mac/corefoundation/*.h $(DISTDIR)/include/wx/mac/corefoundation
- $(CP_PR) $(WXDIR)/contrib $(DISTDIR)/contrib
-
X11_DIST: UNIV_DIST
$(CP_P) $(WXDIR)/wxX11.spec $(DISTDIR)
$(CP_P) $(INCDIR)/wx/x11/*.h $(DISTDIR)/include/wx/x11
@@ -331,7 +329,6 @@ X11_DIST: UNIV_DIST
mkdir $(DISTDIR)/include/wx/mac
mkdir $(DISTDIR)/include/wx/mac/corefoundation
$(CP_P) $(WXDIR)/include/wx/mac/corefoundation/*.h $(DISTDIR)/include/wx/mac/corefoundation
- $(CP_PR) $(WXDIR)/contrib $(DISTDIR)/contrib
MOTIF_DIST: ALL_GUI_DIST
$(CP_P) $(WXDIR)/wxMotif.spec $(DISTDIR)
@@ -350,7 +347,6 @@ MOTIF_DIST: ALL_GUI_DIST
$(CP_P) $(X11INC)/pen.h $(X11INC)/brush.h $(X11INC)/privx.h \
$(X11INC)/bitmap.h $(X11INC)/glcanvas.h $(X11INC)/private.h $(X11INC)/region.h \
$(DISTDIR)/include/wx/x11
- $(CP_PR) $(WXDIR)/contrib $(DISTDIR)/contrib
MACX_DIST: ALL_GUI_DIST
$(CP_P) $(INCDIR)/*.* $(DISTDIR)/include
@@ -382,7 +378,6 @@ MACX_DIST: ALL_GUI_DIST
$(CP_P) $(MACDIR)/carbon/morefilex/*.h $(DISTDIR)/src/mac/carbon/morefilex
$(CP_P) $(MACDIR)/carbon/morefilex/*.c $(DISTDIR)/src/mac/carbon/morefilex
$(CP_P) $(MACDIR)/carbon/morefilex/*.cpp $(DISTDIR)/src/mac/carbon/morefilex
- $(CP_PR) $(WXDIR)/contrib $(DISTDIR)/contrib
COCOA_DIST: ALL_GUI_DIST
$(CP_P) $(INCDIR)/wx/cocoa/*.h $(DISTDIR)/include/wx/cocoa
@@ -396,7 +391,6 @@ COCOA_DIST: ALL_GUI_DIST
mkdir $(DISTDIR)/src/mac/carbon
$(CP_P) $(MACDIR)/carbon/Info.plist.in $(DISTDIR)/src/mac/carbon
$(CP_P) $(MACDIR)/carbon/wxmac.icns $(DISTDIR)/src/mac/carbon
- $(CP_PR) $(WXDIR)/contrib $(DISTDIR)/contrib
MSW_DIST: UNIV_DIST
mkdir $(DISTDIR)/include/wx/msw/ole
@@ -415,7 +409,6 @@ MSW_DIST: UNIV_DIST
$(CP_P) $(MSWDIR)/*.c $(DISTDIR)/src/msw
$(CP_P) $(MSWDIR)/*.rc $(DISTDIR)/src/msw
$(CP_P) $(MSWDIR)/ole/*.cpp $(DISTDIR)/src/msw/ole
- $(CP_PR) $(WXDIR)/contrib $(DISTDIR)/contrib
MSW_ZIP_TEXT_DIST: ALL_GUI_DIST
mkdir $(DISTDIR)/include/wx/msw
@@ -435,7 +428,6 @@ MSW_ZIP_TEXT_DIST: ALL_GUI_DIST
$(CP_P) $(MSWDIR)/wince/*.* $(DISTDIR)/src/msw/wince
$(CP_P) $(SRCDIR)/*.??? $(DISTDIR)/src
$(CP_P) $(SRCDIR)/*.?? $(DISTDIR)/src
- $(CP_PR) $(WXDIR)/contrib $(DISTDIR)/contrib
UNIV_DIST: ALL_GUI_DIST
mkdir $(DISTDIR)/include/wx/univ
@@ -455,7 +447,6 @@ MGL_DIST: UNIV_DIST
$(CP_P) $(SRCDIR)/mgl/*.cpp $(DISTDIR)/src/mgl
mkdir $(DISTDIR)/src/msdos
$(CP_P) $(SRCDIR)/msdos/*.cpp $(DISTDIR)/src/msdos
- $(CP_PR) $(WXDIR)/contrib $(DISTDIR)/contrib
DEMOS_DIST: ALL_GUI_DIST
mkdir $(DISTDIR)/demos
@@ -798,7 +789,6 @@ debian-dist: debian-native-dist debian-msw-dirs MSW_DIST
@# in other dist targets. Ugly and hardly portable but it
@# will run on any Debian box and that's enough for now.
- rm -rf $(DISTDIR)/contrib/build
find $(DISTDIR) \( -name "CVS" -o -name ".cvsignore" -o -name "*.dsp" \
-o -name "*.dsw" -o -name "*.hh*" -o -name "*.mms" \
-o -name "*.mcp" -o -name "*M*.xml" -o -name "*.r" \
diff --git a/build/bakefiles/wxwin.py b/build/bakefiles/wxwin.py
index ebf4ecffac..cadcedcfcb 100644
--- a/build/bakefiles/wxwin.py
+++ b/build/bakefiles/wxwin.py
@@ -38,7 +38,7 @@ def mk_wxid(id):
return wxid
-# All libs that are part of the main library (i.e. non-contrib):
+# All libs that are part of the main library:
MAIN_LIBS = ['mono', 'base', 'core', 'adv', 'html', 'xml', 'net',
'media', 'qa', 'xrc', 'aui', 'richtext', 'stc']
# List of library names/ids for categories with different names:
@@ -83,13 +83,13 @@ def libToLink(wxlibname):
For one of main libraries, libToLink('foo') returns '$(WXLIB_FOO)' which
must be defined in common.bkl as either nothing (in monolithic build) or
mkLibName('foo') (otherwise).
- For contrib libraries, it returns mkDllName(wxlibname).
"""
if wxlibname in MAIN_LIBS:
return '$(WXLIB_%s)' % wxlibname.upper()
else:
return mkLibName(wxlibname)
+
def extraLdflags(wxlibname):
if wxlibname in EXTRALIBS:
return EXTRALIBS[wxlibname]
@@ -151,7 +151,3 @@ def headersOnly(files):
def makeDspDependency(lib):
"""Returns suitable entry for for main libs."""
return '%s:$(nativePaths(WXTOPDIR))build\\msw\\wx_%s.dsp' % (lib,lib)
-
-def makeContribDspDependency(lib):
- """Returns suitable entry for for contrib libs."""
- return '%s:$(nativePaths(WXTOPDIR))contrib\\build\\%s\\%s.dsp' % (lib,lib,lib)