MSDOSDIR = $(WXDIR)/src/msdos
MSWDIR = $(WXDIR)/src/msw
PMDIR = $(WXDIR)/src/os2
-MACDIR = $(WXDIR)/src/mac
+MACDIR = $(WXDIR)/src/osx
COCOADIR = $(WXDIR)/src/cocoa
-ODBCDIR = $(WXDIR)/src/iodbc
FTDIR = $(WXDIR)/src/freetype
INCDIR = $(WXDIR)/include
SAMPDIR = $(WXDIR)/samples
$(CP_P) $(REGEXDIR)/README $(DISTDIR)/src/regex
$(CP_PR) $(EXPATDIR) $(DISTDIR)/src/expat
#(cd $(DISTDIR)/src/expat ; rm -rf `find -name CVS`)
- mkdir $(DISTDIR)/src/iodbc
- $(CP_P) $(ODBCDIR)/*.h $(DISTDIR)/src/iodbc
- $(CP_P) $(ODBCDIR)/*.c $(DISTDIR)/src/iodbc
- $(CP_P) $(ODBCDIR)/*.ci $(DISTDIR)/src/iodbc
- $(CP_P) $(ODBCDIR)/*.exp $(DISTDIR)/src/iodbc
- $(CP_P) $(ODBCDIR)/README $(DISTDIR)/src/iodbc
- $(CP_P) $(ODBCDIR)/NEWS $(DISTDIR)/src/iodbc
- $(CP_P) $(ODBCDIR)/Changes.log $(DISTDIR)/src/iodbc
# copy some files from include/ that are not installed:
mkdir $(DISTDIR)/include
mkdir $(DISTDIR)/include/wx
mkdir $(DISTDIR)/src/png
mkdir $(DISTDIR)/src/jpeg
mkdir $(DISTDIR)/src/tiff
+ mkdir $(DISTDIR)/src/tiff/config
+ mkdir $(DISTDIR)/src/tiff/libtiff
+ mkdir $(DISTDIR)/src/tiff/m4
mkdir $(DISTDIR)/src/unix
mkdir $(DISTDIR)/src/xrc
$(CP_P) $(SRCDIR)/xrc/*.cpp $(DISTDIR)/src/xrc
$(CP_P) $(JPEGDIR)/*.h $(DISTDIR)/src/jpeg
$(CP_P) $(JPEGDIR)/*.c $(DISTDIR)/src/jpeg
$(CP_P) $(JPEGDIR)/README $(DISTDIR)/src/jpeg
- $(CP_P) $(TIFFDIR)/*.h $(DISTDIR)/src/tiff
- $(CP_P) $(TIFFDIR)/*.c $(DISTDIR)/src/tiff
+ $(CP_P) $(TIFFDIR)/config/* $(DISTDIR)/src/tiff/config
+ $(CP_P) $(TIFFDIR)/libtiff/*.c $(DISTDIR)/src/tiff/libtiff
+ $(CP_P) $(TIFFDIR)/libtiff/*.h $(DISTDIR)/src/tiff/libtiff
+ $(CP_P) $(TIFFDIR)/m4/* $(DISTDIR)/src/tiff/m4
$(CP_P) $(TIFFDIR)/README $(DISTDIR)/src/tiff
+ $(CP_P) $(TIFFDIR)/VERSION $(DISTDIR)/src/tiff
+ $(CP_P) $(TIFFDIR)/configure* $(DISTDIR)/src/tiff
+ $(CP_P) $(TIFFDIR)/aclocal.m4 $(DISTDIR)/src/tiff
+ $(CP_P) $(TIFFDIR)/autogen.sh $(DISTDIR)/src/tiff
+ $(CP_P) $(TIFFDIR)/Makefile* $(DISTDIR)/src/tiff
BASE_DIST: ALL_DIST INTL_DIST
# make --disable-gui the default
mkdir $(DISTDIR)/include/wx/richtext
mkdir $(DISTDIR)/include/wx/aui
mkdir $(DISTDIR)/include/wx/stc
- mkdir $(DISTDIR)/include/wx/mac
- mkdir $(DISTDIR)/include/wx/mac/carbon
- mkdir $(DISTDIR)/include/wx/mac/corefoundation
+ mkdir $(DISTDIR)/include/wx/osx
+ mkdir $(DISTDIR)/include/wx/osx/carbon
+ mkdir $(DISTDIR)/include/wx/osx/core
mkdir $(DISTDIR)/include/wx/os2
mkdir $(DISTDIR)/include/wx/palmos
mkdir $(DISTDIR)/src/unix
- mkdir $(DISTDIR)/src/mac
- mkdir $(DISTDIR)/src/mac/corefoundation
- mkdir $(DISTDIR)/src/mac/carbon
- mkdir $(DISTDIR)/src/mac/carbon/morefilex
+ mkdir $(DISTDIR)/src/osx
+ mkdir $(DISTDIR)/src/osx/core
+ mkdir $(DISTDIR)/src/osx/carbon
+ mkdir $(DISTDIR)/src/osx/carbon/morefilex
mkdir $(DISTDIR)/src/msdos
mkdir $(DISTDIR)/src/msw
mkdir $(DISTDIR)/src/os2
mkdir $(DISTDIR)/src/palmos
$(CP_P) $(DOCDIR)/base/readme.txt $(DISTDIR)/README.txt
$(CP_P) $(WXDIR)/src/common/*.inc $(DISTDIR)/src/common
- $(CP_P) $(WXDIR)/src/common/base.rc $(DISTDIR)/src/common
list='$(ALL_PORTS_BASE_HEADERS)'; for p in $$list; do \
$(CP_P) $(WXDIR)/include/$$p $(DISTDIR)/include/$$p; \
done
$(CP_P) $(INCDIR)/wx/gtk/gnome/*.h $(DISTDIR)/include/wx/gtk/gnome
$(CP_P) $(GTKDIR)/gnome/*.cpp $(DISTDIR)/src/gtk/gnome
- mkdir $(DISTDIR)/src/mac
- mkdir $(DISTDIR)/src/mac/corefoundation
- $(CP_P) $(WXDIR)/src/mac/corefoundation/*.cpp $(DISTDIR)/src/mac/corefoundation
- 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
+ mkdir $(DISTDIR)/src/osx
+ mkdir $(DISTDIR)/src/osx/core
+ $(CP_P) $(WXDIR)/src/osx/core/*.cpp $(DISTDIR)/src/osx/core
+ mkdir $(DISTDIR)/include/wx/osx
+ mkdir $(DISTDIR)/include/wx/osx/core
+ $(CP_P) $(WXDIR)/include/wx/osx/core/*.h $(DISTDIR)/include/wx/osx/core
X11_DIST: UNIV_DIST
$(CP_P) $(WXDIR)/wxX11.spec $(DISTDIR)
$(CP_P) $(X11DIR)/*.cpp $(DISTDIR)/src/x11
$(CP_P) $(X11DIR)/*.c $(DISTDIR)/src/x11
$(CP_P) $(X11DIR)/*.xbm $(DISTDIR)/src/x11
- mkdir $(DISTDIR)/src/mac
- mkdir $(DISTDIR)/src/mac/corefoundation
- $(CP_P) $(WXDIR)/src/mac/corefoundation/*.cpp $(DISTDIR)/src/mac/corefoundation
- 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
+ mkdir $(DISTDIR)/src/osx
+ mkdir $(DISTDIR)/src/osx/core
+ $(CP_P) $(WXDIR)/src/osx/core/*.cpp $(DISTDIR)/src/osx/core
+ mkdir $(DISTDIR)/include/wx/osx
+ mkdir $(DISTDIR)/include/wx/osx/core
+ $(CP_P) $(WXDIR)/include/wx/osx/core/*.h $(DISTDIR)/include/wx/osx/core
MOTIF_DIST: ALL_GUI_DIST
$(CP_P) $(WXDIR)/wxMotif.spec $(DISTDIR)
$(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
- mkdir $(DISTDIR)/include/wx/mac/carbon
- mkdir $(DISTDIR)/include/wx/mac/private
- mkdir $(DISTDIR)/include/wx/mac/carbon/private
- $(CP_P) $(INCDIR)/wx/mac/*.h $(DISTDIR)/include/wx/mac
- $(CP_P) $(INCDIR)/wx/mac/carbon/*.h $(DISTDIR)/include/wx/mac/carbon
- $(CP_P) $(INCDIR)/wx/mac/carbon/private/*.h $(DISTDIR)/include/wx/mac/carbon/private
- $(CP_P) $(INCDIR)/wx/mac/private/*.h $(DISTDIR)/include/wx/mac/private
- mkdir $(DISTDIR)/include/wx/mac/corefoundation
- $(CP_P) $(INCDIR)/wx/mac/corefoundation/*.h $(DISTDIR)/include/wx/mac/corefoundation
- mkdir $(DISTDIR)/src/mac/corefoundation
- $(CP_P) $(MACDIR)/corefoundation/*.cpp $(DISTDIR)/src/mac/corefoundation
+ mkdir $(DISTDIR)/include/wx/osx/carbon
+ mkdir $(DISTDIR)/include/wx/osx/private
+ mkdir $(DISTDIR)/include/wx/osx/carbon/private
+ $(CP_P) $(INCDIR)/wx/osx/*.h $(DISTDIR)/include/wx/osx
+ $(CP_P) $(INCDIR)/wx/osx/carbon/*.h $(DISTDIR)/include/wx/osx/carbon
+ $(CP_P) $(INCDIR)/wx/osx/carbon/private/*.h $(DISTDIR)/include/wx/osx/carbon/private
+ $(CP_P) $(INCDIR)/wx/osx/private/*.h $(DISTDIR)/include/wx/osx/private
+ mkdir $(DISTDIR)/include/wx/osx/core
+ $(CP_P) $(INCDIR)/wx/osx/core/*.h $(DISTDIR)/include/wx/osx/core
+ mkdir $(DISTDIR)/src/osx/core
+ $(CP_P) $(MACDIR)/core/*.cpp $(DISTDIR)/src/osx/core
mkdir $(DISTDIR)/src/html/htmlctrl
mkdir $(DISTDIR)/src/html/htmlctrl/webkit
$(CP_P) $(WXDIR)/src/html/htmlctrl/webkit/*.mm $(DISTDIR)/src/html/htmlctrl/webkit
- mkdir $(DISTDIR)/src/mac/carbon
- $(CP_P) $(MACDIR)/carbon/*.cpp $(DISTDIR)/src/mac/carbon
- $(CP_P) $(MACDIR)/carbon/*.mm $(DISTDIR)/src/mac/carbon
- $(CP_P) $(MACDIR)/carbon/*.icns $(DISTDIR)/src/mac/carbon
- $(CP_P) $(MACDIR)/carbon/Info.plist.in $(DISTDIR)/src/mac/carbon
- $(CP_P) $(MACDIR)/carbon/*.h $(DISTDIR)/src/mac/carbon
- $(CP_P) $(MACDIR)/carbon/*.r $(DISTDIR)/src/mac/carbon
- mkdir $(DISTDIR)/src/mac/carbon/morefile
- $(CP_P) $(MACDIR)/carbon/morefile/*.h $(DISTDIR)/src/mac/carbon/morefile
- $(CP_P) $(MACDIR)/carbon/morefile/*.c $(DISTDIR)/src/mac/carbon/morefile
- mkdir $(DISTDIR)/src/mac/carbon/morefilex
- $(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
+ mkdir $(DISTDIR)/src/osx/carbon
+ $(CP_P) $(MACDIR)/carbon/*.cpp $(DISTDIR)/src/osx/carbon
+ $(CP_P) $(MACDIR)/carbon/*.mm $(DISTDIR)/src/osx/carbon
+ $(CP_P) $(MACDIR)/carbon/*.icns $(DISTDIR)/src/osx/carbon
+ $(CP_P) $(MACDIR)/carbon/Info.plist.in $(DISTDIR)/src/osx/carbon
+ $(CP_P) $(MACDIR)/carbon/*.h $(DISTDIR)/src/osx/carbon
+ $(CP_P) $(MACDIR)/carbon/*.r $(DISTDIR)/src/osx/carbon
+ mkdir $(DISTDIR)/src/osx/carbon/morefile
+ $(CP_P) $(MACDIR)/carbon/morefile/*.h $(DISTDIR)/src/osx/carbon/morefile
+ $(CP_P) $(MACDIR)/carbon/morefile/*.c $(DISTDIR)/src/osx/carbon/morefile
+ mkdir $(DISTDIR)/src/osx/carbon/morefilex
+ $(CP_P) $(MACDIR)/carbon/morefilex/*.h $(DISTDIR)/src/osx/carbon/morefilex
+ $(CP_P) $(MACDIR)/carbon/morefilex/*.c $(DISTDIR)/src/osx/carbon/morefilex
+ $(CP_P) $(MACDIR)/carbon/morefilex/*.cpp $(DISTDIR)/src/osx/carbon/morefilex
COCOA_DIST: ALL_GUI_DIST
$(CP_P) $(INCDIR)/wx/cocoa/*.h $(DISTDIR)/include/wx/cocoa
$(CP_P) $(COCOADIR)/*.mm $(DISTDIR)/src/cocoa
$(CP_P) $(COCOADIR)/*.cpp $(DISTDIR)/src/cocoa
$(CP_P) $(COCOADIR)/*.r $(DISTDIR)/src/cocoa
- mkdir $(DISTDIR)/include/wx/mac/corefoundation
- $(CP_P) $(INCDIR)/wx/mac/corefoundation/*.h $(DISTDIR)/include/wx/mac/corefoundation
- mkdir $(DISTDIR)/src/mac/corefoundation
- $(CP_P) $(MACDIR)/corefoundation/*.cpp $(DISTDIR)/src/mac/corefoundation
- 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
+ mkdir $(DISTDIR)/include/wx/osx/core
+ $(CP_P) $(INCDIR)/wx/osx/core/*.h $(DISTDIR)/include/wx/osx/core
+ mkdir $(DISTDIR)/src/osx/core
+ $(CP_P) $(MACDIR)/core/*.cpp $(DISTDIR)/src/osx/core
+ mkdir $(DISTDIR)/src/osx/carbon
+ $(CP_P) $(MACDIR)/carbon/Info.plist.in $(DISTDIR)/src/osx/carbon
+ $(CP_P) $(MACDIR)/carbon/wxmac.icns $(DISTDIR)/src/osx/carbon
MSW_DIST: UNIV_DIST
mkdir $(DISTDIR)/include/wx/msw/ole
$(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
$(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
$(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
$(CP_P) $(DEMODIR)/bombs/*.rc $(DISTDIR)/demos/bombs
$(CP_P) $(DEMODIR)/bombs/readme.txt $(DISTDIR)/demos/bombs
- $(CP_PR) $(DEMODIR)/dbbrowse $(DISTDIR)/demos/dbbrowse
-
mkdir $(DISTDIR)/demos/forty
$(CP_P) $(DEMODIR)/forty/Makefile.in $(DISTDIR)/demos/forty
$(CP_P) $(DEMODIR)/forty/makefile.unx $(DISTDIR)/demos/forty
@# in other dist targets.
find $(DISTDIR) \( -name "CVS" -o -name ".cvsignore" -o -name "*.dsp" -o -name "*.dsw" -o -name "*.hh*" -o \
\( -name "makefile.*" -a ! -name "makefile.unx" \) \) \
- -print | egrep -v '/(samples|dbbrowse)/.*\.hh.$$' | xargs rm -rf
+ -print | egrep -v '/samples/.*\.hh.$$' | xargs rm -rf
dist: distdir
@cd _dist_dir && tar ch $(DISTDIRNAME) | gzip -f9 > ../$(WXARCHIVE);
@# 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" \