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

View File

@@ -1,620 +0,0 @@
/* Generate setup.h.in from this file using autoheader. */
/* */
/* Version: $Id$ */
/* This define (__WX_SETUP_H__) is used both to insure setup.h is included
* only once and to indicate that we are building using configure. */
#ifndef __WX_SETUP_H__
#define __WX_SETUP_H__
#ifdef __GNUG__
#pragma interface
#endif
@TOP@
/* ------------------------------------------------------------------------ */
/* wxWindows version (not used but required by autoheader) */
/* ------------------------------------------------------------------------ */
/* needed for older automake? */
#undef WITH_SYMBOL_UNDERSCORE
/* ------------------------------------------------------------------------ */
/* define if support for GTK 1.2 features */
/* ------------------------------------------------------------------------ */
#undef __WXGTK12__
/* ------------------------------------------------------------------------ */
/* define the system to compile */
/* ------------------------------------------------------------------------ */
/*
* Define to 1 for Unix[-like] system
*/
#define wxUSE_UNIX 0
#undef __UNIX__
#undef __LINUX__
#undef __SGI__
#undef __HPUX__
#undef __SYSV__
#undef __SVR4__
#undef __AIX__
#undef __SUN__
#undef __SOLARIS__
#undef __SUNOS__
#undef __ALPHA__
#undef __OSF__
#undef __BSD__
#undef __FREEBSD__
#undef __VMS__
#undef __ULTRIX__
#undef __DATA_GENERAL__
#undef __EMX__
#undef _GNU_SOURCE
#undef __WINDOWS__
#undef __WIN95__
#undef __WIN32__
#undef __GNUWIN32__
#undef WINVER
/* ------------------------------------------------------------------------ */
/* compiler options */
/* ------------------------------------------------------------------------ */
/*
* Supports bool type
*/
#undef HAVE_BOOL
/* ------------------------------------------------------------------------ */
/* library options */
/* ------------------------------------------------------------------------ */
/*
* Use zlib
*/
#define wxUSE_ZLIB 0
/*
* Use libpng
*/
#define wxUSE_LIBPNG 0
/*
* Use libjpeg
*/
#define wxUSE_LIBJPEG 0
/*
* Use libgif
*/
#define wxUSE_LIBGIF 0
/*
* Use iODBC
*/
#define wxUSE_ODBC 0
/*
* Use Threads
*/
#define wxUSE_THREADS 0
/*
* Have glibc2
*/
#define wxHAVE_GLIBC2 0
/*
* Use libXpm
*/
#define wxHAVE_LIB_XPM 0
/*
* Use OpenGL
*/
#define wxUSE_OPENGL 0
/* ------------------------------------------------------------------------ */
/* GUI or not GUI? */
/* ------------------------------------------------------------------------ */
/*
* Use GUI
*/
#define wxUSE_GUI 1
/*
* Defined if !wxUSE_GUI
*/
#undef wxUSE_NOGUI
/* ------------------------------------------------------------------------ */
/* "global" GUI options */
/* ------------------------------------------------------------------------ */
/*
* Use constraints mechanism
*/
#define wxUSE_CONSTRAINTS 0
/*
* Use validators
*/
#define wxUSE_VALIDATORS 0
/*
* Use accelerators
*/
#define wxUSE_ACCEL 0
/*
* Use wxTextEntryDialog
*/
#define wxUSE_TEXTDLG 0
/*
* Use startup tips
*/
#define wxUSE_STARTUP_TIPS 0
/*
* Use progress dialog
*/
#define wxUSE_PROGRESSDLG 0
/*
* Use directory chooser dialog
*/
#define wxUSE_DIRDLG 0
/*
* Joystick support (Linux/GTK only)
*/
#define wxUSE_JOYSTICK 0
/* ------------------------------------------------------------------------ */
/* GUI control options */
/* ------------------------------------------------------------------------ */
/*
* Use this control
*/
#define wxUSE_CARET 0
/*
* Use this control
*/
#define wxUSE_BMPBUTTON 0
/*
* Use this control
*/
#define wxUSE_CHECKBOX 0
/*
* Use this control
*/
#define wxUSE_CHECKLISTBOX 0
/*
* Use this control
*/
#define wxUSE_COMBOBOX 0
/*
* Use this control
*/
#define wxUSE_CHOICE 0
/*
* Use this control
*/
#define wxUSE_GAUGE 0
/*
* Use this control
*/
#define wxUSE_GRID 0
/*
* Use this control
*/
#define wxUSE_IMAGLIST 0
/*
* Use this control
*/
#define wxUSE_LISTBOX 0
/*
* Use this control
*/
#define wxUSE_LISTCTRL 0
/*
* Use this control
*/
#define wxUSE_NOTEBOOK 0
/*
* Use this control
*/
#define wxUSE_RADIOBOX 0
/*
* Use this control
*/
#define wxUSE_RADIOBTN 0
/*
* Use this control
*/
#define wxUSE_SASH 0
/*
* Use this control
*/
#define wxUSE_SCROLLBAR 0
/*
* Use this control
*/
#define wxUSE_SLIDER 0
/*
* Use this control
*/
#define wxUSE_SPINBTN 0
/*
* Use this control
*/
#define wxUSE_SPLITTER 0
/*
* Use this control
*/
#define wxUSE_STATBMP 0
/*
* Use this control
*/
#define wxUSE_STATBOX 0
/*
* Use this control
*/
#define wxUSE_STATLINE 0
/*
* Use this control
*/
#define wxUSE_STATUSBAR 0
/*
* Use Tab dialog class - obsolete, use wxNotebook instead
*/
#define wxUSE_TAB_DIALOG 0
/* compatibility */
#define wxUSE_TABDIALOG wxUSE_TAB_DIALOG
/*
* Use this control
*/
#define wxUSE_TOOLBAR 0
#if defined(__WXWINE__) || defined(__GNUWIN32__)
#if wxUSE_TOOLBAR
#define wxUSE_BUTTONBAR 1
#endif
#endif
/*
* Use this control
*/
#define wxUSE_TREECTRL 0
/* ------------------------------------------------------------------------ */
/* non-GUI options */
/* ------------------------------------------------------------------------ */
/*
* Use wxLongLong (a.k.a. int64) class
*/
#define wxUSE_LONGLONG 0
/*
* Use wxFile class
*/
#define wxUSE_FILE 0
/*
* Use wxTextFile class
*/
#define wxUSE_TEXTFILE 0
/*
* Use log classes and logging functions
*/
#define wxUSE_LOG 0
/*
* Use time and date classes
*/
#define wxUSE_TIMEDATE 0
/*
* Use wave class
*/
#define wxUSE_WAVE 0
/*
* Use config system
*/
#define wxUSE_CONFIG 0
/*
* Use intl system
*/
#define wxUSE_INTL 0
/*
* Use streams
*/
#define wxUSE_STREAMS 0
/*
* Use class serialization
*/
#define wxUSE_SERIAL 0
/*
* Use sockets
*/
#define wxUSE_SOCKETS 0
/*
* Use standard C++ streams if 1. If 0, use wxWin
* streams implementation.
*/
#define wxUSE_STD_IOSTREAM 0
/*
* wxLibrary class
*/
#define wxUSE_DYNLIB_CLASS 0
/* ------------------------------------------------------------------------ */
/* PS options */
/* ------------------------------------------------------------------------ */
/*
* Use font metric files in GetTextExtent for wxPostScriptDC
* Use consistent PostScript fonts for AFM and printing (!)
*/
#define wxUSE_AFM_FOR_POSTSCRIPT 0
#define wxUSE_NORMALIZED_PS_FONTS 0
/* compatibility */
#define WX_NORMALIZED_PS_FONTS wxUSE_NORMALIZED_PS_FONTS
/*
* Use PostScript device context
*/
#define wxUSE_POSTSCRIPT 0
/* ------------------------------------------------------------------------ */
/* wxString options */
/* ------------------------------------------------------------------------ */
/*
* Compile wxString with wide character (Unicode) support?
*/
#define wxUSE_UNICODE 0
/*
* Work around a bug in GNU libc 5.x wcstombs() implementation.
*
* Note that you must link your programs with libc.a if you enable this and you
* have libc 5 (you should enable this for libc6 where wcsrtombs() is
* thread-safe version of wcstombs()).
*/
#define wxUSE_WCSRTOMBS 0
/*
* On some platforms overloading on size_t/int doesn't work, yet we'd like
* to define both size_t and int version of wxString::operator[] because it
* should really be size_t, but a lot of old, broken code uses int indices.
*/
#define wxUSE_SIZE_T_STRING_OPERATOR 0
/*
* Use the new experimental implementation of wxString::Printf()?
*
* Warning: enabling this may cause internal compiler errors with gcc!
*/
#define wxUSE_EXPERIMENTAL_PRINTF 0
/* ------------------------------------------------------------------------ */
/* misc options */
/* ------------------------------------------------------------------------ */
/*
* Use Interprocess communication
*/
#define wxUSE_IPC 0
/*
* Use wxGetResource & wxWriteResource (change .Xdefaults)
*/
#define wxUSE_X_RESOURCES 0
/*
* Use clipboard
*/
#define wxUSE_CLIPBOARD 0
/*
* Use tooltips
*/
#define wxUSE_TOOLTIPS 0
/*
* Use dnd
*/
#define wxUSE_DRAG_AND_DROP 0
/*
* Use spline
*/
#define wxUSE_SPLINES 0
/*
* Use wxLibrary class
*/
#define wxUSE_DYNLIB_CLASS 0
/* ------------------------------------------------------------------------ */
/* architecture options */
/* ------------------------------------------------------------------------ */
/*
* Use the mdi architecture
*/
#define wxUSE_MDI_ARCHITECTURE 0
/*
* Use the document/view architecture
*/
#define wxUSE_DOC_VIEW_ARCHITECTURE 0
/*
* Use the print/preview architecture
*/
#define wxUSE_PRINTING_ARCHITECTURE 0
/* ------------------------------------------------------------------------ */
/* Prolog and wxWindows' resource system options */
/* ------------------------------------------------------------------------ */
/*
* Use Prolog IO
*/
#define wxUSE_PROLOGIO 0
/*
* Use wxWindows resource loading (.wxr-files) (Needs wxUSE_PROLOGIO 1)
*/
#define wxUSE_RESOURCES 0
/* for compatibility */
#define wxUSE_WX_RESOURCES wxUSE_RESOURCES
/* ------------------------------------------------------------------------ */
/* the rest */
/* ------------------------------------------------------------------------ */
/*
* Use wxWindows help facility (needs wxUSE_IPC 1)
*/
#define wxUSE_HELP 0
/*
* Use iostream.h rather than iostream
*/
#define wxUSE_IOSTREAMH 0
/*
* Use Apple Ieee-double converter
*/
#define wxUSE_APPLE_IEEE 0
/*
* Compatibility with 1.66 API.
* Level 0: no backward compatibility, all new features
* Level 1: wxDC, OnSize (etc.) compatibility, but
* some new features such as event tables
*/
#define WXWIN_COMPATIBILITY 0
/*
* Compatibility with 2.0 API.
*/
#define WXWIN_COMPATIBILITY_2 1
/*
* Enables debugging: memory tracing, assert, etc., contains debug level
*/
#define WXDEBUG 0
/*
* Enables debugging version of wxObject::new and wxObject::delete (IF WXDEBUG)
* WARNING: this code may not work with all architectures, especially
* if alignment is an issue.
*/
#define wxUSE_MEMORY_TRACING 0
/*
* Enable debugging version of global memory operators new and delete
* Disable it, If this causes problems (e.g. link errors)
*/
#define wxUSE_DEBUG_NEW_ALWAYS 0
/*
* VZ: What does this one do? (FIXME)
*/
#define wxUSE_DEBUG_CONTEXT 0
/*
* In debug mode, causes new to be defined to
* be WXDEBUG_NEW (see object.h). If this causes
* problems (e.g. link errors), set this to 0.
*/
#define wxUSE_GLOBAL_MEMORY_OPERATORS 0
/*
* Matthews garbage collection (used for MrEd?)
*/
#define WXGARBAGE_COLLECTION_ON 0
/*
* Use splines
*/
#define wxUSE_SPLINES 0
/*
* wxUSE_DYNAMIC_CLASSES is TRUE for the Xt port
*/
#define wxUSE_DYNAMIC_CLASSES 1
/*
* Support for metafiles
*/
#define wxUSE_METAFILE 0
/*
* wxMiniFrame
*/
#define wxUSE_MINIFRAME 0
/*
* wxHTML
*/
#define wxUSE_HTML 0
/*
* (virtual) filesystems code
*/
#define wxUSE_FS_INET 0
#define wxUSE_FS_ZIP 0
/*
* A class that shows info window when app is busy
* (works exactly like wxBusyCursor)
*/
#define wxUSE_BUSYINFO 0
/*
* Zip stream for accessing files stored inside .zip archives
*/
#define wxUSE_ZIPSTREAM 0
/*
* Disable this if your compiler can't cope
* with omission of prototype parameters.
*/
#define REMOVE_UNUSED_ARG 1
/*
* The const keyword is being introduced more in wxWindows.
* You can use this setting to maintain backward compatibility.
* If 0: will use const wherever possible.
* If 1: will use const only where necessary
* for precompiled headers to work.
* If 2: will be totally backward compatible, but precompiled
* headers may not work and program size will be larger.
*/
#define CONST_COMPATIBILITY 0
/* ------------------------------------------------------------------------ */
/* System-specific stuff */
/* ------------------------------------------------------------------------ */
/* The type of 3rd argument to getsockname() - usually size_t or int */
#undef SOCKLEN_T
/* Define if you have dlopen() */
#undef HAVE_DLOPEN
/* Define if you have nanosleep() */
#undef HAVE_NANOSLEEP
/* Define if you have sched_yield */
#undef HAVE_SCHED_YIELD
/* Define if you have pthread_cancel */
#undef HAVE_PTHREAD_CANCEL
/* Define if you have all functions to set thread priority */
#undef HAVE_THREAD_PRIORITY_FUNCTIONS
/* Define if you can specify exit functions to a thread */
#undef HAVE_THREAD_CLEANUP_FUNCTIONS
/* Define if you have shl_load() */
#undef HAVE_SHL_LOAD
/* Define if you have vsnprintf() */
#undef HAVE_VSNPRINTF
/* Define if you have usleep() */
#undef HAVE_USLEEP
/* Define if you have wcslen function */
#undef HAVE_WCSLEN
/* define if you have vsscanf function */
#undef HAVE_VSSCANF
@BOTTOM@
#endif /* __WX_SETUP_H__ */

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

View File

@@ -11,6 +11,419 @@ dnl
dnl Version: $Id$
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
])
dnl ---------------------------------------------------------------------------
dnl initialization
dnl ---------------------------------------------------------------------------
@@ -39,24 +452,11 @@ WX_BINARY_AGE=0
WX_VERSION=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER.$WX_RELEASE_NUMBER
AM_INIT_AUTOMAKE(wxWindows, $WX_VERSION)
dnl libtool versioning
LT_RELEASE=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER
LT_CURRENT=`expr $WX_RELEASE_NUMBER - $WX_INTERFACE_AGE`
LT_REVISION=$WX_INTERFACE_AGE
LT_AGE=`expr $WX_BINARY_AGE - $WX_INTERFACE_AGE`
AC_SUBST(LT_RELEASE)
AC_SUBST(LT_CURRENT)
AC_SUBST(LT_REVISION)
AC_SUBST(LT_AGE)
dnl FIXME this hack suppresses automake 1.4 warning about @LTLIBOBJS@ being
dnl never defined in configure.in (remove these lines to see what I'm
dnl speaking about) - Tom Tromey <tromey@cygnus.com> told me that it will
dnl be fixed in the next release.
LIBOBJS=
LIBOBJS="$LIBOBJS ../common/extended.o"
dnl wxWindows shared library versioning
WX_RELEASE=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER
WX_CURRENT=`expr $WX_RELEASE_NUMBER - $WX_INTERFACE_AGE`
WX_REVISION=$WX_INTERFACE_AGE
WX_AGE=`expr $WX_BINARY_AGE - $WX_INTERFACE_AGE`
dnl ------------------------------------------------------------------------
dnl Check platform (host system)
@@ -210,7 +610,6 @@ esac
if test "$USE_UNIX" = 1 ; then
wxUSE_UNIX=yes
AC_DEFINE(__UNIX__)
EXTRA_VPATH="$EXTRA_VPATH:\$(srcdir)/../unix"
SRC_SUBDIRS="$SRC_SUBDIRS unix"
INCLUDE_SUBDIRS="$INCLUDE_SUBDIRS unix"
fi
@@ -238,7 +637,8 @@ DEBUG_CONFIGURE=0
if test $DEBUG_CONFIGURE = 1; then
DEFAULT_wxUSE_THREADS=yes
DEFAULT_wxUSE_OPTIMISE=no
DEFAULT_wxUSE_SHARED=yes
DEFAULT_wxUSE_OPTIMISE=yes
DEFAULT_wxUSE_PROFILE=no
DEFAULT_wxUSE_NO_RTTI=no
DEFAULT_wxUSE_NO_EXCEPTIONS=no
@@ -342,6 +742,7 @@ if test $DEBUG_CONFIGURE = 1; then
else
DEFAULT_wxUSE_THREADS=yes
DEFAULT_wxUSE_SHARED=yes
DEFAULT_wxUSE_OPTIMISE=yes
DEFAULT_wxUSE_PROFILE=no
DEFAULT_wxUSE_NO_RTTI=no
@@ -491,6 +892,7 @@ dnl ---------------------------------------------------------------------------
dnl compile options
dnl ---------------------------------------------------------------------------
WX_ARG_ENABLE(shared, [ --enable-shared create shared library code], wxUSE_SHARED)
WX_ARG_ENABLE(optimise, [ --enable-optimise create optimised code], wxUSE_OPTIMISE)
WX_ARG_ENABLE(debug, [ --enable-debug same as debug_flag and debug_info], wxUSE_DEBUG)
@@ -874,69 +1276,11 @@ AC_PROG_YACC
dnl LEX checks
dnl defines LEX with the appropriate command
dnl defines LEXLIB with the appropriate library
dnl this AM version (don't use AC_PROG_LEX!) also
dnl defines YYTEXT_POINTER if yytext is char*
dnl defines LEX_OUTPUT_ROOT as to the base of the
dnl filename output by the lexer
AM_PROG_LEX
AC_PROG_LEX
dnl needed for making link to setup.h
AC_PROG_LN_S
dnl without this (which just means that we use WXDLLEXPORT) libtool won't build
dnl DLLs under Win32.
dnl AC_LIBTOOL_WIN32_DLL
dnl disable static libs by default, this takes too much time...
dnl libtool doesn't work on anything but Linux and maybe
dnl ***BSD
case "${host}" in
*-hp-hpux* )
AM_DISABLE_SHARED
;;
*-*-linux* )
AM_DISABLE_STATIC
;;
*-*-irix5* | *-*-irix6* )
AM_DISABLE_SHARED
;;
*-*-solaris2* )
AM_DISABLE_SHARED
;;
*-*-sunos4* )
AM_DISABLE_SHARED
;;
*-*-freebsd* | *-*-netbsd*)
AM_DISABLE_STATIC
;;
*-*-osf* )
AM_DISABLE_SHARED
;;
*-*-dgux5* )
AM_DISABLE_SHARED
;;
*-*-sysv5* )
AM_DISABLE_SHARED
;;
*-*-aix* )
AM_DISABLE_SHARED
;;
*-*-cygwin32* )
AM_DISABLE_STATIC
;;
*-*-mingw32* )
AM_DISABLE_STATIC
;;
*-pc-os2_emx )
AM_DISABLE_SHARED
;;
*)
AC_MSG_ERROR(unknown system type ${host}.)
esac
AM_PROG_LIBTOOL
dnl ---------------------------------------------------------------------------
dnl Define search path for includes and libraries: all headers and libs will be
dnl looked for in all directories of this path
@@ -1068,6 +1412,7 @@ if test "$wxUSE_GTK" = 1; then
TOOLKIT=GTK
GUIOBJS=GTK_GUIOBJS
GUIHEADERS=GTK_HEADERS
COMMONOBJS=GTK_COMMONOBJS
GENERICOBJS=GTK_GENERICOBJS
fi
@@ -1111,7 +1456,6 @@ if test "$wxUSE_WINE" = 1; then
GUI_TK_LIBRARY="$GUI_TK_LIBRARY $GUI_TK_LINK"
WXWINE=1
TOOLKIT=MSW
LTLIBOBJS="$LTLIBOBJS winestub.lo"
fi
if test "$wxUSE_MOTIF" = 1; then
@@ -1179,6 +1523,7 @@ if test "$wxUSE_MOTIF" = 1; then
TOOLKIT=MOTIF
GUIOBJS=MOTIF_GUIOBJS
GUIHEADERS=MOTIF_HEADERS
COMMONOBJS=MOTIF_COMMONOBJS
GENERICOBJS=MOTIF_GENERICOBJS
fi
@@ -1196,14 +1541,14 @@ dnl the name of the static library
WX_LIBRARY_NAME_STATIC="libwx_${TOOLKIT_DIR}.a"
dnl the name of the shared library
WX_LIBRARY_NAME_SHARED="libwx_${TOOLKIT_DIR}-${LT_RELEASE}.so.${LT_CURRENT}.${LT_REVISION}.${LT_AGE}"
WX_LIBRARY_NAME_SHARED="libwx_${TOOLKIT_DIR}-${WX_RELEASE}.so.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
dnl the name of the library we actually want to build
WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_SHARED}"
dnl the name of the links to the shared library
WX_LIBRARY_LINK1="libwx_${TOOLKIT_DIR}-${LT_RELEASE}.so.${LT_CURRENT}"
WX_LIBRARY_LINK2="libwx_${TOOLKIT_DIR}-${LT_RELEASE}.so"
WX_LIBRARY_LINK1="libwx_${TOOLKIT_DIR}-${WX_RELEASE}.so.${WX_CURRENT}"
WX_LIBRARY_LINK2="libwx_${TOOLKIT_DIR}-${WX_RELEASE}.so"
WX_LIBRARY_LINK3="libwx_${TOOLKIT_DIR}.so"
dnl shared library settings
@@ -1469,8 +1814,6 @@ fi
dnl do other tests only if we are using threads
if test "$wxUSE_THREADS" = "yes" ; then
dnl LTLIBOBJS="$LTLIBOBJS $THREADS_OBJ"
dnl define autoconf macro to check for given function in both pthread and
dnl posix4 libraries
dnl usage: AC_FUNC_THREAD(FUNCTION_NAME)
@@ -1626,20 +1969,12 @@ dnl ---------------------------------------------------------------------------
ZLIB_INCLUDE=
if test "$wxUSE_ZLIB" = "yes" ; then
AC_DEFINE(wxUSE_ZLIB)
EXTRA_VPATH="$EXTRA_VPATH:\${srcdir}/../zlib"
ZLIB_INCLUDE="-I\${srcdir}/../zlib"
LTLIBOBJS="$LTLIBOBJS adler32.lo compress.lo crc32.lo gzio.lo uncompr.lo deflate.lo \
trees.lo zutil.lo inflate.lo infblock.lo inftrees.lo infcodes.lo \
infutil.lo inffast.lo"
fi
PNG_INCLUDE=
if test "$wxUSE_LIBPNG" = "yes" ; then
AC_DEFINE(wxUSE_LIBPNG)
LTLIBOBJS="$LTLIBOBJS png.lo pngset.lo pngget.lo pngrutil.lo pngtrans.lo pngwutil.lo \
pngread.lo pngrio.lo pngwio.lo pngwrite.lo pngrtran.lo pngwtran.lo \
pngmem.lo pngerror.lo pngpread.lo"
EXTRA_VPATH="$EXTRA_VPATH:\${srcdir}/../png"
PNG_INCLUDE="-I\${srcdir}/../png"
SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
fi
@@ -1651,19 +1986,7 @@ fi
JPEG_INCLUDE=
if test "$wxUSE_LIBJPEG" = "yes" ; then
AC_DEFINE(wxUSE_LIBJPEG)
EXTRA_VPATH="$EXTRA_VPATH:\${srcdir}/../jpeg"
JPEG_INCLUDE="-I\${srcdir}/../jpeg"
LTLIBOBJS="$LTLIBOBJS \
jcomapi.lo jutils.lo jerror.lo jmemmgr.lo jmemnobs.lo \
jcapimin.lo jcapistd.lo jctrans.lo jcparam.lo jdatadst.lo \
jcinit.lo jcmaster.lo jcmarker.lo jcmainct.lo jcprepct.lo \
jccoefct.lo jccolor.lo jcsample.lo jchuff.lo jcphuff.lo \
jcdctmgr.lo jfdctfst.lo jfdctflt.lo jfdctint.lo \
jdapimin.lo jdapistd.lo jdtrans.lo jdatasrc.lo \
jdmaster.lo jdinput.lo jdmarker.lo jdhuff.lo jdphuff.lo \
jdmainct.lo jdcoefct.lo jdpostct.lo jddctmgr.lo jidctfst.lo \
jidctflt.lo jidctint.lo jidctred.lo jdsample.lo jdcolor.lo \
jquant1.lo jquant2.lo jdmerge.lo"
fi
if test "$wxUSE_OPENGL" = "yes"; then
@@ -1700,13 +2023,6 @@ if test "$wxUSE_GUI" = "yes"; then
dnl need the dcs, pens, brushes, ...), this just can't be done now
dnl 4. menu stuff: wxMenu, wxMenuBar, wxMenuItem
dnl 5. misc stuff: timers, settings, message box
dnl LTLIBOBJS="$LTLIBOBJS \
dnl main.lo app.lo event.lo wincmn.lo window.lo control.lo framecmn.lo frame.lo dialog.lo panelg.lo \
dnl button.lo stattext.lo textctrl.lo \
dnl bitmap.lo brush.lo colour.lo cursor.lo data.lo dc.lo dcbase.lo dcclient.lo \
dnl dcmemory.lo dcscreen.lo font.lo gdicmn.lo gdiobj.lo icon.lo palette.lo pen.lo region.lo \
dnl menu.lo \
dnl settings.lo timer.lo msgdlgg.lo"
else
AC_DEFINE(wxUSE_NOGUI)
fi
@@ -1908,8 +2224,6 @@ dnl ----------------------------------------------------------------
IODBC_C_SRC=""
if test "$wxUSE_ODBC" = "yes" ; then
AC_DEFINE(wxUSE_ODBC)
EXTRA_VPATH="$EXTRA_VPATH:\$(srcdir)/../iodbc"
LTLIBOBJS="$LTLIBOBJS catalog.lo connect.lo dlf.lo dlproc.lo execute.lo fetch.lo hdbc.lo henv.lo herr.lo hstmt.lo info.lo itrace.lo misc.lo prepare.lo result.lo"
SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
fi
@@ -2271,12 +2585,6 @@ if test "$wxUSE_GUI" = "yes"; then
forty fractal image wxpoem"
fi
dnl for convenience, sort the files to build in alphabetical order
dnl
dnl another shell command to do it which might be faster but is less clear:
dnl LTLIBOBJS="`for obj in $LTLIBOBJS; do echo $obj; done | sort | sed 's@^@ @'`"
LTLIBOBJS="`echo $LTLIBOBJS | tr -s ' ' | tr ' ' '\n' | sort | tr '\n' ' '`"
dnl for convenience, sort the samples in alphabetical order
dnl
dnl FIXME For some mysterious reasons, sometimes the directories are duplicated
@@ -2299,10 +2607,6 @@ AC_SUBST(WX_LIBRARY_LINK3)
dnl are we supposed to create the links?
AC_SUBST(WX_CREATE_LINKS)
dnl suppress libtool's informational messages - they duplicate its command line
LIBTOOL="$LIBTOOL --silent"
AC_SUBST(LIBTOOL)
AC_SUBST(SHARED_LD)
AC_SUBST(PIC_FLAG)
@@ -2317,13 +2621,10 @@ AC_SUBST(TOOLKIT_INCLUDE)
dnl what to compile
AC_SUBST(GUIOBJS)
AC_SUBST(GUIHEADERS)
AC_SUBST(COMMONOBJS)
AC_SUBST(GENERICOBJS)
dnl additional sources
AC_SUBST(EXTRA_VPATH)
AC_SUBST(LTLIBOBJS)
dnl additional subdirectories where we will build
AC_SUBST(SRC_SUBDIRS)
AC_SUBST(INCLUDE_SUBDIRS)
@@ -2337,105 +2638,23 @@ AC_SUBST(EXTRA_LIBS)
AC_SUBST(LIBS)
AC_SUBST(LD_LIBS)
dnl create the configuration header file from the template
dnl
dnl NB: automake can't work correctly if our header lives in a directory which
dnl is only determined at configure time, so we create it on the top-level
dnl and make a link to allow '#include "wx/setup.h"' to still work
AM_CONFIG_HEADER(setup.h)
dnl MAKE_SET will be replaced with "MAKE=..." or nothing if make sets MAKE
dnl itself (this is macro is required if SUBDIRS variable is used in Makefile.am
dnl - and we do use it)
AC_PROG_MAKE_SET
AC_CONFIG_HEADER(setup.h:setup.h.in)
dnl create each of the files in the space separated list from the file.in
dnl (the original file name may be overriden by appending another name after a
dnl colon)
AC_OUTPUT([
wx-config
src/make.env
src/makeprog.env
src/makelib.env
src/gtk/makefile.unx
src/motif/makefile.unx
Makefile
src/Makefile
dnl just for testing, will remove soon (VZ)
dnl src/msw/Makefile
dnl include/Makefile include/wx/Makefile include/wx/generic/Makefile
dnl include/wx/msw/Makefile
dnl samples/Makefile samples/minimal/Makefile
src/gtk/Makefile
src/motif/Makefile
src/msw/Makefile
include/Makefile
include/wx/Makefile
include/wx/generic/Makefile
include/wx/gtk/Makefile
include/wx/motif/Makefile
include/wx/msw/Makefile
include/wx/msw/gnuwin32/Makefile
include/wx/msw/ctl3d/Makefile
include/wx/protocol/Makefile
include/wx/unix/Makefile
include/wx/html/Makefile
misc/Makefile
misc/afm/Makefile
misc/gs_afm/Makefile
samples/Makefile
samples/bombs/Makefile
samples/caret/Makefile
samples/checklst/Makefile
samples/config/Makefile
samples/controls/Makefile
samples/db/Makefile
samples/dialogs/Makefile
samples/dnd/Makefile
samples/docview/Makefile
samples/docvwmdi/Makefile
samples/drawing/Makefile
samples/dynamic/Makefile
samples/forty/Makefile
samples/fractal/Makefile
samples/grid/Makefile
samples/help/Makefile
samples/image/Makefile
samples/internat/Makefile
samples/layout/Makefile
samples/listctrl/Makefile
samples/mdi/Makefile
samples/memcheck/Makefile
samples/minifram/Makefile
samples/minimal/Makefile
samples/notebook/Makefile
samples/png/Makefile
samples/printing/Makefile
samples/proplist/Makefile
samples/resource/Makefile
samples/sashtest/Makefile
samples/scroll/Makefile
samples/splitter/Makefile
samples/text/Makefile
samples/thread/Makefile
samples/toolbar/Makefile
samples/treectrl/Makefile
samples/typetest/Makefile
samples/validate/Makefile
samples/wxpoem/Makefile
samples/wxsocket/Makefile
samples/html/Makefile
samples/html/about/Makefile
samples/html/help/Makefile
samples/html/test/Makefile
samples/html/printing/Makefile
samples/html/widget/Makefile
samples/html/virtual/Makefile
samples/html/zip/Makefile
],
[
chmod +x wx-config

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;

View File

@@ -14,7 +14,13 @@
# U /src/unix
# R /src/gtk R for Robert
# H /src/html
# I /include/wx, /include/wx/gtk, /include/wx/msw, etc.
# W /include/wx
# K /include/wx/gtk K for gtK
# F /include/wx/motif F for motiF
# N /include/wx/generic N for geNeric
# L /include/wx/html L for htmL
# P /include/wx/protocol
# S /include/wx/unix S for poSix
#
# The third column may be empty or contain some additional info about this
# file (only compile it in 16bit mode, don't compile it with this or that
@@ -383,240 +389,287 @@ mod_pre.cpp H
mod_tables.cpp H
search.cpp H
arrimpl.cpp I WX
listimpl.cpp I WX
accel.h I WX
app.h I WX
bitmap.h I WX
bmpbuttn.h I WX
brush.h I WX
buffer.h I WX
busyinfo.h I WX
button.h I WX
caret.h I WX
checkbox.h I WX
checklst.h I WX
choicdlg.h I WX
choice.h I WX
clipbrd.h I WX
cmndata.h I WX
colordlg.h I WX
colour.h I WX
combobox.h I WX
confbase.h I WX
config.h I WX
control.h I WX
cursor.h I WX
dataobj.h I WX
date.h I WX
datstrm.h I WX
db.h I WX
dbtable.h I WX
dc.h I WX
dcclient.h I WX
dcmemory.h I WX
dcprint.h I WX
dcps.h I WX
dcscreen.h I WX
dde.h I WX
debug.h I WX
defs.h I WX
dialog.h I WX
dirdlg.h I WX
dnd.h I WX
docmdi.h I WX
docview.h I WX
dragimag.h I WX
dynarray.h I WX
dynlib.h I WX
event.h I WX
expr.h I WX
ffile.h I WX
file.h I WX
fileconf.h I WX
filedlg.h I WX
filefn.h I WX
filesys.h I WX
font.h I WX
fontdlg.h I WX
frame.h I WX
fs_inet.h I WX
fs_zip.h I WX
gauge.h I WX
gdicmn.h I WX
gdiobj.h I WX
grid.h I WX
hash.h I WX
help.h I WX
helpbase.h I WX
helphtml.h I WX
helpwin.h I WX
helpxlp.h I WX
icon.h I WX
image.h I WX
imaglist.h I WX
intl.h I WX
ioswrap.h I WX
ipcbase.h I WX
joystick.h I WX
layout.h I WX
laywin.h I WX
list.h I WX
listbox.h I WX
listctrl.h I WX
log.h I WX
longlong.h I WX
matrix.h I WX
mdi.h I WX
memory.h I WX
menu.h I WX
menuitem.h I WX
metafile.h I WX
mimetype.h I WX
minifram.h I WX
module.h I WX
msgdlg.h I WX
mstream.h I WX
notebook.h I WX
object.h I WX
objstrm.h I WX
odbc.h I WX
ownerdrw.h I WX
palette.h I WX
panel.h I WX
paper.h I WX
pen.h I WX
pnghand.h I WX
print.h I WX
printdlg.h I WX
prntbase.h I WX
process.h I WX
progdlg.h I WX
prop.h I WX
propform.h I WX
proplist.h I WX
radiobox.h I WX
radiobut.h I WX
region.h I WX
resource.h I WX
sashwin.h I WX
sckaddr.h I WX
sckipc.h I WX
sckstrm.h I WX
scrolbar.h I WX
scrolwin.h I WX
serbase.h I WX
settings.h I WX
setup.h I WX
slider.h I WX
socket.h I WX
spinbutt.h I WX
splitter.h I WX
statbmp.h I WX
statbox.h I WX
statline.h I WX
stattext.h I WX
statusbr.h I WX
strconv.h I WX
stream.h I WX
string.h I WX
tab.h I WX
tabctrl.h I WX
taskbar.h I WX
tbar95.h I WX
tbarbase.h I WX
tbarmsw.h I WX
tbarsmpl.h I WX
textctrl.h I WX
textdlg.h I WX
textfile.h I WX
txtstrm.h I WX
thread.h I WX
time.h I WX
timer.h I WX
tipdlg.h I WX
tokenzr.h I WX
toolbar.h I WX
tooltip.h I WX
treectrl.h I WX
types.h I WX
url.h I WX
utils.h I WX
valgen.h I WX
validate.h I WX
valtext.h I WX
variant.h I WX
version.h I WX
wave.h I WX
wfstream.h I WX
window.h I WX
wx.h I WX
wx_cw.h I WX
wx_cw_cm.h I WX
wx_cw_d.h I WX
wxchar.h I WX
wxexpr.h I WX
wxhtml.h I WX
wxprec.h I WX
xpmhand.h I WX
zipstrm.h I WX
zstream.h I WX
arrimpl.cpp W
listimpl.cpp W
accel.h W
app.h W
bitmap.h W
bmpbuttn.h W
brush.h W
buffer.h W
busyinfo.h W
button.h W
caret.h W
checkbox.h W
checklst.h W
choicdlg.h W
choice.h W
clipbrd.h W
cmndata.h W
colordlg.h W
colour.h W
combobox.h W
confbase.h W
config.h W
control.h W
cursor.h W
dataobj.h W
date.h W
datstrm.h W
db.h W
dbtable.h W
dc.h W
dcclient.h W
dcmemory.h W
dcprint.h W
dcps.h W
dcscreen.h W
dde.h W
debug.h W
defs.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
expr.h W
ffile.h W
file.h W
fileconf.h W
filedlg.h W
filefn.h W
filesys.h W
font.h W
fontdlg.h W
frame.h W
fs_inet.h W
fs_zip.h W
gauge.h W
gdicmn.h W
gdiobj.h W
grid.h W
hash.h W
help.h W
helpbase.h W
helphtml.h W
helpwin.h W
helpxlp.h W
icon.h W
image.h W
imaglist.h W
intl.h W
ioswrap.h W
ipcbase.h W
joystick.h W
layout.h W
laywin.h W
list.h W
listbox.h W
listctrl.h W
log.h W
longlong.h W
matrix.h W
mdi.h W
memory.h W
menu.h W
menuitem.h W
metafile.h W
mimetype.h W
minifram.h W
module.h W
msgdlg.h W
mstream.h W
notebook.h W
object.h W
objstrm.h W
odbc.h W
ownerdrw.h W
palette.h W
panel.h W
paper.h W
pen.h W
pnghand.h W
print.h W
printdlg.h W
prntbase.h W
process.h W
progdlg.h W
prop.h W
propform.h W
proplist.h W
radiobox.h W
radiobut.h W
region.h W
resource.h W
sashwin.h W
sckaddr.h W
sckipc.h W
sckstrm.h W
scrolbar.h W
scrolwin.h W
serbase.h W
settings.h W
setup.h W
slider.h W
socket.h W
spinbutt.h W
splitter.h W
statbmp.h W
statbox.h W
statline.h W
stattext.h W
statusbr.h W
strconv.h W
stream.h W
string.h W
tab.h W
tabctrl.h W
taskbar.h W
tbar95.h W
tbarbase.h W
tbarmsw.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
tipdlg.h W
tokenzr.h W
toolbar.h W
tooltip.h W
treectrl.h W
types.h W
url.h W
utils.h W
valgen.h W
validate.h W
valtext.h W
variant.h W
version.h W
wave.h W
wfstream.h W
window.h W
wx.h W
wx_cw.h W
wx_cw_cm.h W
wx_cw_d.h W
wxchar.h W
wxexpr.h W
wxhtml.h W
wxprec.h W
xpmhand.h W
zipstrm.h W
zstream.h W
accel.h I GTK
app.h I GTK
bitmap.h I GTK
bmpbuttn.h I GTK
brush.h I GTK
button.h I GTK
checkbox.h I GTK
checklst.h I GTK
choice.h I GTK
clipbrd.h I GTK
colour.h I GTK
combobox.h I GTK
control.h I GTK
cursor.h I GTK
dataobj.h I GTK
dc.h I GTK
dcclient.h I GTK
dcmemory.h I GTK
dcscreen.h I GTK
dialog.h I GTK
dnd.h I GTK
filedlg.h I GTK
font.h I GTK
frame.h I GTK
gauge.h I GTK
gdiobj.h I GTK
icon.h I GTK
joystick.h I GTK
listbox.h I GTK
mdi.h I GTK
menu.h I GTK
menuitem.h I GTK
msgdlg.h I GTK
minifram.h I GTK
notebook.h I GTK
palette.h I GTK
pen.h I GTK
radiobox.h I GTK
radiobut.h I GTK
region.h I GTK
scrolbar.h I GTK
settings.h I GTK
slider.h I GTK
spinbutt.h I GTK
statbmp.h I GTK
statbox.h I GTK
statline.h I GTK
stattext.h I GTK
tbargtk.h I GTK
textctrl.h I GTK
timer.h I GTK
tooltip.h I GTK
treectrl.h I GTK
wave.h I GTK
win_gtk.h I GTK
window.h I GTK
accel.h K
app.h K
bitmap.h K
bmpbuttn.h K
brush.h K
button.h K
checkbox.h K
checklst.h K
choice.h K
clipbrd.h K
colour.h K
combobox.h K
control.h K
cursor.h K
dataobj.h K
dc.h K
dcclient.h K
dcmemory.h K
dcscreen.h K
dialog.h K
dnd.h K
filedlg.h K
font.h K
frame.h K
gauge.h K
gdiobj.h K
icon.h K
joystick.h K
listbox.h K
mdi.h K
menu.h K
menuitem.h K
msgdlg.h K
minifram.h K
notebook.h K
palette.h K
pen.h K
radiobox.h K
radiobut.h K
region.h K
scrolbar.h K
settings.h K
slider.h K
spinbutt.h K
statbmp.h K
statbox.h K
statline.h K
stattext.h K
tbargtk.h K
textctrl.h K
timer.h K
tooltip.h K
treectrl.h K
wave.h K
win_gtk.h K
window.h K
execute.h S
file.h P
ftp.h P
http.h P
protocol.h P
forcelink.h L
htmlcell.h L
htmldefs.h L
htmlfilter.h L
htmlhelp.h L
htmlparser.h L
htmltag.h L
htmlwin.h L
htmlwinparser.h L
mod_templ.h L
version.h L
caret.h N
choicdgg.h N
colrdlgg.h N
dcpsg.h N
dirdlgg.h N
fontdlgg.h N
gridg.h N
helpext.h N
helpwxht.h N
helphtml.h N
helpxlp.h N
imaglist.h N
laywin.h N
listctrl.h N
msgdlgg.h N
notebook.h N
panelg.h N
printps.h N
prntdlgg.h N
progdlgg.h N
sashwin.h N
scrolwin.h N
splitter.h N
statusbr.h N
tabg.h N
textdlgg.h N
treectrl.h N
# vi: set noet ts=16 nolist:

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

View File

@@ -1,639 +0,0 @@
#
# 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 18:19, 1999/08/11
# DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE UNX.T!
#
# File: makefile.unx
# 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
#
# Makefile for libwx_gtk.a, libwx_motif.a and libwx_msw.a
###################################################################
include ../make.env
############## override make.env for PIC ##########################
# Clears all default suffixes
.SUFFIXES: .o .cpp .c .cxx
.c.o :
$(CCC) -c $(CFLAGS) $(PICFLAGS) -o $@ $<
.cpp.o :
$(CC) -c $(CPPFLAGS) $(PICFLAGS) -o $@ $<
.cxx.o :
$(CC) -c $(CPPFLAGS) $(PICFLAGS) -o $@ $<
########################### Paths #################################
srcdir = @srcdir@
VPATH = :$(srcdir)
top_srcdir = @top_srcdir@
prefix = @prefix@
exec_prefix = @exec_prefix@
bindir = @bindir@
sbindir = @sbindir@
libexecdir = @libexecdir@
datadir = @datadir@
sysconfdir = @sysconfdir@
sharedstatedir = @sharedstatedir@
localstatedir = @localstatedir@
libdir = @libdir@
infodir = @infodir@
mandir = @mandir@
includedir = @includedir@
oldincludedir = /usr/include
DESTDIR =
pkgdatadir = $(datadir)/@PACKAGE@
pkglibdir = $(libdir)/@PACKAGE@
pkgincludedir = $(includedir)/@PACKAGE@
top_builddir = ../..
INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@
INSTALL_SCRIPT = @INSTALL_SCRIPT@
transform = @program_transform_name@
NORMAL_INSTALL = :
PRE_INSTALL = :
POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
build_alias = @build_alias@
build_triplet = @build@
host_alias = @host_alias@
host_triplet = @host@
target_alias = @target_alias@
target_triplet = @target@
############################# Dirs #################################
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
############################## Files ##################################
GTK_GENERICOBJS = \
../generic/busyinfo.o \
../generic/caret.o \
../generic/choicdgg.o \
../generic/colrdlgg.o \
../generic/dcpsg.o \
../generic/dirdlgg.o \
../generic/fontdlgg.o \
../generic/gridg.o \
../generic/imaglist.o \
../generic/laywin.o \
../generic/listctrl.o \
../generic/msgdlgg.o \
../generic/numdlgg.o \
../generic/panelg.o \
../generic/printps.o \
../generic/prntdlgg.o \
../generic/progdlgg.o \
../generic/prop.o \
../generic/propform.o \
../generic/proplist.o \
../generic/sashwin.o \
../generic/scrolwin.o \
../generic/splitter.o \
../generic/statusbr.o \
../generic/textdlgg.o \
../generic/tipdlg.o \
../generic/treectrl.o
GTK_COMMONOBJS = \
parser.o \
../common/cmndata.o \
../common/config.o \
../common/date.o \
../common/datstrm.o \
../common/db.o \
../common/dbtable.o \
../common/dcbase.o \
../common/dlgcmn.o \
../common/docmdi.o \
../common/docview.o \
../common/dynarray.o \
../common/dynlib.o \
../common/event.o \
../common/extended.o \
../common/ffile.o \
../common/file.o \
../common/fileconf.o \
../common/filefn.o \
../common/filesys.o \
../common/framecmn.o \
../common/fs_inet.o \
../common/fs_zip.o \
../common/ftp.o \
../common/gdicmn.o \
../common/hash.o \
../common/helpbase.o \
../common/http.o \
../common/imagbmp.o \
../common/image.o \
../common/imaggif.o \
../common/imagjpeg.o \
../common/imagpng.o \
../common/intl.o \
../common/ipcbase.o \
../common/layout.o \
../common/list.o \
../common/log.o \
../common/memory.o \
../common/mimetype.o \
../common/module.o \
../common/mstream.o \
../common/object.o \
../common/objstrm.o \
../common/paper.o \
../common/prntbase.o \
../common/process.o \
../common/protocol.o \
../common/resource.o \
../common/sckaddr.o \
../common/sckfile.o \
../common/sckipc.o \
../common/sckstrm.o \
../common/sizer.o \
../common/socket.o \
../common/strconv.o \
../common/stream.o \
../common/string.o \
../common/tbarbase.o \
../common/tbarsmpl.o \
../common/textcmn.o \
../common/textfile.o \
../common/time.o \
../common/timercmn.o \
../common/tokenzr.o \
../common/txtstrm.o \
../common/unzip.o \
../common/url.o \
../common/utilscmn.o \
../common/valgen.o \
../common/validate.o \
../common/valtext.o \
../common/variant.o \
../common/wfstream.o \
../common/wincmn.o \
../common/wxchar.o \
../common/wxexpr.o \
../common/zipstrm.o \
../common/zstream.o
GTK_GUIOBJS = \
../gtk/accel.o \
../gtk/app.o \
../gtk/bitmap.o \
../gtk/bmpbuttn.o \
../gtk/brush.o \
../gtk/button.o \
../gtk/checkbox.o \
../gtk/checklst.o \
../gtk/choice.o \
../gtk/clipbrd.o \
../gtk/colour.o \
../gtk/combobox.o \
../gtk/control.o \
../gtk/cursor.o \
../gtk/data.o \
../gtk/dataobj.o \
../gtk/dc.o \
../gtk/dcclient.o \
../gtk/dcmemory.o \
../gtk/dcscreen.o \
../gtk/dialog.o \
../gtk/dnd.o \
../gtk/filedlg.o \
../gtk/font.o \
../gtk/frame.o \
../gtk/gauge.o \
../gtk/gdiobj.o \
../gtk/gsockgtk.o \
../gtk/icon.o \
../gtk/listbox.o \
../gtk/main.o \
../gtk/mdi.o \
../gtk/menu.o \
../gtk/minifram.o \
../gtk/notebook.o \
../gtk/palette.o \
../gtk/pen.o \
../gtk/radiobox.o \
../gtk/radiobut.o \
../gtk/region.o \
../gtk/scrolbar.o \
../gtk/settings.o \
../gtk/slider.o \
../gtk/spinbutt.o \
../gtk/statbmp.o \
../gtk/statbox.o \
../gtk/statline.o \
../gtk/stattext.o \
../gtk/tbargtk.o \
../gtk/textctrl.o \
../gtk/timer.o \
../gtk/tooltip.o \
../gtk/utilsgtk.o \
../gtk/utilsres.o \
../gtk/wave.o \
../gtk/win_gtk.o \
../gtk/window.o
MOTIF_GENERICOBJS = \
../generic/busyinfo.o \
../generic/caret.o \
../generic/choicdgg.o \
../generic/colrdlgg.o \
../generic/dcpsg.o \
../generic/dirdlgg.o \
../generic/fontdlgg.o \
../generic/gridg.o \
../generic/helpxlp.o \
../generic/imaglist.o \
../generic/laywin.o \
../generic/listctrl.o \
../generic/msgdlgg.o \
../generic/notebook.o \
../generic/numdlgg.o \
../generic/panelg.o \
../generic/printps.o \
../generic/prntdlgg.o \
../generic/progdlgg.o \
../generic/prop.o \
../generic/propform.o \
../generic/proplist.o \
../generic/sashwin.o \
../generic/scrolwin.o \
../generic/splitter.o \
../generic/statusbr.o \
../generic/tabg.o \
../generic/textdlgg.o \
../generic/tipdlg.o \
../generic/treectrl.o
MOTIF_COMMONOBJS = \
parser.o \
../common/choiccmn.o \
../common/cmndata.o \
../common/config.o \
../common/ctrlcmn.o \
../common/date.o \
../common/datstrm.o \
../common/db.o \
../common/dbtable.o \
../common/dcbase.o \
../common/dlgcmn.o \
../common/docmdi.o \
../common/docview.o \
../common/dynarray.o \
../common/dynlib.o \
../common/event.o \
../common/extended.o \
../common/ffile.o \
../common/file.o \
../common/fileconf.o \
../common/filefn.o \
../common/filesys.o \
../common/framecmn.o \
../common/fs_inet.o \
../common/fs_zip.o \
../common/ftp.o \
../common/gdicmn.o \
../common/hash.o \
../common/helpbase.o \
../common/http.o \
../common/imagbmp.o \
../common/image.o \
../common/imaggif.o \
../common/imagjpeg.o \
../common/imagpng.o \
../common/intl.o \
../common/ipcbase.o \
../common/layout.o \
../common/list.o \
../common/log.o \
../common/memory.o \
../common/mimetype.o \
../common/module.o \
../common/mstream.o \
../common/object.o \
../common/objstrm.o \
../common/odbc.o \
../common/paper.o \
../common/prntbase.o \
../common/process.o \
../common/protocol.o \
../common/resource.o \
../common/sckaddr.o \
../common/sckfile.o \
../common/sckipc.o \
../common/sckstrm.o \
../common/sizer.o \
../common/socket.o \
../common/strconv.o \
../common/stream.o \
../common/string.o \
../common/tbarbase.o \
../common/tbarsmpl.o \
../common/textcmn.o \
../common/textfile.o \
../common/time.o \
../common/timercmn.o \
../common/tokenzr.o \
../common/txtstrm.o \
../common/unzip.o \
../common/url.o \
../common/utilscmn.o \
../common/valgen.o \
../common/validate.o \
../common/valtext.o \
../common/variant.o \
../common/wfstream.o \
../common/wincmn.o \
../common/wxchar.o \
../common/wxexpr.o \
../common/zipstrm.o \
../common/zstream.o
MOTIF_GUIOBJS = \
../motif/xmcombo/xmcombo.o \
../motif/accel.o \
../motif/app.o \
../motif/bitmap.o \
../motif/bmpbuttn.o \
../motif/brush.o \
../motif/button.o \
../motif/checkbox.o \
../motif/choice.o \
../motif/clipbrd.o \
../motif/colour.o \
../motif/combobox.o \
../motif/control.o \
../motif/cursor.o \
../motif/data.o \
../motif/dataobj.o \
../motif/dc.o \
../motif/dcclient.o \
../motif/dcmemory.o \
../motif/dcscreen.o \
../motif/dialog.o \
../motif/filedlg.o \
../motif/font.o \
../motif/frame.o \
../motif/gauge.o \
../motif/gdiobj.o \
../motif/gsockmot.o \
../motif/icon.o \
../motif/listbox.o \
../motif/main.o \
../motif/mdi.o \
../motif/menu.o \
../motif/menuitem.o \
../motif/minifram.o \
../motif/msgdlg.o \
../motif/palette.o \
../motif/pen.o \
../motif/radiobox.o \
../motif/radiobut.o \
../motif/region.o \
../motif/scrolbar.o \
../motif/settings.o \
../motif/slider.o \
../motif/statbmp.o \
../motif/statbox.o \
../motif/stattext.o \
../motif/textctrl.o \
../motif/timer.o \
../motif/toolbar.o \
../motif/utils.o \
../motif/window.o
HTMLOBJS = \
../html/htmlcell.o \
../html/htmlfilter.o \
../html/htmlhelp.o \
../html/htmlhelp_io.o \
../html/htmlparser.o \
../html/htmltag.o \
../html/htmlwin.o \
../html/htmlwinparser.o \
../html/mod_fonts.o \
../html/mod_hline.o \
../html/mod_image.o \
../html/mod_layout.o \
../html/mod_links.o \
../html/mod_list.o \
../html/mod_pre.o \
../html/mod_tables.o \
../html/search.o
UNIXOBJS = \
../unix/gsocket.o \
../unix/threadpsx.o \
../unix/utilsunx.o
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
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
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
OBJECTS = $(@GUIOBJS@) $(@COMMONOBJS@) $(@GENERICOBJS@) $(HTMLOBJS) $(UNIXOBJS) \
$(JPEGOBJS) $(PNGOBJS) $(ZLIBOBJS)
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
@WX_LIBRARY_NAME_STATIC@: $(OBJECTS)
$(AR) $(AROPTIONS) ../../lib/$@ $(OBJECTS)
$(RANLIB) ../../lib/$@
@WX_LIBRARY_NAME_SHARED@: $(OBJECTS)
$(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@
$(OBJECTS): $(WXDIR)/include/wx/defs.h $(WXDIR)/include/wx/object.h $(WXDIR)/include/wx/setup.h
parser.o: parser.c lexer.c
$(CCLEX) -c $(CFLAGS) -o $@ parser.c
parser.c: $(COMMDIR)/parser.y lexer.c
$(YACC) $(COMMDIR)/parser.y
@sed -e "s;$(COMMDIR)/y.tab.c;parser.y;g" < y.tab.c | \
sed -e "s/BUFSIZ/5000/g" | \
sed -e "s/YYLMAX 200/YYLMAX 5000/g" | \
sed -e "s/yy/PROIO_yy/g" | \
sed -e "s/input/PROIO_input/g" | \
sed -e "s/unput/PROIO_unput/g" > parser.c
@$(RM) y.tab.c
lexer.c: $(COMMDIR)/lexer.l
$(LEX) $(COMMDIR)/lexer.l
@sed -e "s;$(COMMDIR)/lex.yy.c;lexer.l;g" < lex.yy.c | \
sed -e "s/yy/PROIO_yy/g" | \
sed -e "s/input/PROIO_input/g" | \
sed -e "s/unput/PROIO_unput/g" > lexer.c
@$(RM) lex.yy.c
samples: $(OBJECTS)
@if test ! -e ../../samples/dialog/dialog.cpp; \
then cp -f -r $(WXDIR)/samples ../..; \
fi
install: @WX_TARGET_LIBRARY@
clean:
rm -f *.o
rm -f *.lo
rm -f parser.c
rm -f lexer.c
rm -f *.a
rm -f *.la
cleanall: clean

View File

@@ -1,639 +0,0 @@
#
# 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 18:19, 1999/08/11
# DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE UNX.T!
#
# File: makefile.unx
# 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
#
# Makefile for libwx_gtk.a, libwx_motif.a and libwx_msw.a
###################################################################
include ../make.env
############## override make.env for PIC ##########################
# Clears all default suffixes
.SUFFIXES: .o .cpp .c .cxx
.c.o :
$(CCC) -c $(CFLAGS) $(PICFLAGS) -o $@ $<
.cpp.o :
$(CC) -c $(CPPFLAGS) $(PICFLAGS) -o $@ $<
.cxx.o :
$(CC) -c $(CPPFLAGS) $(PICFLAGS) -o $@ $<
########################### Paths #################################
srcdir = @srcdir@
VPATH = :$(srcdir)
top_srcdir = @top_srcdir@
prefix = @prefix@
exec_prefix = @exec_prefix@
bindir = @bindir@
sbindir = @sbindir@
libexecdir = @libexecdir@
datadir = @datadir@
sysconfdir = @sysconfdir@
sharedstatedir = @sharedstatedir@
localstatedir = @localstatedir@
libdir = @libdir@
infodir = @infodir@
mandir = @mandir@
includedir = @includedir@
oldincludedir = /usr/include
DESTDIR =
pkgdatadir = $(datadir)/@PACKAGE@
pkglibdir = $(libdir)/@PACKAGE@
pkgincludedir = $(includedir)/@PACKAGE@
top_builddir = ../..
INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@
INSTALL_SCRIPT = @INSTALL_SCRIPT@
transform = @program_transform_name@
NORMAL_INSTALL = :
PRE_INSTALL = :
POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
build_alias = @build_alias@
build_triplet = @build@
host_alias = @host_alias@
host_triplet = @host@
target_alias = @target_alias@
target_triplet = @target@
############################# Dirs #################################
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
############################## Files ##################################
GTK_GENERICOBJS = \
../generic/busyinfo.o \
../generic/caret.o \
../generic/choicdgg.o \
../generic/colrdlgg.o \
../generic/dcpsg.o \
../generic/dirdlgg.o \
../generic/fontdlgg.o \
../generic/gridg.o \
../generic/imaglist.o \
../generic/laywin.o \
../generic/listctrl.o \
../generic/msgdlgg.o \
../generic/numdlgg.o \
../generic/panelg.o \
../generic/printps.o \
../generic/prntdlgg.o \
../generic/progdlgg.o \
../generic/prop.o \
../generic/propform.o \
../generic/proplist.o \
../generic/sashwin.o \
../generic/scrolwin.o \
../generic/splitter.o \
../generic/statusbr.o \
../generic/textdlgg.o \
../generic/tipdlg.o \
../generic/treectrl.o
GTK_COMMONOBJS = \
parser.o \
../common/cmndata.o \
../common/config.o \
../common/date.o \
../common/datstrm.o \
../common/db.o \
../common/dbtable.o \
../common/dcbase.o \
../common/dlgcmn.o \
../common/docmdi.o \
../common/docview.o \
../common/dynarray.o \
../common/dynlib.o \
../common/event.o \
../common/extended.o \
../common/ffile.o \
../common/file.o \
../common/fileconf.o \
../common/filefn.o \
../common/filesys.o \
../common/framecmn.o \
../common/fs_inet.o \
../common/fs_zip.o \
../common/ftp.o \
../common/gdicmn.o \
../common/hash.o \
../common/helpbase.o \
../common/http.o \
../common/imagbmp.o \
../common/image.o \
../common/imaggif.o \
../common/imagjpeg.o \
../common/imagpng.o \
../common/intl.o \
../common/ipcbase.o \
../common/layout.o \
../common/list.o \
../common/log.o \
../common/memory.o \
../common/mimetype.o \
../common/module.o \
../common/mstream.o \
../common/object.o \
../common/objstrm.o \
../common/paper.o \
../common/prntbase.o \
../common/process.o \
../common/protocol.o \
../common/resource.o \
../common/sckaddr.o \
../common/sckfile.o \
../common/sckipc.o \
../common/sckstrm.o \
../common/sizer.o \
../common/socket.o \
../common/strconv.o \
../common/stream.o \
../common/string.o \
../common/tbarbase.o \
../common/tbarsmpl.o \
../common/textcmn.o \
../common/textfile.o \
../common/time.o \
../common/timercmn.o \
../common/tokenzr.o \
../common/txtstrm.o \
../common/unzip.o \
../common/url.o \
../common/utilscmn.o \
../common/valgen.o \
../common/validate.o \
../common/valtext.o \
../common/variant.o \
../common/wfstream.o \
../common/wincmn.o \
../common/wxchar.o \
../common/wxexpr.o \
../common/zipstrm.o \
../common/zstream.o
GTK_GUIOBJS = \
../gtk/accel.o \
../gtk/app.o \
../gtk/bitmap.o \
../gtk/bmpbuttn.o \
../gtk/brush.o \
../gtk/button.o \
../gtk/checkbox.o \
../gtk/checklst.o \
../gtk/choice.o \
../gtk/clipbrd.o \
../gtk/colour.o \
../gtk/combobox.o \
../gtk/control.o \
../gtk/cursor.o \
../gtk/data.o \
../gtk/dataobj.o \
../gtk/dc.o \
../gtk/dcclient.o \
../gtk/dcmemory.o \
../gtk/dcscreen.o \
../gtk/dialog.o \
../gtk/dnd.o \
../gtk/filedlg.o \
../gtk/font.o \
../gtk/frame.o \
../gtk/gauge.o \
../gtk/gdiobj.o \
../gtk/gsockgtk.o \
../gtk/icon.o \
../gtk/listbox.o \
../gtk/main.o \
../gtk/mdi.o \
../gtk/menu.o \
../gtk/minifram.o \
../gtk/notebook.o \
../gtk/palette.o \
../gtk/pen.o \
../gtk/radiobox.o \
../gtk/radiobut.o \
../gtk/region.o \
../gtk/scrolbar.o \
../gtk/settings.o \
../gtk/slider.o \
../gtk/spinbutt.o \
../gtk/statbmp.o \
../gtk/statbox.o \
../gtk/statline.o \
../gtk/stattext.o \
../gtk/tbargtk.o \
../gtk/textctrl.o \
../gtk/timer.o \
../gtk/tooltip.o \
../gtk/utilsgtk.o \
../gtk/utilsres.o \
../gtk/wave.o \
../gtk/win_gtk.o \
../gtk/window.o
MOTIF_GENERICOBJS = \
../generic/busyinfo.o \
../generic/caret.o \
../generic/choicdgg.o \
../generic/colrdlgg.o \
../generic/dcpsg.o \
../generic/dirdlgg.o \
../generic/fontdlgg.o \
../generic/gridg.o \
../generic/helpxlp.o \
../generic/imaglist.o \
../generic/laywin.o \
../generic/listctrl.o \
../generic/msgdlgg.o \
../generic/notebook.o \
../generic/numdlgg.o \
../generic/panelg.o \
../generic/printps.o \
../generic/prntdlgg.o \
../generic/progdlgg.o \
../generic/prop.o \
../generic/propform.o \
../generic/proplist.o \
../generic/sashwin.o \
../generic/scrolwin.o \
../generic/splitter.o \
../generic/statusbr.o \
../generic/tabg.o \
../generic/textdlgg.o \
../generic/tipdlg.o \
../generic/treectrl.o
MOTIF_COMMONOBJS = \
parser.o \
../common/choiccmn.o \
../common/cmndata.o \
../common/config.o \
../common/ctrlcmn.o \
../common/date.o \
../common/datstrm.o \
../common/db.o \
../common/dbtable.o \
../common/dcbase.o \
../common/dlgcmn.o \
../common/docmdi.o \
../common/docview.o \
../common/dynarray.o \
../common/dynlib.o \
../common/event.o \
../common/extended.o \
../common/ffile.o \
../common/file.o \
../common/fileconf.o \
../common/filefn.o \
../common/filesys.o \
../common/framecmn.o \
../common/fs_inet.o \
../common/fs_zip.o \
../common/ftp.o \
../common/gdicmn.o \
../common/hash.o \
../common/helpbase.o \
../common/http.o \
../common/imagbmp.o \
../common/image.o \
../common/imaggif.o \
../common/imagjpeg.o \
../common/imagpng.o \
../common/intl.o \
../common/ipcbase.o \
../common/layout.o \
../common/list.o \
../common/log.o \
../common/memory.o \
../common/mimetype.o \
../common/module.o \
../common/mstream.o \
../common/object.o \
../common/objstrm.o \
../common/odbc.o \
../common/paper.o \
../common/prntbase.o \
../common/process.o \
../common/protocol.o \
../common/resource.o \
../common/sckaddr.o \
../common/sckfile.o \
../common/sckipc.o \
../common/sckstrm.o \
../common/sizer.o \
../common/socket.o \
../common/strconv.o \
../common/stream.o \
../common/string.o \
../common/tbarbase.o \
../common/tbarsmpl.o \
../common/textcmn.o \
../common/textfile.o \
../common/time.o \
../common/timercmn.o \
../common/tokenzr.o \
../common/txtstrm.o \
../common/unzip.o \
../common/url.o \
../common/utilscmn.o \
../common/valgen.o \
../common/validate.o \
../common/valtext.o \
../common/variant.o \
../common/wfstream.o \
../common/wincmn.o \
../common/wxchar.o \
../common/wxexpr.o \
../common/zipstrm.o \
../common/zstream.o
MOTIF_GUIOBJS = \
../motif/xmcombo/xmcombo.o \
../motif/accel.o \
../motif/app.o \
../motif/bitmap.o \
../motif/bmpbuttn.o \
../motif/brush.o \
../motif/button.o \
../motif/checkbox.o \
../motif/choice.o \
../motif/clipbrd.o \
../motif/colour.o \
../motif/combobox.o \
../motif/control.o \
../motif/cursor.o \
../motif/data.o \
../motif/dataobj.o \
../motif/dc.o \
../motif/dcclient.o \
../motif/dcmemory.o \
../motif/dcscreen.o \
../motif/dialog.o \
../motif/filedlg.o \
../motif/font.o \
../motif/frame.o \
../motif/gauge.o \
../motif/gdiobj.o \
../motif/gsockmot.o \
../motif/icon.o \
../motif/listbox.o \
../motif/main.o \
../motif/mdi.o \
../motif/menu.o \
../motif/menuitem.o \
../motif/minifram.o \
../motif/msgdlg.o \
../motif/palette.o \
../motif/pen.o \
../motif/radiobox.o \
../motif/radiobut.o \
../motif/region.o \
../motif/scrolbar.o \
../motif/settings.o \
../motif/slider.o \
../motif/statbmp.o \
../motif/statbox.o \
../motif/stattext.o \
../motif/textctrl.o \
../motif/timer.o \
../motif/toolbar.o \
../motif/utils.o \
../motif/window.o
HTMLOBJS = \
../html/htmlcell.o \
../html/htmlfilter.o \
../html/htmlhelp.o \
../html/htmlhelp_io.o \
../html/htmlparser.o \
../html/htmltag.o \
../html/htmlwin.o \
../html/htmlwinparser.o \
../html/mod_fonts.o \
../html/mod_hline.o \
../html/mod_image.o \
../html/mod_layout.o \
../html/mod_links.o \
../html/mod_list.o \
../html/mod_pre.o \
../html/mod_tables.o \
../html/search.o
UNIXOBJS = \
../unix/gsocket.o \
../unix/threadpsx.o \
../unix/utilsunx.o
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
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
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
OBJECTS = $(@GUIOBJS@) $(@COMMONOBJS@) $(@GENERICOBJS@) $(HTMLOBJS) $(UNIXOBJS) \
$(JPEGOBJS) $(PNGOBJS) $(ZLIBOBJS)
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
@WX_LIBRARY_NAME_STATIC@: $(OBJECTS)
$(AR) $(AROPTIONS) ../../lib/$@ $(OBJECTS)
$(RANLIB) ../../lib/$@
@WX_LIBRARY_NAME_SHARED@: $(OBJECTS)
$(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@
$(OBJECTS): $(WXDIR)/include/wx/defs.h $(WXDIR)/include/wx/object.h $(WXDIR)/include/wx/setup.h
parser.o: parser.c lexer.c
$(CCLEX) -c $(CFLAGS) -o $@ parser.c
parser.c: $(COMMDIR)/parser.y lexer.c
$(YACC) $(COMMDIR)/parser.y
@sed -e "s;$(COMMDIR)/y.tab.c;parser.y;g" < y.tab.c | \
sed -e "s/BUFSIZ/5000/g" | \
sed -e "s/YYLMAX 200/YYLMAX 5000/g" | \
sed -e "s/yy/PROIO_yy/g" | \
sed -e "s/input/PROIO_input/g" | \
sed -e "s/unput/PROIO_unput/g" > parser.c
@$(RM) y.tab.c
lexer.c: $(COMMDIR)/lexer.l
$(LEX) $(COMMDIR)/lexer.l
@sed -e "s;$(COMMDIR)/lex.yy.c;lexer.l;g" < lex.yy.c | \
sed -e "s/yy/PROIO_yy/g" | \
sed -e "s/input/PROIO_input/g" | \
sed -e "s/unput/PROIO_unput/g" > lexer.c
@$(RM) lex.yy.c
samples: $(OBJECTS)
@if test ! -e ../../samples/dialog/dialog.cpp; \
then cp -f -r $(WXDIR)/samples ../..; \
fi
install: @WX_TARGET_LIBRARY@
clean:
rm -f *.o
rm -f *.lo
rm -f parser.c
rm -f lexer.c
rm -f *.a
rm -f *.la
cleanall: clean

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

View File

@@ -1,639 +0,0 @@
#
# 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 18:19, 1999/08/11
# DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE UNX.T!
#
# File: makefile.unx
# 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
#
# Makefile for libwx_gtk.a, libwx_motif.a and libwx_msw.a
###################################################################
include ../make.env
############## override make.env for PIC ##########################
# Clears all default suffixes
.SUFFIXES: .o .cpp .c .cxx
.c.o :
$(CCC) -c $(CFLAGS) $(PICFLAGS) -o $@ $<
.cpp.o :
$(CC) -c $(CPPFLAGS) $(PICFLAGS) -o $@ $<
.cxx.o :
$(CC) -c $(CPPFLAGS) $(PICFLAGS) -o $@ $<
########################### Paths #################################
srcdir = @srcdir@
VPATH = :$(srcdir)
top_srcdir = @top_srcdir@
prefix = @prefix@
exec_prefix = @exec_prefix@
bindir = @bindir@
sbindir = @sbindir@
libexecdir = @libexecdir@
datadir = @datadir@
sysconfdir = @sysconfdir@
sharedstatedir = @sharedstatedir@
localstatedir = @localstatedir@
libdir = @libdir@
infodir = @infodir@
mandir = @mandir@
includedir = @includedir@
oldincludedir = /usr/include
DESTDIR =
pkgdatadir = $(datadir)/@PACKAGE@
pkglibdir = $(libdir)/@PACKAGE@
pkgincludedir = $(includedir)/@PACKAGE@
top_builddir = ../..
INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@
INSTALL_SCRIPT = @INSTALL_SCRIPT@
transform = @program_transform_name@
NORMAL_INSTALL = :
PRE_INSTALL = :
POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
build_alias = @build_alias@
build_triplet = @build@
host_alias = @host_alias@
host_triplet = @host@
target_alias = @target_alias@
target_triplet = @target@
############################# Dirs #################################
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
############################## Files ##################################
GTK_GENERICOBJS = \
../generic/busyinfo.o \
../generic/caret.o \
../generic/choicdgg.o \
../generic/colrdlgg.o \
../generic/dcpsg.o \
../generic/dirdlgg.o \
../generic/fontdlgg.o \
../generic/gridg.o \
../generic/imaglist.o \
../generic/laywin.o \
../generic/listctrl.o \
../generic/msgdlgg.o \
../generic/numdlgg.o \
../generic/panelg.o \
../generic/printps.o \
../generic/prntdlgg.o \
../generic/progdlgg.o \
../generic/prop.o \
../generic/propform.o \
../generic/proplist.o \
../generic/sashwin.o \
../generic/scrolwin.o \
../generic/splitter.o \
../generic/statusbr.o \
../generic/textdlgg.o \
../generic/tipdlg.o \
../generic/treectrl.o
GTK_COMMONOBJS = \
parser.o \
../common/cmndata.o \
../common/config.o \
../common/date.o \
../common/datstrm.o \
../common/db.o \
../common/dbtable.o \
../common/dcbase.o \
../common/dlgcmn.o \
../common/docmdi.o \
../common/docview.o \
../common/dynarray.o \
../common/dynlib.o \
../common/event.o \
../common/extended.o \
../common/ffile.o \
../common/file.o \
../common/fileconf.o \
../common/filefn.o \
../common/filesys.o \
../common/framecmn.o \
../common/fs_inet.o \
../common/fs_zip.o \
../common/ftp.o \
../common/gdicmn.o \
../common/hash.o \
../common/helpbase.o \
../common/http.o \
../common/imagbmp.o \
../common/image.o \
../common/imaggif.o \
../common/imagjpeg.o \
../common/imagpng.o \
../common/intl.o \
../common/ipcbase.o \
../common/layout.o \
../common/list.o \
../common/log.o \
../common/memory.o \
../common/mimetype.o \
../common/module.o \
../common/mstream.o \
../common/object.o \
../common/objstrm.o \
../common/paper.o \
../common/prntbase.o \
../common/process.o \
../common/protocol.o \
../common/resource.o \
../common/sckaddr.o \
../common/sckfile.o \
../common/sckipc.o \
../common/sckstrm.o \
../common/sizer.o \
../common/socket.o \
../common/strconv.o \
../common/stream.o \
../common/string.o \
../common/tbarbase.o \
../common/tbarsmpl.o \
../common/textcmn.o \
../common/textfile.o \
../common/time.o \
../common/timercmn.o \
../common/tokenzr.o \
../common/txtstrm.o \
../common/unzip.o \
../common/url.o \
../common/utilscmn.o \
../common/valgen.o \
../common/validate.o \
../common/valtext.o \
../common/variant.o \
../common/wfstream.o \
../common/wincmn.o \
../common/wxchar.o \
../common/wxexpr.o \
../common/zipstrm.o \
../common/zstream.o
GTK_GUIOBJS = \
../gtk/accel.o \
../gtk/app.o \
../gtk/bitmap.o \
../gtk/bmpbuttn.o \
../gtk/brush.o \
../gtk/button.o \
../gtk/checkbox.o \
../gtk/checklst.o \
../gtk/choice.o \
../gtk/clipbrd.o \
../gtk/colour.o \
../gtk/combobox.o \
../gtk/control.o \
../gtk/cursor.o \
../gtk/data.o \
../gtk/dataobj.o \
../gtk/dc.o \
../gtk/dcclient.o \
../gtk/dcmemory.o \
../gtk/dcscreen.o \
../gtk/dialog.o \
../gtk/dnd.o \
../gtk/filedlg.o \
../gtk/font.o \
../gtk/frame.o \
../gtk/gauge.o \
../gtk/gdiobj.o \
../gtk/gsockgtk.o \
../gtk/icon.o \
../gtk/listbox.o \
../gtk/main.o \
../gtk/mdi.o \
../gtk/menu.o \
../gtk/minifram.o \
../gtk/notebook.o \
../gtk/palette.o \
../gtk/pen.o \
../gtk/radiobox.o \
../gtk/radiobut.o \
../gtk/region.o \
../gtk/scrolbar.o \
../gtk/settings.o \
../gtk/slider.o \
../gtk/spinbutt.o \
../gtk/statbmp.o \
../gtk/statbox.o \
../gtk/statline.o \
../gtk/stattext.o \
../gtk/tbargtk.o \
../gtk/textctrl.o \
../gtk/timer.o \
../gtk/tooltip.o \
../gtk/utilsgtk.o \
../gtk/utilsres.o \
../gtk/wave.o \
../gtk/win_gtk.o \
../gtk/window.o
MOTIF_GENERICOBJS = \
../generic/busyinfo.o \
../generic/caret.o \
../generic/choicdgg.o \
../generic/colrdlgg.o \
../generic/dcpsg.o \
../generic/dirdlgg.o \
../generic/fontdlgg.o \
../generic/gridg.o \
../generic/helpxlp.o \
../generic/imaglist.o \
../generic/laywin.o \
../generic/listctrl.o \
../generic/msgdlgg.o \
../generic/notebook.o \
../generic/numdlgg.o \
../generic/panelg.o \
../generic/printps.o \
../generic/prntdlgg.o \
../generic/progdlgg.o \
../generic/prop.o \
../generic/propform.o \
../generic/proplist.o \
../generic/sashwin.o \
../generic/scrolwin.o \
../generic/splitter.o \
../generic/statusbr.o \
../generic/tabg.o \
../generic/textdlgg.o \
../generic/tipdlg.o \
../generic/treectrl.o
MOTIF_COMMONOBJS = \
parser.o \
../common/choiccmn.o \
../common/cmndata.o \
../common/config.o \
../common/ctrlcmn.o \
../common/date.o \
../common/datstrm.o \
../common/db.o \
../common/dbtable.o \
../common/dcbase.o \
../common/dlgcmn.o \
../common/docmdi.o \
../common/docview.o \
../common/dynarray.o \
../common/dynlib.o \
../common/event.o \
../common/extended.o \
../common/ffile.o \
../common/file.o \
../common/fileconf.o \
../common/filefn.o \
../common/filesys.o \
../common/framecmn.o \
../common/fs_inet.o \
../common/fs_zip.o \
../common/ftp.o \
../common/gdicmn.o \
../common/hash.o \
../common/helpbase.o \
../common/http.o \
../common/imagbmp.o \
../common/image.o \
../common/imaggif.o \
../common/imagjpeg.o \
../common/imagpng.o \
../common/intl.o \
../common/ipcbase.o \
../common/layout.o \
../common/list.o \
../common/log.o \
../common/memory.o \
../common/mimetype.o \
../common/module.o \
../common/mstream.o \
../common/object.o \
../common/objstrm.o \
../common/odbc.o \
../common/paper.o \
../common/prntbase.o \
../common/process.o \
../common/protocol.o \
../common/resource.o \
../common/sckaddr.o \
../common/sckfile.o \
../common/sckipc.o \
../common/sckstrm.o \
../common/sizer.o \
../common/socket.o \
../common/strconv.o \
../common/stream.o \
../common/string.o \
../common/tbarbase.o \
../common/tbarsmpl.o \
../common/textcmn.o \
../common/textfile.o \
../common/time.o \
../common/timercmn.o \
../common/tokenzr.o \
../common/txtstrm.o \
../common/unzip.o \
../common/url.o \
../common/utilscmn.o \
../common/valgen.o \
../common/validate.o \
../common/valtext.o \
../common/variant.o \
../common/wfstream.o \
../common/wincmn.o \
../common/wxchar.o \
../common/wxexpr.o \
../common/zipstrm.o \
../common/zstream.o
MOTIF_GUIOBJS = \
../motif/xmcombo/xmcombo.o \
../motif/accel.o \
../motif/app.o \
../motif/bitmap.o \
../motif/bmpbuttn.o \
../motif/brush.o \
../motif/button.o \
../motif/checkbox.o \
../motif/choice.o \
../motif/clipbrd.o \
../motif/colour.o \
../motif/combobox.o \
../motif/control.o \
../motif/cursor.o \
../motif/data.o \
../motif/dataobj.o \
../motif/dc.o \
../motif/dcclient.o \
../motif/dcmemory.o \
../motif/dcscreen.o \
../motif/dialog.o \
../motif/filedlg.o \
../motif/font.o \
../motif/frame.o \
../motif/gauge.o \
../motif/gdiobj.o \
../motif/gsockmot.o \
../motif/icon.o \
../motif/listbox.o \
../motif/main.o \
../motif/mdi.o \
../motif/menu.o \
../motif/menuitem.o \
../motif/minifram.o \
../motif/msgdlg.o \
../motif/palette.o \
../motif/pen.o \
../motif/radiobox.o \
../motif/radiobut.o \
../motif/region.o \
../motif/scrolbar.o \
../motif/settings.o \
../motif/slider.o \
../motif/statbmp.o \
../motif/statbox.o \
../motif/stattext.o \
../motif/textctrl.o \
../motif/timer.o \
../motif/toolbar.o \
../motif/utils.o \
../motif/window.o
HTMLOBJS = \
../html/htmlcell.o \
../html/htmlfilter.o \
../html/htmlhelp.o \
../html/htmlhelp_io.o \
../html/htmlparser.o \
../html/htmltag.o \
../html/htmlwin.o \
../html/htmlwinparser.o \
../html/mod_fonts.o \
../html/mod_hline.o \
../html/mod_image.o \
../html/mod_layout.o \
../html/mod_links.o \
../html/mod_list.o \
../html/mod_pre.o \
../html/mod_tables.o \
../html/search.o
UNIXOBJS = \
../unix/gsocket.o \
../unix/threadpsx.o \
../unix/utilsunx.o
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
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
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
OBJECTS = $(@GUIOBJS@) $(@COMMONOBJS@) $(@GENERICOBJS@) $(HTMLOBJS) $(UNIXOBJS) \
$(JPEGOBJS) $(PNGOBJS) $(ZLIBOBJS)
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
@WX_LIBRARY_NAME_STATIC@: $(OBJECTS)
$(AR) $(AROPTIONS) ../../lib/$@ $(OBJECTS)
$(RANLIB) ../../lib/$@
@WX_LIBRARY_NAME_SHARED@: $(OBJECTS)
$(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@
$(OBJECTS): $(WXDIR)/include/wx/defs.h $(WXDIR)/include/wx/object.h $(WXDIR)/include/wx/setup.h
parser.o: parser.c lexer.c
$(CCLEX) -c $(CFLAGS) -o $@ parser.c
parser.c: $(COMMDIR)/parser.y lexer.c
$(YACC) $(COMMDIR)/parser.y
@sed -e "s;$(COMMDIR)/y.tab.c;parser.y;g" < y.tab.c | \
sed -e "s/BUFSIZ/5000/g" | \
sed -e "s/YYLMAX 200/YYLMAX 5000/g" | \
sed -e "s/yy/PROIO_yy/g" | \
sed -e "s/input/PROIO_input/g" | \
sed -e "s/unput/PROIO_unput/g" > parser.c
@$(RM) y.tab.c
lexer.c: $(COMMDIR)/lexer.l
$(LEX) $(COMMDIR)/lexer.l
@sed -e "s;$(COMMDIR)/lex.yy.c;lexer.l;g" < lex.yy.c | \
sed -e "s/yy/PROIO_yy/g" | \
sed -e "s/input/PROIO_input/g" | \
sed -e "s/unput/PROIO_unput/g" > lexer.c
@$(RM) lex.yy.c
samples: $(OBJECTS)
@if test ! -e ../../samples/dialog/dialog.cpp; \
then cp -f -r $(WXDIR)/samples ../..; \
fi
install: @WX_TARGET_LIBRARY@
clean:
rm -f *.o
rm -f *.lo
rm -f parser.c
rm -f lexer.c
rm -f *.a
rm -f *.la
cleanall: clean