tif_write.o \
tif_zip.o
-IODBC_OBJS = \
+IODBCOBJS = \
catalog.o \
connect.o \
dlf.o \
misc.o \
prepare.o \
result.o
+
############################## Rules ##################################
BURNT_LIBRARY_NAME = @BURNT_LIBRARY_NAME@
@WX_LIBRARY_NAME_SHARED@: $(OBJECTS)
@$(INSTALL) -d ./lib
- $(SHARED_LD) ./lib/$@ $(BURNT_LIBRARY_NAME) $(OBJECTS) $(EXTRALIBS)
+ $(SHARED_LD) $(LDFLAGS) ./lib/$@ $(BURNT_LIBRARY_NAME) $(OBJECTS) $(EXTRALIBS)
CREATE_LINKS: @WX_LIBRARY_NAME_SHARED@
@$(RM) ./lib/@WX_LIBRARY_LINK1@
cp $(WXDIR)/@PORT_FILES@ $(DISTDIR)/@PORT_FILES@
cp $(WXDIR)/@RPM_FILES@ $(DISTDIR)/@RPM_FILES@
cp $(WXDIR)/@RPM_SPEC@ $(DISTDIR)/@RPM_SPEC@
+ cp $(WXDIR)/wxBase.dsp $(DISTDIR)
cp $(DOCDIR)/install.txt $(DISTDIR)/INSTALL.txt
cp $(DOCDIR)/changes.txt $(DISTDIR)/CHANGES.txt
cp $(DOCDIR)/readme.txt $(DISTDIR)/README.txt
DEMOS_DIST: ALL_GUI_DIST
mkdir $(DISTDIR)/demos
cp $(DEMODIR)/Makefile.in $(DISTDIR)/demos
- cp $(DEMODIR)/configure $(DISTDIR)/samples
- cp $(DEMODIR)/configure.in $(DISTDIR)/samples
-
+ cp $(DEMODIR)/configure $(DISTDIR)/demos
+ cp $(DEMODIR)/configure.in $(DISTDIR)/demos
+
+ cp -R $(DEMODIR)/dbbrowse $(DISTDIR)/demos/dbbrowse
+
mkdir $(DISTDIR)/demos/bombs
cp $(DEMODIR)/bombs/Makefile.in $(DISTDIR)/demos/bombs
cp $(DEMODIR)/bombs/makefile.unx $(DISTDIR)/demos/bombs
cp $(DEMODIR)/life/*.cpp $(DISTDIR)/demos/life
cp $(DEMODIR)/life/*.h $(DISTDIR)/demos/life
cp $(DEMODIR)/life/*.xpm $(DISTDIR)/demos/life
+ cp $(DEMODIR)/life/*.inc $(DISTDIR)/demos/life
cp $(DEMODIR)/life/bitmaps/*.xpm $(DISTDIR)/demos/life/bitmaps
mkdir $(DISTDIR)/demos/poem
cp $(DEMODIR)/poem/Makefile.in $(DISTDIR)/demos/poem
cp $(DEMODIR)/poem/makefile.unx $(DISTDIR)/demos/poem
+ cp $(DEMODIR)/poem/*.h $(DISTDIR)/demos/poem
cp $(DEMODIR)/poem/*.cpp $(DISTDIR)/demos/poem
cp $(DEMODIR)/poem/*.xpm $(DISTDIR)/demos/poem
cp $(DEMODIR)/poem/*.dat $(DISTDIR)/demos/poem
cp $(SAMPDIR)/resource/*.h $(DISTDIR)/samples/resource
cp $(SAMPDIR)/resource/*.wxr $(DISTDIR)/samples/resource
+ mkdir $(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
+
mkdir $(DISTDIR)/samples/richedit
cp $(SAMPDIR)/richedit/Makefile.in $(DISTDIR)/samples/richedit
cp $(SAMPDIR)/richedit/*.cpp $(DISTDIR)/samples/richedit
cp $(SAMPDIR)/richedit/README $(DISTDIR)/samples/richedit
cp $(SAMPDIR)/richedit/TODO $(DISTDIR)/samples/richedit
+ mkdir $(DISTDIR)/samples/plot
+ cp $(SAMPDIR)/plot/Makefile.in $(DISTDIR)/samples/plot
+ cp $(SAMPDIR)/plot/makefile.unx $(DISTDIR)/samples/plot
+ cp $(SAMPDIR)/plot/*.cpp $(DISTDIR)/samples/plot
+
mkdir $(DISTDIR)/samples/proplist
cp $(SAMPDIR)/proplist/Makefile.in $(DISTDIR)/samples/proplist
cp $(SAMPDIR)/proplist/*.cpp $(DISTDIR)/samples/proplist
cp $(SAMPDIR)/splitter/Makefile.in $(DISTDIR)/samples/splitter
cp $(SAMPDIR)/splitter/*.cpp $(DISTDIR)/samples/splitter
+ mkdir $(DISTDIR)/samples/statbar
+ cp $(SAMPDIR)/statbar/Makefile.in $(DISTDIR)/samples/statbar
+ cp $(SAMPDIR)/statbar/*.cpp $(DISTDIR)/samples/statbar
+ cp $(SAMPDIR)/statbar/*.xpm $(DISTDIR)/samples/statbar
+
mkdir $(DISTDIR)/samples/text
cp $(SAMPDIR)/text/Makefile.in $(DISTDIR)/samples/text
cp $(SAMPDIR)/text/makefile.unx $(DISTDIR)/samples/text
UTILS_DIST: ALL_GUI_DIST
mkdir $(DISTDIR)/utils
cp $(UTILSDIR)/Makefile.in $(DISTDIR)/utils
- cp $(UTILSDIR)/configure $(DISTDIR)/samples
- cp $(UTILSDIR)/configure.in $(DISTDIR)/samples
+ cp $(UTILSDIR)/configure $(DISTDIR)/utils
+ cp $(UTILSDIR)/configure.in $(DISTDIR)/utils
mkdir $(DISTDIR)/utils/wxMMedia2
mkdir $(DISTDIR)/utils/wxMMedia2/lib
mkdir $(DISTDIR)/misc/gs_afm
cp $(MISCDIR)/gs_afm/*.afm $(DISTDIR)/misc/gs_afm
+MANUAL_DIST:
+ mkdir $(DISTDIR)/docs
+ mkdir $(DISTDIR)/docs/latex
+ mkdir $(DISTDIR)/docs/latex/wx
+ cp $(DOCDIR)/latex/wx/*.tex $(DISTDIR)/docs/latex/wx
+ cp $(DOCDIR)/latex/wx/*.gif $(DISTDIR)/docs/latex/wx
+ cp $(DOCDIR)/latex/wx/*.ini $(DISTDIR)/docs/latex/wx
+ cp $(DOCDIR)/latex/wx/*.bib $(DISTDIR)/docs/latex/wx
+ cp $(DOCDIR)/latex/wx/*.sty $(DISTDIR)/docs/latex/wx
+
+ -mkdir $(DISTDIR)/utils
+ mkdir $(DISTDIR)/utils/tex2rtf
+ mkdir $(DISTDIR)/utils/tex2rtf/src
+ cp $(UTILSDIR)/tex2rtf/*.in $(DISTDIR)/utils/tex2rtf
+ cp $(UTILSDIR)/tex2rtf/src/*.h $(DISTDIR)/utils/tex2rtf/src
+ cp $(UTILSDIR)/tex2rtf/src/*.in $(DISTDIR)/utils/tex2rtf/src
+ cp $(UTILSDIR)/tex2rtf/src/*.cpp $(DISTDIR)/utils/tex2rtf/src
+ cp $(UTILSDIR)/tex2rtf/src/tex2rtf.* $(DISTDIR)/utils/tex2rtf/src
+
+# this target does not generate a complete wxPython dist, it only includes
+# those files needed for the Debian source package.
+# see utils/wxPython/distrib for scripts to make a proper wxPython dist.
+PYTHON_DIST:
+ mkdir $(DISTDIR)/utils/wxPython
+ mkdir $(DISTDIR)/utils/wxPython/demo
+ mkdir $(DISTDIR)/utils/wxPython/demo/bitmaps
+ mkdir $(DISTDIR)/utils/wxPython/demo/data
+ mkdir $(DISTDIR)/utils/wxPython/distrib
+ mkdir $(DISTDIR)/utils/wxPython/lib
+ mkdir $(DISTDIR)/utils/wxPython/lib/editor
+ mkdir $(DISTDIR)/utils/wxPython/lib/sizers
+ mkdir $(DISTDIR)/utils/wxPython/modules
+ mkdir $(DISTDIR)/utils/wxPython/modules/html
+ mkdir $(DISTDIR)/utils/wxPython/modules/utils
+ mkdir $(DISTDIR)/utils/wxPython/modules/utils/gtk
+ mkdir $(DISTDIR)/utils/wxPython/src
+ mkdir $(DISTDIR)/utils/wxPython/src/gtk
+
+ cp $(UTILSDIR)/wxPython/*.txt $(DISTDIR)/utils/wxPython
+ -cp $(UTILSDIR)/wxPython/demo/* $(DISTDIR)/utils/wxPython/demo
+ -cp $(UTILSDIR)/wxPython/demo/bitmaps/* $(DISTDIR)/utils/wxPython/demo/bitmaps
+ -cp $(UTILSDIR)/wxPython/demo/data/* $(DISTDIR)/utils/wxPython/demo/data
+ cp $(UTILSDIR)/wxPython/distrib/build.py $(DISTDIR)/utils/wxPython/distrib
+ cp $(UTILSDIR)/wxPython/lib/*.py $(DISTDIR)/utils/wxPython/lib
+ cp $(UTILSDIR)/wxPython/lib/editor/*.py $(DISTDIR)/utils/wxPython/lib/editor
+ cp $(UTILSDIR)/wxPython/lib/sizers/*.py $(DISTDIR)/utils/wxPython/lib/sizers
+ -cp $(UTILSDIR)/wxPython/modules/html/* $(DISTDIR)/utils/wxPython/modules/html
+ -cp $(UTILSDIR)/wxPython/modules/utils/* $(DISTDIR)/utils/wxPython/modules/utils
+ cp $(UTILSDIR)/wxPython/modules/utils/gtk/utils.* $(DISTDIR)/utils/wxPython/modules/utils/gtk
+ -cp $(UTILSDIR)/wxPython/src/* $(DISTDIR)/utils/wxPython/src
+ cp $(UTILSDIR)/wxPython/src/gtk/*.py $(DISTDIR)/utils/wxPython/src/gtk
+ cp $(UTILSDIR)/wxPython/src/gtk/*.cpp $(DISTDIR)/utils/wxPython/src/gtk
+
distclean:
$(RM) -r _dist_dir
mv wxDemos demos; \
fi
+debian-dist: @GUIDIST@ MANUAL_DIST PYTHON_DIST
+ mkdir $(DISTDIR)/debian
+ -cp $(WXDIR)/debian/* $(DISTDIR)/debian
+ cp $(DOCDIR)/licence.txt $(DISTDIR)/docs
+ cp $(DOCDIR)/licendoc.txt $(DISTDIR)/docs
+ cp $(DOCDIR)/preamble.txt $(DISTDIR)/docs
+ rm -rf $(WXDIR)/../wxwindows$(WX_MAJOR_VERSION_NUMBER).$(WX_MINOR_VERSION_NUMBER)-$(WX_MAJOR_VERSION_NUMBER).$(WX_MINOR_VERSION_NUMBER).$(WX_RELEASE_NUMBER)
+ mv $(DISTDIR) $(WXDIR)/../wxwindows$(WX_MAJOR_VERSION_NUMBER).$(WX_MINOR_VERSION_NUMBER)-$(WX_MAJOR_VERSION_NUMBER).$(WX_MINOR_VERSION_NUMBER).$(WX_RELEASE_NUMBER)
+
clean:
$(RM) *.o
$(RM) *.d