-X11_DIST: ALL_GUI_DIST UNIV_DIST
- cp $(WXDIR)/wxX11.spec $(DISTDIR)
- cp $(INCDIR)/wx/x11/*.h $(DISTDIR)/include/wx/x11
- cp $(X11DIR)/*.cpp $(DISTDIR)/src/x11
- cp $(X11DIR)/*.c $(DISTDIR)/src/x11
- cp $(X11DIR)/*.xbm $(DISTDIR)/src/x11
- mkdir $(DISTDIR)/contrib
- cp -R $(WXDIR)/contrib $(DISTDIR)
+ mkdir $(DISTDIR)/include/wx/gtk/gnome
+ mkdir $(DISTDIR)/src/gtk/gnome
+ $(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
+
+ case "$(CP_PR)" in *lndir) mkdir $(DISTDIR)/contrib; esac
+ $(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
+ $(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
+ case "$(CP_PR)" in *lndir) mkdir $(DISTDIR)/contrib; esac
+ $(CP_PR) $(WXDIR)/contrib $(DISTDIR)/contrib