More makefiles, distrib things,

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3937 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling 1999-10-12 09:44:18 +00:00
parent 11cde40611
commit 79144b8a47
20 changed files with 116 additions and 95 deletions

View File

@ -1,5 +1,5 @@
#
# This file was automatically generated by tmake at 09:29, 1999/10/11
# This file was automatically generated by tmake at 10:20, 1999/10/12
# DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE UNX.T!
#
@ -121,7 +121,7 @@ DOCDIR = $(WXDIR)/docs
########################## Archive name ###############################
WXARCHIVE = wx$(TOOLKIT)-$(WX_MAJOR_VERSION_NUMBER).$(WX_MINOR_VERSION_NUMBER).$(WX_RELEASE_NUMBER)-b9.tgz
WXARCHIVE = wx$(TOOLKIT)-$(WX_MAJOR_VERSION_NUMBER).$(WX_MINOR_VERSION_NUMBER).$(WX_RELEASE_NUMBER).tgz
DISTDIR = ./_dist_dir/wx$(TOOLKIT)
############################## Files ##################################
@ -2155,9 +2155,7 @@ ALL_DIST:
cp $(COMMDIR)/*.y $(DISTDIR)/src/common
cp $(GENDIR)/*.cpp $(DISTDIR)/src/generic
cp $(HTMLDIR)/*.cpp $(DISTDIR)/src/html
cp $(HTMLDIR)/*.h $(DISTDIR)/src/html
cp $(HTMLDIR)/bitmaps/*.xpm $(DISTDIR)/src/html/bitmaps
cp $(UNIXDIR)/*.h $(DISTDIR)/src/unix
cp $(UNIXDIR)/*.c $(DISTDIR)/src/unix
cp $(UNIXDIR)/*.cpp $(DISTDIR)/src/unix
cp $(PNGDIR)/*.h $(DISTDIR)/src/png
@ -2233,6 +2231,11 @@ SAMPLES_DIST:
cp $(SAMPDIR)/printing/*.h $(DISTDIR)/samples/printing
cp $(SAMPDIR)/printing/*.xpm $(DISTDIR)/samples/printing
cp $(SAMPDIR)/printing/*.xbm $(DISTDIR)/samples/printing
mkdir $(DISTDIR)/samples/db
cp $(SAMPDIR)/db/Makefile.in $(DISTDIR)/samples/db
cp $(SAMPDIR)/db/*.cpp $(DISTDIR)/samples/db
cp $(SAMPDIR)/db/*.h $(DISTDIR)/samples/db
cp $(SAMPDIR)/db/*.xpm $(DISTDIR)/samples/db
mkdir $(DISTDIR)/samples/dialogs
cp $(SAMPDIR)/dialogs/Makefile.in $(DISTDIR)/samples/dialogs
cp $(SAMPDIR)/dialogs/*.cpp $(DISTDIR)/samples/dialogs
@ -2261,6 +2264,14 @@ SAMPLES_DIST:
cp $(SAMPDIR)/dynamic/Makefile.in $(DISTDIR)/samples/dynamic
cp $(SAMPDIR)/dynamic/*.cpp $(DISTDIR)/samples/dynamic
cp $(SAMPDIR)/dynamic/*.xpm $(DISTDIR)/samples/dynamic
mkdir $(DISTDIR)/samples/forty
cp $(SAMPDIR)/forty/Makefile.in $(DISTDIR)/samples/forty
cp $(SAMPDIR)/forty/*.cpp $(DISTDIR)/samples/forty
cp $(SAMPDIR)/forty/*.xpm $(DISTDIR)/samples/forty
cp $(SAMPDIR)/forty/*.xbm $(DISTDIR)/samples/forty
mkdir $(DISTDIR)/samples/fractal
cp $(SAMPDIR)/fractal/Makefile.in $(DISTDIR)/samples/fractal
cp $(SAMPDIR)/fractal/*.cpp $(DISTDIR)/samples/fractal
mkdir $(DISTDIR)/samples/html
cp $(SAMPDIR)/html/Makefile.in $(DISTDIR)/samples/html
mkdir $(DISTDIR)/samples/html/about
@ -2340,6 +2351,11 @@ SAMPLES_DIST:
cp $(SAMPDIR)/notebook/Makefile.in $(DISTDIR)/samples/notebook
cp $(SAMPDIR)/notebook/*.cpp $(DISTDIR)/samples/notebook
cp $(SAMPDIR)/notebook/*.h $(DISTDIR)/samples/notebook
mkdir $(DISTDIR)/samples/png
cp $(SAMPDIR)/png/Makefile.in $(DISTDIR)/samples/png
cp $(SAMPDIR)/png/*.cpp $(DISTDIR)/samples/png
cp $(SAMPDIR)/png/*.h $(DISTDIR)/samples/png
cp $(SAMPDIR)/png/*.png $(DISTDIR)/samples/png
mkdir $(DISTDIR)/samples/proplist
cp $(SAMPDIR)/proplist/Makefile.in $(DISTDIR)/samples/proplist
cp $(SAMPDIR)/proplist/*.cpp $(DISTDIR)/samples/proplist

View File

@ -1526,10 +1526,7 @@ fi
if test "$wxUSE_GTK" = 1; then
dnl avoid calling AM_PATH_GTK twice, so check first for the newer version and
dnl only then, if it wasn't found, for an older one
AM_PATH_GTK(1.2.0, WXGTK12=1)
if test "$WXGTK12" != 1; then
AM_PATH_GTK(1.0.0, , AC_MSG_ERROR(Is gtk-config in path and GTK+ is version 1.2.X or 1.0.X?))
fi
AM_PATH_GTK(1.2.1, WXGTK12=1, AC_MSG_ERROR(Is gtk-config in path and GTK+ is version 1.2.1 or above?))
TOOLKIT_INCLUDE="$GTK_CFLAGS"
GUI_TK_LIBRARY="$GTK_LIBS"
@ -2940,7 +2937,8 @@ AC_OUTPUT([
samples/docvwmdi/Makefile
samples/dnd/Makefile
samples/drawing/Makefile
samples/dynamic/Makefile
samples/forty/Makefile
samples/fractal/Makefile
samples/image/Makefile
samples/internat/Makefile
samples/layout/Makefile
@ -2951,6 +2949,7 @@ AC_OUTPUT([
samples/nettest/Makefile
samples/newgrid/Makefile
samples/notebook/Makefile
samples/png/Makefile
samples/printing/Makefile
samples/proplist/Makefile
samples/richedit/Makefile

View File

@ -294,7 +294,7 @@ DOCDIR = $(WXDIR)/docs
########################## Archive name ###############################
WXARCHIVE = wx$(TOOLKIT)-$(WX_MAJOR_VERSION_NUMBER).$(WX_MINOR_VERSION_NUMBER).$(WX_RELEASE_NUMBER)-b9.tgz
WXARCHIVE = wx$(TOOLKIT)-$(WX_MAJOR_VERSION_NUMBER).$(WX_MINOR_VERSION_NUMBER).$(WX_RELEASE_NUMBER).tgz
DISTDIR = ./_dist_dir/wx$(TOOLKIT)
############################## Files ##################################
@ -712,9 +712,7 @@ ALL_DIST:
cp $(COMMDIR)/*.y $(DISTDIR)/src/common
cp $(GENDIR)/*.cpp $(DISTDIR)/src/generic
cp $(HTMLDIR)/*.cpp $(DISTDIR)/src/html
cp $(HTMLDIR)/*.h $(DISTDIR)/src/html
cp $(HTMLDIR)/bitmaps/*.xpm $(DISTDIR)/src/html/bitmaps
cp $(UNIXDIR)/*.h $(DISTDIR)/src/unix
cp $(UNIXDIR)/*.c $(DISTDIR)/src/unix
cp $(UNIXDIR)/*.cpp $(DISTDIR)/src/unix
cp $(PNGDIR)/*.h $(DISTDIR)/src/png
@ -790,6 +788,11 @@ SAMPLES_DIST:
cp $(SAMPDIR)/printing/*.h $(DISTDIR)/samples/printing
cp $(SAMPDIR)/printing/*.xpm $(DISTDIR)/samples/printing
cp $(SAMPDIR)/printing/*.xbm $(DISTDIR)/samples/printing
mkdir $(DISTDIR)/samples/db
cp $(SAMPDIR)/db/Makefile.in $(DISTDIR)/samples/db
cp $(SAMPDIR)/db/*.cpp $(DISTDIR)/samples/db
cp $(SAMPDIR)/db/*.h $(DISTDIR)/samples/db
cp $(SAMPDIR)/db/*.xpm $(DISTDIR)/samples/db
mkdir $(DISTDIR)/samples/dialogs
cp $(SAMPDIR)/dialogs/Makefile.in $(DISTDIR)/samples/dialogs
cp $(SAMPDIR)/dialogs/*.cpp $(DISTDIR)/samples/dialogs
@ -818,6 +821,14 @@ SAMPLES_DIST:
cp $(SAMPDIR)/dynamic/Makefile.in $(DISTDIR)/samples/dynamic
cp $(SAMPDIR)/dynamic/*.cpp $(DISTDIR)/samples/dynamic
cp $(SAMPDIR)/dynamic/*.xpm $(DISTDIR)/samples/dynamic
mkdir $(DISTDIR)/samples/forty
cp $(SAMPDIR)/forty/Makefile.in $(DISTDIR)/samples/forty
cp $(SAMPDIR)/forty/*.cpp $(DISTDIR)/samples/forty
cp $(SAMPDIR)/forty/*.xpm $(DISTDIR)/samples/forty
cp $(SAMPDIR)/forty/*.xbm $(DISTDIR)/samples/forty
mkdir $(DISTDIR)/samples/fractal
cp $(SAMPDIR)/fractal/Makefile.in $(DISTDIR)/samples/fractal
cp $(SAMPDIR)/fractal/*.cpp $(DISTDIR)/samples/fractal
mkdir $(DISTDIR)/samples/html
cp $(SAMPDIR)/html/Makefile.in $(DISTDIR)/samples/html
mkdir $(DISTDIR)/samples/html/about
@ -897,6 +908,11 @@ SAMPLES_DIST:
cp $(SAMPDIR)/notebook/Makefile.in $(DISTDIR)/samples/notebook
cp $(SAMPDIR)/notebook/*.cpp $(DISTDIR)/samples/notebook
cp $(SAMPDIR)/notebook/*.h $(DISTDIR)/samples/notebook
mkdir $(DISTDIR)/samples/png
cp $(SAMPDIR)/png/Makefile.in $(DISTDIR)/samples/png
cp $(SAMPDIR)/png/*.cpp $(DISTDIR)/samples/png
cp $(SAMPDIR)/png/*.h $(DISTDIR)/samples/png
cp $(SAMPDIR)/png/*.png $(DISTDIR)/samples/png
mkdir $(DISTDIR)/samples/proplist
cp $(SAMPDIR)/proplist/Makefile.in $(DISTDIR)/samples/proplist
cp $(SAMPDIR)/proplist/*.cpp $(DISTDIR)/samples/proplist

View File

@ -2,7 +2,7 @@
25th October '99: My birthday, wxWindows 2.1.10 released
Enlightment has struck the majority of the developers and
they have chosen ti use the Linux kernel numbering scheme
they have chosen to use the Linux kernel numbering scheme
for wxWindows from now on. This means that the next stable
release will be called wxWindows 2.2.X, development snapshots
will be called 2.1.X.
@ -35,7 +35,7 @@ can now use wxODBC from wxMSW and wxGTK.
Several printing things fixed.
HTML widget and its wxWindows' help system based upon
HTML widget and the wxWindows' help system based upon
it have been reorganized and improved for easier use
from Python and C++.

View File

@ -65,7 +65,7 @@ cd ..
* The most simple errors
------------------------
configure reports, that you don't have GTK 1.X installed although you are
configure reports, that you don't have GTK 1.2 installed although you are
very sure you have. Well, you have installed it, but you also have another
version of the GTK installed, which you may need to remove including other
versions of glib (and its headers). Also, look for the PATH variable and check
@ -111,15 +111,13 @@ YOU USE AND WHAT ERROR WAS REPORTED. I know this has no effect, but I tried...
-----------------------
wxWindows/GTK requires the GTK+ library to be installed on your system. It has to
be a stable version, preferebly version 1.2.3. You can use GTK 1.0 in connection
with wxWindows, albeit without Drag'n'Drop. wxWindows does work with the 1.1.X
versions of the GTK+ library.
be a stable version, preferebly version 1.2.3.
You can get the newest version of the GTK+ from the GTK homepage at:
http://www.gtk.org
We also mirror GTK+ 1.0.6 at my ftp site. You'll find information about downloading
We also mirror GTK+ 1.2.3 at my ftp site. You'll find information about downloading
at my homepage.
* Additional libraries
@ -402,20 +400,9 @@ to sitch to tmake.
2) The other way creates a project within the source code
directories of wxWindows. For this endeavour, you'll need
the usual number of GNU tools, at least
GNU automake version 1.4
GNU autoheader version 2.14
GNU autoconf version 2.14
GNU libtool version 1.3
and quite possibly
GNU make
GNU C++
and if you have all this then you probably know enough to
go ahead yourself :-)
GNU autoconf version 2.14 and add an entry to your Makefile.in
to the bottom of the configure.in script and run autoconf
and configure before you can type make.
----------------------

View File

@ -366,20 +366,10 @@ to sitch to tmake.
2) The other way creates a project within the source code
directories of wxWindows. For this endeavour, you'll need
the usual number of GNU tools, at least
GNU autoconf version 2.14 and add an entry to your Makefile.in
to the bottom of the configure.in script and run autoconf
and configure before you can type make.
GNU automake version 1.4
GNU autoheader version 2.14
GNU autoconf version 2.14
GNU libtool version 1.2 (1.3 seems broken)
and quite possibly
GNU make
GNU C++
and if you have all this then you probably know enough to
go ahead yourself :-)
----------------------

View File

@ -1,3 +1,2 @@
Makefile.in
database.cfg

View File

@ -1,9 +0,0 @@
AUTOMAKE_OPTIONS = 1.3 no-dependencies
SUFFIXES = .cpp
DEFS = @DEFS@ $(TOOLKIT_DEF) $(WXDEBUG_DEFINE)
noinst_PROGRAMS = database
database_SOURCES = dbtest.cpp listdb.cpp

View File

@ -7,7 +7,11 @@
#
# "%W% %G%"
#
# Makefile for dbtest example (UNIX).
# Makefile for dialogs example (UNIX).
top_srcdir = @top_srcdir@
top_builddir = ../..
program_dir = samples/db
PROGRAM=dbtest

View File

@ -1,2 +1 @@
Makefile.in

View File

@ -1,11 +0,0 @@
AUTOMAKE_OPTIONS = 1.3 no-dependencies
SUFFIXES = .cpp
DEFS = @DEFS@ $(TOOLKIT_DEF) $(WXDEBUG_DEFINE)
noinst_PROGRAMS = forty
forty_SOURCES = \
forty.cpp canvas.cpp card.cpp game.cpp pile.cpp playerdg.cpp scoredg.cpp \
scorefil.cpp

21
samples/forty/Makefile.in Normal file
View File

@ -0,0 +1,21 @@
#
# File: Makefile.in
# Author: Julian Smart
# Created: 1998
# Updated:
# Copyright: (c) 1998 Julian Smart
#
# "%W% %G%"
#
# Makefile for forty example (UNIX).
top_srcdir = @top_srcdir@
top_builddir = ../..
program_dir = samples/forty
PROGRAM=forty
OBJECTS=$(PROGRAM).o canvas.o card.o game.o pile.o playerdg.o scoredg.o scorefil.o
include ../../src/makeprog.env

View File

@ -1,2 +1 @@
Makefile.in

View File

@ -1,9 +0,0 @@
AUTOMAKE_OPTIONS = 1.3 no-dependencies
SUFFIXES = .cpp
DEFS = @DEFS@ $(TOOLKIT_DEF) $(WXDEBUG_DEFINE)
noinst_PROGRAMS = fractal
fractal_SOURCES = fractal.cpp

View File

@ -1,5 +1,5 @@
#
# File: makefile.unx
# File: Makefile.in
# Author: Julian Smart
# Created: 1998
# Updated:
@ -9,6 +9,10 @@
#
# Makefile for fractal example (UNIX).
top_srcdir = @top_srcdir@
top_builddir = ../..
program_dir = samples/fractal
PROGRAM=fractal
OBJECTS=$(PROGRAM).o

View File

@ -1,2 +1 @@
Makefile.in

View File

@ -1,9 +0,0 @@
AUTOMAKE_OPTIONS = 1.3 no-dependencies
SUFFIXES = .cpp
DEFS = @DEFS@ $(TOOLKIT_DEF) $(WXDEBUG_DEFINE)
noinst_PROGRAMS = pngdemo
pngdemo_SOURCES = pngdemo.cpp

23
samples/png/Makefile.in Normal file
View File

@ -0,0 +1,23 @@
#
# File: makefile.unx
# Author: Julian Smart
# Created: 1998
# Updated:
# Copyright: (c) 1998 Julian Smart
#
# "%W% %G%"
#
# Makefile for PNG example (UNIX).
top_srcdir = @top_srcdir@
top_builddir = ../..
program_dir = samples/png
DATAFILES = julian.png paint16.png paint.png
PROGRAM=pngdemo
OBJECTS=$(PROGRAM).o
include ../../src/makeprog.env

View File

@ -21,8 +21,10 @@
#endif
#ifdef __WXMSW__
#include <wx/pnghand.h>
// #include <wx/xpmhand.h>
#include "wx/pnghand.h"
#endif
#ifdef __WXGTK__
#include "wx/image.h"
#endif
#include "pngdemo.h"
@ -40,8 +42,9 @@ bool MyApp::OnInit(void)
{
#ifdef __WXMSW__
wxBitmap::AddHandler(new wxPNGFileHandler);
// wxBitmap::AddHandler(new wxXPMFileHandler);
// wxBitmap::AddHandler(new wxXPMDataHandler);
#endif
#ifdef __WXGTK__
wxImage::AddHandler(new wxPNGHandler);
#endif
// Create the main frame window

View File

@ -36,7 +36,7 @@ while test $# -gt 0; do
echo $exec_prefix
;;
--version)
echo @WX_MAJOR_VERSION_NUMBER@.@WX_MINOR_VERSION_NUMBER@.@WX_RELEASE_NUMBER@ snapshot 9
echo @WX_MAJOR_VERSION_NUMBER@.@WX_MINOR_VERSION_NUMBER@.@WX_RELEASE_NUMBER@
;;
--cflags)
if test @includedir@ != /usr/include ; then