git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3852
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
-# This file was automatically generated by tmake at 13:22, 1999/10/06
+# This file was automatically generated by tmake at 18:19, 1999/10/06
# DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE UNX.T!
#
# DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE UNX.T!
#
############################## Files ##################################
############################## Files ##################################
+BASE_HEADERS = \
+ app.h \
+ date.h \
+ debug.h \
+ defs.h \
+ dynarray.h \
+ dynlib.h \
+ event.h \
+ ffile.h \
+ file.h \
+ fileconf.h \
+ hash.h \
+ intl.h \
+ list.h \
+ log.h \
+ longlong.h \
+ mimetype.h \
+ module.h \
+ object.h \
+ process.h \
+ setup.h \
+ strconv.h \
+ stream.h \
+ string.h \
+ textfile.h \
+ thread.h \
+ time.h \
+ timer.h \
+ tokenzr.h \
+ txtstrm.h \
+ utils.h \
+ variant.h \
+ version.h \
+ wx.h \
+ wxchar.h \
+ wxprec.h
+
WX_HEADERS = \
accel.h \
app.h \
WX_HEADERS = \
accel.h \
app.h \
mstream.o \
object.o \
objstrm.o \
mstream.o \
object.o \
objstrm.o \
paper.o \
prntbase.o \
process.o \
paper.o \
prntbase.o \
process.o \
mstream.d \
object.d \
objstrm.d \
mstream.d \
object.d \
objstrm.d \
paper.d \
prntbase.d \
process.d \
paper.d \
prntbase.d \
process.d \
+BASE_OBJS = \
+ config.o \
+ date.o \
+ dynarray.o \
+ dynlib.o \
+ event.o \
+ extended.o \
+ ffile.o \
+ file.o \
+ fileconf.o \
+ filefn.o \
+ filesys.o \
+ hash.o \
+ init.o \
+ intl.o \
+ list.o \
+ log.o \
+ mimetype.o \
+ module.o \
+ object.o \
+ process.o \
+ strconv.o \
+ stream.o \
+ string.o \
+ textfile.o \
+ time.o \
+ timercmn.o \
+ tokenzr.o \
+ txtstrm.o \
+ utilscmn.o \
+ variant.o \
+ wxchar.o \
+ utilsunx.o
+
+BASE_DEPS = \
+ config.d \
+ date.d \
+ dynarray.d \
+ dynlib.d \
+ event.d \
+ extended.d \
+ ffile.d \
+ file.d \
+ fileconf.d \
+ filefn.d \
+ filesys.d \
+ hash.d \
+ init.d \
+ intl.d \
+ list.d \
+ log.d \
+ mimetype.d \
+ module.d \
+ object.d \
+ process.d \
+ strconv.d \
+ stream.d \
+ string.d \
+ textfile.d \
+ time.d \
+ timercmn.d \
+ tokenzr.d \
+ txtstrm.d \
+ utilscmn.d \
+ variant.d \
+ wxchar.d \
+ utilsunx.d
+
HTMLOBJS = \
helpctrl.o \
helpdata.o \
HTMLOBJS = \
helpctrl.o \
helpdata.o \
dialup.o \
gsocket.o \
threadpsx.o \
utilsunx.o
dialup.o \
gsocket.o \
threadpsx.o \
utilsunx.o
dialup.d \
gsocket.d \
threadpsx.d \
dialup.d \
gsocket.d \
threadpsx.d \
+GUIOBJS = @GUIOBJS@
+GUIDEPS = @GUIDEPS@
+GUIHEADERS = @GUIHEADERS@
+COMMONOBJS = @COMMONOBJS@
+COMMONDEPS = @COMMONDEPS@
+GENERICOBJS = @GENERICOBJS@
+GENERICDEPS = @GENERICDEPS@
+UNIXOBJS = @UNIXOBJS@
+UNIXDEPS = @UNIXDEPS@
-OBJECTS = $(@GUIOBJS@) $(@COMMONOBJS@) $(@GENERICOBJS@) $(@UNIXOBJS@) $(HTMLOBJS) \
- $(JPEGOBJS) $(PNGOBJS) $(ZLIBOBJS)
-DEPFILES = $(@GUIDEPS@) $(@COMMONDEPS@) $(@GENERICDEPS@) $(UNIXDEPS) $(HTMLDEPS)
+DEPFILES = @ALL_DEPFILES@
-HEADERS = $(@GUIHEADERS@) $(HTML_HEADERS) $(UNIX_HEADERS) $(PROTOCOL_HEADERS) \
- $(GENERIC_HEADERS) $(WX_HEADERS)
-all: $(OBJECTS) @WX_TARGET_LIBRARY@ @WX_CREATE_LINKS@
@WX_LIBRARY_NAME_STATIC@: $(OBJECTS)
@$(INSTALL) -d ./lib
@WX_LIBRARY_NAME_STATIC@: $(OBJECTS)
@$(INSTALL) -d ./lib
@$(INSTALL) -d ./lib
$(SHARED_LD) ./lib/$@ $(OBJECTS) $(EXTRALIBS)
@$(INSTALL) -d ./lib
$(SHARED_LD) ./lib/$@ $(OBJECTS) $(EXTRALIBS)
-CREATE_LINKS@: @WX_TARGET_LIBRARY@
+CREATE_LINKS: @WX_TARGET_LIBRARY@
@$(RM) ./lib/@WX_LIBRARY_LINK1@
@$(RM) ./lib/@WX_LIBRARY_LINK2@
@$(RM) ./lib/@WX_LIBRARY_LINK3@
@$(RM) ./lib/@WX_LIBRARY_LINK1@
@$(RM) ./lib/@WX_LIBRARY_LINK2@
@$(RM) ./lib/@WX_LIBRARY_LINK3@
-dnl someone explicitly added -ldl to the list of libraries for these targets -
-dnl I don't know why has this been done, but let's respect this - with the
-dnl exception of the systems which don't have libdl at all (VZ)
-if test "$wxUSE_GTK" = 1 || test "$wxUSE_MOTIF" = 1 || test "$wxUSE_WINE" = 1; then
- AC_CHECK_LIB(dl, main, GUI_TK_LIBRARY="$GUI_TK_LIBRARY -ldl")
-fi
-
dnl the name of the directory where the files for this toolkit live
TOOLKIT_DIR=`echo ${TOOLKIT} | tr "A-Z" "a-z"`
dnl the name of the directory where the files for this toolkit live
TOOLKIT_DIR=`echo ${TOOLKIT} | tr "A-Z" "a-z"`
HAVE_SHL_FUNCS=0
if test "$wxUSE_DYNLIB_CLASS" = "yes"; then
dnl the test is a bit complicated because we check for dlopen() both with
HAVE_SHL_FUNCS=0
if test "$wxUSE_DYNLIB_CLASS" = "yes"; then
dnl the test is a bit complicated because we check for dlopen() both with
+ dnl and without -ldl and we also try to find shl_load() if there is no
+ dnl dlopen() on this system
- [AC_DEFINE(HAVE_DLOPEN) HAVE_DL_FUNCS=1],
- [AC_CHECK_LIB(dl, dlopen,
- [AC_DEFINE(HAVE_DLOPEN) HAVE_DL_FUNCS=1])])
- AC_CHECK_FUNCS( shl_load,
- [AC_DEFINE(HAVE_SHL_LOAD) HAVE_DL_FUNCS=1 HAVE_SHL_FUNCS=1])
+ [
+ AC_DEFINE(HAVE_DLOPEN)
+ HAVE_DL_FUNCS=1
+ ],
+ [
+ AC_CHECK_LIB(dl, dlopen,
+ [
+ AC_DEFINE(HAVE_DLOPEN)
+ HAVE_DL_FUNCS=1
+ LIBS="$LIBS -ldl"
+ ],
+ [
+ AC_CHECK_FUNCS(shl_load,
+ [
+ AC_DEFINE(HAVE_SHL_LOAD)
+ HAVE_SHL_FUNCS=1
+ ])
+ ])
+ ])
if test "$HAVE_DL_FUNCS" = 0; then
if test "$HAVE_DL_FUNCS" = 0; then
- if test "$USE_UNIX" = 1; then
- AC_MSG_WARN("--with-dynlib and --with-odbc will be disabled due to missing shared library support")
- wxUSE_ODBC=no
- wxUSE_DYNLIB_CLASS=no
- else
- AC_MSG_WARN("Cannot check dynlib requirements on non-Unix platforms. dynlib remains enabled.")
+ if test "$HAVE_SHL_FUNCS" = 0; then
+ if test "$USE_UNIX" = 1; then
+ AC_MSG_WARN("--with-dynlib and --with-odbc will be disabled due to missing shared library support")
+ wxUSE_ODBC=no
+ wxUSE_DYNLIB_CLASS=no
+ else
+ AC_MSG_WARN("Cannot check dynlib requirements on non-Unix platforms. dynlib remains enabled.")
+ fi
GUILIBS="$GUI_TK_LIBRARY $OPENGL_LINK $LIBPNG_LINK $ZLIB_LINK $TOOLKIT_LINK"
dnl all additional libraries (except wxWindows itself) we link with
GUILIBS="$GUI_TK_LIBRARY $OPENGL_LINK $LIBPNG_LINK $ZLIB_LINK $TOOLKIT_LINK"
dnl all additional libraries (except wxWindows itself) we link with
-EXTRA_LIBS="$LIBS $POSIX4_LINK $WCHAR_LINK $THREADS_LINK $DMALLOC_LINK"
+EXTRA_LIBS="$LIBS $POSIX4_LINK $WCHAR_LINK $THREADS_LINK $DMALLOC_LINK $DL_LINK"
if test "$wxUSE_GUI" = "yes"; then
EXTRA_LIBS="$EXTRA_LIBS $GUILIBS"
fi
if test "$wxUSE_GUI" = "yes"; then
EXTRA_LIBS="$EXTRA_LIBS $GUILIBS"
fi
#
# Known flags:
# B makes part of the base library too
#
# Known flags:
# B makes part of the base library too
+# BO only for the base library
# 16 a generic file implementing Win32 control for Win16
# 32 only can be compiled under Win32
# PS PostScript related file, normally not compiled under Windows
# 16 a generic file implementing Win32 control for Win16
# 32 only can be compiled under Win32
# PS PostScript related file, normally not compiled under Windows
# X Not required for the Motif port
#
# WX Base header
# X Not required for the Motif port
#
# WX Base header
# MOT Motif header
# PM OS/2 header
# GEN Generic header
# MOT Motif header
# PM OS/2 header
# GEN Generic header
docview.cpp C
dynarray.cpp C B
dynlib.cpp C B
docview.cpp C
dynarray.cpp C B
dynlib.cpp C B
extended.c C B
ffile.cpp C B
file.cpp C B
extended.c C B
ffile.cpp C B
file.cpp C B
imagpcx.cpp C 32
imagpng.cpp C 32
imagpnm.cpp C 32
imagpcx.cpp C 32
imagpng.cpp C 32
imagpnm.cpp C 32
intl.cpp C B
ipcbase.cpp C
layout.cpp C
intl.cpp C B
ipcbase.cpp C
layout.cpp C
serbase.cpp C
sizer.cpp C
socket.cpp C S
serbase.cpp C
sizer.cpp C
socket.cpp C S
strconv.cpp C B
string.cpp C B
tbarbase.cpp C
strconv.cpp C B
string.cpp C B
tbarbase.cpp C
time.cpp C B
timercmn.cpp C B
tokenzr.cpp C B
time.cpp C B
timercmn.cpp C B
tokenzr.cpp C B
unzip.c C
url.cpp C S
utilscmn.cpp C B
unzip.c C
url.cpp C S
utilscmn.cpp C B
dialup.cpp U
threadpsx.cpp U
dialup.cpp U
threadpsx.cpp U
arrimpl.cpp W
listimpl.cpp W
accel.h W
arrimpl.cpp W
listimpl.cpp W
accel.h W
bitmap.h W
bmpbuttn.h W
brush.h W
bitmap.h W
bmpbuttn.h W
brush.h W
control.h W
cursor.h W
dataobj.h W
control.h W
cursor.h W
dataobj.h W
datstrm.h W
db.h W
dbtable.h W
datstrm.h W
db.h W
dbtable.h W
dcps.h W
dcscreen.h W
dde.h W
dcps.h W
dcscreen.h W
dde.h W
dialog.h W
dirdlg.h W
dnd.h W
docmdi.h W
docview.h W
dragimag.h W
dialog.h W
dirdlg.h W
dnd.h W
docmdi.h W
docview.h W
dragimag.h W
-dynarray.h W
-dynlib.h W
-event.h W
+dynarray.h W B
+dynlib.h W B
+event.h W B
-ffile.h W
-file.h W
-fileconf.h W
+ffile.h W B
+file.h W B
+fileconf.h W B
filedlg.h W
filefn.h W
filesys.h W
filedlg.h W
filefn.h W
filesys.h W
gifdecod.h W
grid.h W
gsocket.h W
gifdecod.h W
grid.h W
gsocket.h W
help.h W
helpbase.h W
helphtml.h W
help.h W
helpbase.h W
helphtml.h W
icon.h W
image.h W
imaglist.h W
icon.h W
image.h W
imaglist.h W
ioswrap.h W
ipcbase.h W
joystick.h W
layout.h W
laywin.h W
ioswrap.h W
ipcbase.h W
joystick.h W
layout.h W
laywin.h W
+log.h W B
+longlong.h W B
matrix.h W
mdi.h W
memory.h W
menu.h W
menuitem.h W
metafile.h W
matrix.h W
mdi.h W
memory.h W
menu.h W
menuitem.h W
metafile.h W
msgdlg.h W
mstream.h W
notebook.h W
msgdlg.h W
mstream.h W
notebook.h W
objstrm.h W
odbc.h W
ownerdrw.h W
objstrm.h W
odbc.h W
ownerdrw.h W
print.h W
printdlg.h W
prntbase.h W
print.h W
printdlg.h W
prntbase.h W
progdlg.h W
prop.h W
propform.h W
progdlg.h W
prop.h W
propform.h W
scrolwin.h W
serbase.h W
settings.h W
scrolwin.h W
serbase.h W
settings.h W
sizer.h W
slider.h W
socket.h W
sizer.h W
slider.h W
socket.h W
statline.h W
stattext.h W
statusbr.h W
statline.h W
stattext.h W
statusbr.h W
-strconv.h W
-stream.h W
-string.h W
+strconv.h W B
+stream.h W B
+string.h W B
tab.h W
tabctrl.h W
taskbar.h W
tab.h W
tabctrl.h W
taskbar.h W
tbarsmpl.h W
textctrl.h W
textdlg.h W
tbarsmpl.h W
textctrl.h W
textdlg.h W
-textfile.h W
-txtstrm.h W
-thread.h W
-time.h W
-timer.h W
+textfile.h W B
+txtstrm.h W B
+thread.h W B
+time.h W B
+timer.h W B
toolbar.h W
tooltip.h W
treectrl.h W
types.h W
url.h W
toolbar.h W
tooltip.h W
treectrl.h W
types.h W
url.h W
valgen.h W
validate.h W
valtext.h W
valgen.h W
validate.h W
valtext.h W
-variant.h W
-version.h W
+variant.h W B
+version.h W B
wave.h W
wfstream.h W
window.h W
wave.h W
wfstream.h W
window.h W
wx_cw.h W
wx_cw_cm.h W
wx_cw_d.h W
wx_cw.h W
wx_cw_cm.h W
wx_cw_d.h W
xpmhand.h W
zipstrm.h W
zstream.h W
xpmhand.h W
zipstrm.h W
zstream.h W
#! Common
foreach $file (sort keys %wxCommon) {
#! Common
foreach $file (sort keys %wxCommon) {
- next if $wxCommon{$file} =~ /\bR\b/;
+ ($fileobj = $file) =~ s/cp?p?$/\o/;
+ ($filedep = $file) =~ s/cp?p?$/\d/;
- $file2 = $file;
- $file =~ s/cp?p?$/\o/;
- $file2 =~ s/cp?p?$/\d/;
- $project{"WXGTK_COMMONOBJS"} .= $file . " ";
- $project{"WXGTK_COMMONDEPS"} .= $file2 . " "
- }
-
- foreach $file (sort keys %wxCommon) {
- next if $wxCommon{$file} =~ /\bX\b/;
-
- $file2 = $file;
- $file =~ s/cp?p?$/\o/;
- $file2 =~ s/cp?p?$/\d/;
- $project{"WXMOTIF_COMMONOBJS"} .= $file . " ";
- $project{"WXMOTIF_COMMONDEPS"} .= $file2 . " "
- }
+ #! 'B' flag means that the file makes part of wxBase too
+ if ( $wxCommon{$file} =~ /\bB\b/ ) {
+ $project{"BASE_OBJS"} .= $fileobj . " ";
+ $project{"BASE_DEPS"} .= $filedep . " ";
+ }
- foreach $file (sort keys %wxCommon) {
- next if $wxCommon{$file} =~ /\b(16)\b/;
+ #! if it's the wxBase-only file, nothing more to do with it
+ next if $wxCommon{$file} =~ /\bBO\b/;
- #! needs extra files (sql*.h) so not compiled by default.
- next if $file =~ /^odbc\./;
+ if ( $wxCommon{$file} !~ /\bR\b/ ) { #! unless not for GTK
+ $project{"WXGTK_COMMONOBJS"} .= $fileobj . " ";
+ $project{"WXGTK_COMMONDEPS"} .= $filedep . " "
+ }
+ if ( $wxCommon{$file} !~ /\bX\b/ ) { #! unless not for Motif
+ $project{"WXMOTIF_COMMONOBJS"} .= $fileobj . " ";
+ $project{"WXMOTIF_COMMONDEPS"} .= $filedep . " "
+ }
- $file2 = $file;
- $file =~ s/cp?p?$/\o/;
- $file2 =~ s/cp?p?$/\d/;
- $project{"WXMSW_COMMONOBJS"} .= $file . " ";
- $project{"WXMSW_COMMONDEPS"} .= $file2 . " "
+ #! ODBC needs extra files (sql*.h) so not compiled by default.
+ if ( (file !~ /^odbc\./) && ($wxCommon{$file} !~ /\b(16)\b/) ) {
+ $project{"WXMSW_COMMONOBJS"} .= $fileobj . " ";
+ $project{"WXMSW_COMMONDEPS"} .= $filedep . " "
+ }
}
foreach $file (sort keys %wxUNIX) {
}
foreach $file (sort keys %wxUNIX) {
- $file2 = $file;
- $file =~ s/cp?p?$/\o/;
- $file2 =~ s/cp?p?$/\d/;
- $project{"WXUNIXOBJS"} .= $file . " ";
- $project{"WXUNIXDEPS"} .= $file2 . " "
+ ($fileobj = $file) =~ s/cp?p?$/\o/;
+ ($filedep = $file) =~ s/cp?p?$/\d/;
+
+ #! 'B' flag means that the file makes part of wxBase too
+ if ( $wxUNIX{$file} =~ /\bB\b/ ) {
+ $project{"BASE_OBJS"} .= $fileobj . " ";
+ $project{"BASE_DEPS"} .= $filedep . " "
+ }
+
+ $project{"WXUNIX_OBJS"} .= $fileobj . " ";
+ $project{"WXUNIX_DEPS"} .= $filedep . " "
}
#! headers
foreach $file (sort keys %wxWXINCLUDE) {
}
#! headers
foreach $file (sort keys %wxWXINCLUDE) {
- $project{"WX_HEADERS"} .= $file . " "
+ $project{"WX_HEADERS"} .= $file . " ";
+ $project{"BASE_HEADERS"} .= $file . " " if $wxWXINCLUDE{$file} =~ /\bB\b/;
}
foreach $file (sort keys %wxGENERICINCLUDE) {
}
foreach $file (sort keys %wxGENERICINCLUDE) {
############################## Files ##################################
############################## Files ##################################
+BASE_HEADERS = \
+ #$ ExpandList("BASE_HEADERS");
+
WX_HEADERS = \
#$ ExpandList("WX_HEADERS");
WX_HEADERS = \
#$ ExpandList("WX_HEADERS");
MSW_GUIDEPS = \
#$ ExpandList("WXMSW_GUIDEPS");
MSW_GUIDEPS = \
#$ ExpandList("WXMSW_GUIDEPS");
+BASE_OBJS = \
+ #$ ExpandList("BASE_OBJS");
+
+BASE_DEPS = \
+ #$ ExpandList("BASE_DEPS");
+
HTMLOBJS = \
#$ ExpandList("WXHTMLOBJS");
HTMLDEPS = \
#$ ExpandList("WXHTMLDEPS");
HTMLOBJS = \
#$ ExpandList("WXHTMLOBJS");
HTMLDEPS = \
#$ ExpandList("WXHTMLDEPS");
-UNIXOBJS = \
- #$ ExpandList("WXUNIXOBJS");
+UNIX_OBJS = \
+ #$ ExpandList("WXUNIX_OBJS");
-UNIXDEPS = \
- #$ ExpandList("WXUNIXDEPS");
+UNIX_DEPS = \
+ #$ ExpandList("WXUNIX_DEPS");
+GUIOBJS = @GUIOBJS@
+GUIDEPS = @GUIDEPS@
+GUIHEADERS = @GUIHEADERS@
+COMMONOBJS = @COMMONOBJS@
+COMMONDEPS = @COMMONDEPS@
+GENERICOBJS = @GENERICOBJS@
+GENERICDEPS = @GENERICDEPS@
+UNIXOBJS = @UNIXOBJS@
+UNIXDEPS = @UNIXDEPS@
-OBJECTS = $(@GUIOBJS@) $(@COMMONOBJS@) $(@GENERICOBJS@) $(@UNIXOBJS@) $(HTMLOBJS) \
- $(JPEGOBJS) $(PNGOBJS) $(ZLIBOBJS)
-DEPFILES = $(@GUIDEPS@) $(@COMMONDEPS@) $(@GENERICDEPS@) $(UNIXDEPS) $(HTMLDEPS)
+DEPFILES = @ALL_DEPFILES@
-HEADERS = $(@GUIHEADERS@) $(HTML_HEADERS) $(UNIX_HEADERS) $(PROTOCOL_HEADERS) \
- $(GENERIC_HEADERS) $(WX_HEADERS)
-all: $(OBJECTS) @WX_TARGET_LIBRARY@ @WX_CREATE_LINKS@
@WX_LIBRARY_NAME_STATIC@: $(OBJECTS)
@$(INSTALL) -d ./lib
@WX_LIBRARY_NAME_STATIC@: $(OBJECTS)
@$(INSTALL) -d ./lib
@$(INSTALL) -d ./lib
$(SHARED_LD) ./lib/$@ $(OBJECTS) $(EXTRALIBS)
@$(INSTALL) -d ./lib
$(SHARED_LD) ./lib/$@ $(OBJECTS) $(EXTRALIBS)
-CREATE_LINKS@: @WX_TARGET_LIBRARY@
+CREATE_LINKS: @WX_TARGET_LIBRARY@
@$(RM) ./lib/@WX_LIBRARY_LINK1@
@$(RM) ./lib/@WX_LIBRARY_LINK2@
@$(RM) ./lib/@WX_LIBRARY_LINK3@
@$(RM) ./lib/@WX_LIBRARY_LINK1@
@$(RM) ./lib/@WX_LIBRARY_LINK2@
@$(RM) ./lib/@WX_LIBRARY_LINK3@
--- /dev/null
+/////////////////////////////////////////////////////////////////////////////
+// Name: samples/console/console.cpp
+// Purpose: a sample console (as opposed to GUI) progam using wxWindows
+// Author: Vadim Zeitlin
+// Modified by:
+// Created: 04.10.99
+// RCS-ID: $Id$
+// Copyright: (c) 1999 Vadim Zeitlin <zeitlin@dptmaths.ens-cachan.fr>
+// Licence: wxWindows license
+/////////////////////////////////////////////////////////////////////////////
+
+#include <stdio.h>
+
+#include <wx/string.h>
+#include <wx/app.h>
+
+int main()
+{
+ if ( !wxInitialize() )
+ {
+ fprintf(stderr, "Failed to initialize the wxWindows library, aborting.");
+ }
+
+ wxString s("Hello, ");
+
+ wxLogMessage(s + "world!");
+
+ wxUninitialize();
+
+ return 0;
+}