]> git.saurik.com Git - wxWidgets.git/blobdiff - build/bakefiles/make_dist.mk
Use treebase.h for enum duplicated in port/treectrl.h.
[wxWidgets.git] / build / bakefiles / make_dist.mk
index a9461a0ec19ab3280e0d44a2874897550bcb5dab..bb89ab0db3eab062b991adee9b3aff4e781b324b 100644 (file)
@@ -167,7 +167,6 @@ ALL_GUI_DIST: ALL_DIST
        cp $(COMMDIR)/*.cpp $(DISTDIR)/src/common
        cp $(COMMDIR)/*.c $(DISTDIR)/src/common
        cp $(COMMDIR)/*.inc $(DISTDIR)/src/common
        cp $(COMMDIR)/*.cpp $(DISTDIR)/src/common
        cp $(COMMDIR)/*.c $(DISTDIR)/src/common
        cp $(COMMDIR)/*.inc $(DISTDIR)/src/common
-       cp $(COMMDIR)/*.h $(DISTDIR)/src/common
        cp $(COMMDIR)/*.mms $(DISTDIR)/src/common
        cp $(UNIXDIR)/*.cpp $(DISTDIR)/src/unix
        cp $(UNIXDIR)/*.mms $(DISTDIR)/src/unix
        cp $(COMMDIR)/*.mms $(DISTDIR)/src/common
        cp $(UNIXDIR)/*.cpp $(DISTDIR)/src/unix
        cp $(UNIXDIR)/*.mms $(DISTDIR)/src/unix
@@ -195,13 +194,13 @@ BASE_DIST: ALL_DIST
        mkdir $(DISTDIR)/include/wx/unix
        mkdir $(DISTDIR)/include/wx/xml
        mkdir $(DISTDIR)/include/wx/msw
        mkdir $(DISTDIR)/include/wx/unix
        mkdir $(DISTDIR)/include/wx/xml
        mkdir $(DISTDIR)/include/wx/msw
+       mkdir $(DISTDIR)/include/wx/html
        mkdir $(DISTDIR)/src/unix
        mkdir $(DISTDIR)/src/msw
        cp $(DOCDIR)/changes.txt $(DISTDIR)/CHANGES.txt
        cp $(DOCDIR)/base/readme.txt $(DISTDIR)/README.txt
        cp $(WXDIR)/src/common/*.inc $(DISTDIR)/src/common
        cp $(WXDIR)/src/common/base.rc $(DISTDIR)/src/common
        mkdir $(DISTDIR)/src/unix
        mkdir $(DISTDIR)/src/msw
        cp $(DOCDIR)/changes.txt $(DISTDIR)/CHANGES.txt
        cp $(DOCDIR)/base/readme.txt $(DISTDIR)/README.txt
        cp $(WXDIR)/src/common/*.inc $(DISTDIR)/src/common
        cp $(WXDIR)/src/common/base.rc $(DISTDIR)/src/common
-       cp $(WXDIR)/src/common/unzip.h $(DISTDIR)/src/common
        list='$(ALL_BASE_HEADERS)'; for p in $$list; do \
          cp $(WXDIR)/include/$$p $(DISTDIR)/include/$$p; \
        done
        list='$(ALL_BASE_HEADERS)'; for p in $$list; do \
          cp $(WXDIR)/include/$$p $(DISTDIR)/include/$$p; \
        done
@@ -227,6 +226,12 @@ GTK_DIST: ALL_GUI_DIST
        cp $(GTKDIR)/*.c $(DISTDIR)/src/gtk
        cp $(GTKDIR)/*.xbm $(DISTDIR)/src/gtk
        cp $(GTKDIR)/*.mms $(DISTDIR)/src/gtk
        cp $(GTKDIR)/*.c $(DISTDIR)/src/gtk
        cp $(GTKDIR)/*.xbm $(DISTDIR)/src/gtk
        cp $(GTKDIR)/*.mms $(DISTDIR)/src/gtk
+
+       mkdir $(DISTDIR)/include/wx/gtk/gnome
+       mkdir $(DISTDIR)/src/gtk/gnome
+       cp $(INCDIR)/wx/gtk/gnome/*.h $(DISTDIR)/include/wx/gtk/gnome
+       cp $(GTKDIR)/gnome/*.cpp $(DISTDIR)/src/gtk/gnome
+
        mkdir $(DISTDIR)/contrib
        cp -R $(WXDIR)/contrib $(DISTDIR)
 
        mkdir $(DISTDIR)/contrib
        cp -R $(WXDIR)/contrib $(DISTDIR)
 
@@ -268,8 +273,18 @@ MACX_DIST: ALL_GUI_DIST
        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 $(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
+       mkdir $(DISTDIR)/include/wx/mac/corefoundation
+       cp $(INCDIR)/wx/mac/corefoundation/*.h $(DISTDIR)/include/wx/mac/corefoundation
+       mkdir $(DISTDIR)/src/mac/corefoundation
+       cp $(MACDIR)/corefoundation/*.cpp $(DISTDIR)/src/mac/corefoundation
+       mkdir $(DISTDIR)/src/html/htmlctrl
+       mkdir $(DISTDIR)/src/html/htmlctrl/webkit
+       cp $(WXDIR)/src/html/htmlctrl/webkit/*.mm $(DISTDIR)/src/html/htmlctrl/webkit
+       mkdir $(DISTDIR)/src/mac/carbon
        cp $(MACDIR)/carbon/*.cpp $(DISTDIR)/src/mac/carbon
        cp $(MACDIR)/carbon/*.cpp $(DISTDIR)/src/mac/carbon
-       cp $(MACDIR)/carbon/*.c $(DISTDIR)/src/mac/carbon
+       cp $(MACDIR)/carbon/*.mm $(DISTDIR)/src/mac/carbon
+       cp $(MACDIR)/carbon/*.icns $(DISTDIR)/src/mac/carbon
+       cp $(MACDIR)/carbon/Info.plist.in $(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/*.h $(DISTDIR)/src/mac/carbon
        cp $(MACDIR)/carbon/*.r $(DISTDIR)/src/mac/carbon
        mkdir $(DISTDIR)/src/mac/carbon/morefile
@@ -291,9 +306,6 @@ COCOA_DIST: ALL_GUI_DIST
 
 MSW_DIST: ALL_GUI_DIST
        cp $(WXDIR)/wxWINE.spec $(DISTDIR)
 
 MSW_DIST: ALL_GUI_DIST
        cp $(WXDIR)/wxWINE.spec $(DISTDIR)
-       mkdir $(DISTDIR)/include/wx/msw/ctl3d
-       mkdir $(DISTDIR)/include/wx/msw/gnuwin32
-       mkdir $(DISTDIR)/include/wx/msw/gnuwin32/gl
        mkdir $(DISTDIR)/include/wx/msw/ole
        mkdir $(DISTDIR)/include/wx/msw/wince
        cp $(INCDIR)/wx/msw/*.h $(DISTDIR)/include/wx/msw
        mkdir $(DISTDIR)/include/wx/msw/ole
        mkdir $(DISTDIR)/include/wx/msw/wince
        cp $(INCDIR)/wx/msw/*.h $(DISTDIR)/include/wx/msw
@@ -301,33 +313,24 @@ MSW_DIST: ALL_GUI_DIST
        cp $(INCDIR)/wx/msw/*.ico $(DISTDIR)/include/wx/msw
        cp $(INCDIR)/wx/msw/*.bmp $(DISTDIR)/include/wx/msw
        cp $(INCDIR)/wx/msw/*.rc $(DISTDIR)/include/wx/msw
        cp $(INCDIR)/wx/msw/*.ico $(DISTDIR)/include/wx/msw
        cp $(INCDIR)/wx/msw/*.bmp $(DISTDIR)/include/wx/msw
        cp $(INCDIR)/wx/msw/*.rc $(DISTDIR)/include/wx/msw
-       cp $(INCDIR)/wx/msw/ctl3d/*.h $(DISTDIR)/include/wx/msw/ctl3d
-       cp $(INCDIR)/wx/msw/gnuwin32/*.h $(DISTDIR)/include/wx/msw/gnuwin32
-       cp $(INCDIR)/wx/msw/gnuwin32/gl/*.h $(DISTDIR)/include/wx/msw/gnuwin32/gl
-       cp $(INCDIR)/wx/msw/gnuwin32/gl/*.def $(DISTDIR)/include/wx/msw/gnuwin32/gl
+       cp $(INCDIR)/wx/msw/wx.manifest $(DISTDIR)/include/wx/msw
        cp $(INCDIR)/wx/msw/ole/*.h $(DISTDIR)/include/wx/msw/ole
        cp $(INCDIR)/wx/msw/wince/*.h $(DISTDIR)/include/wx/msw/wince
        mkdir $(DISTDIR)/src/msw/ole
        mkdir $(DISTDIR)/src/msw/wince
        cp $(MSWDIR)/*.cpp $(DISTDIR)/src/msw
        cp $(MSWDIR)/*.c $(DISTDIR)/src/msw
        cp $(INCDIR)/wx/msw/ole/*.h $(DISTDIR)/include/wx/msw/ole
        cp $(INCDIR)/wx/msw/wince/*.h $(DISTDIR)/include/wx/msw/wince
        mkdir $(DISTDIR)/src/msw/ole
        mkdir $(DISTDIR)/src/msw/wince
        cp $(MSWDIR)/*.cpp $(DISTDIR)/src/msw
        cp $(MSWDIR)/*.c $(DISTDIR)/src/msw
-       cp $(MSWDIR)/*.def $(DISTDIR)/src/msw
+       cp $(MSWDIR)/*.rc $(DISTDIR)/src/msw
        cp $(MSWDIR)/ole/*.cpp $(DISTDIR)/src/msw/ole
 
 MSW_ZIP_TEXT_DIST: ALL_GUI_DIST
        cp $(WXDIR)/wxWINE.spec $(DISTDIR)
        mkdir $(DISTDIR)/include/wx/msw
        cp $(MSWDIR)/ole/*.cpp $(DISTDIR)/src/msw/ole
 
 MSW_ZIP_TEXT_DIST: ALL_GUI_DIST
        cp $(WXDIR)/wxWINE.spec $(DISTDIR)
        mkdir $(DISTDIR)/include/wx/msw
-       mkdir $(DISTDIR)/include/wx/msw/ctl3d
-       mkdir $(DISTDIR)/include/wx/msw/gnuwin32
-       mkdir $(DISTDIR)/include/wx/msw/gnuwin32/gl
        mkdir $(DISTDIR)/include/wx/msw/ole
        mkdir $(DISTDIR)/include/wx/msw/wince
        cp $(INCDIR)/wx/msw/*.h $(DISTDIR)/include/wx/msw
        cp $(INCDIR)/wx/msw/*.rc $(DISTDIR)/include/wx/msw
        mkdir $(DISTDIR)/include/wx/msw/ole
        mkdir $(DISTDIR)/include/wx/msw/wince
        cp $(INCDIR)/wx/msw/*.h $(DISTDIR)/include/wx/msw
        cp $(INCDIR)/wx/msw/*.rc $(DISTDIR)/include/wx/msw
-       cp $(INCDIR)/wx/msw/ctl3d/*.h $(DISTDIR)/include/wx/msw/ctl3d
-       cp $(INCDIR)/wx/msw/gnuwin32/*.h $(DISTDIR)/include/wx/msw/gnuwin32
-       cp $(INCDIR)/wx/msw/gnuwin32/gl/*.h $(DISTDIR)/include/wx/msw/gnuwin32/gl
-       cp $(INCDIR)/wx/msw/gnuwin32/gl/*.def $(DISTDIR)/include/wx/msw/gnuwin32/gl
+       cp $(INCDIR)/wx/msw/wx.manifest $(DISTDIR)/include/wx/msw
        cp $(INCDIR)/wx/msw/ole/*.h $(DISTDIR)/include/wx/msw/ole
        cp $(INCDIR)/wx/msw/wince/*.h $(DISTDIR)/include/wx/msw/wince
        mkdir $(DISTDIR)/src/msw
        cp $(INCDIR)/wx/msw/ole/*.h $(DISTDIR)/include/wx/msw/ole
        cp $(INCDIR)/wx/msw/wince/*.h $(DISTDIR)/include/wx/msw/wince
        mkdir $(DISTDIR)/src/msw
@@ -335,12 +338,10 @@ MSW_ZIP_TEXT_DIST: ALL_GUI_DIST
        mkdir $(DISTDIR)/src/msw/wince
        cp $(MSWDIR)/*.cpp $(DISTDIR)/src/msw
        cp $(MSWDIR)/*.c $(DISTDIR)/src/msw
        mkdir $(DISTDIR)/src/msw/wince
        cp $(MSWDIR)/*.cpp $(DISTDIR)/src/msw
        cp $(MSWDIR)/*.c $(DISTDIR)/src/msw
-       cp $(MSWDIR)/*.def $(DISTDIR)/src/msw
        cp $(MSWDIR)/ole/*.cpp $(DISTDIR)/src/msw/ole
        cp $(MSWDIR)/wince/*.* $(DISTDIR)/src/msw/wince
        cp $(SRCDIR)/*.??? $(DISTDIR)/src
        cp $(SRCDIR)/*.?? $(DISTDIR)/src
        cp $(MSWDIR)/ole/*.cpp $(DISTDIR)/src/msw/ole
        cp $(MSWDIR)/wince/*.* $(DISTDIR)/src/msw/wince
        cp $(SRCDIR)/*.??? $(DISTDIR)/src
        cp $(SRCDIR)/*.?? $(DISTDIR)/src
-       cp $(MSWDIR)/?ake*.* $(DISTDIR)/src/msw
        mkdir $(DISTDIR)/contrib
        cp -R $(WXDIR)/contrib $(DISTDIR)
 
        mkdir $(DISTDIR)/contrib
        cp -R $(WXDIR)/contrib $(DISTDIR)
 
@@ -382,6 +383,7 @@ DEMOS_DIST: ALL_GUI_DIST
        cp $(DEMODIR)/forty/*.cpp $(DISTDIR)/demos/forty
        cp $(DEMODIR)/forty/*.xpm $(DISTDIR)/demos/forty
        cp $(DEMODIR)/forty/*.xbm $(DISTDIR)/demos/forty
        cp $(DEMODIR)/forty/*.cpp $(DISTDIR)/demos/forty
        cp $(DEMODIR)/forty/*.xpm $(DISTDIR)/demos/forty
        cp $(DEMODIR)/forty/*.xbm $(DISTDIR)/demos/forty
+       cp $(DEMODIR)/forty/*.htm $(DISTDIR)/demos/forty
 
        mkdir $(DISTDIR)/demos/life
        mkdir $(DISTDIR)/demos/life/bitmaps
 
        mkdir $(DISTDIR)/demos/life
        mkdir $(DISTDIR)/demos/life/bitmaps
@@ -455,6 +457,9 @@ SAMPLES_DIST: ALL_GUI_DIST
        cp $(SAMPDIR)/controls/makefile.unx $(DISTDIR)/samples/controls
        cp $(SAMPDIR)/controls/*.cpp $(DISTDIR)/samples/controls
        cp $(SAMPDIR)/controls/*.xpm $(DISTDIR)/samples/controls
        cp $(SAMPDIR)/controls/makefile.unx $(DISTDIR)/samples/controls
        cp $(SAMPDIR)/controls/*.cpp $(DISTDIR)/samples/controls
        cp $(SAMPDIR)/controls/*.xpm $(DISTDIR)/samples/controls
+       cp $(SAMPDIR)/controls/*.bmp $(DISTDIR)/samples/controls
+       cp $(SAMPDIR)/controls/*.ico $(DISTDIR)/samples/controls
+       cp $(SAMPDIR)/controls/*.rc $(DISTDIR)/samples/controls
        cp $(SAMPDIR)/controls/*.mms $(DISTDIR)/samples/controls
        cp $(SAMPDIR)/controls/icons/*.??? $(DISTDIR)/samples/controls/icons
 
        cp $(SAMPDIR)/controls/*.mms $(DISTDIR)/samples/controls
        cp $(SAMPDIR)/controls/icons/*.??? $(DISTDIR)/samples/controls/icons
 
@@ -481,7 +486,6 @@ SAMPLES_DIST: ALL_GUI_DIST
        mkdir $(DISTDIR)/samples/dnd
        cp $(SAMPDIR)/dnd/Makefile.in $(DISTDIR)/samples/dnd
        cp $(SAMPDIR)/dnd/makefile.unx $(DISTDIR)/samples/dnd
        mkdir $(DISTDIR)/samples/dnd
        cp $(SAMPDIR)/dnd/Makefile.in $(DISTDIR)/samples/dnd
        cp $(SAMPDIR)/dnd/makefile.unx $(DISTDIR)/samples/dnd
-       cp $(SAMPDIR)/dnd/*.wxr $(DISTDIR)/samples/dnd
        cp $(SAMPDIR)/dnd/*.cpp $(DISTDIR)/samples/dnd
        cp $(SAMPDIR)/dnd/*.xpm $(DISTDIR)/samples/dnd
        cp $(SAMPDIR)/dnd/*.txt $(DISTDIR)/samples/dnd
        cp $(SAMPDIR)/dnd/*.cpp $(DISTDIR)/samples/dnd
        cp $(SAMPDIR)/dnd/*.xpm $(DISTDIR)/samples/dnd
        cp $(SAMPDIR)/dnd/*.txt $(DISTDIR)/samples/dnd
@@ -613,7 +617,7 @@ SAMPLES_DIST: ALL_GUI_DIST
        cp $(SAMPDIR)/image/makefile.unx $(DISTDIR)/samples/image
        cp $(SAMPDIR)/image/*.cpp $(DISTDIR)/samples/image
        cp $(SAMPDIR)/image/*.mms $(DISTDIR)/samples/image
        cp $(SAMPDIR)/image/makefile.unx $(DISTDIR)/samples/image
        cp $(SAMPDIR)/image/*.cpp $(DISTDIR)/samples/image
        cp $(SAMPDIR)/image/*.mms $(DISTDIR)/samples/image
-       cp $(SAMPDIR)/image/horse.* $(DISTDIR)/samples/image
+       cp $(SAMPDIR)/image/horse*.* $(DISTDIR)/samples/image
        cp $(SAMPDIR)/image/smile.xbm $(DISTDIR)/samples/image
        cp $(SAMPDIR)/image/smile.xpm $(DISTDIR)/samples/image
 
        cp $(SAMPDIR)/image/smile.xbm $(DISTDIR)/samples/image
        cp $(SAMPDIR)/image/smile.xpm $(DISTDIR)/samples/image
 
@@ -669,6 +673,10 @@ SAMPLES_DIST: ALL_GUI_DIST
        cp $(SAMPDIR)/listctrl/*.xpm $(DISTDIR)/samples/listctrl
        cp $(SAMPDIR)/listctrl/bitmaps/*.xpm $(DISTDIR)/samples/listctrl/bitmaps
 
        cp $(SAMPDIR)/listctrl/*.xpm $(DISTDIR)/samples/listctrl
        cp $(SAMPDIR)/listctrl/bitmaps/*.xpm $(DISTDIR)/samples/listctrl/bitmaps
 
+       mkdir $(DISTDIR)/samples/mediaplayer
+       cp $(SAMPDIR)/mediaplayer/Makefile.in $(DISTDIR)/samples/mediaplayer
+       cp $(SAMPDIR)/mediaplayer/*.cpp $(DISTDIR)/samples/mediaplayer
+
        mkdir $(DISTDIR)/samples/mdi
        mkdir $(DISTDIR)/samples/mdi/bitmaps
        cp $(SAMPDIR)/mdi/Makefile.in $(DISTDIR)/samples/mdi
        mkdir $(DISTDIR)/samples/mdi
        mkdir $(DISTDIR)/samples/mdi/bitmaps
        cp $(SAMPDIR)/mdi/Makefile.in $(DISTDIR)/samples/mdi
@@ -756,6 +764,11 @@ SAMPLES_DIST: ALL_GUI_DIST
        cp $(SAMPDIR)/png/*.h $(DISTDIR)/samples/png
        cp $(SAMPDIR)/png/*.png $(DISTDIR)/samples/png
 
        cp $(SAMPDIR)/png/*.h $(DISTDIR)/samples/png
        cp $(SAMPDIR)/png/*.png $(DISTDIR)/samples/png
 
+       mkdir $(DISTDIR)/samples/popup
+       cp $(SAMPDIR)/popup/Makefile.in $(DISTDIR)/samples/popup
+       cp $(SAMPDIR)/popup/makefile.unx $(DISTDIR)/samples/popup
+       cp $(SAMPDIR)/popup/*.cpp $(DISTDIR)/samples/popup
+
        mkdir $(DISTDIR)/samples/printing
        cp $(SAMPDIR)/printing/Makefile.in $(DISTDIR)/samples/printing
        cp $(SAMPDIR)/printing/makefile.unx $(DISTDIR)/samples/printing
        mkdir $(DISTDIR)/samples/printing
        cp $(SAMPDIR)/printing/Makefile.in $(DISTDIR)/samples/printing
        cp $(SAMPDIR)/printing/makefile.unx $(DISTDIR)/samples/printing
@@ -780,7 +793,7 @@ SAMPLES_DIST: ALL_GUI_DIST
        cp $(SAMPDIR)/rotate/Makefile.in $(DISTDIR)/samples/rotate
        cp $(SAMPDIR)/rotate/makefile.unx $(DISTDIR)/samples/rotate
        cp $(SAMPDIR)/rotate/*.cpp $(DISTDIR)/samples/rotate
        cp $(SAMPDIR)/rotate/Makefile.in $(DISTDIR)/samples/rotate
        cp $(SAMPDIR)/rotate/makefile.unx $(DISTDIR)/samples/rotate
        cp $(SAMPDIR)/rotate/*.cpp $(DISTDIR)/samples/rotate
-       cp $(SAMPDIR)/rotate/*.bmp $(DISTDIR)/samples/rotate
+       cp $(SAMPDIR)/rotate/*.png $(DISTDIR)/samples/rotate
 
        mkdir $(DISTDIR)/samples/richedit
        cp $(SAMPDIR)/richedit/Makefile.in $(DISTDIR)/samples/richedit
 
        mkdir $(DISTDIR)/samples/richedit
        cp $(SAMPDIR)/richedit/Makefile.in $(DISTDIR)/samples/richedit
@@ -840,6 +853,7 @@ SAMPLES_DIST: ALL_GUI_DIST
        cp $(SAMPDIR)/splash/Makefile.in $(DISTDIR)/samples/splash
        cp $(SAMPDIR)/splash/*.cpp $(DISTDIR)/samples/splash
        cp $(SAMPDIR)/splash/*.png $(DISTDIR)/samples/splash
        cp $(SAMPDIR)/splash/Makefile.in $(DISTDIR)/samples/splash
        cp $(SAMPDIR)/splash/*.cpp $(DISTDIR)/samples/splash
        cp $(SAMPDIR)/splash/*.png $(DISTDIR)/samples/splash
+       cp $(SAMPDIR)/splash/*.mpg $(DISTDIR)/samples/splash
 
        mkdir $(DISTDIR)/samples/splitter
        cp $(SAMPDIR)/splitter/Makefile.in $(DISTDIR)/samples/splitter
 
        mkdir $(DISTDIR)/samples/splitter
        cp $(SAMPDIR)/splitter/Makefile.in $(DISTDIR)/samples/splitter
@@ -898,6 +912,10 @@ SAMPLES_DIST: ALL_GUI_DIST
        cp $(SAMPDIR)/validate/*.h $(DISTDIR)/samples/validate
        cp $(SAMPDIR)/validate/*.xpm $(DISTDIR)/samples/validate
 
        cp $(SAMPDIR)/validate/*.h $(DISTDIR)/samples/validate
        cp $(SAMPDIR)/validate/*.xpm $(DISTDIR)/samples/validate
 
+       mkdir $(DISTDIR)/samples/vscroll
+       cp $(SAMPDIR)/vscroll/Makefile.in $(DISTDIR)/samples/vscroll
+       cp $(SAMPDIR)/vscroll/*.cpp $(DISTDIR)/samples/vscroll
+
        mkdir $(DISTDIR)/samples/wizard
        cp $(SAMPDIR)/wizard/Makefile.in $(DISTDIR)/samples/wizard
        cp $(SAMPDIR)/wizard/makefile.unx $(DISTDIR)/samples/wizard
        mkdir $(DISTDIR)/samples/wizard
        cp $(SAMPDIR)/wizard/Makefile.in $(DISTDIR)/samples/wizard
        cp $(SAMPDIR)/wizard/makefile.unx $(DISTDIR)/samples/wizard
@@ -912,6 +930,17 @@ SAMPLES_DIST: ALL_GUI_DIST
        cp $(SAMPDIR)/widgets/*.rc $(DISTDIR)/samples/widgets
        cp $(SAMPDIR)/widgets/icons/*.xpm $(DISTDIR)/samples/widgets/icons
 
        cp $(SAMPDIR)/widgets/*.rc $(DISTDIR)/samples/widgets
        cp $(SAMPDIR)/widgets/icons/*.xpm $(DISTDIR)/samples/widgets/icons
 
+       mkdir $(DISTDIR)/samples/xrc
+       mkdir $(DISTDIR)/samples/xrc/rc
+       cp $(SAMPDIR)/xrc/Makefile.in $(DISTDIR)/samples/xrc
+       cp $(SAMPDIR)/xrc/*.cpp $(DISTDIR)/samples/xrc
+       cp $(SAMPDIR)/xrc/*.h $(DISTDIR)/samples/xrc
+       cp $(SAMPDIR)/xrc/*.rc $(DISTDIR)/samples/xrc
+       cp $(SAMPDIR)/xrc/rc/*.xpm $(DISTDIR)/samples/xrc/rc
+       cp $(SAMPDIR)/xrc/rc/*.xrc $(DISTDIR)/samples/xrc/rc
+       cp $(SAMPDIR)/xrc/rc/*.gif $(DISTDIR)/samples/xrc/rc
+       cp $(SAMPDIR)/xrc/rc/*.ico $(DISTDIR)/samples/xrc/rc
+
 UTILS_DIST: ALL_GUI_DIST
        mkdir $(DISTDIR)/utils
        cp $(UTILSDIR)/Makefile.in $(DISTDIR)/utils
 UTILS_DIST: ALL_GUI_DIST
        mkdir $(DISTDIR)/utils
        cp $(UTILSDIR)/Makefile.in $(DISTDIR)/utils
@@ -964,11 +993,6 @@ UTILS_DIST: ALL_GUI_DIST
        cp $(UTILSDIR)/wxrc/*.rc $(DISTDIR)/utils/wxrc
 
 MISC_DIST: ALL_GUI_DIST
        cp $(UTILSDIR)/wxrc/*.rc $(DISTDIR)/utils/wxrc
 
 MISC_DIST: ALL_GUI_DIST
-       mkdir $(DISTDIR)/misc
-       mkdir $(DISTDIR)/misc/afm
-       cp $(MISCDIR)/afm/*.afm  $(DISTDIR)/misc/afm
-       mkdir $(DISTDIR)/misc/gs_afm
-       cp $(MISCDIR)/gs_afm/*.afm  $(DISTDIR)/misc/gs_afm
 
 INTL_DIST:
        mkdir $(DISTDIR)/locale
 
 INTL_DIST:
        mkdir $(DISTDIR)/locale
@@ -1105,7 +1129,7 @@ debian-dist: debian-native-dist debian-msw-dirs MSW_DIST
        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"    \
        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 "*.bkl" -o -name "*.pro"  \
                           -o -name "*.vpj" -o -name "*.sc"                      \
                           -o \( -name "makefile.*" -a ! -name "makefile.unx" \) \
                        \) -print0 | xargs -0 rm -rf
                           -o -name "*.vpj" -o -name "*.sc"                      \
                           -o \( -name "makefile.*" -a ! -name "makefile.unx" \) \
                        \) -print0 | xargs -0 rm -rf