2. make dist/install fixes for wxBase
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6884
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
mkdir $(DISTDIR)/lib
cp $(WXDIR)/lib/vms.opt $(DISTDIR)/lib
cp $(WXDIR)/lib/vms_gtk.opt $(DISTDIR)/lib
mkdir $(DISTDIR)/lib
cp $(WXDIR)/lib/vms.opt $(DISTDIR)/lib
cp $(WXDIR)/lib/vms_gtk.opt $(DISTDIR)/lib
+ mkdir $(DISTDIR)/src
+ mkdir $(DISTDIR)/src/zlib
+ cp $(ZLIBDIR)/*.h $(DISTDIR)/src/zlib
+ cp $(ZLIBDIR)/*.c $(DISTDIR)/src/zlib
+ cp $(ZLIBDIR)/README $(DISTDIR)/src/zlib
+ cp $(ZLIBDIR)/*.mms $(DISTDIR)/src/zlib
# this target is the common part of distribution script for all GUI toolkits,
# but is not used when building wxBase distribution
# this target is the common part of distribution script for all GUI toolkits,
# but is not used when building wxBase distribution
cp $(INCDIR)/wx/html/*.h $(DISTDIR)/include/wx/html
cp $(INCDIR)/wx/unix/*.h $(DISTDIR)/include/wx/unix
cp $(INCDIR)/wx/protocol/*.h $(DISTDIR)/include/wx/protocol
cp $(INCDIR)/wx/html/*.h $(DISTDIR)/include/wx/html
cp $(INCDIR)/wx/unix/*.h $(DISTDIR)/include/wx/unix
cp $(INCDIR)/wx/protocol/*.h $(DISTDIR)/include/wx/protocol
mkdir $(DISTDIR)/src/common
mkdir $(DISTDIR)/src/generic
mkdir $(DISTDIR)/src/html
mkdir $(DISTDIR)/src/common
mkdir $(DISTDIR)/src/generic
mkdir $(DISTDIR)/src/html
mkdir $(DISTDIR)/src/png
mkdir $(DISTDIR)/src/jpeg
mkdir $(DISTDIR)/src/tiff
mkdir $(DISTDIR)/src/png
mkdir $(DISTDIR)/src/jpeg
mkdir $(DISTDIR)/src/tiff
- mkdir $(DISTDIR)/src/zlib
mkdir $(DISTDIR)/src/iodbc
mkdir $(DISTDIR)/src/unix
cp $(WXDIR)/@PORT_FILES@ $(DISTDIR)/@PORT_FILES@
mkdir $(DISTDIR)/src/iodbc
mkdir $(DISTDIR)/src/unix
cp $(WXDIR)/@PORT_FILES@ $(DISTDIR)/@PORT_FILES@
cp $(PNGDIR)/*.h $(DISTDIR)/src/png
cp $(PNGDIR)/*.c $(DISTDIR)/src/png
cp $(PNGDIR)/README $(DISTDIR)/src/png
cp $(PNGDIR)/*.h $(DISTDIR)/src/png
cp $(PNGDIR)/*.c $(DISTDIR)/src/png
cp $(PNGDIR)/README $(DISTDIR)/src/png
- cp $(ZLIBDIR)/*.h $(DISTDIR)/src/zlib
- cp $(ZLIBDIR)/*.c $(DISTDIR)/src/zlib
- cp $(ZLIBDIR)/README $(DISTDIR)/src/zlib
- cp $(ZLIBDIR)/*.mms $(DISTDIR)/src/zlib
cp $(JPEGDIR)/*.h $(DISTDIR)/src/jpeg
cp $(JPEGDIR)/*.c $(DISTDIR)/src/jpeg
cp $(JPEGDIR)/README $(DISTDIR)/src/jpeg
cp $(JPEGDIR)/*.h $(DISTDIR)/src/jpeg
cp $(JPEGDIR)/*.c $(DISTDIR)/src/jpeg
cp $(JPEGDIR)/README $(DISTDIR)/src/jpeg
mkdir $(DISTDIR)/include/wx
mkdir $(DISTDIR)/include/wx/protocol
mkdir $(DISTDIR)/include/wx/unix
mkdir $(DISTDIR)/include/wx
mkdir $(DISTDIR)/include/wx/protocol
mkdir $(DISTDIR)/include/wx/unix
mkdir $(DISTDIR)/src/common
mkdir $(DISTDIR)/src/unix
cp $(WXDIR)/@PORT_FILES@ $(DISTDIR)/@PORT_FILES@
mkdir $(DISTDIR)/src/common
mkdir $(DISTDIR)/src/unix
cp $(WXDIR)/@PORT_FILES@ $(DISTDIR)/@PORT_FILES@
cp $(DOCDIR)/readme.txt $(DISTDIR)/README.txt
cp $(DOCDIR)/todo.txt $(DISTDIR)/TODO.txt
cp $(SRCDIR)/*.in $(DISTDIR)/src
cp $(DOCDIR)/readme.txt $(DISTDIR)/README.txt
cp $(DOCDIR)/todo.txt $(DISTDIR)/TODO.txt
cp $(SRCDIR)/*.in $(DISTDIR)/src
+ cp $(WXDIR)/src/common/unzip.h $(DISTDIR)/src/common/unzip.h
list='$(HEADERS)'; for p in $$list; do \
cp $(WXDIR)/include/wx/$$p $(DISTDIR)/include/wx/$$p; \
done
list='$(HEADERS)'; for p in $$list; do \
cp $(WXDIR)/include/wx/$$p $(DISTDIR)/include/wx/$$p; \
done
+if test "$wxUSE_GUI" = "yes"; then
+
if test "$TOOLKIT" != "MSW"; then
if test "$wxUSE_JOYSTICK" = "yes"; then
if test "$TOOLKIT" != "MSW"; then
if test "$wxUSE_JOYSTICK" = "yes"; then
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
-echo "configure:12984: checking for $ac_hdr" >&5
+echo "configure:12986: checking for $ac_hdr" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#include "confdefs.h"
#include <$ac_hdr>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
#include "confdefs.h"
#include <$ac_hdr>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:12994: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+{ (eval echo configure:12996: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
rm -rf conftest*
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
rm -rf conftest*
if test "$ac_cv_header_linux_joystick_h" != "yes"; then
wxUSE_JOYSTICK=no
if test "$ac_cv_header_linux_joystick_h" != "yes"; then
wxUSE_JOYSTICK=no
- echo "configure: warning: Joystick not supported yb this system" 1>&2
+ echo "configure: warning: Joystick not supported by this system" 1>&2
SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
fi
SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
fi
if test "$TOOLKIT" != "MSW"; then
if test "$TOOLKIT" != "MSW"; then
for ac_func in dlopen
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
for ac_func in dlopen
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-echo "configure:13045: checking for $ac_func" >&5
+echo "configure:13049: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
-if { (eval echo configure:13073: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:13077: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
else
echo "$ac_t""no" 1>&6
echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
else
echo "$ac_t""no" 1>&6
echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
-echo "configure:13101: checking for dlopen in -ldl" >&5
+echo "configure:13105: checking for dlopen in -ldl" >&5
ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
ac_save_LIBS="$LIBS"
LIBS="-ldl $LIBS"
cat > conftest.$ac_ext <<EOF
ac_save_LIBS="$LIBS"
LIBS="-ldl $LIBS"
cat > conftest.$ac_ext <<EOF
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
dlopen()
; return 0; }
EOF
dlopen()
; return 0; }
EOF
-if { (eval echo configure:13120: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:13124: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
for ac_func in shl_load
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
for ac_func in shl_load
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-echo "configure:13149: checking for $ac_func" >&5
+echo "configure:13153: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
-if { (eval echo configure:13177: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:13181: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
-echo "configure:13412: checking for $ac_hdr" >&5
+echo "configure:13416: checking for $ac_hdr" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#include "confdefs.h"
#include <$ac_hdr>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
#include "confdefs.h"
#include <$ac_hdr>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:13422: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+{ (eval echo configure:13426: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
rm -rf conftest*
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
rm -rf conftest*
echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
-echo "configure:13974: checking whether ${MAKE-make} sets \${MAKE}" >&5
+echo "configure:13978: checking whether ${MAKE-make} sets \${MAKE}" >&5
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
dnl Joystick support
dnl ---------------------------------------------------------------------------
dnl Joystick support
dnl ---------------------------------------------------------------------------
+if test "$wxUSE_GUI" = "yes"; then
+
dnl under MSW we always have joystick support
if test "$TOOLKIT" != "MSW"; then
dnl under MSW we always have joystick support
if test "$TOOLKIT" != "MSW"; then
AC_CHECK_HEADERS(linux/joystick.h)
if test "$ac_cv_header_linux_joystick_h" != "yes"; then
wxUSE_JOYSTICK=no
AC_CHECK_HEADERS(linux/joystick.h)
if test "$ac_cv_header_linux_joystick_h" != "yes"; then
wxUSE_JOYSTICK=no
- AC_MSG_WARN(Joystick not supported yb this system, disabled)
+ AC_MSG_WARN(Joystick not supported by this system, disabled)
SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
fi
SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
fi
dnl ------------------------------------------------------------------------
dnl DLL support
dnl ------------------------------------------------------------------------
dnl ------------------------------------------------------------------------
dnl DLL support
dnl ------------------------------------------------------------------------
}
foreach $file (sort keys %wxUNIXINCLUDE) {
}
foreach $file (sort keys %wxUNIXINCLUDE) {
- next unless $wxWXINCLUDE{$file} =~ /\bB\b/;
+ next unless $wxUNIXINCLUDE{$file} =~ /\bB\b/;
$project{"BASE_HEADERS"} .= "unix/" . $file . " "
}
$project{"BASE_HEADERS"} .= "unix/" . $file . " "
}
gifdecod.h W
glcanvas.h W
grid.h W
gifdecod.h W
glcanvas.h W
grid.h W
hash.h W B
help.h W
helpbase.h W
hash.h W B
help.h W
helpbase.h W
imaglist.h W
intl.h W B
ioswrap.h W B
imaglist.h W
intl.h W B
ioswrap.h W B
isql.h W
isqlext.h W
joystick.h W
isql.h W
isqlext.h W
joystick.h W
region.h W
resource.h W
sashwin.h W
region.h W
resource.h W
sashwin.h W
-sckaddr.h W
-sckipc.h W
-sckstrm.h W
+sckaddr.h W B
+sckipc.h W B
+sckstrm.h W B
scrolbar.h W
scrolwin.h W
serbase.h W B
scrolbar.h W
scrolwin.h W
serbase.h W B
setup.h W B
sizer.h W
slider.h W
setup.h W B
sizer.h W
slider.h W
spinbutt.h W
spinctrl.h W
splitter.h W
spinbutt.h W
spinctrl.h W
splitter.h W
+fontutil.h S
+gsockunx.h S B
-# This file was automatically generated by tmake at 09:19, 2000/03/15
+# This file was automatically generated by tmake at 19:26, 2000/03/20
# DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE BASE.T!
ALL_SOURCES = \
common/init.cpp \
# DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE BASE.T!
ALL_SOURCES = \
common/init.cpp \
common/hash.cpp \
common/http.cpp \
common/intl.cpp \
common/hash.cpp \
common/http.cpp \
common/intl.cpp \
common/list.cpp \
common/log.cpp \
common/longlong.cpp \
common/list.cpp \
common/log.cpp \
common/longlong.cpp \
common/zipstrm.cpp \
common/zstream.cpp \
unix/dir.cpp \
common/zipstrm.cpp \
common/zstream.cpp \
unix/dir.cpp \
unix/mimetype.cpp \
unix/threadpsx.cpp \
unix/utilsunx.cpp
unix/mimetype.cpp \
unix/threadpsx.cpp \
unix/utilsunx.cpp
datetime.h \
datetime.inl \
datstrm.h \
datetime.h \
datetime.inl \
datstrm.h \
debug.h \
defs.h \
dir.h \
debug.h \
defs.h \
dir.h \
fs_inet.h \
fs_mem.h \
fs_zip.h \
fs_inet.h \
fs_mem.h \
fs_zip.h \
hash.h \
intl.h \
ioswrap.h \
hash.h \
intl.h \
ioswrap.h \
list.h \
listimpl.cpp \
log.h \
list.h \
listimpl.cpp \
log.h \
object.h \
objstrm.h \
process.h \
object.h \
objstrm.h \
process.h \
+ sckaddr.h \
+ sckipc.h \
+ sckstrm.h \
strconv.h \
stream.h \
string.h \
strconv.h \
stream.h \
string.h \
wxprec.h \
zipstrm.h \
zstream.h \
wxprec.h \
zipstrm.h \
zstream.h \
unix/mimetype.h \
protocol/file.h \
protocol/ftp.h \
unix/mimetype.h \
protocol/file.h \
protocol/ftp.h \
protocol/protocol.h
BASE_OBJS = \
protocol/protocol.h
BASE_OBJS = \
- ipcbase.o \
- gsocket.o \
init.o \
appcmn.o \
cmdline.o \
init.o \
appcmn.o \
cmdline.o \
hash.o \
http.o \
intl.o \
hash.o \
http.o \
intl.o \
list.o \
log.o \
longlong.o \
list.o \
log.o \
longlong.o \
hash.d \
http.d \
intl.d \
hash.d \
http.d \
intl.d \
list.d \
log.d \
longlong.d \
list.d \
log.d \
longlong.d \
BASE_UNIX_OBJS = \
dir.o \
BASE_UNIX_OBJS = \
dir.o \
mimetype.o \
threadpsx.o \
utilsunx.o
mimetype.o \
threadpsx.o \
utilsunx.o
hash.d \
http.d \
intl.d \
hash.d \
http.d \
intl.d \
list.d \
log.d \
longlong.d \
list.d \
log.d \
longlong.d \
bool wxDirData::Read(wxString *filename)
{
bool wxDirData::Read(wxString *filename)
{
+ dirent *de = (dirent *)NULL; // just to silent compiler warnings
bool matches = FALSE;
while ( !matches )
bool matches = FALSE;
while ( !matches )
-static void wxFatalSignalHandler(int signal)
+static void wxFatalSignalHandler(int WXUNUSED(signal))