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:
13
Makefile.am
13
Makefile.am
@@ -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
|
|
||||||
|
|
620
acconfig.h
620
acconfig.h
@@ -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__ */
|
|
423
acinclude.m4
423
acinclude.m4
@@ -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, µ) != 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
|
|
||||||
])
|
|
@@ -1,5 +1,2 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
aclocal -I .
|
|
||||||
autoheader
|
|
||||||
automake --foreign --verbose
|
|
||||||
autoconf
|
autoconf
|
||||||
|
645
configure.in
645
configure.in
@@ -11,6 +11,419 @@ dnl
|
|||||||
dnl Version: $Id$
|
dnl Version: $Id$
|
||||||
dnl ---------------------------------------------------------------------------
|
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, µ) != 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 ---------------------------------------------------------------------------
|
||||||
dnl initialization
|
dnl initialization
|
||||||
dnl ---------------------------------------------------------------------------
|
dnl ---------------------------------------------------------------------------
|
||||||
@@ -39,24 +452,11 @@ WX_BINARY_AGE=0
|
|||||||
|
|
||||||
WX_VERSION=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER.$WX_RELEASE_NUMBER
|
WX_VERSION=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER.$WX_RELEASE_NUMBER
|
||||||
|
|
||||||
AM_INIT_AUTOMAKE(wxWindows, $WX_VERSION)
|
dnl wxWindows shared library versioning
|
||||||
|
WX_RELEASE=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER
|
||||||
dnl libtool versioning
|
WX_CURRENT=`expr $WX_RELEASE_NUMBER - $WX_INTERFACE_AGE`
|
||||||
LT_RELEASE=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER
|
WX_REVISION=$WX_INTERFACE_AGE
|
||||||
LT_CURRENT=`expr $WX_RELEASE_NUMBER - $WX_INTERFACE_AGE`
|
WX_AGE=`expr $WX_BINARY_AGE - $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 ------------------------------------------------------------------------
|
dnl ------------------------------------------------------------------------
|
||||||
dnl Check platform (host system)
|
dnl Check platform (host system)
|
||||||
@@ -210,7 +610,6 @@ esac
|
|||||||
if test "$USE_UNIX" = 1 ; then
|
if test "$USE_UNIX" = 1 ; then
|
||||||
wxUSE_UNIX=yes
|
wxUSE_UNIX=yes
|
||||||
AC_DEFINE(__UNIX__)
|
AC_DEFINE(__UNIX__)
|
||||||
EXTRA_VPATH="$EXTRA_VPATH:\$(srcdir)/../unix"
|
|
||||||
SRC_SUBDIRS="$SRC_SUBDIRS unix"
|
SRC_SUBDIRS="$SRC_SUBDIRS unix"
|
||||||
INCLUDE_SUBDIRS="$INCLUDE_SUBDIRS unix"
|
INCLUDE_SUBDIRS="$INCLUDE_SUBDIRS unix"
|
||||||
fi
|
fi
|
||||||
@@ -238,7 +637,8 @@ DEBUG_CONFIGURE=0
|
|||||||
if test $DEBUG_CONFIGURE = 1; then
|
if test $DEBUG_CONFIGURE = 1; then
|
||||||
DEFAULT_wxUSE_THREADS=yes
|
DEFAULT_wxUSE_THREADS=yes
|
||||||
|
|
||||||
DEFAULT_wxUSE_OPTIMISE=no
|
DEFAULT_wxUSE_SHARED=yes
|
||||||
|
DEFAULT_wxUSE_OPTIMISE=yes
|
||||||
DEFAULT_wxUSE_PROFILE=no
|
DEFAULT_wxUSE_PROFILE=no
|
||||||
DEFAULT_wxUSE_NO_RTTI=no
|
DEFAULT_wxUSE_NO_RTTI=no
|
||||||
DEFAULT_wxUSE_NO_EXCEPTIONS=no
|
DEFAULT_wxUSE_NO_EXCEPTIONS=no
|
||||||
@@ -342,6 +742,7 @@ if test $DEBUG_CONFIGURE = 1; then
|
|||||||
else
|
else
|
||||||
DEFAULT_wxUSE_THREADS=yes
|
DEFAULT_wxUSE_THREADS=yes
|
||||||
|
|
||||||
|
DEFAULT_wxUSE_SHARED=yes
|
||||||
DEFAULT_wxUSE_OPTIMISE=yes
|
DEFAULT_wxUSE_OPTIMISE=yes
|
||||||
DEFAULT_wxUSE_PROFILE=no
|
DEFAULT_wxUSE_PROFILE=no
|
||||||
DEFAULT_wxUSE_NO_RTTI=no
|
DEFAULT_wxUSE_NO_RTTI=no
|
||||||
@@ -491,6 +892,7 @@ dnl ---------------------------------------------------------------------------
|
|||||||
dnl compile options
|
dnl compile options
|
||||||
dnl ---------------------------------------------------------------------------
|
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(optimise, [ --enable-optimise create optimised code], wxUSE_OPTIMISE)
|
||||||
WX_ARG_ENABLE(debug, [ --enable-debug same as debug_flag and debug_info], wxUSE_DEBUG)
|
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 LEX checks
|
||||||
dnl defines LEX with the appropriate command
|
dnl defines LEX with the appropriate command
|
||||||
dnl defines LEXLIB with the appropriate library
|
dnl defines LEXLIB with the appropriate library
|
||||||
dnl this AM version (don't use AC_PROG_LEX!) also
|
AC_PROG_LEX
|
||||||
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
|
|
||||||
|
|
||||||
dnl needed for making link to setup.h
|
dnl needed for making link to setup.h
|
||||||
AC_PROG_LN_S
|
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 ---------------------------------------------------------------------------
|
||||||
dnl Define search path for includes and libraries: all headers and libs will be
|
dnl Define search path for includes and libraries: all headers and libs will be
|
||||||
dnl looked for in all directories of this path
|
dnl looked for in all directories of this path
|
||||||
@@ -1068,6 +1412,7 @@ if test "$wxUSE_GTK" = 1; then
|
|||||||
TOOLKIT=GTK
|
TOOLKIT=GTK
|
||||||
|
|
||||||
GUIOBJS=GTK_GUIOBJS
|
GUIOBJS=GTK_GUIOBJS
|
||||||
|
GUIHEADERS=GTK_HEADERS
|
||||||
COMMONOBJS=GTK_COMMONOBJS
|
COMMONOBJS=GTK_COMMONOBJS
|
||||||
GENERICOBJS=GTK_GENERICOBJS
|
GENERICOBJS=GTK_GENERICOBJS
|
||||||
fi
|
fi
|
||||||
@@ -1111,7 +1456,6 @@ if test "$wxUSE_WINE" = 1; then
|
|||||||
GUI_TK_LIBRARY="$GUI_TK_LIBRARY $GUI_TK_LINK"
|
GUI_TK_LIBRARY="$GUI_TK_LIBRARY $GUI_TK_LINK"
|
||||||
WXWINE=1
|
WXWINE=1
|
||||||
TOOLKIT=MSW
|
TOOLKIT=MSW
|
||||||
LTLIBOBJS="$LTLIBOBJS winestub.lo"
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test "$wxUSE_MOTIF" = 1; then
|
if test "$wxUSE_MOTIF" = 1; then
|
||||||
@@ -1179,6 +1523,7 @@ if test "$wxUSE_MOTIF" = 1; then
|
|||||||
TOOLKIT=MOTIF
|
TOOLKIT=MOTIF
|
||||||
|
|
||||||
GUIOBJS=MOTIF_GUIOBJS
|
GUIOBJS=MOTIF_GUIOBJS
|
||||||
|
GUIHEADERS=MOTIF_HEADERS
|
||||||
COMMONOBJS=MOTIF_COMMONOBJS
|
COMMONOBJS=MOTIF_COMMONOBJS
|
||||||
GENERICOBJS=MOTIF_GENERICOBJS
|
GENERICOBJS=MOTIF_GENERICOBJS
|
||||||
fi
|
fi
|
||||||
@@ -1196,14 +1541,14 @@ dnl the name of the static library
|
|||||||
WX_LIBRARY_NAME_STATIC="libwx_${TOOLKIT_DIR}.a"
|
WX_LIBRARY_NAME_STATIC="libwx_${TOOLKIT_DIR}.a"
|
||||||
|
|
||||||
dnl the name of the shared library
|
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
|
dnl the name of the library we actually want to build
|
||||||
WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_SHARED}"
|
WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_SHARED}"
|
||||||
|
|
||||||
dnl the name of the links to the shared library
|
dnl the name of the links to the shared library
|
||||||
WX_LIBRARY_LINK1="libwx_${TOOLKIT_DIR}-${LT_RELEASE}.so.${LT_CURRENT}"
|
WX_LIBRARY_LINK1="libwx_${TOOLKIT_DIR}-${WX_RELEASE}.so.${WX_CURRENT}"
|
||||||
WX_LIBRARY_LINK2="libwx_${TOOLKIT_DIR}-${LT_RELEASE}.so"
|
WX_LIBRARY_LINK2="libwx_${TOOLKIT_DIR}-${WX_RELEASE}.so"
|
||||||
WX_LIBRARY_LINK3="libwx_${TOOLKIT_DIR}.so"
|
WX_LIBRARY_LINK3="libwx_${TOOLKIT_DIR}.so"
|
||||||
|
|
||||||
dnl shared library settings
|
dnl shared library settings
|
||||||
@@ -1469,8 +1814,6 @@ fi
|
|||||||
|
|
||||||
dnl do other tests only if we are using threads
|
dnl do other tests only if we are using threads
|
||||||
if test "$wxUSE_THREADS" = "yes" ; then
|
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 define autoconf macro to check for given function in both pthread and
|
||||||
dnl posix4 libraries
|
dnl posix4 libraries
|
||||||
dnl usage: AC_FUNC_THREAD(FUNCTION_NAME)
|
dnl usage: AC_FUNC_THREAD(FUNCTION_NAME)
|
||||||
@@ -1626,20 +1969,12 @@ dnl ---------------------------------------------------------------------------
|
|||||||
ZLIB_INCLUDE=
|
ZLIB_INCLUDE=
|
||||||
if test "$wxUSE_ZLIB" = "yes" ; then
|
if test "$wxUSE_ZLIB" = "yes" ; then
|
||||||
AC_DEFINE(wxUSE_ZLIB)
|
AC_DEFINE(wxUSE_ZLIB)
|
||||||
EXTRA_VPATH="$EXTRA_VPATH:\${srcdir}/../zlib"
|
|
||||||
ZLIB_INCLUDE="-I\${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
|
fi
|
||||||
|
|
||||||
PNG_INCLUDE=
|
PNG_INCLUDE=
|
||||||
if test "$wxUSE_LIBPNG" = "yes" ; then
|
if test "$wxUSE_LIBPNG" = "yes" ; then
|
||||||
AC_DEFINE(wxUSE_LIBPNG)
|
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"
|
PNG_INCLUDE="-I\${srcdir}/../png"
|
||||||
SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
|
SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
|
||||||
fi
|
fi
|
||||||
@@ -1651,19 +1986,7 @@ fi
|
|||||||
JPEG_INCLUDE=
|
JPEG_INCLUDE=
|
||||||
if test "$wxUSE_LIBJPEG" = "yes" ; then
|
if test "$wxUSE_LIBJPEG" = "yes" ; then
|
||||||
AC_DEFINE(wxUSE_LIBJPEG)
|
AC_DEFINE(wxUSE_LIBJPEG)
|
||||||
EXTRA_VPATH="$EXTRA_VPATH:\${srcdir}/../jpeg"
|
|
||||||
JPEG_INCLUDE="-I\${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
|
fi
|
||||||
|
|
||||||
if test "$wxUSE_OPENGL" = "yes"; then
|
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 need the dcs, pens, brushes, ...), this just can't be done now
|
||||||
dnl 4. menu stuff: wxMenu, wxMenuBar, wxMenuItem
|
dnl 4. menu stuff: wxMenu, wxMenuBar, wxMenuItem
|
||||||
dnl 5. misc stuff: timers, settings, message box
|
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
|
else
|
||||||
AC_DEFINE(wxUSE_NOGUI)
|
AC_DEFINE(wxUSE_NOGUI)
|
||||||
fi
|
fi
|
||||||
@@ -1908,8 +2224,6 @@ dnl ----------------------------------------------------------------
|
|||||||
IODBC_C_SRC=""
|
IODBC_C_SRC=""
|
||||||
if test "$wxUSE_ODBC" = "yes" ; then
|
if test "$wxUSE_ODBC" = "yes" ; then
|
||||||
AC_DEFINE(wxUSE_ODBC)
|
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"
|
SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@@ -2271,12 +2585,6 @@ if test "$wxUSE_GUI" = "yes"; then
|
|||||||
forty fractal image wxpoem"
|
forty fractal image wxpoem"
|
||||||
fi
|
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 for convenience, sort the samples in alphabetical order
|
||||||
dnl
|
dnl
|
||||||
dnl FIXME For some mysterious reasons, sometimes the directories are duplicated
|
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?
|
dnl are we supposed to create the links?
|
||||||
AC_SUBST(WX_CREATE_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(SHARED_LD)
|
||||||
AC_SUBST(PIC_FLAG)
|
AC_SUBST(PIC_FLAG)
|
||||||
|
|
||||||
@@ -2317,13 +2621,10 @@ AC_SUBST(TOOLKIT_INCLUDE)
|
|||||||
|
|
||||||
dnl what to compile
|
dnl what to compile
|
||||||
AC_SUBST(GUIOBJS)
|
AC_SUBST(GUIOBJS)
|
||||||
|
AC_SUBST(GUIHEADERS)
|
||||||
AC_SUBST(COMMONOBJS)
|
AC_SUBST(COMMONOBJS)
|
||||||
AC_SUBST(GENERICOBJS)
|
AC_SUBST(GENERICOBJS)
|
||||||
|
|
||||||
dnl additional sources
|
|
||||||
AC_SUBST(EXTRA_VPATH)
|
|
||||||
AC_SUBST(LTLIBOBJS)
|
|
||||||
|
|
||||||
dnl additional subdirectories where we will build
|
dnl additional subdirectories where we will build
|
||||||
AC_SUBST(SRC_SUBDIRS)
|
AC_SUBST(SRC_SUBDIRS)
|
||||||
AC_SUBST(INCLUDE_SUBDIRS)
|
AC_SUBST(INCLUDE_SUBDIRS)
|
||||||
@@ -2337,105 +2638,23 @@ AC_SUBST(EXTRA_LIBS)
|
|||||||
AC_SUBST(LIBS)
|
AC_SUBST(LIBS)
|
||||||
AC_SUBST(LD_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 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 itself (this is macro is required if SUBDIRS variable is used in Makefile.am
|
||||||
dnl - and we do use it)
|
dnl - and we do use it)
|
||||||
AC_PROG_MAKE_SET
|
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 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 (the original file name may be overriden by appending another name after a
|
||||||
dnl colon)
|
dnl colon)
|
||||||
AC_OUTPUT([
|
AC_OUTPUT([
|
||||||
wx-config
|
wx-config
|
||||||
|
|
||||||
src/make.env
|
src/make.env
|
||||||
src/makeprog.env
|
src/makeprog.env
|
||||||
src/makelib.env
|
src/makelib.env
|
||||||
src/gtk/makefile.unx
|
|
||||||
src/motif/makefile.unx
|
|
||||||
|
|
||||||
Makefile
|
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
|
chmod +x wx-config
|
||||||
|
@@ -47,8 +47,20 @@
|
|||||||
$wxHTML{$fields[0]} = $fields[2];
|
$wxHTML{$fields[0]} = $fields[2];
|
||||||
} elsif ( $fields[1] eq "U" ) {
|
} elsif ( $fields[1] eq "U" ) {
|
||||||
$wxUNIX{$fields[0]} = $fields[2];
|
$wxUNIX{$fields[0]} = $fields[2];
|
||||||
} elsif ( $fields[1] eq "I" ) {
|
} elsif ( $fields[1] eq "W" ) {
|
||||||
$wxINCLUDE{$fields[0]} = $fields[2];
|
$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 {
|
} else {
|
||||||
warn "Unknown file type $fields[1] for $fields[0], ignoring.\n";
|
warn "Unknown file type $fields[1] for $fields[0], ignoring.\n";
|
||||||
next line;
|
next line;
|
||||||
|
@@ -14,7 +14,13 @@
|
|||||||
# U /src/unix
|
# U /src/unix
|
||||||
# R /src/gtk R for Robert
|
# R /src/gtk R for Robert
|
||||||
# H /src/html
|
# 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
|
# 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
|
# 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
|
mod_tables.cpp H
|
||||||
search.cpp H
|
search.cpp H
|
||||||
|
|
||||||
arrimpl.cpp I WX
|
arrimpl.cpp W
|
||||||
listimpl.cpp I WX
|
listimpl.cpp W
|
||||||
accel.h I WX
|
accel.h W
|
||||||
app.h I WX
|
app.h W
|
||||||
bitmap.h I WX
|
bitmap.h W
|
||||||
bmpbuttn.h I WX
|
bmpbuttn.h W
|
||||||
brush.h I WX
|
brush.h W
|
||||||
buffer.h I WX
|
buffer.h W
|
||||||
busyinfo.h I WX
|
busyinfo.h W
|
||||||
button.h I WX
|
button.h W
|
||||||
caret.h I WX
|
caret.h W
|
||||||
checkbox.h I WX
|
checkbox.h W
|
||||||
checklst.h I WX
|
checklst.h W
|
||||||
choicdlg.h I WX
|
choicdlg.h W
|
||||||
choice.h I WX
|
choice.h W
|
||||||
clipbrd.h I WX
|
clipbrd.h W
|
||||||
cmndata.h I WX
|
cmndata.h W
|
||||||
colordlg.h I WX
|
colordlg.h W
|
||||||
colour.h I WX
|
colour.h W
|
||||||
combobox.h I WX
|
combobox.h W
|
||||||
confbase.h I WX
|
confbase.h W
|
||||||
config.h I WX
|
config.h W
|
||||||
control.h I WX
|
control.h W
|
||||||
cursor.h I WX
|
cursor.h W
|
||||||
dataobj.h I WX
|
dataobj.h W
|
||||||
date.h I WX
|
date.h W
|
||||||
datstrm.h I WX
|
datstrm.h W
|
||||||
db.h I WX
|
db.h W
|
||||||
dbtable.h I WX
|
dbtable.h W
|
||||||
dc.h I WX
|
dc.h W
|
||||||
dcclient.h I WX
|
dcclient.h W
|
||||||
dcmemory.h I WX
|
dcmemory.h W
|
||||||
dcprint.h I WX
|
dcprint.h W
|
||||||
dcps.h I WX
|
dcps.h W
|
||||||
dcscreen.h I WX
|
dcscreen.h W
|
||||||
dde.h I WX
|
dde.h W
|
||||||
debug.h I WX
|
debug.h W
|
||||||
defs.h I WX
|
defs.h W
|
||||||
dialog.h I WX
|
dialog.h W
|
||||||
dirdlg.h I WX
|
dirdlg.h W
|
||||||
dnd.h I WX
|
dnd.h W
|
||||||
docmdi.h I WX
|
docmdi.h W
|
||||||
docview.h I WX
|
docview.h W
|
||||||
dragimag.h I WX
|
dragimag.h W
|
||||||
dynarray.h I WX
|
dynarray.h W
|
||||||
dynlib.h I WX
|
dynlib.h W
|
||||||
event.h I WX
|
event.h W
|
||||||
expr.h I WX
|
expr.h W
|
||||||
ffile.h I WX
|
ffile.h W
|
||||||
file.h I WX
|
file.h W
|
||||||
fileconf.h I WX
|
fileconf.h W
|
||||||
filedlg.h I WX
|
filedlg.h W
|
||||||
filefn.h I WX
|
filefn.h W
|
||||||
filesys.h I WX
|
filesys.h W
|
||||||
font.h I WX
|
font.h W
|
||||||
fontdlg.h I WX
|
fontdlg.h W
|
||||||
frame.h I WX
|
frame.h W
|
||||||
fs_inet.h I WX
|
fs_inet.h W
|
||||||
fs_zip.h I WX
|
fs_zip.h W
|
||||||
gauge.h I WX
|
gauge.h W
|
||||||
gdicmn.h I WX
|
gdicmn.h W
|
||||||
gdiobj.h I WX
|
gdiobj.h W
|
||||||
grid.h I WX
|
grid.h W
|
||||||
hash.h I WX
|
hash.h W
|
||||||
help.h I WX
|
help.h W
|
||||||
helpbase.h I WX
|
helpbase.h W
|
||||||
helphtml.h I WX
|
helphtml.h W
|
||||||
helpwin.h I WX
|
helpwin.h W
|
||||||
helpxlp.h I WX
|
helpxlp.h W
|
||||||
icon.h I WX
|
icon.h W
|
||||||
image.h I WX
|
image.h W
|
||||||
imaglist.h I WX
|
imaglist.h W
|
||||||
intl.h I WX
|
intl.h W
|
||||||
ioswrap.h I WX
|
ioswrap.h W
|
||||||
ipcbase.h I WX
|
ipcbase.h W
|
||||||
joystick.h I WX
|
joystick.h W
|
||||||
layout.h I WX
|
layout.h W
|
||||||
laywin.h I WX
|
laywin.h W
|
||||||
list.h I WX
|
list.h W
|
||||||
listbox.h I WX
|
listbox.h W
|
||||||
listctrl.h I WX
|
listctrl.h W
|
||||||
log.h I WX
|
log.h W
|
||||||
longlong.h I WX
|
longlong.h W
|
||||||
matrix.h I WX
|
matrix.h W
|
||||||
mdi.h I WX
|
mdi.h W
|
||||||
memory.h I WX
|
memory.h W
|
||||||
menu.h I WX
|
menu.h W
|
||||||
menuitem.h I WX
|
menuitem.h W
|
||||||
metafile.h I WX
|
metafile.h W
|
||||||
mimetype.h I WX
|
mimetype.h W
|
||||||
minifram.h I WX
|
minifram.h W
|
||||||
module.h I WX
|
module.h W
|
||||||
msgdlg.h I WX
|
msgdlg.h W
|
||||||
mstream.h I WX
|
mstream.h W
|
||||||
notebook.h I WX
|
notebook.h W
|
||||||
object.h I WX
|
object.h W
|
||||||
objstrm.h I WX
|
objstrm.h W
|
||||||
odbc.h I WX
|
odbc.h W
|
||||||
ownerdrw.h I WX
|
ownerdrw.h W
|
||||||
palette.h I WX
|
palette.h W
|
||||||
panel.h I WX
|
panel.h W
|
||||||
paper.h I WX
|
paper.h W
|
||||||
pen.h I WX
|
pen.h W
|
||||||
pnghand.h I WX
|
pnghand.h W
|
||||||
print.h I WX
|
print.h W
|
||||||
printdlg.h I WX
|
printdlg.h W
|
||||||
prntbase.h I WX
|
prntbase.h W
|
||||||
process.h I WX
|
process.h W
|
||||||
progdlg.h I WX
|
progdlg.h W
|
||||||
prop.h I WX
|
prop.h W
|
||||||
propform.h I WX
|
propform.h W
|
||||||
proplist.h I WX
|
proplist.h W
|
||||||
radiobox.h I WX
|
radiobox.h W
|
||||||
radiobut.h I WX
|
radiobut.h W
|
||||||
region.h I WX
|
region.h W
|
||||||
resource.h I WX
|
resource.h W
|
||||||
sashwin.h I WX
|
sashwin.h W
|
||||||
sckaddr.h I WX
|
sckaddr.h W
|
||||||
sckipc.h I WX
|
sckipc.h W
|
||||||
sckstrm.h I WX
|
sckstrm.h W
|
||||||
scrolbar.h I WX
|
scrolbar.h W
|
||||||
scrolwin.h I WX
|
scrolwin.h W
|
||||||
serbase.h I WX
|
serbase.h W
|
||||||
settings.h I WX
|
settings.h W
|
||||||
setup.h I WX
|
setup.h W
|
||||||
slider.h I WX
|
slider.h W
|
||||||
socket.h I WX
|
socket.h W
|
||||||
spinbutt.h I WX
|
spinbutt.h W
|
||||||
splitter.h I WX
|
splitter.h W
|
||||||
statbmp.h I WX
|
statbmp.h W
|
||||||
statbox.h I WX
|
statbox.h W
|
||||||
statline.h I WX
|
statline.h W
|
||||||
stattext.h I WX
|
stattext.h W
|
||||||
statusbr.h I WX
|
statusbr.h W
|
||||||
strconv.h I WX
|
strconv.h W
|
||||||
stream.h I WX
|
stream.h W
|
||||||
string.h I WX
|
string.h W
|
||||||
tab.h I WX
|
tab.h W
|
||||||
tabctrl.h I WX
|
tabctrl.h W
|
||||||
taskbar.h I WX
|
taskbar.h W
|
||||||
tbar95.h I WX
|
tbar95.h W
|
||||||
tbarbase.h I WX
|
tbarbase.h W
|
||||||
tbarmsw.h I WX
|
tbarmsw.h W
|
||||||
tbarsmpl.h I WX
|
tbarsmpl.h W
|
||||||
textctrl.h I WX
|
textctrl.h W
|
||||||
textdlg.h I WX
|
textdlg.h W
|
||||||
textfile.h I WX
|
textfile.h W
|
||||||
txtstrm.h I WX
|
txtstrm.h W
|
||||||
thread.h I WX
|
thread.h W
|
||||||
time.h I WX
|
time.h W
|
||||||
timer.h I WX
|
timer.h W
|
||||||
tipdlg.h I WX
|
tipdlg.h W
|
||||||
tokenzr.h I WX
|
tokenzr.h W
|
||||||
toolbar.h I WX
|
toolbar.h W
|
||||||
tooltip.h I WX
|
tooltip.h W
|
||||||
treectrl.h I WX
|
treectrl.h W
|
||||||
types.h I WX
|
types.h W
|
||||||
url.h I WX
|
url.h W
|
||||||
utils.h I WX
|
utils.h W
|
||||||
valgen.h I WX
|
valgen.h W
|
||||||
validate.h I WX
|
validate.h W
|
||||||
valtext.h I WX
|
valtext.h W
|
||||||
variant.h I WX
|
variant.h W
|
||||||
version.h I WX
|
version.h W
|
||||||
wave.h I WX
|
wave.h W
|
||||||
wfstream.h I WX
|
wfstream.h W
|
||||||
window.h I WX
|
window.h W
|
||||||
wx.h I WX
|
wx.h W
|
||||||
wx_cw.h I WX
|
wx_cw.h W
|
||||||
wx_cw_cm.h I WX
|
wx_cw_cm.h W
|
||||||
wx_cw_d.h I WX
|
wx_cw_d.h W
|
||||||
wxchar.h I WX
|
wxchar.h W
|
||||||
wxexpr.h I WX
|
wxexpr.h W
|
||||||
wxhtml.h I WX
|
wxhtml.h W
|
||||||
wxprec.h I WX
|
wxprec.h W
|
||||||
xpmhand.h I WX
|
xpmhand.h W
|
||||||
zipstrm.h I WX
|
zipstrm.h W
|
||||||
zstream.h I WX
|
zstream.h W
|
||||||
|
|
||||||
accel.h I GTK
|
accel.h K
|
||||||
app.h I GTK
|
app.h K
|
||||||
bitmap.h I GTK
|
bitmap.h K
|
||||||
bmpbuttn.h I GTK
|
bmpbuttn.h K
|
||||||
brush.h I GTK
|
brush.h K
|
||||||
button.h I GTK
|
button.h K
|
||||||
checkbox.h I GTK
|
checkbox.h K
|
||||||
checklst.h I GTK
|
checklst.h K
|
||||||
choice.h I GTK
|
choice.h K
|
||||||
clipbrd.h I GTK
|
clipbrd.h K
|
||||||
colour.h I GTK
|
colour.h K
|
||||||
combobox.h I GTK
|
combobox.h K
|
||||||
control.h I GTK
|
control.h K
|
||||||
cursor.h I GTK
|
cursor.h K
|
||||||
dataobj.h I GTK
|
dataobj.h K
|
||||||
dc.h I GTK
|
dc.h K
|
||||||
dcclient.h I GTK
|
dcclient.h K
|
||||||
dcmemory.h I GTK
|
dcmemory.h K
|
||||||
dcscreen.h I GTK
|
dcscreen.h K
|
||||||
dialog.h I GTK
|
dialog.h K
|
||||||
dnd.h I GTK
|
dnd.h K
|
||||||
filedlg.h I GTK
|
filedlg.h K
|
||||||
font.h I GTK
|
font.h K
|
||||||
frame.h I GTK
|
frame.h K
|
||||||
gauge.h I GTK
|
gauge.h K
|
||||||
gdiobj.h I GTK
|
gdiobj.h K
|
||||||
icon.h I GTK
|
icon.h K
|
||||||
joystick.h I GTK
|
joystick.h K
|
||||||
listbox.h I GTK
|
listbox.h K
|
||||||
mdi.h I GTK
|
mdi.h K
|
||||||
menu.h I GTK
|
menu.h K
|
||||||
menuitem.h I GTK
|
menuitem.h K
|
||||||
msgdlg.h I GTK
|
msgdlg.h K
|
||||||
minifram.h I GTK
|
minifram.h K
|
||||||
notebook.h I GTK
|
notebook.h K
|
||||||
palette.h I GTK
|
palette.h K
|
||||||
pen.h I GTK
|
pen.h K
|
||||||
radiobox.h I GTK
|
radiobox.h K
|
||||||
radiobut.h I GTK
|
radiobut.h K
|
||||||
region.h I GTK
|
region.h K
|
||||||
scrolbar.h I GTK
|
scrolbar.h K
|
||||||
settings.h I GTK
|
settings.h K
|
||||||
slider.h I GTK
|
slider.h K
|
||||||
spinbutt.h I GTK
|
spinbutt.h K
|
||||||
statbmp.h I GTK
|
statbmp.h K
|
||||||
statbox.h I GTK
|
statbox.h K
|
||||||
statline.h I GTK
|
statline.h K
|
||||||
stattext.h I GTK
|
stattext.h K
|
||||||
tbargtk.h I GTK
|
tbargtk.h K
|
||||||
textctrl.h I GTK
|
textctrl.h K
|
||||||
timer.h I GTK
|
timer.h K
|
||||||
tooltip.h I GTK
|
tooltip.h K
|
||||||
treectrl.h I GTK
|
treectrl.h K
|
||||||
wave.h I GTK
|
wave.h K
|
||||||
win_gtk.h I GTK
|
win_gtk.h K
|
||||||
window.h I GTK
|
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:
|
# vi: set noet ts=16 nolist:
|
||||||
|
@@ -17,7 +17,7 @@
|
|||||||
next if $wxGeneric{$file} =~ /\bR\b/;
|
next if $wxGeneric{$file} =~ /\bR\b/;
|
||||||
|
|
||||||
$file =~ s/cp?p?$/\o/;
|
$file =~ s/cp?p?$/\o/;
|
||||||
$project{"WXGTK_GENERICOBJS"} .= "../generic/" . $file . " "
|
$project{"WXGTK_GENERICOBJS"} .= "src/generic/" . $file . " "
|
||||||
}
|
}
|
||||||
|
|
||||||
#! now transform these hashes into $project tags
|
#! now transform these hashes into $project tags
|
||||||
@@ -25,56 +25,72 @@
|
|||||||
next if $wxCommon{$file} =~ /\bX\b/;
|
next if $wxCommon{$file} =~ /\bX\b/;
|
||||||
|
|
||||||
$file =~ s/cp?p?$/\o/;
|
$file =~ s/cp?p?$/\o/;
|
||||||
$project{"WXMOTIF_GENERICOBJS"} .= "../generic/" . $file . " "
|
$project{"WXMOTIF_GENERICOBJS"} .= "src/generic/" . $file . " "
|
||||||
}
|
}
|
||||||
|
|
||||||
foreach $file (sort keys %wxCommon) {
|
foreach $file (sort keys %wxCommon) {
|
||||||
next if $wxCommon{$file} =~ /\bR\b/;
|
next if $wxCommon{$file} =~ /\bR\b/;
|
||||||
|
|
||||||
$file =~ s/cp?p?$/\o/;
|
$file =~ s/cp?p?$/\o/;
|
||||||
$project{"WXGTK_COMMONOBJS"} .= "../common/" . $file . " "
|
$project{"WXGTK_COMMONOBJS"} .= "src/common/" . $file . " "
|
||||||
}
|
}
|
||||||
|
|
||||||
foreach $file (sort keys %wxCommon) {
|
foreach $file (sort keys %wxCommon) {
|
||||||
next if $wxCommon{$file} =~ /\bX\b/;
|
next if $wxCommon{$file} =~ /\bX\b/;
|
||||||
|
|
||||||
$file =~ s/cp?p?$/\o/;
|
$file =~ s/cp?p?$/\o/;
|
||||||
$project{"WXMOTIF_COMMONOBJS"} .= "../common/" . $file . " "
|
$project{"WXMOTIF_COMMONOBJS"} .= "src/common/" . $file . " "
|
||||||
}
|
}
|
||||||
|
|
||||||
foreach $file (sort keys %wxGTK) {
|
foreach $file (sort keys %wxGTK) {
|
||||||
$file =~ s/cp?p?$/\o/;
|
$file =~ s/cp?p?$/\o/;
|
||||||
$project{"WXGTK_GUIOBJS"} .= "../gtk/" . $file . " "
|
$project{"WXGTK_GUIOBJS"} .= "src/gtk/" . $file . " "
|
||||||
}
|
}
|
||||||
|
|
||||||
foreach $file (sort keys %wxMOTIF) {
|
foreach $file (sort keys %wxMOTIF) {
|
||||||
$file =~ s/cp?p?$/\o/;
|
$file =~ s/cp?p?$/\o/;
|
||||||
$project{"WXMOTIF_GUIOBJS"} .= "../motif/" . $file . " "
|
$project{"WXMOTIF_GUIOBJS"} .= "src/motif/" . $file . " "
|
||||||
}
|
}
|
||||||
|
|
||||||
foreach $file (sort keys %wxHTML) {
|
foreach $file (sort keys %wxHTML) {
|
||||||
$file =~ s/cp?p?$/\o/;
|
$file =~ s/cp?p?$/\o/;
|
||||||
$project{"WXHTMLOBJS"} .= "../html/" . $file . " "
|
$project{"WXHTMLOBJS"} .= "src/html/" . $file . " "
|
||||||
}
|
}
|
||||||
|
|
||||||
foreach $file (sort keys %wxUNIX) {
|
foreach $file (sort keys %wxUNIX) {
|
||||||
$file =~ s/cp?p?$/\o/;
|
$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()
|
# This file was automatically generated by tmake at #$ Now()
|
||||||
# DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE UNX.T!
|
# DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE UNX.T!
|
||||||
|
|
||||||
@@ -91,7 +107,7 @@
|
|||||||
|
|
||||||
###################################################################
|
###################################################################
|
||||||
|
|
||||||
include ../make.env
|
include ./src/make.env
|
||||||
|
|
||||||
############## override make.env for PIC ##########################
|
############## override make.env for PIC ##########################
|
||||||
|
|
||||||
@@ -111,7 +127,7 @@ include ../make.env
|
|||||||
|
|
||||||
srcdir = @srcdir@
|
srcdir = @srcdir@
|
||||||
|
|
||||||
VPATH = :$(srcdir)
|
VPATH = :@top_srcdir@
|
||||||
|
|
||||||
top_srcdir = @top_srcdir@
|
top_srcdir = @top_srcdir@
|
||||||
prefix = @prefix@
|
prefix = @prefix@
|
||||||
@@ -136,7 +152,7 @@ pkgdatadir = $(datadir)/@PACKAGE@
|
|||||||
pkglibdir = $(libdir)/@PACKAGE@
|
pkglibdir = $(libdir)/@PACKAGE@
|
||||||
pkgincludedir = $(includedir)/@PACKAGE@
|
pkgincludedir = $(includedir)/@PACKAGE@
|
||||||
|
|
||||||
top_builddir = ../..
|
top_builddir = .
|
||||||
|
|
||||||
INSTALL = @INSTALL@
|
INSTALL = @INSTALL@
|
||||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||||
@@ -159,7 +175,7 @@ target_triplet = @target@
|
|||||||
|
|
||||||
############################# Dirs #################################
|
############################# Dirs #################################
|
||||||
|
|
||||||
WXDIR = $(srcdir)/../..
|
WXDIR = $(top_srcdir)
|
||||||
|
|
||||||
# Subordinate library possibilities
|
# Subordinate library possibilities
|
||||||
|
|
||||||
@@ -178,154 +194,177 @@ DOCDIR = $(WXDIR)/docs
|
|||||||
|
|
||||||
############################## Files ##################################
|
############################## Files ##################################
|
||||||
|
|
||||||
GTK_GENERICOBJS = \
|
WX_HEADERS = \
|
||||||
#$ ExpandList("WXGTK_GENERICOBJS");
|
#$ 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 \
|
parser.o \
|
||||||
#$ ExpandList("WXGTK_COMMONOBJS");
|
#$ ExpandList("WXGTK_COMMONOBJS");
|
||||||
|
|
||||||
GTK_GUIOBJS = \
|
GTK_GUIOBJS = \
|
||||||
#$ ExpandList("WXGTK_GUIOBJS");
|
#$ ExpandList("WXGTK_GUIOBJS");
|
||||||
|
|
||||||
MOTIF_GENERICOBJS = \
|
MOTIF_GENERICOBJS = \
|
||||||
#$ ExpandList("WXMOTIF_GENERICOBJS");
|
#$ ExpandList("WXMOTIF_GENERICOBJS");
|
||||||
|
|
||||||
MOTIF_COMMONOBJS = \
|
MOTIF_COMMONOBJS = \
|
||||||
parser.o \
|
parser.o \
|
||||||
#$ ExpandList("WXMOTIF_COMMONOBJS");
|
#$ ExpandList("WXMOTIF_COMMONOBJS");
|
||||||
|
|
||||||
MOTIF_GUIOBJS = \
|
MOTIF_GUIOBJS = \
|
||||||
../motif/xmcombo/xmcombo.o \
|
src/motif/xmcombo/xmcombo.o \
|
||||||
#$ ExpandList("WXMOTIF_GUIOBJS");
|
#$ ExpandList("WXMOTIF_GUIOBJS");
|
||||||
|
|
||||||
HTMLOBJS = \
|
HTMLOBJS = \
|
||||||
#$ ExpandList("WXHTMLOBJS");
|
#$ ExpandList("WXHTMLOBJS");
|
||||||
|
|
||||||
UNIXOBJS = \
|
UNIXOBJS = \
|
||||||
#$ ExpandList("WXUNIXOBJS");
|
#$ ExpandList("WXUNIXOBJS");
|
||||||
|
|
||||||
ZLIBOBJS = \
|
ZLIBOBJS = \
|
||||||
../zlib/adler32.o \
|
src/zlib/adler32.o \
|
||||||
../zlib/compress.o \
|
src/zlib/compress.o \
|
||||||
../zlib/crc32.o \
|
src/zlib/crc32.o \
|
||||||
../zlib/gzio.o \
|
src/zlib/gzio.o \
|
||||||
../zlib/uncompr.o \
|
src/zlib/uncompr.o \
|
||||||
../zlib/deflate.o \
|
src/zlib/deflate.o \
|
||||||
../zlib/trees.o \
|
src/zlib/trees.o \
|
||||||
../zlib/zutil.o \
|
src/zlib/zutil.o \
|
||||||
../zlib/inflate.o \
|
src/zlib/inflate.o \
|
||||||
../zlib/infblock.o \
|
src/zlib/infblock.o \
|
||||||
../zlib/inftrees.o \
|
src/zlib/inftrees.o \
|
||||||
../zlib/infcodes.o \
|
src/zlib/infcodes.o \
|
||||||
../zlib/infutil.o \
|
src/zlib/infutil.o \
|
||||||
../zlib/inffast.o
|
src/zlib/inffast.o
|
||||||
|
|
||||||
PNGOBJS = \
|
PNGOBJS = \
|
||||||
../png/png.o \
|
src/png/png.o \
|
||||||
../png/pngread.o \
|
src/png/pngread.o \
|
||||||
../png/pngrtran.o \
|
src/png/pngrtran.o \
|
||||||
../png/pngrutil.o \
|
src/png/pngrutil.o \
|
||||||
../png/pngpread.o \
|
src/png/pngpread.o \
|
||||||
../png/pngtrans.o \
|
src/png/pngtrans.o \
|
||||||
../png/pngwrite.o \
|
src/png/pngwrite.o \
|
||||||
../png/pngwtran.o \
|
src/png/pngwtran.o \
|
||||||
../png/pngwutil.o \
|
src/png/pngwutil.o \
|
||||||
../png/pngerror.o \
|
src/png/pngerror.o \
|
||||||
../png/pngmem.o \
|
src/png/pngmem.o \
|
||||||
../png/pngwio.o \
|
src/png/pngwio.o \
|
||||||
../png/pngrio.o \
|
src/png/pngrio.o \
|
||||||
../png/pngget.o \
|
src/png/pngget.o \
|
||||||
../png/pngset.o
|
src/png/pngset.o
|
||||||
|
|
||||||
|
|
||||||
JPEGOBJS = \
|
JPEGOBJS = \
|
||||||
../jpeg/jcomapi.o \
|
src/jpeg/jcomapi.o \
|
||||||
../jpeg/jutils.o \
|
src/jpeg/jutils.o \
|
||||||
../jpeg/jerror.o \
|
src/jpeg/jerror.o \
|
||||||
../jpeg/jmemmgr.o \
|
src/jpeg/jmemmgr.o \
|
||||||
../jpeg/jmemnobs.o \
|
src/jpeg/jmemnobs.o \
|
||||||
../jpeg/jcapimin.o \
|
src/jpeg/jcapimin.o \
|
||||||
../jpeg/jcapistd.o \
|
src/jpeg/jcapistd.o \
|
||||||
../jpeg/jctrans.o \
|
src/jpeg/jctrans.o \
|
||||||
../jpeg/jcparam.o \
|
src/jpeg/jcparam.o \
|
||||||
../jpeg/jdatadst.o \
|
src/jpeg/jdatadst.o \
|
||||||
../jpeg/jcinit.o \
|
src/jpeg/jcinit.o \
|
||||||
../jpeg/jcmaster.o \
|
src/jpeg/jcmaster.o \
|
||||||
../jpeg/jcmarker.o \
|
src/jpeg/jcmarker.o \
|
||||||
../jpeg/jcmainct.o \
|
src/jpeg/jcmainct.o \
|
||||||
../jpeg/jcprepct.o \
|
src/jpeg/jcprepct.o \
|
||||||
../jpeg/jccoefct.o \
|
src/jpeg/jccoefct.o \
|
||||||
../jpeg/jccolor.o \
|
src/jpeg/jccolor.o \
|
||||||
../jpeg/jcsample.o \
|
src/jpeg/jcsample.o \
|
||||||
../jpeg/jchuff.o \
|
src/jpeg/jchuff.o \
|
||||||
../jpeg/jcphuff.o \
|
src/jpeg/jcphuff.o \
|
||||||
../jpeg/jcdctmgr.o \
|
src/jpeg/jcdctmgr.o \
|
||||||
../jpeg/jfdctfst.o \
|
src/jpeg/jfdctfst.o \
|
||||||
../jpeg/jfdctflt.o \
|
src/jpeg/jfdctflt.o \
|
||||||
../jpeg/jfdctint.o \
|
src/jpeg/jfdctint.o \
|
||||||
../jpeg/jdapimin.o \
|
src/jpeg/jdapimin.o \
|
||||||
../jpeg/jdapistd.o \
|
src/jpeg/jdapistd.o \
|
||||||
../jpeg/jdtrans.o \
|
src/jpeg/jdtrans.o \
|
||||||
../jpeg/jdatasrc.o \
|
src/jpeg/jdatasrc.o \
|
||||||
../jpeg/jdmaster.o \
|
src/jpeg/jdmaster.o \
|
||||||
../jpeg/jdinput.o \
|
src/jpeg/jdinput.o \
|
||||||
../jpeg/jdmarker.o \
|
src/jpeg/jdmarker.o \
|
||||||
../jpeg/jdhuff.o \
|
src/jpeg/jdhuff.o \
|
||||||
../jpeg/jdphuff.o \
|
src/jpeg/jdphuff.o \
|
||||||
../jpeg/jdmainct.o \
|
src/jpeg/jdmainct.o \
|
||||||
../jpeg/jdcoefct.o \
|
src/jpeg/jdcoefct.o \
|
||||||
../jpeg/jdpostct.o \
|
src/jpeg/jdpostct.o \
|
||||||
../jpeg/jddctmgr.o \
|
src/jpeg/jddctmgr.o \
|
||||||
../jpeg/jidctfst.o \
|
src/jpeg/jidctfst.o \
|
||||||
../jpeg/jidctflt.o \
|
src/jpeg/jidctflt.o \
|
||||||
../jpeg/jidctint.o \
|
src/jpeg/jidctint.o \
|
||||||
../jpeg/jidctred.o \
|
src/jpeg/jidctred.o \
|
||||||
../jpeg/jdsample.o \
|
src/jpeg/jdsample.o \
|
||||||
../jpeg/jdcolor.o \
|
src/jpeg/jdcolor.o \
|
||||||
../jpeg/jquant1.o \
|
src/jpeg/jquant1.o \
|
||||||
../jpeg/jquant2.o \
|
src/jpeg/jquant2.o \
|
||||||
../jpeg/jdmerge.o
|
src/jpeg/jdmerge.o
|
||||||
|
|
||||||
|
|
||||||
OBJECTS = $(@GUIOBJS@) $(@COMMONOBJS@) $(@GENERICOBJS@) $(HTMLOBJS) $(UNIXOBJS) \
|
OBJECTS = $(@GUIOBJS@) $(@COMMONOBJS@) $(@GENERICOBJS@) $(HTMLOBJS) $(UNIXOBJS) \
|
||||||
$(JPEGOBJS) $(PNGOBJS) $(ZLIBOBJS)
|
$(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 \
|
REQUIRED_DIRS = ./lib ./src ./src/common ./src/gtk ./src/motif \
|
||||||
../../src/generic ../../src/unix ../../src/motif/xmombo ../../src/html \
|
./src/generic ./src/unix ./src/motif/xmombo ./src/html \
|
||||||
../../src/zlib ../../src/jpeg ../../src/png
|
./src/zlib ./src/jpeg ./src/png
|
||||||
|
|
||||||
all: $(REQUIRED_DIRS) $(OBJECTS) @WX_TARGET_LIBRARY@ @WX_CREATE_LINKS@
|
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
|
$(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 ./lib; then mkdir ./lib; fi
|
||||||
@if test ! -d ../../src; then mkdir ../../src; fi
|
@if test ! -d ./src; then mkdir ./src; fi
|
||||||
@if test ! -d ../../src/common; then mkdir ../../src/common; 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/gtk; then mkdir ./src/gtk; fi
|
||||||
@if test ! -d ../../src/motif; then mkdir ../../src/motif; 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/motif/xmcombo; then mkdir ./src/motif/xmcombo; fi
|
||||||
@if test ! -d ../../src/generic; then mkdir ../../src/generic; 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/unix; then mkdir ./src/unix; fi
|
||||||
@if test ! -d ../../src/html; then mkdir ../../src/html; 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/png; then mkdir ./src/png; fi
|
||||||
@if test ! -d ../../src/jpeg; then mkdir ../../src/jpeg; fi
|
@if test ! -d ./src/jpeg; then mkdir ./src/jpeg; fi
|
||||||
@if test ! -d ../../src/zlib; then mkdir ../../src/zlib; fi
|
@if test ! -d ./src/zlib; then mkdir ./src/zlib; fi
|
||||||
|
|
||||||
@WX_LIBRARY_NAME_STATIC@: $(OBJECTS)
|
@WX_LIBRARY_NAME_STATIC@: $(OBJECTS)
|
||||||
$(AR) $(AROPTIONS) ../../lib/$@ $(OBJECTS)
|
$(AR) $(AROPTIONS) ./lib/$@ $(OBJECTS)
|
||||||
$(RANLIB) ../../lib/$@
|
$(RANLIB) ./lib/$@
|
||||||
|
|
||||||
@WX_LIBRARY_NAME_SHARED@: $(OBJECTS)
|
@WX_LIBRARY_NAME_SHARED@: $(OBJECTS)
|
||||||
$(SHARED_LD) ../../lib/$@ $(OBJECTS) $(EXTRALIBS)
|
$(SHARED_LD) ./lib/$@ $(OBJECTS) $(EXTRALIBS)
|
||||||
|
|
||||||
CREATE_LINKS: $(OBJECTS)
|
CREATE_LINKS: $(OBJECTS)
|
||||||
@if test -e ../../lib/@WX_LIBRARY_LINK1@; then rm -f ../../lib/@WX_LIBRARY_LINK1@; fi
|
@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_LINK2@; then rm -f ./lib/@WX_LIBRARY_LINK2@; fi
|
||||||
@if test -e ../../lib/@WX_LIBRARY_LINK3@; then rm -f ../../lib/@WX_LIBRARY_LINK3@; 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_LINK1@
|
||||||
$(LN_S) @WX_TARGET_LIBRARY@ ../../lib/@WX_LIBRARY_LINK2@
|
$(LN_S) @WX_TARGET_LIBRARY@ ./lib/@WX_LIBRARY_LINK2@
|
||||||
$(LN_S) @WX_TARGET_LIBRARY@ ../../lib/@WX_LIBRARY_LINK3@
|
$(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
|
$(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
|
@$(RM) lex.yy.c
|
||||||
|
|
||||||
samples: $(OBJECTS)
|
samples: $(OBJECTS)
|
||||||
@if test ! -e ../../samples/dialog/dialog.cpp; \
|
@if test ! -e ./samples/dialog/dialog.cpp; \
|
||||||
then cp -f -r $(WXDIR)/samples ../..; \
|
then cp -f -r $(WXDIR)/samples .; \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
install: @WX_TARGET_LIBRARY@
|
install: $(top_builddir)/lib/@WX_TARGET_LIBRARY@ $(top_builddir)/wx-config $(top_builddir)/setup.h
|
||||||
#$ ExpandList("WXINSTALLWX");
|
|
||||||
|
$(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:
|
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 *.o
|
||||||
rm -f *.lo
|
|
||||||
rm -f parser.c
|
rm -f parser.c
|
||||||
rm -f lexer.c
|
rm -f lexer.c
|
||||||
rm -f *.a
|
rm -f ./lib/*
|
||||||
rm -f *.la
|
|
||||||
|
|
||||||
cleanall: clean
|
cleanall: clean
|
||||||
|
188
missing
188
missing
@@ -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
|
|
@@ -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
|
|
@@ -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
|
|
142
src/make.env
142
src/make.env
@@ -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
|
|
||||||
|
|
||||||
|
|
@@ -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
|
|
@@ -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
|
|
@@ -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
|
|
||||||
|
|
@@ -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
|
|
Reference in New Issue
Block a user