]> git.saurik.com Git - wxWidgets.git/blobdiff - build/bakefiles/make_dist.mk
added native wxColourDialog for GTK2
[wxWidgets.git] / build / bakefiles / make_dist.mk
index 2bf49cdc1db5724325ca13b2581233453cc4034e..e833be05a1c739ff5ba4e229eb491456032fb910 100644 (file)
@@ -67,6 +67,9 @@ DISTDIR=./_dist_dir/$(DISTDIRNAME)
 ALL_DIST: distrib_clean
        mkdir _dist_dir
        mkdir $(DISTDIR)
+       cp $(WXDIR)/configure.in $(DISTDIR)
+       cp $(WXDIR)/configure $(DISTDIR)
+       cp $(WXDIR)/autoconf_inc.m4 $(DISTDIR)
        cp $(WXDIR)/wxwin.m4 $(DISTDIR)
        cp $(WXDIR)/aclocal.m4 $(DISTDIR)
        cp $(WXDIR)/config.sub $(DISTDIR)
@@ -98,18 +101,12 @@ ALL_DIST: distrib_clean
        cp $(ZLIBDIR)/*.h $(DISTDIR)/src/zlib
        cp $(ZLIBDIR)/*.c $(DISTDIR)/src/zlib
        cp $(ZLIBDIR)/README $(DISTDIR)/src/zlib
-       cp $(ZLIBDIR)/*.mms $(DISTDIR)/src/zlib
+#      cp $(ZLIBDIR)/*.mms $(DISTDIR)/src/zlib
        mkdir $(DISTDIR)/src/regex
        cp $(REGEXDIR)/*.h $(DISTDIR)/src/regex
-       cp $(REGEXDIR)/*.ih $(DISTDIR)/src/regex
        cp $(REGEXDIR)/*.c $(DISTDIR)/src/regex
-       cp $(REGEXDIR)/Makefile $(DISTDIR)/src/regex
-       cp $(REGEXDIR)/makefile.* $(DISTDIR)/src/regex
        cp $(REGEXDIR)/COPYRIGHT $(DISTDIR)/src/regex
        cp $(REGEXDIR)/README $(DISTDIR)/src/regex
-       cp $(REGEXDIR)/WHATSNEW $(DISTDIR)/src/regex
-       cp $(REGEXDIR)/mkh $(DISTDIR)/src/regex
-#      cp $(REGEXDIR)/tests $(DISTDIR)/src/regex
        cp -Rf $(EXPATDIR) $(DISTDIR)/src
        (cd $(DISTDIR)/src/expat ; rm -rf `find -name CVS`)
        mkdir $(DISTDIR)/src/iodbc
@@ -128,8 +125,6 @@ ALL_DIST: distrib_clean
 # this target is the common part of distribution script for all GUI toolkits,
 # but is not used when building wxBase distribution
 ALL_GUI_DIST: ALL_DIST
-       cp $(WXDIR)/configure.in $(DISTDIR)
-       cp $(WXDIR)/configure $(DISTDIR)
        cp $(DOCDIR)/readme.txt $(DISTDIR)/README.txt
        cp $(DOCDIR)/$(TOOLKITDIR)/install.txt $(DISTDIR)/INSTALL.txt
        if test -f $(DOCDIR)/$(TOOLKITDIR)/changes.txt ; then \
@@ -262,16 +257,27 @@ MOTIF_DIST: ALL_GUI_DIST
 
 MACX_DIST: ALL_GUI_DIST
        cp $(INCDIR)/*.* $(DISTDIR)/include
+       mkdir $(DISTDIR)/include/wx/mac/carbon
+       mkdir $(DISTDIR)/include/wx/mac/private
+       mkdir $(DISTDIR)/include/wx/mac/carbon/private
        cp $(INCDIR)/wx/mac/*.h $(DISTDIR)/include/wx/mac
-       cp $(MACDIR)/*.cpp $(DISTDIR)/src/mac
-       cp $(MACDIR)/*.c $(DISTDIR)/src/mac
-       cp $(MACDIR)/*.h $(DISTDIR)/src/mac
-       cp $(MACDIR)/*.r $(DISTDIR)/src/mac
-       mkdir $(DISTDIR)/src/mac/morefile
-       cp $(MACDIR)/morefile/*.h $(DISTDIR)/src/mac/morefile
-       cp $(MACDIR)/morefile/*.c $(DISTDIR)/src/mac/morefile
-       mkdir $(DISTDIR)/src/mac/macsock
-       cp $(MACDIR)/macsock/*.lib $(DISTDIR)/src/mac/macsock
+       cp $(INCDIR)/wx/mac/carbon/*.h $(DISTDIR)/include/wx/mac/carbon
+       cp $(INCDIR)/wx/mac/carbon/private/*.h $(DISTDIR)/include/wx/mac/carbon/private
+       cp $(INCDIR)/wx/mac/private/*.h $(DISTDIR)/include/wx/mac/private
+       cp $(MACDIR)/carbon/*.cpp $(DISTDIR)/src/mac/carbon
+       cp $(MACDIR)/carbon/*.c $(DISTDIR)/src/mac/carbon
+       cp $(MACDIR)/carbon/*.h $(DISTDIR)/src/mac/carbon
+       cp $(MACDIR)/carbon/*.r $(DISTDIR)/src/mac/carbon
+       mkdir $(DISTDIR)/src/mac/carbon/morefile
+       cp $(MACDIR)/carbon/morefile/*.h $(DISTDIR)/src/mac/carbon/morefile
+       cp $(MACDIR)/carbon/morefile/*.c $(DISTDIR)/src/mac/carbon/morefile
+       mkdir $(DISTDIR)/src/mac/carbon/morefilex
+       cp $(MACDIR)/carbon/morefilex/*.h $(DISTDIR)/src/mac/carbon/morefilex
+       cp $(MACDIR)/carbon/morefilex/*.c $(DISTDIR)/src/mac/carbon/morefilex
+       cp $(MACDIR)/carbon/morefilex/*.cpp $(DISTDIR)/src/mac/carbon/morefilex
+# obsolete
+#      mkdir $(DISTDIR)/src/mac/macsock
+#      cp $(MACDIR)/macsock/*.lib $(DISTDIR)/src/mac/macsock
        mkdir $(DISTDIR)/contrib
        cp -R $(WXDIR)/contrib $(DISTDIR)
 
@@ -986,7 +992,7 @@ distrib_clean:
 # VZ: the -only targets allow to do "make dist bzip-dist-only" without copying
 #     the files twice
 dist-only:
-       @echo "*** Creating wxWindows distribution in $(DISTDIR)..."
+       @echo "*** Creating wxWidgets distribution in $(DISTDIR)..."
        @cd _dist_dir && tar ch $(DISTDIRNAME) | gzip -f9 > ../$(WXARCHIVE);
        @if test "$(USE_GUI)" = 1; then \
        cd $(DISTDIR); \
@@ -1001,7 +1007,7 @@ dist-only:
        fi
 
 dist: @GUIDIST@
-       @echo "*** Creating wxWindows distribution in $(DISTDIR)..."
+       @echo "*** Creating wxWidgets distribution in $(DISTDIR)..."
        @# now prune away a lot of the crap included by using cp -R
        @# in other dist targets.
        find $(DISTDIR) \( -name "CVS" -o -name ".cvsignore" -o -name "*.dsp" -o -name "*.dsw" -o -name "*.hh*" -o \
@@ -1021,7 +1027,7 @@ dist: @GUIDIST@
        fi
 
 bzip-dist-only:
-       @echo "*** Creating wxWindows distribution in $(DISTDIR)..."
+       @echo "*** Creating wxWidgets distribution in $(DISTDIR)..."
        @cd _dist_dir && tar ch $(DISTDIRNAME) | bzip2 -f9 > ../$(WXARCHIVE_BZIP);
        @if test "$(USE_GUI)" = 1; then \
        cd $(DISTDIR); \
@@ -1036,7 +1042,7 @@ bzip-dist-only:
        fi
 
 bzip-dist: @GUIDIST@
-       @echo "*** Creating wxWindows distribution in $(DISTDIR)..."
+       @echo "*** Creating wxWidgets distribution in $(DISTDIR)..."
        @cd _dist_dir && tar ch $(DISTDIRNAME) | bzip2 -f9 > ../$(WXARCHIVE_BZIP)
        @if test "$(USE_GUI)" = 1; then \
        cd $(DISTDIR); \
@@ -1050,7 +1056,7 @@ bzip-dist: @GUIDIST@
 
 # RR: Copy text and binary data separatly
 win-dist: MSW_ZIP_TEXT_DIST
-       @echo "*** Creating wxWindows ZIP distribution in $(DISTDIR)..."
+       @echo "*** Creating wxWidgets ZIP distribution in $(DISTDIR)..."
        @cd _dist_dir && mv $(DISTDIRNAME) wxMSW
        @cd _dist_dir && zip -r -l  ../$(WXARCHIVE_ZIP) *
        cp $(INCDIR)/wx/msw/*.cur _dist_dir/wxMSW/include/wx/msw
@@ -1072,9 +1078,22 @@ 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.
 
-       find $(DISTDIR) \( -name "CVS" -o -name ".cvsignore" -o -name "*.dsp" -o -name "*.dsw" -o -name "*.hh*" -o \
-                       \( -name "makefile.*" -a ! -name "makefile.unx" \) \) \
-                       -print0 | xargs -0 rm -rf
+       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"    \
+                          -o -name "*.bkl" -o -name "*.pro" -o -name "*.def"    \
+                          -o -name "*.vpj" -o -name "*.sc"                      \
+                          -o \( -name "makefile.*" -a ! -name "makefile.unx" \) \
+                       \) -print0 | xargs -0 rm -rf
+
+       rm -rf $(DISTDIR)/wxPython/SWIG
+       rm -rf $(DISTDIR)/wxPython/distrib
+       rm -rf $(DISTDIR)/wxPython/distutils
+       rm -rf $(DISTDIR)/wxPython/samples
+       rm -rf $(DISTDIR)/wxPython/contrib/iewin
+       find $(DISTDIR)/wxPython \( -name "mac" -o -name "msw" \) -print0 | xargs -0 rm -rf
+
 
        @# We can't get at the individual components of the version here
        @# anymore, so strip the major and minor version out of the blob.