############################# Dirs #################################
-WXDIR = @abs_top_srcdir@
+WXDIR = $(top_srcdir)
# Subordinate library possibilities
REGEXDIR = $(WXDIR)/src/regex
EXPATDIR = $(WXDIR)/src/expat
GTKDIR = $(WXDIR)/src/gtk
+GTK1DIR = $(WXDIR)/src/gtk1
X11DIR = $(WXDIR)/src/x11
X11INC = $(WXDIR)/include/wx/x11
MGLDIR = $(WXDIR)/src/mgl
########################## Tools ###############################
-CP_PR = @LNDIR@
-CP_P = $(LN_S) -f
+CP_PR = cp -pR
+CP_P = cp -p
########################## make dist rules ###############################
$(CP_P) $(WXDIR)/configure $(DISTDIR)
$(CP_P) $(WXDIR)/autoconf_inc.m4 $(DISTDIR)
$(CP_P) $(WXDIR)/wxwin.m4 $(DISTDIR)
+ $(CP_P) $(WXDIR)/acinclude.m4 $(DISTDIR)
$(CP_P) $(WXDIR)/aclocal.m4 $(DISTDIR)
$(CP_P) $(WXDIR)/config.sub $(DISTDIR)
$(CP_P) $(WXDIR)/config.guess $(DISTDIR)
$(CP_P) $(REGEXDIR)/*.c $(DISTDIR)/src/regex
$(CP_P) $(REGEXDIR)/COPYRIGHT $(DISTDIR)/src/regex
$(CP_P) $(REGEXDIR)/README $(DISTDIR)/src/regex
- case "$(CP_PR)" in *lndir) mkdir $(DISTDIR)/src/expat; esac
$(CP_PR) $(EXPATDIR) $(DISTDIR)/src/expat
#(cd $(DISTDIR)/src/expat ; rm -rf `find -name CVS`)
mkdir $(DISTDIR)/src/iodbc
$(CP_P) $(GTKDIR)/*.c $(DISTDIR)/src/gtk
$(CP_P) $(GTKDIR)/*.xbm $(DISTDIR)/src/gtk
$(CP_P) $(GTKDIR)/*.mms $(DISTDIR)/src/gtk
+ mkdir $(DISTDIR)/include/wx/gtk1
+ $(CP_P) $(INCDIR)/wx/gtk1/*.h $(DISTDIR)/include/wx/gtk1
+ mkdir $(DISTDIR)/src/gtk1
+ $(CP_P) $(GTK1DIR)/*.h $(DISTDIR)/src/gtk1
+ $(CP_P) $(GTK1DIR)/*.cpp $(DISTDIR)/src/gtk1
+ $(CP_P) $(GTK1DIR)/*.c $(DISTDIR)/src/gtk1
+ $(CP_P) $(GTK1DIR)/*.xbm $(DISTDIR)/src/gtk1
+ $(CP_P) $(GTK1DIR)/*.mms $(DISTDIR)/src/gtk1
mkdir $(DISTDIR)/include/wx/gtk/gnome
mkdir $(DISTDIR)/src/gtk/gnome
mkdir $(DISTDIR)/include/wx/mac/corefoundation
$(CP_P) $(WXDIR)/include/wx/mac/corefoundation/*.h $(DISTDIR)/include/wx/mac/corefoundation
- case "$(CP_PR)" in *lndir) mkdir $(DISTDIR)/contrib; esac
$(CP_PR) $(WXDIR)/contrib $(DISTDIR)/contrib
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
- case "$(CP_PR)" in *lndir) mkdir $(DISTDIR)/contrib; esac
$(CP_PR) $(WXDIR)/contrib $(DISTDIR)/contrib
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
- case "$(CP_PR)" in *lndir) mkdir $(DISTDIR)/contrib; esac
$(CP_PR) $(WXDIR)/contrib $(DISTDIR)/contrib
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
- case "$(CP_PR)" in *lndir) mkdir $(DISTDIR)/contrib; esac
$(CP_PR) $(WXDIR)/contrib $(DISTDIR)/contrib
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
- case "$(CP_PR)" in *lndir) mkdir $(DISTDIR)/contrib; esac
$(CP_PR) $(WXDIR)/contrib $(DISTDIR)/contrib
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
- case "$(CP_PR)" in *lndir) mkdir $(DISTDIR)/contrib; esac
$(CP_PR) $(WXDIR)/contrib $(DISTDIR)/contrib
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
- case "$(CP_PR)" in *lndir) mkdir $(DISTDIR)/contrib; esac
$(CP_PR) $(WXDIR)/contrib $(DISTDIR)/contrib
UNIV_DIST: ALL_GUI_DIST
$(CP_P) $(SRCDIR)/mgl/*.cpp $(DISTDIR)/src/mgl
mkdir $(DISTDIR)/src/msdos
$(CP_P) $(SRCDIR)/msdos/*.cpp $(DISTDIR)/src/msdos
- case "$(CP_PR)" in *lndir) mkdir $(DISTDIR)/contrib; esac
$(CP_PR) $(WXDIR)/contrib $(DISTDIR)/contrib
DEMOS_DIST: ALL_GUI_DIST
$(CP_P) $(DEMODIR)/bombs/*.rc $(DISTDIR)/demos/bombs
$(CP_P) $(DEMODIR)/bombs/readme.txt $(DISTDIR)/demos/bombs
- case "$(CP_PR)" in *lndir) mkdir $(DISTDIR)/demos/dbbrowse; esac
$(CP_PR) $(DEMODIR)/dbbrowse $(DISTDIR)/demos/dbbrowse
mkdir $(DISTDIR)/demos/forty
$(CP_P) $(DEMODIR)/forty/*.h $(DISTDIR)/demos/forty
$(CP_P) $(DEMODIR)/forty/*.cpp $(DISTDIR)/demos/forty
$(CP_P) $(DEMODIR)/forty/*.xpm $(DISTDIR)/demos/forty
- $(CP_P) $(DEMODIR)/forty/*.xbm $(DISTDIR)/demos/forty
$(CP_P) $(DEMODIR)/forty/*.htm $(DISTDIR)/demos/forty
- $(CP_P) $(DEMODIR)/forty/*.bmp $(DISTDIR)/demos/forty
$(CP_P) $(DEMODIR)/forty/*.ico $(DISTDIR)/demos/forty
$(CP_P) $(DEMODIR)/forty/*.rc $(DISTDIR)/demos/forty
$(CP_P) $(DEMODIR)/forty/readme.txt $(DISTDIR)/demos/forty
$(CP_P) $(SAMPDIR)/opengl/penguin/*.cpp $(DISTDIR)/samples/opengl/penguin
$(CP_P) $(SAMPDIR)/opengl/penguin/*.c $(DISTDIR)/samples/opengl/penguin
$(CP_P) $(SAMPDIR)/opengl/penguin/*.h $(DISTDIR)/samples/opengl/penguin
- $(CP_P) $(SAMPDIR)/opengl/penguin/*.lwo $(DISTDIR)/samples/opengl/penguin
+ $(CP_P) $(SAMPDIR)/opengl/penguin/*.dxf.gz $(DISTDIR)/samples/opengl/penguin
mkdir $(DISTDIR)/samples/opengl/cube
$(CP_P) $(SAMPDIR)/opengl/cube/Makefile.in $(DISTDIR)/samples/opengl/cube
$(CP_P) $(SAMPDIR)/opengl/cube/makefile.unx $(DISTDIR)/samples/opengl/cube
$(CP_P) $(SAMPDIR)/rotate/*.cpp $(DISTDIR)/samples/rotate
$(CP_P) $(SAMPDIR)/rotate/*.png $(DISTDIR)/samples/rotate
- mkdir $(DISTDIR)/samples/richedit
- $(CP_P) $(SAMPDIR)/richedit/Makefile.in $(DISTDIR)/samples/richedit
- $(CP_P) $(SAMPDIR)/richedit/makefile.unx $(DISTDIR)/samples/richedit
- $(CP_P) $(SAMPDIR)/richedit/*.cpp $(DISTDIR)/samples/richedit
- $(CP_P) $(SAMPDIR)/richedit/*.h $(DISTDIR)/samples/richedit
- $(CP_P) $(SAMPDIR)/richedit/*.xpm $(DISTDIR)/samples/richedit
- $(CP_P) $(SAMPDIR)/richedit/README $(DISTDIR)/samples/richedit
- $(CP_P) $(SAMPDIR)/richedit/TODO $(DISTDIR)/samples/richedit
-
mkdir $(DISTDIR)/samples/richtext
mkdir $(DISTDIR)/samples/richtext/bitmaps
$(CP_P) $(SAMPDIR)/richtext/Makefile.in $(DISTDIR)/samples/richtext
$(CP_P) $(SAMPDIR)/splash/*.cpp $(DISTDIR)/samples/splash
$(CP_P) $(SAMPDIR)/splash/*.png $(DISTDIR)/samples/splash
$(CP_P) $(SAMPDIR)/splash/*.mpg $(DISTDIR)/samples/splash
+ $(CP_P) $(SAMPDIR)/splash/*.xpm $(DISTDIR)/samples/splash
mkdir $(DISTDIR)/samples/splitter
$(CP_P) $(SAMPDIR)/splitter/Makefile.in $(DISTDIR)/samples/splitter