New makefile system in place, obsoletes libtool,

autoheader, automake and the testconf directory.
  So far only GTK and only shared libraries.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3354 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
1999-08-12 12:54:33 +00:00
parent bf3e0fbd1f
commit 2aa887306b
18 changed files with 943 additions and 10974 deletions

View File

@@ -1,13 +0,0 @@
AUTOMAKE_OPTIONS = 1.3
# no-dependencies
SUBDIRS = include src samples misc # utils user docs
bin_SCRIPTS = wx-config
configincludedir = $(libdir)/wx/include/wx/$(TOOLKIT_DIR)
configinclude_DATA = \
setup.h

File diff suppressed because it is too large Load Diff

View File

@@ -1,423 +0,0 @@
dnl ---------------------------------------------------------------------------
dnl
dnl Purpose: Cursom macros for autoconf configure script.
dnl Author: Vadim Zeitlin
dnl Created: 26.05.99
dnl Version: $Id$
dnl ---------------------------------------------------------------------------
dnl ===========================================================================
dnl GKT+ version test
dnl ===========================================================================
dnl ---------------------------------------------------------------------------
dnl AM_PATH_GTK([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
dnl Test for GTK, and define GTK_CFLAGS and GTK_LIBS. Uses variables
dnl gtk_config_prefix and/or gtk_config_exec_prefix if defined.
dnl ---------------------------------------------------------------------------
dnl
AC_DEFUN(AM_PATH_GTK,
[
if test x$gtk_config_exec_prefix != x ; then
gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
if test x${GTK_CONFIG+set} != xset ; then
GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
fi
fi
if test x$gtk_config_prefix != x ; then
gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
if test x${GTK_CONFIG+set} != xset ; then
GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
fi
fi
AC_PATH_PROG(GTK_CONFIG, gtk-config, no)
min_gtk_version=ifelse([$1], ,0.99.7,$1)
AC_MSG_CHECKING(for GTK - version >= $min_gtk_version)
no_gtk=""
if test "$GTK_CONFIG" != "no" ; then
GTK_CFLAGS=`$GTK_CONFIG --cflags`
GTK_LIBS=`$GTK_CONFIG --libs`
ac_save_CFLAGS="$CFLAGS"
ac_save_LIBS="$LIBS"
CFLAGS="$CFLAGS $GTK_CFLAGS"
LIBS="$LIBS $GTK_LIBS"
dnl
dnl Now check if the installed GTK is sufficiently new. (Also sanity
dnl checks the results of gtk-config to some extent)
dnl
AC_TRY_RUN([
#include <gtk/gtk.h>
#include <stdio.h>
int
main ()
{
int major, minor, micro;
if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, &micro) != 3) {
printf("%s, bad version string\n", "$min_gtk_version");
exit(1);
}
if (gtk_minor_version == 1) return FALSE;
return !((gtk_major_version > major) ||
((gtk_major_version == major) && (gtk_minor_version > minor)) ||
((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
}
],, no_gtk=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"])
CFLAGS="$ac_save_CFLAGS"
LIBS="$ac_save_LIBS"
else
no_gtk=yes
fi
if test "x$no_gtk" = x ; then
AC_MSG_RESULT(yes)
ifelse([$2], , :, [$2])
else
AC_MSG_RESULT(no)
GTK_CFLAGS=""
GTK_LIBS=""
ifelse([$3], , :, [$3])
fi
AC_SUBST(GTK_CFLAGS)
AC_SUBST(GTK_LIBS)
])
dnl ===========================================================================
dnl macros to find the a file in the list of include/lib paths
dnl ===========================================================================
dnl ---------------------------------------------------------------------------
dnl call WX_PATH_FIND_INCLUDES(search path, header name), sets ac_find_includes
dnl to the full name of the file that was found or leaves it empty if not found
dnl ---------------------------------------------------------------------------
AC_DEFUN(WX_PATH_FIND_INCLUDES,
[
ac_find_includes=
for ac_dir in $1;
do
if test -f "$ac_dir/$2"; then
ac_find_includes=$ac_dir
break
fi
done
])
dnl ---------------------------------------------------------------------------
dnl call WX_PATH_FIND_LIBRARIES(search path, header name), sets ac_find_includes
dnl to the full name of the file that was found or leaves it empty if not found
dnl ---------------------------------------------------------------------------
AC_DEFUN(WX_PATH_FIND_LIBRARIES,
[
ac_find_libraries=
for ac_dir in $1;
do
for ac_extension in a so sl; do
if test -f "$ac_dir/lib$2.$ac_extension"; then
ac_find_libraries=$ac_dir
break 2
fi
done
done
])
dnl ---------------------------------------------------------------------------
dnl Path to include, already defined
dnl ---------------------------------------------------------------------------
AC_DEFUN(WX_INCLUDE_PATH_EXIST,
[
ac_path_to_include=$1
echo "$2" | grep "\-I$1" > /dev/null
result=$?
if test $result = 0; then
ac_path_to_include=""
else
ac_path_to_include="-I$1"
fi
])
dnl ---------------------------------------------------------------------------
dnl Path to link, already defined
dnl ---------------------------------------------------------------------------
AC_DEFUN(WX_LINK_PATH_EXIST,
[
echo "$2" | grep "\-L$1" > /dev/null
result=$?
if test $result = 0; then
ac_path_to_link=""
else
ac_path_to_link="-L$1"
fi
])
dnl ===========================================================================
dnl C++ features test
dnl ===========================================================================
dnl ---------------------------------------------------------------------------
dnl WX_CPP_NEW_HEADERS checks whether the compiler has "new" <iostream> header
dnl or only the old <iostream.h> one - it may be generally assumed that if
dnl <iostream> exists, the other "new" headers (without .h) exist too.
dnl
dnl call WX_CPP_NEW_HEADERS(actiof-if-true, action-if-false-or-cross-compiling)
dnl ---------------------------------------------------------------------------
AC_DEFUN(WX_CPP_NEW_HEADERS,
[
if test "$cross_compiling" = "yes"; then
ifelse([$2], , :, [$2])
else
AC_LANG_SAVE
AC_LANG_CPLUSPLUS
AC_CHECK_HEADERS(iostream)
if test "x$HAVE_IOSTREAM" = x ; then
ifelse([$2], , :, [$2])
else
ifelse([$1], , :, [$1])
fi
AC_LANG_RESTORE
fi
])
dnl ---------------------------------------------------------------------------
dnl WX_CPP_BOOL checks whether the C++ compiler has a built in bool type
dnl
dnl call WX_CPP_BOOL - will define HAVE_BOOL if the compiler supports bool
dnl ---------------------------------------------------------------------------
AC_DEFUN(WX_CPP_BOOL,
[
AC_CACHE_CHECK([if C++ compiler supports bool], wx_cv_cpp_bool,
[
AC_LANG_SAVE
AC_LANG_CPLUSPLUS
AC_TRY_RUN([
int main()
{
bool b = true;
return 0;
}
],
[
AC_DEFINE(HAVE_BOOL)
wx_cv_cpp_bool=yes
],
wx_cv_cpp_bool=no,
wx_cv_cpp_bool=no
)
AC_LANG_RESTORE
])
if test "$wx_cv_cpp_bool" = "yes"; then
AC_DEFINE(HAVE_BOOL)
fi
])
dnl ---------------------------------------------------------------------------
dnl WX_CPP_SIZE_T_IS_NOT_INT checks whether size_t and int are different types,
dnl i.e. whether we may overload operator[] on its argument type
dnl ---------------------------------------------------------------------------
AC_DEFUN(WX_CPP_SIZE_T_IS_NOT_INT,
[
AC_CACHE_CHECK([if size_t and int are different types], wx_cv_cpp_sizet_not_int,
[
AC_LANG_SAVE
AC_LANG_CPLUSPLUS
AC_TRY_RUN([
#include <stdlib.h>
class S
{
public:
S(char *s) { m_s = s; }
char operator[](size_t n) const { return m_s[n]; }
char operator[](int n) const { return m_s[n]; }
private:
char *m_s;
};
int main()
{
S s("dummy");
size_t n1 = 2;
int n2 = 3;
return s[n1] == s[n2];
}
],
AC_DEFINE(wxUSE_SIZE_T_STRING_OPERATOR) wx_cv_cpp_sizet_not_int=yes,
wx_cv_cpp_sizet_not_int=no,
wx_cv_cpp_sizet_not_int=no
)
AC_LANG_RESTORE
])
])
dnl ---------------------------------------------------------------------------
dnl a slightly better AC_C_BIGENDIAN macro which allows cross-compiling
dnl ---------------------------------------------------------------------------
AC_DEFUN(WX_C_BIGENDIAN,
[AC_CACHE_CHECK(whether byte ordering is bigendian, ac_cv_c_bigendian,
[ac_cv_c_bigendian=unknown
# See if sys/param.h defines the BYTE_ORDER macro.
AC_TRY_COMPILE([#include <sys/types.h>
#include <sys/param.h>], [
#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
bogus endian macros
#endif], [# It does; now see whether it defined to BIG_ENDIAN or not.
AC_TRY_COMPILE([#include <sys/types.h>
#include <sys/param.h>], [
#if BYTE_ORDER != BIG_ENDIAN
not big endian
#endif], ac_cv_c_bigendian=yes, ac_cv_c_bigendian=no)])
if test $ac_cv_c_bigendian = unknown; then
AC_TRY_RUN([main () {
/* Are we little or big endian? From Harbison&Steele. */
union
{
long l;
char c[sizeof (long)];
} u;
u.l = 1;
exit (u.c[sizeof (long) - 1] == 1);
}], ac_cv_c_bigendian=no, ac_cv_c_bigendian=yes, ac_cv_c_bigendian=unknown)
fi])
if test $ac_cv_c_bigendian = unknown; then
AC_MSG_WARN([Assuming little-endian target machine - this may be overriden by adding the line "ac_cv_c_bigendian=${ac_cv_c_bigendian='yes'}" to config.cache file])
fi
if test $ac_cv_c_bigendian = yes; then
AC_DEFINE(WORDS_BIGENDIAN)
fi
])
dnl ---------------------------------------------------------------------------
dnl override AC_ARG_ENABLE/WITH to cache the results in .cache file
dnl ---------------------------------------------------------------------------
AC_DEFUN(WX_ARG_CACHE_INIT,
[
wx_arg_cache_file="configarg.cache"
echo "loading argument cache $wx_arg_cache_file"
rm -f ${wx_arg_cache_file}.tmp
touch ${wx_arg_cache_file}.tmp
touch ${wx_arg_cache_file}
])
AC_DEFUN(WX_ARG_CACHE_FLUSH,
[
echo "saving argument cache $wx_arg_cache_file"
mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
])
dnl this macro checks for a command line argument and caches the result
dnl usage: WX_ARG_WITH(option, helpmessage, variable-name)
AC_DEFUN(WX_ARG_WITH,
[
AC_MSG_CHECKING("for --with-$1")
no_cache=0
AC_ARG_WITH($1, $2,
[
if test "$withval" = yes; then
ac_cv_use_$1='$3=yes'
else
ac_cv_use_$1='$3=no'
fi
],
[
LINE=`grep "$3" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
no_cache=1
fi
ac_cv_use_$1='$3='$DEFAULT_$3
])
eval "$ac_cv_use_$1"
if test "$no_cache" != 1; then
echo $ac_cv_use_$1 >> ${wx_arg_cache_file}.tmp
fi
if test "$$3" = yes; then
AC_MSG_RESULT(yes)
else
AC_MSG_RESULT(no)
fi
])
dnl like WX_ARG_WITH but uses AC_ARG_ENABLE instead of AC_ARG_WITH
dnl usage: WX_ARG_ENABLE(option, helpmessage, variable-name)
AC_DEFUN(WX_ARG_ENABLE,
[
AC_MSG_CHECKING("for --enable-$1")
no_cache=0
AC_ARG_ENABLE($1, $2,
[
if test "$enableval" = yes; then
ac_cv_use_$1='$3=yes'
else
ac_cv_use_$1='$3=no'
fi
],
[
LINE=`grep "$3" ${wx_arg_cache_file}`
if test "x$LINE" != x ; then
eval "DEFAULT_$LINE"
else
no_cache=1
fi
ac_cv_use_$1='$3='$DEFAULT_$3
])
eval "$ac_cv_use_$1"
if test "$no_cache" != 1; then
echo $ac_cv_use_$1 >> ${wx_arg_cache_file}.tmp
fi
if test "$$3" = yes; then
AC_MSG_RESULT(yes)
else
AC_MSG_RESULT(no)
fi
])
dnl -
dnl - GNU libc extension (added by GL)
dnl -
AC_DEFUN(WX_GNU_EXTENSIONS,
[
AC_MSG_CHECKING([if you need GNU extensions])
AC_CACHE_VAL(wx_cv_gnu_extensions,[
AC_TRY_COMPILE([#include <features.h>],[
#ifndef __GNU_LIBRARY__
Compile error wanted
#endif
],
[wx_cv_gnu_extensions=yes],
[wx_cv_gnu_extensions=no])
])
AC_MSG_RESULT($wx_cv_gnu_extensions)
if test "$wx_cv_gnu_extensions" = "yes"; then
AC_DEFINE_UNQUOTED(_GNU_SOURCE)
fi
])

View File

@@ -1,5 +1,2 @@
#!/bin/sh
aclocal -I .
autoheader
automake --foreign --verbose
autoconf

File diff suppressed because it is too large Load Diff

View File

@@ -47,8 +47,20 @@
$wxHTML{$fields[0]} = $fields[2];
} elsif ( $fields[1] eq "U" ) {
$wxUNIX{$fields[0]} = $fields[2];
} elsif ( $fields[1] eq "I" ) {
$wxINCLUDE{$fields[0]} = $fields[2];
} elsif ( $fields[1] eq "W" ) {
$wxWXINCLUDE{$fields[0]} = $fields[2];
} elsif ( $fields[1] eq "P" ) {
$wxPROTOCOLINCLUDE{$fields[0]} = $fields[2];
} elsif ( $fields[1] eq "L" ) {
$wxHTMLINCLUDE{$fields[0]} = $fields[2];
} elsif ( $fields[1] eq "F" ) {
$wxMOTIFINCLUDE{$fields[0]} = $fields[2];
} elsif ( $fields[1] eq "K" ) {
$wxGTKINCLUDE{$fields[0]} = $fields[2];
} elsif ( $fields[1] eq "S" ) {
$wxUNIXINCLUDE{$fields[0]} = $fields[2];
} elsif ( $fields[1] eq "N" ) {
$wxGENERICINCLUDE{$fields[0]} = $fields[2];
} else {
warn "Unknown file type $fields[1] for $fields[0], ignoring.\n";
next line;

File diff suppressed because it is too large Load Diff

View File

@@ -17,7 +17,7 @@
next if $wxGeneric{$file} =~ /\bR\b/;
$file =~ s/cp?p?$/\o/;
$project{"WXGTK_GENERICOBJS"} .= "../generic/" . $file . " "
$project{"WXGTK_GENERICOBJS"} .= "src/generic/" . $file . " "
}
#! now transform these hashes into $project tags
@@ -25,56 +25,72 @@
next if $wxCommon{$file} =~ /\bX\b/;
$file =~ s/cp?p?$/\o/;
$project{"WXMOTIF_GENERICOBJS"} .= "../generic/" . $file . " "
$project{"WXMOTIF_GENERICOBJS"} .= "src/generic/" . $file . " "
}
foreach $file (sort keys %wxCommon) {
next if $wxCommon{$file} =~ /\bR\b/;
$file =~ s/cp?p?$/\o/;
$project{"WXGTK_COMMONOBJS"} .= "../common/" . $file . " "
$project{"WXGTK_COMMONOBJS"} .= "src/common/" . $file . " "
}
foreach $file (sort keys %wxCommon) {
next if $wxCommon{$file} =~ /\bX\b/;
$file =~ s/cp?p?$/\o/;
$project{"WXMOTIF_COMMONOBJS"} .= "../common/" . $file . " "
$project{"WXMOTIF_COMMONOBJS"} .= "src/common/" . $file . " "
}
foreach $file (sort keys %wxGTK) {
$file =~ s/cp?p?$/\o/;
$project{"WXGTK_GUIOBJS"} .= "../gtk/" . $file . " "
$project{"WXGTK_GUIOBJS"} .= "src/gtk/" . $file . " "
}
foreach $file (sort keys %wxMOTIF) {
$file =~ s/cp?p?$/\o/;
$project{"WXMOTIF_GUIOBJS"} .= "../motif/" . $file . " "
$project{"WXMOTIF_GUIOBJS"} .= "src/motif/" . $file . " "
}
foreach $file (sort keys %wxHTML) {
$file =~ s/cp?p?$/\o/;
$project{"WXHTMLOBJS"} .= "../html/" . $file . " "
$project{"WXHTMLOBJS"} .= "src/html/" . $file . " "
}
foreach $file (sort keys %wxUNIX) {
$file =~ s/cp?p?$/\o/;
$project{"WXUNIXOBJS"} .= "../unix/" . $file . " "
$project{"WXUNIXOBJS"} .= "src/unix/" . $file . " "
}
foreach $file (sort keys %wxWXINCLUDE) {
$project{"WX_HEADERS"} .= $file . " "
}
foreach $file (sort keys %wxGENERICINCLUDE) {
$project{"WXGENERIC_HEADERS"} .= "generic/" . $file . " "
}
foreach $file (sort keys %wxMOTIFINCLUDE) {
$project{"WXMOTIF_HEADERS"} .= "motif/" . $file . " "
}
foreach $file (sort keys %wxGTKINCLUDE) {
$project{"WXGTK_HEADERS"} .= "gtk/" . $file . " "
}
foreach $file (sort keys %wxHTMLINCLUDE) {
$project{"WXHTML_HEADERS"} .= "html/" . $file . " "
}
foreach $file (sort keys %wxUNIXINCLUDE) {
$project{"WXUNIX_HEADERS"} .= "unix/" . $file . " "
}
foreach $file (sort keys %wxPROTOCOLINCLUDE) {
$project{"WXPROTOCOL_HEADERS"} .= "protocol/" . $file . " "
}
#$}
#
# I want this to be:
# $(INSTALL_DATA) $(INCDIR)/wx/window.h $(includedir)/wx/window.h
#
# foreach $file (sort keys %wxINCLUDE) {
# next if $wxINCLUDE{$file} =~ /\b(GTK|MSW|MOT|PM|MAC|GEN|HTM|UNX)\b/;
#
# $project{"WXINSTALLWX"} .= "$(INSTALL_DATA)" . " " . "\$(INCDIR)/wx/" . $file . " \$(includedir)/wx/" . $file . "\n"
# }
#
#
#
# This file was automatically generated by tmake at #$ Now()
# DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE UNX.T!
@@ -91,7 +107,7 @@
###################################################################
include ../make.env
include ./src/make.env
############## override make.env for PIC ##########################
@@ -111,7 +127,7 @@ include ../make.env
srcdir = @srcdir@
VPATH = :$(srcdir)
VPATH = :@top_srcdir@
top_srcdir = @top_srcdir@
prefix = @prefix@
@@ -136,7 +152,7 @@ pkgdatadir = $(datadir)/@PACKAGE@
pkglibdir = $(libdir)/@PACKAGE@
pkgincludedir = $(includedir)/@PACKAGE@
top_builddir = ../..
top_builddir = .
INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
@@ -159,7 +175,7 @@ target_triplet = @target@
############################# Dirs #################################
WXDIR = $(srcdir)/../..
WXDIR = $(top_srcdir)
# Subordinate library possibilities
@@ -178,154 +194,177 @@ DOCDIR = $(WXDIR)/docs
############################## Files ##################################
GTK_GENERICOBJS = \
#$ ExpandList("WXGTK_GENERICOBJS");
WX_HEADERS = \
#$ ExpandList("WX_HEADERS");
GTK_COMMONOBJS = \
GTK_HEADERS = \
#$ ExpandList("WXGTK_HEADERS");
MOTIF_HEADERS = \
#$ ExpandList("WXMOTIF_HEADERS");
UNIX_HEADERS = \
#$ ExpandList("WXUNIX_HEADERS");
GENERIC_HEADERS = \
#$ ExpandList("WXGENERIC_HEADERS");
PROTOCOL_HEADERS = \
#$ ExpandList("WXPROTOCOL_HEADERS");
HTML_HEADERS = \
#$ ExpandList("WXHTML_HEADERS");
GTK_GENERICOBJS = \
#$ ExpandList("WXGTK_GENERICOBJS");
GTK_COMMONOBJS = \
parser.o \
#$ ExpandList("WXGTK_COMMONOBJS");
GTK_GUIOBJS = \
GTK_GUIOBJS = \
#$ ExpandList("WXGTK_GUIOBJS");
MOTIF_GENERICOBJS = \
#$ ExpandList("WXMOTIF_GENERICOBJS");
#$ ExpandList("WXMOTIF_GENERICOBJS");
MOTIF_COMMONOBJS = \
MOTIF_COMMONOBJS = \
parser.o \
#$ ExpandList("WXMOTIF_COMMONOBJS");
MOTIF_GUIOBJS = \
../motif/xmcombo/xmcombo.o \
MOTIF_GUIOBJS = \
src/motif/xmcombo/xmcombo.o \
#$ ExpandList("WXMOTIF_GUIOBJS");
HTMLOBJS = \
#$ ExpandList("WXHTMLOBJS");
#$ ExpandList("WXHTMLOBJS");
UNIXOBJS = \
UNIXOBJS = \
#$ ExpandList("WXUNIXOBJS");
ZLIBOBJS = \
../zlib/adler32.o \
../zlib/compress.o \
../zlib/crc32.o \
../zlib/gzio.o \
../zlib/uncompr.o \
../zlib/deflate.o \
../zlib/trees.o \
../zlib/zutil.o \
../zlib/inflate.o \
../zlib/infblock.o \
../zlib/inftrees.o \
../zlib/infcodes.o \
../zlib/infutil.o \
../zlib/inffast.o
src/zlib/adler32.o \
src/zlib/compress.o \
src/zlib/crc32.o \
src/zlib/gzio.o \
src/zlib/uncompr.o \
src/zlib/deflate.o \
src/zlib/trees.o \
src/zlib/zutil.o \
src/zlib/inflate.o \
src/zlib/infblock.o \
src/zlib/inftrees.o \
src/zlib/infcodes.o \
src/zlib/infutil.o \
src/zlib/inffast.o
PNGOBJS = \
../png/png.o \
../png/pngread.o \
../png/pngrtran.o \
../png/pngrutil.o \
../png/pngpread.o \
../png/pngtrans.o \
../png/pngwrite.o \
../png/pngwtran.o \
../png/pngwutil.o \
../png/pngerror.o \
../png/pngmem.o \
../png/pngwio.o \
../png/pngrio.o \
../png/pngget.o \
../png/pngset.o
src/png/png.o \
src/png/pngread.o \
src/png/pngrtran.o \
src/png/pngrutil.o \
src/png/pngpread.o \
src/png/pngtrans.o \
src/png/pngwrite.o \
src/png/pngwtran.o \
src/png/pngwutil.o \
src/png/pngerror.o \
src/png/pngmem.o \
src/png/pngwio.o \
src/png/pngrio.o \
src/png/pngget.o \
src/png/pngset.o
JPEGOBJS = \
../jpeg/jcomapi.o \
../jpeg/jutils.o \
../jpeg/jerror.o \
../jpeg/jmemmgr.o \
../jpeg/jmemnobs.o \
../jpeg/jcapimin.o \
../jpeg/jcapistd.o \
../jpeg/jctrans.o \
../jpeg/jcparam.o \
../jpeg/jdatadst.o \
../jpeg/jcinit.o \
../jpeg/jcmaster.o \
../jpeg/jcmarker.o \
../jpeg/jcmainct.o \
../jpeg/jcprepct.o \
../jpeg/jccoefct.o \
../jpeg/jccolor.o \
../jpeg/jcsample.o \
../jpeg/jchuff.o \
../jpeg/jcphuff.o \
../jpeg/jcdctmgr.o \
../jpeg/jfdctfst.o \
../jpeg/jfdctflt.o \
../jpeg/jfdctint.o \
../jpeg/jdapimin.o \
../jpeg/jdapistd.o \
../jpeg/jdtrans.o \
../jpeg/jdatasrc.o \
../jpeg/jdmaster.o \
../jpeg/jdinput.o \
../jpeg/jdmarker.o \
../jpeg/jdhuff.o \
../jpeg/jdphuff.o \
../jpeg/jdmainct.o \
../jpeg/jdcoefct.o \
../jpeg/jdpostct.o \
../jpeg/jddctmgr.o \
../jpeg/jidctfst.o \
../jpeg/jidctflt.o \
../jpeg/jidctint.o \
../jpeg/jidctred.o \
../jpeg/jdsample.o \
../jpeg/jdcolor.o \
../jpeg/jquant1.o \
../jpeg/jquant2.o \
../jpeg/jdmerge.o
src/jpeg/jcomapi.o \
src/jpeg/jutils.o \
src/jpeg/jerror.o \
src/jpeg/jmemmgr.o \
src/jpeg/jmemnobs.o \
src/jpeg/jcapimin.o \
src/jpeg/jcapistd.o \
src/jpeg/jctrans.o \
src/jpeg/jcparam.o \
src/jpeg/jdatadst.o \
src/jpeg/jcinit.o \
src/jpeg/jcmaster.o \
src/jpeg/jcmarker.o \
src/jpeg/jcmainct.o \
src/jpeg/jcprepct.o \
src/jpeg/jccoefct.o \
src/jpeg/jccolor.o \
src/jpeg/jcsample.o \
src/jpeg/jchuff.o \
src/jpeg/jcphuff.o \
src/jpeg/jcdctmgr.o \
src/jpeg/jfdctfst.o \
src/jpeg/jfdctflt.o \
src/jpeg/jfdctint.o \
src/jpeg/jdapimin.o \
src/jpeg/jdapistd.o \
src/jpeg/jdtrans.o \
src/jpeg/jdatasrc.o \
src/jpeg/jdmaster.o \
src/jpeg/jdinput.o \
src/jpeg/jdmarker.o \
src/jpeg/jdhuff.o \
src/jpeg/jdphuff.o \
src/jpeg/jdmainct.o \
src/jpeg/jdcoefct.o \
src/jpeg/jdpostct.o \
src/jpeg/jddctmgr.o \
src/jpeg/jidctfst.o \
src/jpeg/jidctflt.o \
src/jpeg/jidctint.o \
src/jpeg/jidctred.o \
src/jpeg/jdsample.o \
src/jpeg/jdcolor.o \
src/jpeg/jquant1.o \
src/jpeg/jquant2.o \
src/jpeg/jdmerge.o
OBJECTS = $(@GUIOBJS@) $(@COMMONOBJS@) $(@GENERICOBJS@) $(HTMLOBJS) $(UNIXOBJS) \
$(JPEGOBJS) $(PNGOBJS) $(ZLIBOBJS)
HEADERS = $(@GUIHEADERS@) $(HTML_HEADERS) $(UNIX_HEADERS) $(PROTOCOL_HEADERS) \
$(GENERIC_HEADERS) $(WX_HEADERS)
REQUIRED_DIRS = ../../lib ../../src ../../src/common ../../src/gtk ../../src/motif \
../../src/generic ../../src/unix ../../src/motif/xmombo ../../src/html \
../../src/zlib ../../src/jpeg ../../src/png
REQUIRED_DIRS = ./lib ./src ./src/common ./src/gtk ./src/motif \
./src/generic ./src/unix ./src/motif/xmombo ./src/html \
./src/zlib ./src/jpeg ./src/png
all: $(REQUIRED_DIRS) $(OBJECTS) @WX_TARGET_LIBRARY@ @WX_CREATE_LINKS@
$(REQUIRED_DIRS): $(WXDIR)/include/wx/defs.h $(WXDIR)/include/wx/object.h $(WXDIR)/include/wx/setup.h
@if test ! -d ../../lib; then mkdir ../../lib; fi
@if test ! -d ../../src; then mkdir ../../src; fi
@if test ! -d ../../src/common; then mkdir ../../src/common; fi
@if test ! -d ../../src/gtk; then mkdir ../../src/gtk; fi
@if test ! -d ../../src/motif; then mkdir ../../src/motif; fi
@if test ! -d ../../src/motif/xmcombo; then mkdir ../../src/motif/xmcombo; fi
@if test ! -d ../../src/generic; then mkdir ../../src/generic; fi
@if test ! -d ../../src/unix; then mkdir ../../src/unix; fi
@if test ! -d ../../src/html; then mkdir ../../src/html; fi
@if test ! -d ../../src/png; then mkdir ../../src/png; fi
@if test ! -d ../../src/jpeg; then mkdir ../../src/jpeg; fi
@if test ! -d ../../src/zlib; then mkdir ../../src/zlib; fi
@if test ! -d ./lib; then mkdir ./lib; fi
@if test ! -d ./src; then mkdir ./src; fi
@if test ! -d ./src/common; then mkdir ./src/common; fi
@if test ! -d ./src/gtk; then mkdir ./src/gtk; fi
@if test ! -d ./src/motif; then mkdir ./src/motif; fi
@if test ! -d ./src/motif/xmcombo; then mkdir ./src/motif/xmcombo; fi
@if test ! -d ./src/generic; then mkdir ./src/generic; fi
@if test ! -d ./src/unix; then mkdir ./src/unix; fi
@if test ! -d ./src/html; then mkdir ./src/html; fi
@if test ! -d ./src/png; then mkdir ./src/png; fi
@if test ! -d ./src/jpeg; then mkdir ./src/jpeg; fi
@if test ! -d ./src/zlib; then mkdir ./src/zlib; fi
@WX_LIBRARY_NAME_STATIC@: $(OBJECTS)
$(AR) $(AROPTIONS) ../../lib/$@ $(OBJECTS)
$(RANLIB) ../../lib/$@
$(AR) $(AROPTIONS) ./lib/$@ $(OBJECTS)
$(RANLIB) ./lib/$@
@WX_LIBRARY_NAME_SHARED@: $(OBJECTS)
$(SHARED_LD) ../../lib/$@ $(OBJECTS) $(EXTRALIBS)
$(SHARED_LD) ./lib/$@ $(OBJECTS) $(EXTRALIBS)
CREATE_LINKS: $(OBJECTS)
@if test -e ../../lib/@WX_LIBRARY_LINK1@; then rm -f ../../lib/@WX_LIBRARY_LINK1@; fi
@if test -e ../../lib/@WX_LIBRARY_LINK2@; then rm -f ../../lib/@WX_LIBRARY_LINK2@; fi
@if test -e ../../lib/@WX_LIBRARY_LINK3@; then rm -f ../../lib/@WX_LIBRARY_LINK3@; fi
$(LN_S) @WX_TARGET_LIBRARY@ ../../lib/@WX_LIBRARY_LINK1@
$(LN_S) @WX_TARGET_LIBRARY@ ../../lib/@WX_LIBRARY_LINK2@
$(LN_S) @WX_TARGET_LIBRARY@ ../../lib/@WX_LIBRARY_LINK3@
@if test -e ./lib/@WX_LIBRARY_LINK1@; then rm -f ./lib/@WX_LIBRARY_LINK1@; fi
@if test -e ./lib/@WX_LIBRARY_LINK2@; then rm -f ./lib/@WX_LIBRARY_LINK2@; fi
@if test -e ./lib/@WX_LIBRARY_LINK3@; then rm -f ./lib/@WX_LIBRARY_LINK3@; fi
$(LN_S) @WX_TARGET_LIBRARY@ ./lib/@WX_LIBRARY_LINK1@
$(LN_S) @WX_TARGET_LIBRARY@ ./lib/@WX_LIBRARY_LINK2@
$(LN_S) @WX_TARGET_LIBRARY@ ./lib/@WX_LIBRARY_LINK3@
$(OBJECTS): $(WXDIR)/include/wx/defs.h $(WXDIR)/include/wx/object.h $(WXDIR)/include/wx/setup.h
@@ -351,19 +390,50 @@ lexer.c: $(COMMDIR)/lexer.l
@$(RM) lex.yy.c
samples: $(OBJECTS)
@if test ! -e ../../samples/dialog/dialog.cpp; \
then cp -f -r $(WXDIR)/samples ../..; \
@if test ! -e ./samples/dialog/dialog.cpp; \
then cp -f -r $(WXDIR)/samples .; \
fi
install: @WX_TARGET_LIBRARY@
#$ ExpandList("WXINSTALLWX");
install: $(top_builddir)/lib/@WX_TARGET_LIBRARY@ $(top_builddir)/wx-config $(top_builddir)/setup.h
$(INSTALL_SCRIPT) $(top_builddir)/wx-config $(bindir)/wx-config
$(INSTALL_PROGRAM) $(top_builddir)/lib/@WX_TARGET_LIBRARY@ $(libdir)/@WX_TARGET_LIBRARY@
@if test ! -d $(libdir)/wx; then mkdir $(libdir)/wx; fi
@if test ! -d $(libdir)/wx/include; then mkdir $(libdir)/wx/include; fi
@if test ! -d $(libdir)/wx/include/wx; then mkdir $(libdir)/wx/include/wx; fi
@if test ! -d $(libdir)/wx/include/wx/@TOOLKIT_DIR@; then mkdir $(libdir)/wx/include/wx/@TOOLKIT_DIR@; fi
$(INSTALL_DATA) $(top_builddir)/setup.h $(libdir)/wx/include/wx/@TOOLKIT_DIR@
@if test ! -d $(includedir)/wx; then mkdir $(includedir)/wx; fi
@if test ! -d $(includedir)/wx/gtk; then mkdir $(includedir)/wx/gtk; fi
@if test ! -d $(includedir)/wx/motif; then mkdir $(includedir)/wx/motif; fi
@if test ! -d $(includedir)/wx/html; then mkdir $(includedir)/wx/html; fi
@if test ! -d $(includedir)/wx/protocol; then mkdir $(includedir)/wx/protocol; fi
@if test ! -d $(includedir)/wx/unix; then mkdir $(includedir)/wx/unix; fi
@if test ! -d $(includedir)/wx/generic; then mkdir $(includedir)/wx/generic; fi
@list='$(HEADERS)'; for p in $$list; do \
echo '$(INSTALL_DATA) $(top_srcdir)/include/wx/$$p $(includedir)/wx/$$p;' \
$(INSTALL_DATA) $(top_srcdir)/include/wx/$$p $(includedir)/wx/$$p; \
@done
uninstall:
rm -f $(bindir)/wx-config
rm -f $(libdir)/@WX_TARGET_LIBRARY@
rm -f -r -d $(libdir)/wx
rm -f -r -d $(includedir)/wx
clean:
rm -f ./src/msw/*.o
rm -f ./src/gtk/*.o
rm -f ./src/motif/*.o
rm -f ./src/html/*.o
rm -f ./src/common/*.o
rm -f ./src/unix/*.o
rm -f ./src/generic/*.o
rm -f *.o
rm -f *.lo
rm -f parser.c
rm -f lexer.c
rm -f *.a
rm -f *.la
rm -f ./lib/*
cleanall: clean

2908
ltconfig

File diff suppressed because it is too large Load Diff

3892
ltmain.sh

File diff suppressed because it is too large Load Diff

188
missing
View File

@@ -1,188 +0,0 @@
#! /bin/sh
# Common stub for a few missing GNU programs while installing.
# Copyright (C) 1996, 1997 Free Software Foundation, Inc.
# Franc,ois Pinard <pinard@iro.umontreal.ca>, 1996.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
# 02111-1307, USA.
if test $# -eq 0; then
echo 1>&2 "Try \`$0 --help' for more information"
exit 1
fi
case "$1" in
-h|--h|--he|--hel|--help)
echo "\
$0 [OPTION]... PROGRAM [ARGUMENT]...
Handle \`PROGRAM [ARGUMENT]...' for when PROGRAM is missing, or return an
error status if there is no known handling for PROGRAM.
Options:
-h, --help display this help and exit
-v, --version output version information and exit
Supported PROGRAM values:
aclocal touch file \`aclocal.m4'
autoconf touch file \`configure'
autoheader touch file \`config.h.in'
automake touch all \`Makefile.in' files
bison create \`y.tab.[ch]', if possible, from existing .[ch]
flex create \`lex.yy.c', if possible, from existing .c
lex create \`lex.yy.c', if possible, from existing .c
makeinfo touch the output file
yacc create \`y.tab.[ch]', if possible, from existing .[ch]"
;;
-v|--v|--ve|--ver|--vers|--versi|--versio|--version)
echo "missing - GNU libit 0.0"
;;
-*)
echo 1>&2 "$0: Unknown \`$1' option"
echo 1>&2 "Try \`$0 --help' for more information"
exit 1
;;
aclocal)
echo 1>&2 "\
WARNING: \`$1' is missing on your system. You should only need it if
you modified \`acinclude.m4' or \`configure.in'. You might want
to install the \`Automake' and \`Perl' packages. Grab them from
any GNU archive site."
touch aclocal.m4
;;
autoconf)
echo 1>&2 "\
WARNING: \`$1' is missing on your system. You should only need it if
you modified \`configure.in'. You might want to install the
\`Autoconf' and \`GNU m4' packages. Grab them from any GNU
archive site."
touch configure
;;
autoheader)
echo 1>&2 "\
WARNING: \`$1' is missing on your system. You should only need it if
you modified \`acconfig.h' or \`configure.in'. You might want
to install the \`Autoconf' and \`GNU m4' packages. Grab them
from any GNU archive site."
files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER([^):]*:\([^)]*\)).*/\1/p' configure.in`
if test -z "$files"; then
files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^):]*\)).*/\1/p' configure.in`
test -z "$files" || files="$files.in"
else
files=`echo "$files" | sed -e 's/:/ /g'`
fi
test -z "$files" && files="config.h.in"
touch $files
;;
automake)
echo 1>&2 "\
WARNING: \`$1' is missing on your system. You should only need it if
you modified \`Makefile.am', \`acinclude.m4' or \`configure.in'.
You might want to install the \`Automake' and \`Perl' packages.
Grab them from any GNU archive site."
find . -type f -name Makefile.am -print \
| sed 's/^\(.*\).am$/touch \1.in/' \
| sh
;;
bison|yacc)
echo 1>&2 "\
WARNING: \`$1' is missing on your system. You should only need it if
you modified a \`.y' file. You may need the \`Bison' package
in order for those modifications to take effect. You can get
\`Bison' from any GNU archive site."
rm -f y.tab.c y.tab.h
if [ $# -ne 1 ]; then
eval LASTARG="\${$#}"
case "$LASTARG" in
*.y)
SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'`
if [ -f "$SRCFILE" ]; then
cp "$SRCFILE" y.tab.c
fi
SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'`
if [ -f "$SRCFILE" ]; then
cp "$SRCFILE" y.tab.h
fi
;;
esac
fi
if [ ! -f y.tab.h ]; then
echo >y.tab.h
fi
if [ ! -f y.tab.c ]; then
echo 'main() { return 0; }' >y.tab.c
fi
;;
lex|flex)
echo 1>&2 "\
WARNING: \`$1' is missing on your system. You should only need it if
you modified a \`.l' file. You may need the \`Flex' package
in order for those modifications to take effect. You can get
\`Flex' from any GNU archive site."
rm -f lex.yy.c
if [ $# -ne 1 ]; then
eval LASTARG="\${$#}"
case "$LASTARG" in
*.l)
SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'`
if [ -f "$SRCFILE" ]; then
cp "$SRCFILE" lex.yy.c
fi
;;
esac
fi
if [ ! -f lex.yy.c ]; then
echo 'main() { return 0; }' >lex.yy.c
fi
;;
makeinfo)
echo 1>&2 "\
WARNING: \`$1' is missing on your system. You should only need it if
you modified a \`.texi' or \`.texinfo' file, or any other file
indirectly affecting the aspect of the manual. The spurious
call might also be the consequence of using a buggy \`make' (AIX,
DU, IRIX). You might want to install the \`Texinfo' package or
the \`GNU make' package. Grab either from any GNU archive site."
file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'`
if test -z "$file"; then
file=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'`
file=`sed -n '/^@setfilename/ { s/.* \([^ ]*\) *$/\1/; p; q; }' $file`
fi
touch $file
;;
*)
echo 1>&2 "\
WARNING: \`$1' is needed, and you do not seem to have it handy on your
system. You might have modified some files without having the
proper tools for further handling them. Check the \`README' file,
it often tells you about the needed prerequirements for installing
this package. You may also peek at any GNU archive site, in case
some other package would contain this missing \`$1' program."
exit 1
;;
esac
exit 0

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -1,142 +0,0 @@
#
# File: make.env
# Author: Julian Smart, Robert Roebling, Vadim Zeitlin
# Created: 1993
# Updated: 1999
# Copyright:(c) 1993, AIAI, University of Edinburgh,
# Copyright:(c) 1999, Vadim Zeitlin
# Copyright:(c) 1999, Robert Roebling
#
########################### VERSION #################################
LIBS = ${top_builddir}/src/motif/libwx_motif.la -lpthread -L/usr/X11R6/lib -lXm -lXpm -lXmu -lXt -lX11 -ldl -lm
TOOLKIT = MOTIF
WXLIB = libwx_motif.a
########################### VERSION #################################
WX_MAJOR_VERSION_NUMBER = 2
WX_MINOR_VERSION_NUMBER = 1
WX_RELEASE_NUMBER = 0
########################### Misc #################################
SHELL = /bin/sh
########################### Paths #################################
srcdir = ../src/motif
top_srcdir = ..
prefix = /usr/local
exec_prefix = ${prefix}
bindir = ${exec_prefix}/bin
sbindir = ${exec_prefix}/sbin
libexecdir = ${exec_prefix}/libexec
datadir = ${prefix}/share
sysconfdir = ${prefix}/etc
sharedstatedir = ${prefix}/com
localstatedir = ${prefix}/var
libdir = ${exec_prefix}/lib
infodir = ${prefix}/info
mandir = ${prefix}/man
includedir = ${prefix}/include
oldincludedir = /usr/include
DESTDIR =
pkgdatadir = $(datadir)/wxWindows
pkglibdir = $(libdir)/wxWindows
pkgincludedir = $(includedir)/wxWindows
top_builddir = .
INSTALL = /usr/bin/install -c
INSTALL_PROGRAM = ${INSTALL}
INSTALL_DATA = ${INSTALL} -m 644
INSTALL_SCRIPT = ${INSTALL_PROGRAM}
transform = s,x,x,
NORMAL_INSTALL = :
PRE_INSTALL = :
POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
build_alias = i586-pc-linux-gnu
build_triplet = i586-pc-linux-gnu
host_alias = i586-pc-linux-gnu
host_triplet = i586-pc-linux-gnu
target_alias = i586-pc-linux-gnu
target_triplet = i586-pc-linux-gnu
EXTRA_VPATH = :$(srcdir)/../unix:${srcdir}/../zlib:${srcdir}/../png:${srcdir}/../jpeg
VPATH = .:${srcdir}:${srcdir}/../common:${srcdir}/../generic:${srcdir}/../html:${EXTRA_VPATH}
########################### Programs #################################
# C++ compiler
CC = c++
CCPP = c++ -E
# C compiler
CCC = gcc
CCCPP = gcc -E
# Compiler for lex/yacc .c programs
CCLEX = gcc
LEX = flex
YACC = bison -y
AR = ar
AS =
NM = /usr/bin/nm -B
LN_S = ln -s
STRIP = strip
MAKE = make
AROPTIONS = ruv
RANLIB = ranlib
LD = /usr/i486-linux/bin/ld
MAKEINFO = makeinfo
########################### Flags #################################
CFLAGS = -D__WXMOTIF__ -fno-rtti -fno-exceptions -D_REENTRANT -O2 -I. -I${top_builddir}/include -I${top_srcdir}/include -I${srcdir}/../zlib -I${srcdir}/../png -I${srcdir}/../jpeg -I/usr/X11R6/include -I/usr/local/include
CPPFLAGS = -D__WXMOTIF__ -fno-rtti -fno-exceptions -D_REENTRANT -O2 -I. -I${top_builddir}/include -I${top_srcdir}/include -I${srcdir}/../zlib -I${srcdir}/../png -I${srcdir}/../jpeg -I/usr/X11R6/include -I/usr/local/include -Wall
########################### Rules #################################
# Clears all default suffixes
.SUFFIXES: .o .cpp .c
.c.o :
$(CCC) -c $(CFLAGS) -o $@ $<
.cpp.o :
$(CC) -c $(CPPFLAGS) -o $@ $<
########################### Files #################################
WXDIR = $(srcdir)/../..
# Subordinate library possibilities
GENDIR = $(WXDIR)/src/generic
COMMDIR = $(WXDIR)/src/common
HTMLDIR = $(WXDIR)/src/html
UNIXDIR = $(WXDIR)/src/unix
PNGDIR = $(WXDIR)/src/png
JPEGDIR = $(WXDIR)/src/jpeg
ZLIBDIR = $(WXDIR)/src/zlib
GTKDIR = $(WXDIR)/src/gtk
MOTIFDIR = $(WXDIR)/src/motif
INCDIR = $(WXDIR)/include
DOCDIR = $(WXDIR)/docs

View File

@@ -1,15 +0,0 @@
# Makes a library in Unix (Motif)
# Replace this with your own path if necessary
WXDIR = $(WXWIN)
include $(WXDIR)/src/make.env
all: $(LIBTARGET)$(GUISUFFIX).a
$(LIBTARGET)$(GUISUFFIX).a : $(OBJECTS)
ar $(AROPTIONS) $@ $(OBJECTS)
$(RANLIB) $@
clean:
rm -f $(OBJECTS) $(LIBTARGET)$(GUISUFFIX).a core

View File

@@ -1,14 +0,0 @@
# Make environment for making samples on Unix
# Replace this with your own path if necessary
WXDIR = $(WXWIN)
include $(WXDIR)/src/make.env
all: $(PROGRAM)
$(PROGRAM): $(OBJECTS) $(WXLIB)
$(CC) $(LDFLAGS) -o $(PROGRAM) $(OBJECTS) $(LDLIBS)
clean:
rm -f $(OBJECTS) $(PROGRAM) core

View File

@@ -1,250 +0,0 @@
#
# File: makefile.unx
# Author: Julian Smart
# Created: 1998
# Updated:
# Copyright: (c) 1998
#
#
# Makefile for wxMotif library, Unix
EXTRACFLAGS=-DLEX_SCANNER
include ../make.env
LIB_CPP_SRC=\
\
../common/cmndata.cpp \
../common/config.cpp \
../common/dcbase.cpp \
../common/date.cpp \
../common/docmdi.cpp \
../common/docview.cpp \
../common/dynarray.cpp \
../common/dynlib.cpp \
../common/event.cpp \
../common/file.cpp \
../common/fileconf.cpp \
../common/filefn.cpp \
../common/gdicmn.cpp \
../common/hash.cpp \
../common/helpbase.cpp \
../common/intl.cpp \
../common/ipcbase.cpp \
../common/image.cpp \
../common/imagjpeg.cpp \
../common/imagpng.cpp \
../common/imaggif.cpp \
../common/layout.cpp \
../common/list.cpp \
../common/log.cpp \
../common/matrix.cpp \
../common/memory.cpp \
../common/module.cpp \
../common/object.cpp \
../common/odbc.cpp \
../common/prntbase.cpp \
../common/resource.cpp \
../common/serbase.cpp \
../common/paper.cpp \
../common/string.cpp \
../common/textfile.cpp \
../common/tbarbase.cpp \
../common/tbarsmpl.cpp \
../common/time.cpp \
../common/timercmn.cpp \
../common/utilscmn.cpp \
../common/wincmn.cpp \
../common/framecmn.cpp \
../common/stream.cpp \
../common/datstrm.cpp \
../common/wfstream.cpp \
../common/mstream.cpp \
../common/zstream.cpp \
../common/objstrm.cpp \
../common/sckstrm.cpp \
../common/validate.cpp \
../common/valgen.cpp \
../common/valtext.cpp \
../common/variant.cpp \
../common/wxexpr.cpp \
../common/wxchar.cpp \
../common/socket.cpp \
../common/sckaddr.cpp \
../common/sckint.cpp \
../common/sckipc.cpp \
../common/protocol.cpp \
../common/ftp.cpp \
../common/http.cpp \
../common/url.cpp \
../common/tokenzr.cpp \
\
../unix/threadpsx.cpp \
../unix/utilsunx.cpp \
\
accel.cpp \
app.cpp \
bitmap.cpp \
bmpbuttn.cpp \
brush.cpp \
button.cpp \
checkbox.cpp \
choice.cpp \
clipbrd.cpp \
colour.cpp \
control.cpp \
combobox.cpp \
cursor.cpp \
data.cpp \
dataobj.cpp \
dc.cpp \
dcclient.cpp \
dcmemory.cpp \
dcscreen.cpp \
dialog.cpp \
dnd.cpp \
filedlg.cpp \
font.cpp \
frame.cpp \
gauge.cpp \
gdiobj.cpp \
icon.cpp \
listbox.cpp \
joystick.cpp \
main.cpp \
mdi.cpp \
menu.cpp \
menuitem.cpp \
minifram.cpp \
msgdlg.cpp \
palette.cpp \
pen.cpp \
radiobox.cpp \
radiobut.cpp \
region.cpp \
scrolbar.cpp \
settings.cpp \
slider.cpp \
spinbutt.cpp \
statbox.cpp \
statbmp.cpp \
stattext.cpp \
taskbar.cpp \
textctrl.cpp \
timer.cpp \
toolbar.cpp \
utils.cpp \
wave.cpp \
window.cpp \
\
../generic/choicdgg.cpp \
../generic/colrdlgg.cpp \
../generic/dirdlgg.cpp \
../generic/dcpsg.cpp \
../generic/fontdlgg.cpp \
../generic/gridg.cpp \
../generic/helphtml.cpp \
../generic/helpext.cpp \
../generic/imaglist.cpp \
../generic/listctrl.cpp \
../generic/laywin.cpp \
../generic/msgdlgg.cpp \
../generic/notebook.cpp \
../generic/panelg.cpp \
../generic/printps.cpp \
../generic/prntdlgg.cpp \
../generic/prop.cpp \
../generic/propform.cpp \
../generic/proplist.cpp \
../generic/sashwin.cpp \
../generic/scrolwin.cpp \
../generic/splitter.cpp \
../generic/statusbr.cpp \
../generic/tabg.cpp \
../generic/textdlgg.cpp \
../generic/treectrl.cpp
ZLIB_SRC=\
../zlib/adler32.c ../zlib/deflate.c ../zlib/infblock.c\
../zlib/inflate.c ../zlib/zutil.c ../zlib/compress.c \
../zlib/infcodes.c ../zlib/inftrees.c ../zlib/trees.c \
../zlib/crc32.c ../zlib/gzio.c ../zlib/inffast.c\
../zlib/infutil.c ../zlib/uncompr.c
LIB_C_SRC=\
\
../common/y_tab.c \
../common/extended.c
# Only need to compile zlib files if we don't
# already have a zlib library installed on our system
# (or we wish to statically link them for some reason)
EXTRA_C_SRC=\
xmcombo/xmcombo.c
EXTRA_CPP_SRC=
# mdi/lib/XsComponent.C\
# mdi/lib/XsMDICanvas.C\
# mdi/lib/XsMDIWindow.C\
# mdi/lib/XsMotifWindow.C\
# mdi/lib/XsMoveOutline.C\
# mdi/lib/XsOutline.C\
# mdi/lib/XsResizeOutline.C
all: $(WXLIB) png zlib
# Define library objects
OBJECTS=\
$(LIB_CPP_SRC:.cpp=.o) $(LIB_C_SRC:.c=.o) $(EXTRA_C_SRC:.c=.o) $(EXTRA_CPP_SRC:.C=.o)
$(WXLIB) : $(OBJECTS)
ar $(AROPTIONS) $@ $(OBJECTS)
$(RANLIB) $@
../common/y_tab.$(OBJSUFF): ../common/y_tab.c ../common/lex_yy.c
$(CCLEX) -c $(CFLAGS) -DNO_CONFIGURE -o $@ ../common/y_tab.c
# Replace lex with flex if you run into compilation
# problems with lex_yy.c. See also note about LEX_SCANNER
# above.
../common/lex_yy.c: ../common/lexer.l
$(LEX) ../common/lexer.l
sed -e "s/BUFSIZ/5000/g" < lex.yy.c | \
sed -e "s/yyoutput(c)/void yyoutput(c)/g" | \
sed -e "s/YYLMAX 200/YYLMAX 5000/g" > ../common/lex_yy.c
/bin/rm -f lex.yy.c
# The above should work with both lex and flex, but just in case not,
# here are alternative syntaxes.
#
# Flex-style syntax:
# $(LEX) -olex.yy.c ../common/lexer.l
# Lex-style syntax:
# $(LEX) ../common/lexer.l
# Replace yacc with bison if you run into compilation
# problems with y_tab.c.
../common/y_tab.c: ../common/parser.y
$(YACC) ../common/parser.y
mv y.tab.c ../common/y_tab.c
combobox/combobox.o: combobox/combobox.c
$(CCC) -c $(CFLAGS) -o $@ combobox/combobox.c
zlib:
cd ../zlib; make -f makefile.unx motif
png:
cd ../png; make -f makefile.unx motif
clean: cleanzlib cleanpng
rm -f $(OBJECTS) $(WXLIB)
cleanzlib:
cd ../zlib; make -f makefile.unx cleanmotif
cleanpng:
cd ../png; make -f makefile.unx cleanmotif

File diff suppressed because it is too large Load Diff