Compare commits
1 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
246619117f |
52
.cvsignore
52
.cvsignore
@@ -1,12 +1,62 @@
|
||||
system.list
|
||||
bin
|
||||
.gdb_history
|
||||
Test
|
||||
config.cache
|
||||
configarg.cache
|
||||
config.status
|
||||
system.list
|
||||
linux.system.cache
|
||||
wx-config
|
||||
config.log
|
||||
linux-gnu.system.cache
|
||||
*.dsp
|
||||
*.dsw
|
||||
*.plg
|
||||
*.opt
|
||||
*.aps
|
||||
*.ncb
|
||||
*.pro
|
||||
*.opt
|
||||
*.d
|
||||
*.swp
|
||||
*.swo
|
||||
Release
|
||||
Debug
|
||||
ReleaseDLL
|
||||
DebugDLL
|
||||
UnivRelease
|
||||
UnivDebug
|
||||
BaseRelease
|
||||
BaseDebug
|
||||
BaseReleaseDLL
|
||||
BaseDebugDLL
|
||||
robert
|
||||
stamp-h.in
|
||||
Makefile
|
||||
configure
|
||||
setup.h
|
||||
stamp-h
|
||||
libtool
|
||||
aclocal.m4
|
||||
base
|
||||
gtk
|
||||
gtk2
|
||||
motif
|
||||
win32
|
||||
x11
|
||||
univ
|
||||
univ-debug
|
||||
univ-release
|
||||
base-debug
|
||||
gtk-debug
|
||||
motif-debug
|
||||
win32-debug
|
||||
base-release
|
||||
gtk-release
|
||||
motif-release
|
||||
win32-release
|
||||
*tags
|
||||
log
|
||||
univtags.cmd
|
||||
.DS_Store
|
||||
autom4te.cache
|
||||
|
86
BuildCVS.txt
86
BuildCVS.txt
@@ -12,8 +12,9 @@ a) If using Microsoft Visual C++ 5.0 or 6.0
|
||||
|
||||
Ensure that the command-line compiler and tools (including
|
||||
nmake) are installed and ready to run. Depending on your
|
||||
installation there may be a batch file (commonly named VCVARS32.BAT)
|
||||
that needs to be run to set correct environment variables and PATH entries.
|
||||
installation there may be a batch file (named something like
|
||||
VCVARS32.BAT) that needs to be run to set correct environment
|
||||
varaibles and PATH entries.
|
||||
|
||||
Continue with item c) below.
|
||||
|
||||
@@ -22,62 +23,53 @@ b) If using the MinGW or Cygwin compilers
|
||||
|
||||
You can get MinGW from http://www.mingw.org/
|
||||
|
||||
Cygwin is available at http://www.cygwin.com/
|
||||
Cygwin is available at http://sources.redhat.com/cygwin/
|
||||
|
||||
If you are using Cygwin or MinGW together with the MSYS environment, you
|
||||
can build the library using configure (see "Unix ports" and
|
||||
"Windows using configure" below). You can also
|
||||
build wxWidgets without configure using native makefile, but only with
|
||||
MinGW. Using Cygwin together with Windows makefile is no longer supported.
|
||||
|
||||
If building with MinGW without configure:
|
||||
The makefile might have small problems with Cygwin's tools
|
||||
so it is recommended to use MinGW and its toolchain instead
|
||||
if possible.
|
||||
|
||||
-> Set your path so that it includes the directory
|
||||
where your compiler and tools reside
|
||||
|
||||
-> Make sure you have GNU Make installed. It must be Windows native version.
|
||||
Download it from http://www.mingw.org, the executable will be called
|
||||
mingw32-make.exe.
|
||||
|
||||
-> Modern version of MinGW is required; preferably MinGW 2.0 (with gcc3),
|
||||
but MinGW with gcc-2.95.3 will suffice. If you are using 2.95, you will
|
||||
have to change variable GCC_VERSION in config.gcc (see msw/install.txt
|
||||
for details).
|
||||
|
||||
If using configure, Unix instructions apply.
|
||||
-> If your are using an old MinGW version (gcc-2.95 or older),
|
||||
you might need to fix some headers with the patches contained
|
||||
in the wxWin\Mingw32-gcc295.patches file. PLEASE APPLY THESE
|
||||
PATCHES BY HAND! There are apparently a few different versions
|
||||
of the headers floating around. Note that these patches are
|
||||
not needed if you are using MinGW gcc-2.95.2 or newer.
|
||||
|
||||
-> Edit wx/src/makeg95.env and set the MINGW32 variable at the top of
|
||||
the file to either 1 (you have MinGW) or 0 (you have Cygwin).
|
||||
Also set the MINGW32VERSION variable appropiately.
|
||||
|
||||
|
||||
c) Build instructions
|
||||
|
||||
Assumming that you installed the wxWidgets sources
|
||||
into c:\wxWidgets:
|
||||
|
||||
-> Copy c:\wxWidgets\include\wx\msw\setup0.h
|
||||
to c:\wxWidgets\include\wx\msw\setup.h
|
||||
-> Edit c:\wxWidgets\include\wx\msw\setup.h to choose
|
||||
the features you would like to compile wxWidgets with[out].
|
||||
-> Assumming that you installed the wxWindows sources
|
||||
into c:\wxWin
|
||||
-> Copy c:\wxWin\include\wx\msw\setup0.h
|
||||
to c:\wxWin\include\wx\msw\setup.h
|
||||
-> Edit c:\wxWin\include\wx\msw\setup.h to choose
|
||||
the features you would like to compile wxWindows with[out].
|
||||
|
||||
and std iostreams are disabled with
|
||||
#define wxUSE_STD_IOSTREAM 0
|
||||
|
||||
-> type: cd c:\wxWidgets\build\msw
|
||||
-> type: make -f makefile.gcc (if using GNU tools)
|
||||
-> type: cd c:\wxWin\src\msw
|
||||
-> type: make -f makefile.g95 (if using GNU tools)
|
||||
or type: nmake -f makefile.vc (if using MS VC++)
|
||||
etc.
|
||||
|
||||
See also docs/msw/install.txt for additional compilation options.
|
||||
|
||||
d) Borland (including free command line tools)
|
||||
Download tools from http://www.borland.com/downloads/
|
||||
|
||||
See docs/msw/install.txt for details; in brief:
|
||||
|
||||
-> type cd c:\wxWidgets\build\msw
|
||||
-> type make -f makefile.bcc
|
||||
|
||||
You can customize many things in the build process, detailed description is
|
||||
in docs/msw/install.txt.
|
||||
See docs/msw/install.txt for details; in brief
|
||||
|
||||
-> type set WXWIN=c:\wxwindows
|
||||
-> type cd %WXWIN%\src\msw
|
||||
-> type make -f makefile.b32
|
||||
|
||||
II) Unix ports
|
||||
--------------
|
||||
@@ -88,16 +80,15 @@ that works without libtool and automake, using only
|
||||
configure to create what is needed.
|
||||
|
||||
In order to create configure, you need to have the
|
||||
GNU autoconf package (version > 2.54) installed
|
||||
GNU autoconf package (version 2.13 or 2.14) installed
|
||||
on your system and type run "autoconf" in the base
|
||||
directory (or run the autogen.sh script in the same
|
||||
directory, which just calls autoconf). Note that you usually don't
|
||||
need to do this because configure is included in CVS.
|
||||
directory, which just calls autoconf).
|
||||
|
||||
Set WXWIN environment variable to the base directory such
|
||||
as ~/wxWidgets (this is actually not really needed).
|
||||
as ~/wxWindows (this is actually not really needed).
|
||||
|
||||
-> type: export WXWIN=~/wxWidgets
|
||||
-> type: export WXWIN=~/wxWindows
|
||||
-> type: md mybuild
|
||||
-> type: cd mybuild
|
||||
-> type: ../configure --with-motif
|
||||
@@ -116,7 +107,7 @@ yet complete).
|
||||
III) Windows using configure
|
||||
----------------------------------------
|
||||
|
||||
wxWidgets can be built on Windows using MSYS (see
|
||||
wxWindows can be built on Windows using MSYS (see
|
||||
http://www.mingw.org/), which is a POSIX build environment
|
||||
for Windows. With MSYS you can just ./configure && make (see also VII,
|
||||
Unix->Windows cross-compiling using configure).
|
||||
@@ -128,7 +119,7 @@ IV) Classic MacOS using CodeWarrior (eg MacOS 8.x/9.x)
|
||||
----------------------------------------
|
||||
|
||||
Refer to the readme.txt and install.txt files in docs/mac to build
|
||||
wxWidgets under Classic Mac OS using CodeWarrior.
|
||||
wxWindows under Classic Mac OS using CodeWarrior.
|
||||
|
||||
If you are checking out the CVS sources using cvs under Mac OS X and
|
||||
compiling under Classic Mac OS:
|
||||
@@ -149,7 +140,7 @@ you will need to register at the Apple Developer web site (this is a free
|
||||
registration) in order to download the Developer Tools installer.
|
||||
|
||||
In order to create configure, you need to have the
|
||||
GNU autoconf package (version >= 2.54) installed
|
||||
GNU autoconf package (version 2.13 or 2.14) installed
|
||||
on your system and type run "autoconf" in the base
|
||||
directory (or run the autogen.sh script in the same
|
||||
directory, which just calls autoconf).
|
||||
@@ -162,7 +153,6 @@ or type: ../configure
|
||||
|
||||
VI) OS/2
|
||||
----------------------------------------
|
||||
No notes.
|
||||
|
||||
VII) Unix->Windows cross-compiling using configure
|
||||
--------------------------------------------------
|
||||
@@ -182,9 +172,9 @@ preferable if you write portable C(++). ]
|
||||
|
||||
You might want to build both Unix and Windows binaries in the same source
|
||||
tree; to do this make subdirs for each e.g. unix and win32. If you've
|
||||
already build wxWidgets in the main dir, do a 'make distclean' there,
|
||||
already build wxWindows in the main dir, do a 'make distclean' there,
|
||||
otherwise configure will get confused. (In any case, read the section 'Unix
|
||||
using configure' and make sure you're able to build a native wxWidgets
|
||||
using configure' and make sure you're able to build a native wxWindows
|
||||
library; cross-compiling errors can be pretty obscure and you'll want to be
|
||||
sure that your configure setup is basically sound.)
|
||||
|
||||
|
31051
Makefile.in
31051
Makefile.in
File diff suppressed because it is too large
Load Diff
169
Mingw32-gcc295.patches
Normal file
169
Mingw32-gcc295.patches
Normal file
@@ -0,0 +1,169 @@
|
||||
*** \gcc-inc\basetyps.h Sat Jul 31 16:48:36 1999
|
||||
--- basetyps.h Fri Aug 06 11:14:36 1999
|
||||
***************
|
||||
*** 74,91 ****
|
||||
--- 74,97 ----
|
||||
STDMETHOD(Clone)(IENUM_THIS_(I) I**) PURE; \
|
||||
}
|
||||
#define DECLARE_ENUMERATOR(T) DECLARE_ENUMERATOR_(IEnum##T,T)
|
||||
|
||||
+ #ifndef GUID_DEFINED
|
||||
+ #define GUID_DEFINED
|
||||
typedef struct _GUID
|
||||
{
|
||||
unsigned long Data1;
|
||||
unsigned short Data2;
|
||||
unsigned short Data3;
|
||||
unsigned char Data4[8];
|
||||
} GUID;
|
||||
+ #endif /* GUID_DEFINED */
|
||||
typedef GUID *REFGUID;
|
||||
typedef GUID *LPGUID;
|
||||
+ #ifndef UUID_DEFINED
|
||||
+ #define UUID_DEFINED
|
||||
typedef GUID UUID;
|
||||
+ #endif /* UUID_DEFINED */
|
||||
typedef GUID IID;
|
||||
typedef GUID CLSID;
|
||||
typedef CLSID *LPCLSID;
|
||||
typedef IID *LPIID;
|
||||
|
||||
|
||||
*** \gcc-inc\oaidl.h Sat Jul 31 16:48:42 1999
|
||||
--- oaidl.h Fri Aug 06 13:18:48 1999
|
||||
***************
|
||||
*** 39,44 ****
|
||||
--- 39,53 ----
|
||||
#define IMPLTYPEFLAG_FRESTRICTED 4
|
||||
#define IMPLTYPEFLAG_FDEFAULTVTABLE 8
|
||||
|
||||
+ #define DISPID_UNKNOWN ( -1 )
|
||||
+ #define DISPID_VALUE ( 0 )
|
||||
+ #define DISPID_PROPERTYPUT ( -3 )
|
||||
+ #define DISPID_NEWENUM ( -4 )
|
||||
+ #define DISPID_EVALUATE ( -5 )
|
||||
+ #define DISPID_CONSTRUCTOR ( -6 )
|
||||
+ #define DISPID_DESTRUCTOR ( -7 )
|
||||
+ #define DISPID_COLLECT ( -8 )
|
||||
+
|
||||
typedef interface ITypeLib *LPTYPELIB;
|
||||
typedef interface ICreateTypeInfo *LPCREATETYPEINFO;
|
||||
typedef interface ICreateTypeInfo2 *LPCREATETYPEINFO2;
|
||||
***************
|
||||
*** 49,54 ****
|
||||
--- 58,73 ----
|
||||
typedef interface IDispatch *LPDISPATCH;
|
||||
typedef interface ICreateErrorInfo *LPCREATEERRORINFO;
|
||||
|
||||
+ extern "C" const IID IID_ITypeLib;
|
||||
+ extern "C" const IID IID_ICreateTypeInfo;
|
||||
+ extern "C" const IID IID_ICreateTypeInfo2;
|
||||
+ extern "C" const IID IID_ICreateTypeLib;
|
||||
+ extern "C" const IID IID_ICreateTypeLib2;
|
||||
+ extern "C" const IID IID_ITypeInfo;
|
||||
+ extern "C" const IID IID_IErrorInfo;
|
||||
+ extern "C" const IID IID_IDispatch;
|
||||
+ extern "C" const IID IID_ICreateErrorInfo;
|
||||
+
|
||||
typedef enum tagSYSKIND {
|
||||
SYS_WIN16,SYS_WIN32,SYS_MAC
|
||||
} SYSKIND;
|
||||
***************
|
||||
*** 375,382 ****
|
||||
STDMETHOD_(ULONG,Release)(THIS) PURE;
|
||||
STDMETHOD(GetTypeInfoCount)(THIS_ UINT*) PURE;
|
||||
STDMETHOD(GetTypeInfo)(THIS_ UINT,LCID,LPTYPEINFO*) PURE;
|
||||
! STDMETHOD(GetIDsOfNames)(THIS_ REFIID,LPOLESTR*,UINT,LCID,DISPID)
|
||||
PURE;
|
||||
! STDMETHOD(Invoked)(THIS_ DISPID,REFIID,LCID,WORD,DISPPARAMS*,VARIANT*,EXCEPINFO*,UINT*) PURE;
|
||||
};
|
||||
|
||||
#ifdef __cplusplus
|
||||
--- 394,401 ----
|
||||
STDMETHOD_(ULONG,Release)(THIS) PURE;
|
||||
STDMETHOD(GetTypeInfoCount)(THIS_ UINT*) PURE;
|
||||
STDMETHOD(GetTypeInfo)(THIS_ UINT,LCID,LPTYPEINFO*) PURE;
|
||||
! STDMETHOD(GetIDsOfNames)(THIS_ REFIID,LPOLESTR*,UINT,LCID,DISPID*)
|
||||
PURE;
|
||||
! STDMETHOD(Invoke)(THIS_ DISPID,REFIID,LCID,WORD,DISPPARAMS*,VARIANT*,EXCEPINFO*,UINT*) PURE;
|
||||
};
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
|
||||
*** \gcc-inc\objidl.h Sat Jul 31 16:48:42 1999
|
||||
--- objidl.h Fri Aug 06 11:00:19 1999
|
||||
***************
|
||||
*** 627,633 ****
|
||||
STDMETHOD(QueryGetData)(THIS_ FORMATETC*) PURE;
|
||||
STDMETHOD(GetCanonicalFormatEtc)(THIS_ FORMATETC*,FORMATETC*) PURE;
|
||||
STDMETHOD(SetData)(THIS_ FORMATETC*,STGMEDIUM*,BOOL) PURE;
|
||||
! STDMETHOD(EnumFormatEtc)(THIS_ DWORD,IEnumFORMATETC*) PURE;
|
||||
STDMETHOD(DAdvise)(THIS_ FORMATETC*,DWORD,IAdviseSink*,PDWORD) PURE;
|
||||
STDMETHOD(DUnadvise)(THIS_ DWORD) PURE;
|
||||
STDMETHOD(EnumDAdvise)(THIS_ IEnumSTATDATA**);
|
||||
--- 627,633 ----
|
||||
STDMETHOD(QueryGetData)(THIS_ FORMATETC*) PURE;
|
||||
STDMETHOD(GetCanonicalFormatEtc)(THIS_ FORMATETC*,FORMATETC*) PURE;
|
||||
STDMETHOD(SetData)(THIS_ FORMATETC*,STGMEDIUM*,BOOL) PURE;
|
||||
! STDMETHOD(EnumFormatEtc)(THIS_ DWORD,IEnumFORMATETC**) PURE;
|
||||
STDMETHOD(DAdvise)(THIS_ FORMATETC*,DWORD,IAdviseSink*,PDWORD) PURE;
|
||||
STDMETHOD(DUnadvise)(THIS_ DWORD) PURE;
|
||||
STDMETHOD(EnumDAdvise)(THIS_ IEnumSTATDATA**);
|
||||
|
||||
|
||||
--- i386-mingw32\include\stdio.h Sun Aug 1 06:18:20 1999
|
||||
+++ stdio.h Sun Nov 7 03:41:40 1999
|
||||
@@ -203,9 +203,12 @@
|
||||
int fprintf (FILE* filePrintTo, const char* szFormat, ...);
|
||||
int printf (const char* szFormat, ...);
|
||||
int sprintf (char* caBuffer, const char* szFormat, ...);
|
||||
+int _snprintf (char* caBuffer, size_t n, const char* szFormat, ...);
|
||||
int vfprintf (FILE* filePrintTo, const char* szFormat, va_list varg);
|
||||
int vprintf (const char* szFormat, va_list varg);
|
||||
int vsprintf (char* caBuffer, const char* szFormat, va_list varg);
|
||||
+int _vsnprintf (char* caBuffer, size_t n, const char* szFormat,
|
||||
+ va_list varg);
|
||||
|
||||
/* Wide character versions */
|
||||
int fwprintf (FILE* filePrintTo, const wchar_t* wsFormat, ...);
|
||||
|
||||
|
||||
|
||||
--- i386-mingw32\include\winbase.h Sat Jul 31 17:48:48 1999
|
||||
+++ winbase.h Fri Feb 25 01:49:08 2000
|
||||
@@ -989,7 +989,7 @@
|
||||
BOOL WINAPI CopyFileExW(LPCWSTR,LPCWSTR,LPPROGRESS_ROUTINE,LPVOID,LPBOOL,DWORD);
|
||||
#define RtlMoveMemory memmove
|
||||
#define RtlCopyMemory memcpy
|
||||
-#define RtlFillMemory memset
|
||||
+#define RtlFillMemory(d,l,f) memset ((d),(f),(l))
|
||||
#define RtlZeroMemory(d,l) memset((d),0,(l))
|
||||
#define MoveMemory RtlMoveMemory
|
||||
#define CopyMemory RtlCopyMemory
|
||||
|
||||
--- i386-mingw32\include\winsock.h Sat Jul 31 17:48:50 1999
|
||||
+++ winsock.h Mon Mar 20 13:47:12 2000
|
||||
@@ -13,6 +13,10 @@
|
||||
#define _GNU_H_WINDOWS32_SOCKETS
|
||||
#include <windows.h>
|
||||
|
||||
+#ifdef __cplusplus
|
||||
+extern "C" {
|
||||
+#endif
|
||||
+
|
||||
#ifndef _SYS_TYPES_H
|
||||
typedef unsigned char u_char;
|
||||
typedef unsigned short u_short;
|
||||
@@ -495,4 +499,9 @@
|
||||
typedef struct timeval TIMEVAL;
|
||||
typedef struct timeval *PTIMEVAL;
|
||||
typedef struct timeval *LPTIMEVAL;
|
||||
+
|
||||
+#ifdef __cplusplus
|
||||
+}
|
||||
#endif
|
||||
+#endif
|
||||
+
|
||||
|
||||
|
361
acinclude.m4
361
acinclude.m4
@@ -8,20 +8,6 @@ dnl
|
||||
dnl Version: $Id$
|
||||
dnl ---------------------------------------------------------------------------
|
||||
|
||||
|
||||
dnl ===========================================================================
|
||||
dnl Objective-C(++) related macros
|
||||
dnl ===========================================================================
|
||||
m4_define([AC_WX_LANG_OBJECTIVEC],
|
||||
[AC_LANG(C)
|
||||
ac_ext=m
|
||||
])
|
||||
|
||||
m4_define([AC_WX_LANG_OBJECTIVECPLUSPLUS],
|
||||
[AC_LANG(C++)
|
||||
ac_ext=mm
|
||||
])
|
||||
|
||||
dnl ===========================================================================
|
||||
dnl macros to find the a file in the list of include/lib paths
|
||||
dnl ===========================================================================
|
||||
@@ -43,15 +29,15 @@ for ac_dir in $1 /usr/include;
|
||||
])
|
||||
|
||||
dnl ---------------------------------------------------------------------------
|
||||
dnl call WX_PATH_FIND_LIBRARIES(search path, lib name), sets ac_find_libraries
|
||||
dnl call WX_PATH_FIND_LIBRARIES(search path, header name), sets ac_find_libraries
|
||||
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;
|
||||
ac_find_libraries=
|
||||
for ac_dir in $1 /usr/lib;
|
||||
do
|
||||
for ac_extension in a so sl dylib dll.a; do
|
||||
for ac_extension in a so sl dylib; do
|
||||
if test -f "$ac_dir/lib$2.$ac_extension"; then
|
||||
ac_find_libraries=$ac_dir
|
||||
break 2
|
||||
@@ -60,19 +46,6 @@ AC_DEFUN([WX_PATH_FIND_LIBRARIES],
|
||||
done
|
||||
])
|
||||
|
||||
dnl ---------------------------------------------------------------------------
|
||||
dnl return list of standard library paths
|
||||
dnl ---------------------------------------------------------------------------
|
||||
dnl return all default locations:
|
||||
dnl - /usr/lib: standard
|
||||
dnl - /usr/lib32: n32 ABI on IRIX
|
||||
dnl - /usr/lib64: n64 ABI on IRIX
|
||||
dnl - /usr/lib/64: 64 bit ABI on Solaris and Linux x86-64
|
||||
dnl
|
||||
dnl NB: if any of directories in the list is not a subdir of /usr, code setting
|
||||
dnl wx_cv_std_libpath needs to be updated
|
||||
AC_DEFUN([WX_STD_LIBPATH], [/usr/lib /usr/lib32 /usr/lib/64 /usr/lib64])
|
||||
|
||||
dnl ---------------------------------------------------------------------------
|
||||
dnl Path to include, already defined
|
||||
dnl ---------------------------------------------------------------------------
|
||||
@@ -93,25 +66,16 @@ AC_DEFUN([WX_INCLUDE_PATH_EXIST],
|
||||
])
|
||||
|
||||
dnl ---------------------------------------------------------------------------
|
||||
dnl Usage: WX_LINK_PATH_EXIST(path, libpath)
|
||||
dnl
|
||||
dnl Set ac_path_to_link to nothing if path is already in libpath of to -Lpath
|
||||
dnl if it is not, so that libpath can be set to "$libpath$ac_path_to_link"
|
||||
dnl after calling this function
|
||||
dnl Path to link, already defined
|
||||
dnl ---------------------------------------------------------------------------
|
||||
AC_DEFUN([WX_LINK_PATH_EXIST],
|
||||
[
|
||||
dnl never add -L/usr/libXXX explicitely to libpath
|
||||
if test "$1" = "default location"; then
|
||||
echo "$2" | grep "\-L$1" > /dev/null
|
||||
result=$?
|
||||
if test $result = 0; then
|
||||
ac_path_to_link=""
|
||||
else
|
||||
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
|
||||
ac_path_to_link=" -L$1"
|
||||
fi
|
||||
])
|
||||
|
||||
@@ -124,11 +88,14 @@ 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)
|
||||
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
|
||||
|
||||
@@ -141,6 +108,7 @@ AC_DEFUN([WX_CPP_NEW_HEADERS],
|
||||
fi
|
||||
|
||||
AC_LANG_RESTORE
|
||||
fi
|
||||
])
|
||||
|
||||
dnl ---------------------------------------------------------------------------
|
||||
@@ -227,72 +195,6 @@ AC_DEFUN([WX_CPP_EXPLICIT],
|
||||
fi
|
||||
])
|
||||
|
||||
dnl ---------------------------------------------------------------------------
|
||||
dnl WX_CHECK_FUNCS(FUNCTIONS...,
|
||||
dnl [ACTION-IF-FOUND],
|
||||
dnl [ACTION-IF-NOT-FOUND],
|
||||
dnl [EXTRA-DEFINES-AND-INCLUDES],
|
||||
dnl [EXTRA-TEST-CODE])
|
||||
dnl
|
||||
dnl Checks that the functions listed in FUNCTIONS exist in the headers and the
|
||||
dnl libs. For each function, if it is found then defines 'HAVE_FUNCTION' and
|
||||
dnl executes ACTION-IF-FOUND, otherwise executes ACTION-IF-NOT-FOUND.
|
||||
dnl
|
||||
dnl The code from EXTRA-DEFINES-AND-INCLUDES is inserted into the test before
|
||||
dnl the default headers are included, and EXTRA-TEST-CODE is inserted into
|
||||
dnl the main() function after the default test for existence.
|
||||
dnl
|
||||
dnl Examples:
|
||||
dnl # the simple case
|
||||
dnl WX_CHECK_FUNCS(stat)
|
||||
dnl # use break to finish the loop early
|
||||
dnl WX_CHECK_FUNCS(mkstemp mktemp, break)
|
||||
dnl # extra defines
|
||||
dnl WX_CHECK_FUNCS(strtok_r, [], [], [#define _RREENTRANT])
|
||||
dnl # extra includes
|
||||
dnl WX_CHECK_FUNCS(swprintf, [], [], [#include <wchar.h>])
|
||||
dnl # checking the signature with extra test code
|
||||
dnl WX_CHECK_FUNCS(gettimeofday, [], [], [#include <sys/time.h>]
|
||||
dnl [struct timeval tv; struct timezone tz; gettimeofday(&tv, &tz)])
|
||||
dnl ---------------------------------------------------------------------------
|
||||
|
||||
AC_DEFUN([WX_CHECK_FUNCS],
|
||||
[
|
||||
for wx_func in $1
|
||||
do
|
||||
AC_CACHE_CHECK(
|
||||
[for $wx_func],
|
||||
[wx_cv_func_$wx_func],
|
||||
[
|
||||
AC_LINK_IFELSE(
|
||||
[
|
||||
AC_LANG_PROGRAM(
|
||||
[
|
||||
$4
|
||||
AC_INCLUDES_DEFAULT
|
||||
],
|
||||
[
|
||||
#ifndef $wx_func
|
||||
&$wx_func;
|
||||
#endif
|
||||
$5
|
||||
])
|
||||
],
|
||||
[eval wx_cv_func_$wx_func=yes],
|
||||
[eval wx_cv_func_$wx_func=no])
|
||||
])
|
||||
|
||||
if eval test \$wx_cv_func_$wx_func = yes
|
||||
then
|
||||
AC_DEFINE_UNQUOTED([HAVE_`echo $wx_func | tr 'a-z' 'A-Z'`])
|
||||
$2
|
||||
else
|
||||
:
|
||||
$3
|
||||
fi
|
||||
done
|
||||
])
|
||||
|
||||
dnl ---------------------------------------------------------------------------
|
||||
dnl a slightly better AC_C_BIGENDIAN macro which allows cross-compiling
|
||||
dnl ---------------------------------------------------------------------------
|
||||
@@ -401,11 +303,10 @@ AC_DEFUN([WX_ARG_SYS_WITH],
|
||||
])
|
||||
|
||||
dnl this macro checks for a command line argument and caches the result
|
||||
dnl usage: WX_ARG_WITH(option, helpmessage, variable-name, [withstring])
|
||||
dnl usage: WX_ARG_WITH(option, helpmessage, variable-name)
|
||||
AC_DEFUN([WX_ARG_WITH],
|
||||
[
|
||||
withstring=$4
|
||||
AC_MSG_CHECKING([for --${withstring:-with}-$1])
|
||||
AC_MSG_CHECKING([for --with-$1])
|
||||
no_cache=0
|
||||
AC_ARG_WITH($1, [$2],
|
||||
[
|
||||
@@ -446,7 +347,7 @@ dnl message when running configure instead of the default "checking for
|
||||
dnl --enable-foo" one whih is useful for the options enabled by default
|
||||
AC_DEFUN([WX_ARG_ENABLE],
|
||||
[
|
||||
enablestring=$4
|
||||
enablestring=$4
|
||||
AC_MSG_CHECKING([for --${enablestring:-enable}-$1])
|
||||
no_cache=0
|
||||
AC_ARG_ENABLE($1, [$2],
|
||||
@@ -481,47 +382,6 @@ AC_DEFUN([WX_ARG_ENABLE],
|
||||
])
|
||||
|
||||
|
||||
dnl Like WX_ARG_ENABLE but accepts a parameter.
|
||||
dnl
|
||||
dnl Usage:
|
||||
dnl WX_ARG_ENABLE_PARAM(option, helpmessage, variable-name, enablestring)
|
||||
dnl
|
||||
dnl Example:
|
||||
dnl WX_ARG_ENABLE_PARAM(foo, [[ --enable-foo[=bar] use foo]], wxUSE_FOO)
|
||||
dnl
|
||||
dnl --enable-foo wxUSE_FOO=yes
|
||||
dnl --disable-foo wxUSE_FOO=no
|
||||
dnl --enable-foo=bar wxUSE_FOO=bar
|
||||
dnl <not given> value from configarg.cache or wxUSE_FOO=no
|
||||
dnl
|
||||
AC_DEFUN([WX_ARG_ENABLE_PARAM],
|
||||
[
|
||||
enablestring=$4
|
||||
AC_MSG_CHECKING([for --${enablestring:-enable}-$1])
|
||||
no_cache=0
|
||||
AC_ARG_ENABLE($1, [$2],
|
||||
[
|
||||
wx_cv_use_$1="$3='$enableval'"
|
||||
],
|
||||
[
|
||||
LINE=`grep "$3" ${wx_arg_cache_file}`
|
||||
if test "x$LINE" != x ; then
|
||||
eval "DEFAULT_$LINE"
|
||||
wx_cv_use_$1='$3='$DEFAULT_$3
|
||||
else
|
||||
no_cache=1
|
||||
wx_cv_use_$1="$3=no"
|
||||
fi
|
||||
])
|
||||
|
||||
eval "$wx_cv_use_$1"
|
||||
if test "$no_cache" != 1; then
|
||||
echo $wx_cv_use_$1 >> ${wx_arg_cache_file}.tmp
|
||||
fi
|
||||
|
||||
AC_MSG_RESULT([$$3])
|
||||
])
|
||||
|
||||
dnl ===========================================================================
|
||||
dnl Linker features test
|
||||
dnl ===========================================================================
|
||||
@@ -535,80 +395,44 @@ dnl call WX_VERSIONED_SYMBOLS(versionfile)
|
||||
dnl ---------------------------------------------------------------------------
|
||||
AC_DEFUN([WX_VERSIONED_SYMBOLS],
|
||||
[
|
||||
case "${host}" in
|
||||
*-*-cygwin* | *-*-mingw* )
|
||||
dnl although ld does support version script option on these
|
||||
dnl platforms, it doesn't make much sense to use it under Win32
|
||||
dnl and, moreover, this breaks linking because of a bug in handling
|
||||
dnl paths in -Wl,--version-script,path option (if we ever do need
|
||||
dnl to use it for cygwin/mingw32, keep in mind that replacing last
|
||||
dnl comma with the equal sign works) so
|
||||
dnl simply disable it
|
||||
wx_cv_version_script=no
|
||||
;;
|
||||
found_versioning=no
|
||||
|
||||
*)
|
||||
AC_CACHE_CHECK([if the linker accepts --version-script], wx_cv_version_script,
|
||||
[
|
||||
echo "VER_1 { *; };" >conftest.sym
|
||||
echo "int main() { return 0; }" >conftest.cpp
|
||||
|
||||
if AC_TRY_COMMAND([
|
||||
$CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
|
||||
-Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr]) ; then
|
||||
if test -s conftest.stderr ; then
|
||||
wx_cv_version_script=no
|
||||
else
|
||||
wx_cv_version_script=yes
|
||||
fi
|
||||
else
|
||||
wx_cv_version_script=no
|
||||
fi
|
||||
|
||||
dnl There's a problem in some old linkers with --version-script that
|
||||
dnl can cause linking to fail when you have objects with vtables in
|
||||
dnl libs 3 deep. This is known to happen in netbsd and openbsd with
|
||||
dnl ld 2.11.2.
|
||||
dnl
|
||||
dnl To test for this we need to make some shared libs and
|
||||
dnl unfortunately we can't be sure of the right way to do that. If the
|
||||
dnl first two compiles don't succeed then it looks like the test isn't
|
||||
dnl working and the result is ignored, but if OTOH the first two
|
||||
dnl succeed but the third does not then the bug has been detected and
|
||||
dnl the --version-script flag is dropped.
|
||||
if test $wx_cv_version_script = yes
|
||||
then
|
||||
echo "struct B { virtual ~B() { } }; \
|
||||
struct D : public B { }; \
|
||||
void F() { D d; }" > conftest.cpp
|
||||
|
||||
if AC_TRY_COMMAND([
|
||||
$CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
|
||||
-Wl,--version-script,conftest.sym >/dev/null 2>/dev/null]) &&
|
||||
AC_TRY_COMMAND([
|
||||
$CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
|
||||
-Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null])
|
||||
then
|
||||
if AC_TRY_COMMAND([
|
||||
$CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
|
||||
-Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null])
|
||||
then
|
||||
wx_cv_version_script=yes
|
||||
else
|
||||
wx_cv_version_script=no
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
|
||||
rm -f conftest1.output conftest2.output conftest3.output
|
||||
])
|
||||
|
||||
if test $wx_cv_version_script = yes ; then
|
||||
LDFLAGS_VERSIONING="-Wl,--version-script,$1"
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
dnl FIXME - doesn't work, Solaris linker doesn't accept wildcards
|
||||
dnl in the script.
|
||||
dnl dnl Check for known non-gcc cases:
|
||||
dnl case "${host}" in
|
||||
dnl *-*-solaris2* )
|
||||
dnl if test "x$GCC" != "xyes" ; then
|
||||
dnl LDFLAGS_VERSIONING="-M $1"
|
||||
dnl found_versioning=yes
|
||||
dnl fi
|
||||
dnl ;;
|
||||
dnl esac
|
||||
|
||||
dnl Generic check for GCC or GCC-like behaviour (Intel C++, GCC):
|
||||
if test $found_versioning = no ; then
|
||||
AC_CACHE_CHECK([if the linker accepts --version-script], wx_cv_version_script,
|
||||
[
|
||||
echo "VER_1 { *; };" >conftest.sym
|
||||
echo "int main() { return 0; }" >conftest.cpp
|
||||
|
||||
if AC_TRY_COMMAND([
|
||||
$CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
|
||||
-Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr]) ; then
|
||||
if test -s conftest.stderr ; then
|
||||
wx_cv_version_script=no
|
||||
else
|
||||
wx_cv_version_script=yes
|
||||
fi
|
||||
else
|
||||
wx_cv_version_script=no
|
||||
fi
|
||||
rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
|
||||
])
|
||||
if test $wx_cv_version_script = yes ; then
|
||||
LDFLAGS_VERSIONING="-Wl,--version-script,$1"
|
||||
fi
|
||||
fi
|
||||
])
|
||||
|
||||
|
||||
@@ -756,80 +580,3 @@ if test "$enable_largefile" != no; then
|
||||
AC_MSG_RESULT($wx_largefile)
|
||||
fi
|
||||
])
|
||||
|
||||
|
||||
dnl Available from the GNU Autoconf Macro Archive at:
|
||||
dnl http://www.gnu.org/software/ac-archive/htmldoc/ac_cxx_const_cast.html
|
||||
dnl
|
||||
AC_DEFUN([AC_CXX_CONST_CAST],
|
||||
[AC_CACHE_CHECK(whether the compiler supports const_cast<>,
|
||||
ac_cv_cxx_const_cast,
|
||||
[AC_LANG_SAVE
|
||||
AC_LANG_CPLUSPLUS
|
||||
AC_TRY_COMPILE(,[int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;],
|
||||
ac_cv_cxx_const_cast=yes, ac_cv_cxx_const_cast=no)
|
||||
AC_LANG_RESTORE
|
||||
])
|
||||
if test "$ac_cv_cxx_const_cast" = yes; then
|
||||
AC_DEFINE(HAVE_CONST_CAST,,[define if the compiler supports const_cast<>])
|
||||
fi
|
||||
])
|
||||
|
||||
dnl http://www.gnu.org/software/ac-archive/htmldoc/ac_cxx_reinterpret_cast.html
|
||||
AC_DEFUN([AC_CXX_REINTERPRET_CAST],
|
||||
[AC_CACHE_CHECK(whether the compiler supports reinterpret_cast<>,
|
||||
ac_cv_cxx_reinterpret_cast,
|
||||
[AC_LANG_SAVE
|
||||
AC_LANG_CPLUSPLUS
|
||||
AC_TRY_COMPILE([#include <typeinfo>
|
||||
class Base { public : Base () {} virtual void f () = 0;};
|
||||
class Derived : public Base { public : Derived () {} virtual void f () {} };
|
||||
class Unrelated { public : Unrelated () {} };
|
||||
int g (Unrelated&) { return 0; }],[
|
||||
Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);],
|
||||
ac_cv_cxx_reinterpret_cast=yes, ac_cv_cxx_reinterpret_cast=no)
|
||||
AC_LANG_RESTORE
|
||||
])
|
||||
if test "$ac_cv_cxx_reinterpret_cast" = yes; then
|
||||
AC_DEFINE(HAVE_REINTERPRET_CAST,,
|
||||
[define if the compiler supports reinterpret_cast<>])
|
||||
fi
|
||||
])
|
||||
|
||||
dnl and http://www.gnu.org/software/ac-archive/htmldoc/ac_cxx_static_cast.html
|
||||
AC_DEFUN([AC_CXX_STATIC_CAST],
|
||||
[AC_CACHE_CHECK(whether the compiler supports static_cast<>,
|
||||
ac_cv_cxx_static_cast,
|
||||
[AC_LANG_SAVE
|
||||
AC_LANG_CPLUSPLUS
|
||||
AC_TRY_COMPILE([#include <typeinfo>
|
||||
class Base { public : Base () {} virtual void f () = 0; };
|
||||
class Derived : public Base { public : Derived () {} virtual void f () {} };
|
||||
int g (Derived&) { return 0; }],[
|
||||
Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);],
|
||||
ac_cv_cxx_static_cast=yes, ac_cv_cxx_static_cast=no)
|
||||
AC_LANG_RESTORE
|
||||
])
|
||||
if test "$ac_cv_cxx_static_cast" = yes; then
|
||||
AC_DEFINE(HAVE_STATIC_CAST,, [define if the compiler supports static_cast<>])
|
||||
fi
|
||||
])
|
||||
|
||||
dnl http://autoconf-archive.cryp.to/ac_cxx_dynamic_cast.html
|
||||
AC_DEFUN([AC_CXX_DYNAMIC_CAST],
|
||||
[AC_CACHE_CHECK(whether the compiler supports dynamic_cast<>,
|
||||
ac_cv_cxx_dynamic_cast,
|
||||
[AC_LANG_SAVE
|
||||
AC_LANG_CPLUSPLUS
|
||||
AC_TRY_COMPILE([#include <typeinfo>
|
||||
class Base { public : Base () {} virtual void f () = 0;};
|
||||
class Derived : public Base { public : Derived () {} virtual void f () {} };],[
|
||||
Derived d; Base& b=d; return dynamic_cast<Derived*>(&b) ? 0 : 1;],
|
||||
ac_cv_cxx_dynamic_cast=yes, ac_cv_cxx_dynamic_cast=no)
|
||||
AC_LANG_RESTORE
|
||||
])
|
||||
if test "$ac_cv_cxx_dynamic_cast" = yes; then
|
||||
AC_DEFINE(HAVE_DYNAMIC_CAST,,[define if the compiler supports dynamic_cast<>])
|
||||
fi
|
||||
])
|
||||
|
||||
|
1062
aclocal.m4
vendored
1062
aclocal.m4
vendored
File diff suppressed because it is too large
Load Diff
42
art/back.xpm
42
art/back.xpm
@@ -1,21 +1,21 @@
|
||||
/* XPM */
|
||||
static char * back_xpm[] = {
|
||||
"16 15 3 1",
|
||||
" c None",
|
||||
". c Black",
|
||||
"X c Gray100",
|
||||
" ",
|
||||
" ",
|
||||
" . ",
|
||||
" .. ",
|
||||
" .X. ",
|
||||
" .XX........ ",
|
||||
" .XXXXXXXXXX. ",
|
||||
" .XXXXXXXXXXX. ",
|
||||
" .XXXXXXXXXXX. ",
|
||||
" .XXXXXXXXXX. ",
|
||||
" .XX........ ",
|
||||
" .X. ",
|
||||
" .. ",
|
||||
" . ",
|
||||
" "};
|
||||
/* XPM */
|
||||
static char * back_xpm[] = {
|
||||
"16 15 3 1",
|
||||
" c None",
|
||||
". c Black",
|
||||
"X c Gray100",
|
||||
" ",
|
||||
" ",
|
||||
" . ",
|
||||
" .. ",
|
||||
" .X. ",
|
||||
" .XX........ ",
|
||||
" .XXXXXXXXXX. ",
|
||||
" .XXXXXXXXXXX. ",
|
||||
" .XXXXXXXXXXX. ",
|
||||
" .XXXXXXXXXX. ",
|
||||
" .XX........ ",
|
||||
" .X. ",
|
||||
" .. ",
|
||||
" . ",
|
||||
" "};
|
||||
|
@@ -1,57 +0,0 @@
|
||||
/* XPM */
|
||||
static char *cdrom_xpm[] = {
|
||||
/* columns rows colors chars-per-pixel */
|
||||
"16 15 36 1",
|
||||
"= c #9BACC2",
|
||||
"y c #547B99",
|
||||
"$ c #FFFFFF",
|
||||
"@ c #839CB5",
|
||||
"o c #547897",
|
||||
"4 c #4D7492",
|
||||
"% c #F1F4F7",
|
||||
"X c #5A809C",
|
||||
"< c #8497A5",
|
||||
"0 c #7898AD",
|
||||
"+ c #CAD2DC",
|
||||
"r c #ACAEB2",
|
||||
"2 c #BECAD9",
|
||||
"* c #65839D",
|
||||
"e c #DCE2EA",
|
||||
"- c #ADBED2",
|
||||
"t c #597B9A",
|
||||
" c None",
|
||||
"1 c #467291",
|
||||
"9 c #D6DFE7",
|
||||
"O c #7393AB",
|
||||
"u c #49708B",
|
||||
"5 c #A0BACB",
|
||||
"& c #AABFCD",
|
||||
"8 c #B9CBD5",
|
||||
"; c #B4C4D3",
|
||||
": c #6F90A6",
|
||||
"3 c #A8B6CA",
|
||||
"# c #ADBACE",
|
||||
"w c #E4E9ED",
|
||||
". c #8EA9BC",
|
||||
"> c #B3BFD1",
|
||||
", c #C2CBDB",
|
||||
"6 c #C0D1DC",
|
||||
"7 c #A2B3C5",
|
||||
"q c #5D7C93",
|
||||
/* pixels */
|
||||
" .XooOo+ ",
|
||||
" X@#$$$%o& ",
|
||||
" *=-;$$$$$o+ ",
|
||||
" +O#;-$$$$$$: ",
|
||||
" o=>,-<1<$2-o ",
|
||||
" o3>--1$122-* ",
|
||||
" o=--$<4<22-X ",
|
||||
" o5$$$$$26;7* ",
|
||||
" X%$$$$2;-X8 ",
|
||||
" 90*9$$$-7Xqo ",
|
||||
" wXwe@O44X4<r<o ",
|
||||
" X8628>22222<<*4",
|
||||
" ttyyyoo4441uuuo",
|
||||
" t>$$$$$$$$$$$>o",
|
||||
" XXXtyyyoo44411u"
|
||||
};
|
44
art/copy.xpm
44
art/copy.xpm
@@ -1,44 +0,0 @@
|
||||
/* XPM */
|
||||
static char *copy_xpm[] = {
|
||||
/* columns rows colors chars-per-pixel */
|
||||
"16 15 23 1",
|
||||
"o c #97C4E7",
|
||||
"* c #FFFFFF",
|
||||
"@ c #60A9DA",
|
||||
"= c #D1E5F5",
|
||||
"& c #C3DDF1",
|
||||
". c #7EA6C0",
|
||||
" c None",
|
||||
"X c #2F93CD",
|
||||
"O c #85BBE2",
|
||||
", c #EFF6FC",
|
||||
"; c #DEEDF8",
|
||||
"+ c #72B2DD",
|
||||
"3 c #F7FBFD",
|
||||
"4 c #FAFCFE",
|
||||
": c #DAEAF7",
|
||||
"< c #E9F3FA",
|
||||
"1 c #E2EFF8",
|
||||
"- c #FDFDFE",
|
||||
"% c #B6D5EE",
|
||||
"$ c #A5CCEA",
|
||||
"> c #E5F0F9",
|
||||
"# c #AFD1EC",
|
||||
"2 c #F4F9FD",
|
||||
/* pixels */
|
||||
" .....XX ",
|
||||
" .oO+@X#X ",
|
||||
" .$oO+X##X ",
|
||||
" .%$o........ ",
|
||||
" .&%$.*=&#o.-. ",
|
||||
" .=&%.*;=&#.--. ",
|
||||
" .:=&.*>;=&.... ",
|
||||
" .>:=.*,>;=&#o. ",
|
||||
" .<1:.*2,>:=&#. ",
|
||||
" .2<1.*32,>:=&. ",
|
||||
" .32<.*432,>:=. ",
|
||||
" .32<.*-432,>:. ",
|
||||
" .....**-432,>. ",
|
||||
" .***-432,. ",
|
||||
" .......... "
|
||||
};
|
@@ -1,9 +1,23 @@
|
||||
/* XPM */
|
||||
static char *cross_xpm[] = {
|
||||
/* columns rows colors chars-per-pixel */
|
||||
"10 10 2 1",
|
||||
"10 10 16 1",
|
||||
" c Gray0",
|
||||
". c #bf0000",
|
||||
"X c #00bf00",
|
||||
"o c #bfbf00",
|
||||
"O c #0000bf",
|
||||
"+ c #bf00bf",
|
||||
"@ c #00bfbf",
|
||||
"# c None",
|
||||
"$ c #808080",
|
||||
"% c Red",
|
||||
"& c Green",
|
||||
"* c Yellow",
|
||||
"= c Blue",
|
||||
"- c Magenta",
|
||||
"; c Cyan",
|
||||
": c Gray100",
|
||||
/* pixels */
|
||||
" ######## ",
|
||||
" #### ",
|
||||
@@ -14,4 +28,5 @@ static char *cross_xpm[] = {
|
||||
"## ##",
|
||||
"# ## #",
|
||||
" #### ",
|
||||
" ###### "};
|
||||
" ###### "
|
||||
};
|
||||
|
46
art/cut.xpm
46
art/cut.xpm
@@ -1,46 +0,0 @@
|
||||
/* XPM */
|
||||
static char *cut_xpm[] = {
|
||||
/* columns rows colors chars-per-pixel */
|
||||
"16 15 25 1",
|
||||
"6 c #D8BDC0",
|
||||
": c #C3C3C4",
|
||||
"- c #FFFFFF",
|
||||
". c #6C6D70",
|
||||
"2 c #AD3A45",
|
||||
"o c #DBDBDB",
|
||||
"# c #939495",
|
||||
"< c #E42234",
|
||||
"& c #C3C5C8",
|
||||
"; c #C6CCD3",
|
||||
"% c #B7B7B8",
|
||||
" c None",
|
||||
"* c #DFE0E2",
|
||||
"5 c #B69596",
|
||||
"3 c #9C2A35",
|
||||
"1 c #CFCFD0",
|
||||
", c #AB5C64",
|
||||
"+ c #D2D3D4",
|
||||
"$ c #BCBDBE",
|
||||
"@ c #C6C8CA",
|
||||
"> c #CDC0C1",
|
||||
"O c #826F72",
|
||||
"X c #979BA0",
|
||||
"4 c #9B8687",
|
||||
"= c #9FA0A0",
|
||||
/* pixels */
|
||||
" .X .o ",
|
||||
" O.+ @. ",
|
||||
" O. .. ",
|
||||
" O#$ %.& ",
|
||||
" O.*.. ",
|
||||
" #%#.. ",
|
||||
" O=-.. ",
|
||||
" #%#;. ",
|
||||
" OO:=O ",
|
||||
" >,,<, ,<,,1 ",
|
||||
" ><23<1 1<32<1 ",
|
||||
" ,2 4< <5 2, ",
|
||||
" <, ,2 2, ,< ",
|
||||
" 23,<5 5<,32 ",
|
||||
" 6225 522> "
|
||||
};
|
125
art/deffile.xpm
125
art/deffile.xpm
@@ -1,54 +1,83 @@
|
||||
/* XPM */
|
||||
static char *deffile_xpm[] = {
|
||||
/* columns rows colors chars-per-pixel */
|
||||
"16 16 32 1",
|
||||
"= c #97C4E7",
|
||||
": c #72A8D2",
|
||||
"1 c #FFFFFF",
|
||||
"w c #839CB5",
|
||||
"X c #6B98B8",
|
||||
". c #5A89A6",
|
||||
"@ c #3A749C",
|
||||
", c #D1E5F5",
|
||||
"< c #67A1CF",
|
||||
"> c #F1F4F7",
|
||||
"e c #85A7BC",
|
||||
"% c #C3DDF1",
|
||||
"0 c #749BB4",
|
||||
"2 c #7EA6C0",
|
||||
"; c #5F9BC8",
|
||||
"16 16 61 1",
|
||||
"% c #E8E8EC",
|
||||
"k c #D9D9E0",
|
||||
"= c #E8E8ED",
|
||||
"V c #CACAD4",
|
||||
"8 c #D9D9E1",
|
||||
"h c #D2D2DA",
|
||||
"y c #E1E1E7",
|
||||
"l c #D2D2DB",
|
||||
"< c #E9E9ED",
|
||||
"t c #E9E9EE",
|
||||
"e c #DADAE1",
|
||||
"x c #E2E2E7",
|
||||
"+ c #F1F1F4",
|
||||
"m c #D3D3DB",
|
||||
"1 c #E2E2E8",
|
||||
"C c #D3D3DC",
|
||||
"$ c #EAEAEE",
|
||||
"4 c #DBDBE2",
|
||||
"M c #CCCCD6",
|
||||
"q c #E3E3E8",
|
||||
"f c #D4D4DC",
|
||||
"a c #E3E3E9",
|
||||
"v c #D4D4DD",
|
||||
"7 c #DCDCE2",
|
||||
": c #EBEBEF",
|
||||
"w c #DCDCE3",
|
||||
" c None",
|
||||
"O c #538DB3",
|
||||
"- c #85BBE2",
|
||||
"$ c #D6DFE7",
|
||||
"9 c #EFF6FC",
|
||||
"o c #6591AE",
|
||||
"4 c #F7FBFD",
|
||||
"8 c #FAFCFE",
|
||||
"6 c #DAEAF7",
|
||||
"7 c #E9F3FA",
|
||||
"q c #FDFDFE",
|
||||
"3 c #E2EFF8",
|
||||
"# c #8EA9BC",
|
||||
"& c #B6D5EE",
|
||||
"* c #A5CCEA",
|
||||
"5 c #F4F9FD",
|
||||
"+ c #4581AA",
|
||||
"O c #F3F3F5",
|
||||
"> c #E4E4E9",
|
||||
"& c #F3F3F6",
|
||||
"n c #D5D5DD",
|
||||
"6 c #E4E4EA",
|
||||
". c #C6C6D5",
|
||||
"g c #DDDDE3",
|
||||
"# c #ECECF0",
|
||||
"b c #CECED7",
|
||||
"j c #DDDDE4",
|
||||
"B c #CECED8",
|
||||
"0 c #E5E5EA",
|
||||
"p c #D6D6DE",
|
||||
"; c #EDEDF0",
|
||||
"3 c #DEDEE4",
|
||||
", c #EDEDF1",
|
||||
"Z c #CFCFD8",
|
||||
"u c #DEDEE5",
|
||||
"o c #F5F5F7",
|
||||
"c c #D7D7DE",
|
||||
"- c #E6E6EB",
|
||||
"r c #D7D7DF",
|
||||
"A c #C8C8D3",
|
||||
"s c #DFDFE5",
|
||||
"@ c #EEEEF2",
|
||||
"z c #D0D0D9",
|
||||
"X c #9494AD",
|
||||
"5 c #E7E7EB",
|
||||
"i c #D8D8DF",
|
||||
"9 c #E7E7EC",
|
||||
"d c #D8D8E0",
|
||||
"* c #EFEFF2",
|
||||
"2 c #E0E0E6",
|
||||
"N c #D1D1DA",
|
||||
/* pixels */
|
||||
" ..XooO+@#$ ",
|
||||
" .%%&*=-;:;> ",
|
||||
" .,,%&*=<1=X> ",
|
||||
" #%%%%&*211=X ",
|
||||
" #3-----<oXoO ",
|
||||
" #3456,%&*=-O ",
|
||||
" #3--------=O ",
|
||||
" #355736,%&*o ",
|
||||
" #3--------&o ",
|
||||
" #38459736,%X ",
|
||||
" #3--------,0 ",
|
||||
" #31q84597360 ",
|
||||
" #3--------3w ",
|
||||
" #3111q84597e ",
|
||||
" ##########e# ",
|
||||
" "
|
||||
" ........X ",
|
||||
" .oO+@#$%XX ",
|
||||
" .&+*#$=-XXX ",
|
||||
" .+*;:=->XXXX ",
|
||||
" .*,:<->1234X ",
|
||||
" .,:<5612378X ",
|
||||
" .:<90q23werX ",
|
||||
" .t90qyuweipX ",
|
||||
" .90ayswedpfX ",
|
||||
" .-aysg4dpfhX ",
|
||||
" .>ysj4kpflzX ",
|
||||
" .xsj4kcvlzbX ",
|
||||
" .234krnmzbMX ",
|
||||
" .378rnmNBMVX ",
|
||||
" .wernCNZMVAX ",
|
||||
" XXXXXXXXXXXX "
|
||||
};
|
||||
|
@@ -1,42 +0,0 @@
|
||||
/* XPM */
|
||||
static char *delete_xpm[] = {
|
||||
/* columns rows colors chars-per-pixel */
|
||||
"16 15 21 1",
|
||||
"2 c #A5AEBD",
|
||||
"* c #5478B4",
|
||||
"< c #95A3BB",
|
||||
"O c #9AA7BC",
|
||||
"; c #758EB7",
|
||||
"$ c #6986B6",
|
||||
"# c #4971B2",
|
||||
"& c #8A9CBA",
|
||||
"X c #8598B9",
|
||||
" c None",
|
||||
"o c #ABB2BE",
|
||||
"- c #7F95B9",
|
||||
"= c #4E74B3",
|
||||
"1 c #A0ABBC",
|
||||
"+ c #6F8AB7",
|
||||
". c #B5B9BF",
|
||||
"@ c #3E69B1",
|
||||
", c #90A0BA",
|
||||
": c #6483B5",
|
||||
"> c #5A7BB4",
|
||||
"% c #5F7FB5",
|
||||
/* pixels */
|
||||
" ",
|
||||
" .Xo OO ",
|
||||
" +@#. $@% ",
|
||||
" &@@X .*@*o ",
|
||||
" =@= .*@*. ",
|
||||
" -@@X*@*. ",
|
||||
" .#@@@$. ",
|
||||
" ;@@: ",
|
||||
" ;@@@+ ",
|
||||
" .>@#%@@. ",
|
||||
" o*@*oO@@, ",
|
||||
" <#@*. .@@= ",
|
||||
"&@@$ :@@1 ",
|
||||
";#& 2#>. ",
|
||||
" "
|
||||
};
|
@@ -1,52 +1,42 @@
|
||||
/* XPM */
|
||||
static char *dir_up_xpm[] = {
|
||||
/* columns rows colors chars-per-pixel */
|
||||
"16 15 31 1",
|
||||
"6 c #9BACC2",
|
||||
"o c #9AEA53",
|
||||
"7 c #94A5BD",
|
||||
"8 c #547897",
|
||||
"5 c #839CB5",
|
||||
"@ c #376485",
|
||||
"$ c #5A809C",
|
||||
"# c #7F99B4",
|
||||
": c #D1D9E5",
|
||||
"< c #EAEDF3",
|
||||
"& c #446A8C",
|
||||
"q c #65839D",
|
||||
"> c #DCE2EA",
|
||||
", c #E1E6EE",
|
||||
"2 c #F5F6F7",
|
||||
"O c #8DA0B9",
|
||||
" c None",
|
||||
"% c #467291",
|
||||
". c #305F81",
|
||||
"X c #7393AB",
|
||||
"+ c #6A89A2",
|
||||
"4 c #A8B6CA",
|
||||
"1 c #EEF1F3",
|
||||
"3 c #F8F9FA",
|
||||
"0 c #215579",
|
||||
"9 c #7F97B0",
|
||||
"* c #B3BFD1",
|
||||
"w c #7A90AC",
|
||||
"- c #C2CBDB",
|
||||
"; c #CAD6E1",
|
||||
"= c #BBC4D6",
|
||||
"20 20 16 1",
|
||||
" c Gray0",
|
||||
". c #800000",
|
||||
"X c #008000",
|
||||
"o c #808000",
|
||||
"O c #000080",
|
||||
"+ c #800080",
|
||||
"@ c #008080",
|
||||
"# c None",
|
||||
"$ c #808080",
|
||||
"% c Red",
|
||||
"& c Green",
|
||||
"* c Yellow",
|
||||
"= c Blue",
|
||||
"- c Magenta",
|
||||
"; c Cyan",
|
||||
": c Gray100",
|
||||
/* pixels */
|
||||
" .. ",
|
||||
" X.o. ",
|
||||
".... X.ooo. ",
|
||||
".OO+....ooooo. ",
|
||||
".OOOOOO@@ooo.. ",
|
||||
".OOOO#OO@ooo.$ ",
|
||||
".OOOOOOO@ooo.$ ",
|
||||
".O%............&",
|
||||
".O&*=-;:>,<1231.",
|
||||
".+.4*=-;:>,<12$.",
|
||||
"..564*=-;:>,<1. ",
|
||||
".@O764*=-;:>,<. ",
|
||||
".89O764*=-;:>$$ ",
|
||||
"0qw9O764*=-;:. ",
|
||||
"0............. "
|
||||
"####################",
|
||||
"####################",
|
||||
"####################",
|
||||
"#### ###########",
|
||||
"### *:*:* ##########",
|
||||
"## ####",
|
||||
"## :*:*:*:*:*:*: ###",
|
||||
"## *:*: :*:*:*:* ###",
|
||||
"## :*: :*:*:*: ###",
|
||||
"## *: :*:*:* ###",
|
||||
"## :*:* *:*:*:*: ###",
|
||||
"## *:*: :*:*:*:* ###",
|
||||
"## :*:* :*: ###",
|
||||
"## *:*:*:*:*:*:* ###",
|
||||
"## :*:*:*:*:*:*: ###",
|
||||
"## ###",
|
||||
"####################",
|
||||
"####################",
|
||||
"####################",
|
||||
"####################",
|
||||
};
|
||||
|
42
art/down.xpm
42
art/down.xpm
@@ -1,21 +1,21 @@
|
||||
/* XPM */
|
||||
static char * down_xpm[] = {
|
||||
"16 15 3 1",
|
||||
" c None",
|
||||
". c Black",
|
||||
"X c Gray100",
|
||||
" ",
|
||||
" ...... ",
|
||||
" .XXXX. ",
|
||||
" .XXXX. ",
|
||||
" .XXXX. ",
|
||||
" .XXXX. ",
|
||||
" .XXXX. ",
|
||||
" .XXXX. ",
|
||||
" ....XXXX.... ",
|
||||
" .XXXXXXXX. ",
|
||||
" .XXXXXX. ",
|
||||
" .XXXX. ",
|
||||
" .XX. ",
|
||||
" .. ",
|
||||
" "};
|
||||
/* XPM */
|
||||
static char * down_xpm[] = {
|
||||
"16 15 3 1",
|
||||
" c None",
|
||||
". c Black",
|
||||
"X c Gray100",
|
||||
" ",
|
||||
" ...... ",
|
||||
" .XXXX. ",
|
||||
" .XXXX. ",
|
||||
" .XXXX. ",
|
||||
" .XXXX. ",
|
||||
" .XXXX. ",
|
||||
" .XXXX. ",
|
||||
" ....XXXX.... ",
|
||||
" .XXXXXXXX. ",
|
||||
" .XXXXXX. ",
|
||||
" .XXXX. ",
|
||||
" .XX. ",
|
||||
" .. ",
|
||||
" "};
|
||||
|
@@ -1,57 +1,26 @@
|
||||
/* XPM */
|
||||
static char *fileopen_xpm[] = {
|
||||
/* columns rows colors chars-per-pixel */
|
||||
"16 15 36 1",
|
||||
"6 c #9BACC2",
|
||||
"< c #9AEA53",
|
||||
"9 c #94A5BD",
|
||||
"5 c #839CB5",
|
||||
"; c #4D7492",
|
||||
". c #376485",
|
||||
"$ c #7F99B4",
|
||||
"r c #D1D9E5",
|
||||
"7 c #EAEDF3",
|
||||
"@ c #CAD2DC",
|
||||
"% c #718BA7",
|
||||
"t c #BECAD9",
|
||||
"& c #65839D",
|
||||
"0 c #DCE2EA",
|
||||
"4 c #F5F6F7",
|
||||
"w c #597B9A",
|
||||
"O c #8DA0B9",
|
||||
"16 15 5 1",
|
||||
" c None",
|
||||
"+ c #467291",
|
||||
"u c #305F81",
|
||||
"= c #B4C4D3",
|
||||
"# c #CAE2AA",
|
||||
"1 c #FAFCFE",
|
||||
"3 c #A8B6CA",
|
||||
"q c #E4E9ED",
|
||||
"8 c #EEF1F3",
|
||||
"X c #215579",
|
||||
"2 c #7F97B0",
|
||||
": c #B3BFD1",
|
||||
"y c #7A90AC",
|
||||
", c #C2CBDB",
|
||||
"- c #ADD668",
|
||||
"* c #B6D791",
|
||||
"e c #CAD6E1",
|
||||
"o c #DFF0D0",
|
||||
"> c #BBC4D6",
|
||||
". c Black",
|
||||
"X c Yellow",
|
||||
"o c Gray100",
|
||||
"O c #bfbf00",
|
||||
/* pixels */
|
||||
" ",
|
||||
" .... ",
|
||||
"XXXXX .oo. ",
|
||||
"XOOOO+@.#o. ",
|
||||
"XOOOO$%&.*oXXX ",
|
||||
"XOOOOOOO.*oX=X ",
|
||||
"XOXXXX...-oXXXX;",
|
||||
"XOX:>,.<<<<<oX1;",
|
||||
"X2X3:>,.<<<oX4=;",
|
||||
"XX563:>>.<oX78; ",
|
||||
"XXO963:>>.X0q7; ",
|
||||
"Xw2O963:>>er0t; ",
|
||||
"X&y2O963:>,er; ",
|
||||
"uXXXXXXXXXXXX; ",
|
||||
" ... ",
|
||||
" . . .",
|
||||
" ..",
|
||||
" ... ...",
|
||||
" .XoX....... ",
|
||||
" .oXoXoXoXo. ",
|
||||
" .XoXoXoXoX. ",
|
||||
" .oXoX..........",
|
||||
" .XoX.OOOOOOOOO.",
|
||||
" .oo.OOOOOOOOO. ",
|
||||
" .X.OOOOOOOOO. ",
|
||||
" ..OOOOOOOOO. ",
|
||||
" ........... ",
|
||||
" "
|
||||
};
|
||||
|
@@ -1,42 +0,0 @@
|
||||
/* XPM */
|
||||
static char *filesave_xpm[] = {
|
||||
/* columns rows colors chars-per-pixel */
|
||||
"16 15 21 1",
|
||||
"O c #FFFFFF",
|
||||
"> c #D5D6D8",
|
||||
"; c #446A8C",
|
||||
"1 c #CAD2DC",
|
||||
": c #C0C7D1",
|
||||
" c #5F666D",
|
||||
"% c #A5B0BA",
|
||||
"o c #65839D",
|
||||
", c #DCE2EA",
|
||||
"< c #C3C5C8",
|
||||
"- c #E1E6EE",
|
||||
"* c #C6CCD3",
|
||||
". c None",
|
||||
"$ c #305F81",
|
||||
"2 c #D6DFE7",
|
||||
"= c #D2D9E0",
|
||||
"& c #B7BFC7",
|
||||
"X c #1B4467",
|
||||
"# c #BCBDBE",
|
||||
"@ c #7A90AC",
|
||||
"+ c #5D7C93",
|
||||
/* pixels */
|
||||
" .",
|
||||
" XoOOOOOOOOO+X .",
|
||||
" @oO#######O+@ .",
|
||||
" @oOOOOOOOOO+@ .",
|
||||
" @oO#######O+@ .",
|
||||
" @oOOOOOOOOO+@ .",
|
||||
" @@+++++++++@@ .",
|
||||
" @@@@@@@@@@@@@ .",
|
||||
" @@@$$$$$$$$@@ .",
|
||||
" @@$%%%&*=-O$@ .",
|
||||
" @@$%X;;*=-O$@ .",
|
||||
" @@$%X;;:>,O$@ .",
|
||||
" @@$%X;;<12O$@ .",
|
||||
" @@$<<2OOOOO$@ .",
|
||||
". .."
|
||||
};
|
@@ -1,44 +0,0 @@
|
||||
/* XPM */
|
||||
static char *filesaveas_xpm[] = {
|
||||
/* columns rows colors chars-per-pixel */
|
||||
"16 15 23 1",
|
||||
"X c Black",
|
||||
"+ c #FFFFFF",
|
||||
"< c #D5D6D8",
|
||||
"> c #446A8C",
|
||||
"3 c #CAD2DC",
|
||||
", c #C0C7D1",
|
||||
" c #5F666D",
|
||||
"* c #A5B0BA",
|
||||
"O c #65839D",
|
||||
"1 c #DCE2EA",
|
||||
"2 c #C3C5C8",
|
||||
": c #E1E6EE",
|
||||
". c #FFFF00",
|
||||
"- c #C6CCD3",
|
||||
"@ c None",
|
||||
"& c #305F81",
|
||||
"4 c #D6DFE7",
|
||||
"; c #D2D9E0",
|
||||
"= c #B7BFC7",
|
||||
"o c #1B4467",
|
||||
"$ c #BCBDBE",
|
||||
"# c #7A90AC",
|
||||
"% c #5D7C93",
|
||||
/* pixels */
|
||||
" .X .XX.",
|
||||
" oO+++++++.X.X.@",
|
||||
" #O+$$$$$XX...XX",
|
||||
" #O++++++.......",
|
||||
" #O+$$$$$XX...XX",
|
||||
" #O+++++++.X.X.@",
|
||||
" ##%%%%%%.X%.X .",
|
||||
" ############# @",
|
||||
" ###&&&&&&&&## @",
|
||||
" ##&***=-;:+&# @",
|
||||
" ##&*o>>-;:+&# @",
|
||||
" ##&*o>>,<1+&# @",
|
||||
" ##&*o>>234+&# @",
|
||||
" ##&224+++++&# @",
|
||||
"@ @@"
|
||||
};
|
62
art/find.xpm
62
art/find.xpm
@@ -1,62 +0,0 @@
|
||||
/* XPM */
|
||||
static char *find_xpm[] = {
|
||||
/* columns rows colors chars-per-pixel */
|
||||
"16 15 41 1",
|
||||
"y c #A06959",
|
||||
"9 c #A7DAF2",
|
||||
"$ c #B5CAD7",
|
||||
"> c #35B4E1",
|
||||
"t c #6B98B8",
|
||||
"w c #B6E0F4",
|
||||
"q c #AEC9D7",
|
||||
"1 c #5A89A6",
|
||||
"+ c #98B3C6",
|
||||
"4 c #EAF6FC",
|
||||
"3 c #DEF1FA",
|
||||
"= c #4CBCE3",
|
||||
"d c #DB916B",
|
||||
"X c #85A7BC",
|
||||
"s c #D8BCA4",
|
||||
"o c #749BB4",
|
||||
"e c #BCD9EF",
|
||||
"* c #62B4DD",
|
||||
"< c #91D2EF",
|
||||
"a c #E6DED2",
|
||||
"0 c #E9F4FB",
|
||||
" c None",
|
||||
"@ c #A0BACB",
|
||||
"O c #AABFCD",
|
||||
"i c #6591AE",
|
||||
": c #B9CBD5",
|
||||
"- c #71C5E7",
|
||||
"5 c #D3ECF8",
|
||||
"% c #81A3B9",
|
||||
"6 c #8AD0EE",
|
||||
"8 c #FDFDFE",
|
||||
"p c #8EA9BC",
|
||||
"r c #B6D5EE",
|
||||
", c #81CCEB",
|
||||
". c #ACC4D3",
|
||||
"; c #AFD1DE",
|
||||
"7 c #EFF8FC",
|
||||
"u c #C2CBDB",
|
||||
"# c #C0D1DC",
|
||||
"2 c #CAD6E1",
|
||||
"& c #8FB0C3",
|
||||
/* pixels */
|
||||
" .XooXO ",
|
||||
" +@###$+% ",
|
||||
" .&#*==-;@@ ",
|
||||
" o:*>,<--:X ",
|
||||
" 12>-345-#% ",
|
||||
" 12>678392% ",
|
||||
" %$*,3059q& ",
|
||||
" @Oq,wwer@@ ",
|
||||
" t@q22q&+ ",
|
||||
" yyui+%o%p ",
|
||||
" yasy ",
|
||||
" yasdy ",
|
||||
" yasdy ",
|
||||
" ysdy ",
|
||||
" yy "
|
||||
};
|
@@ -1,63 +0,0 @@
|
||||
/* XPM */
|
||||
static char *findrepl_xpm[] = {
|
||||
/* columns rows colors chars-per-pixel */
|
||||
"16 15 42 1",
|
||||
"y c #A06959",
|
||||
"9 c #A7DAF2",
|
||||
"$ c #B5CAD7",
|
||||
"> c #35B4E1",
|
||||
"t c #6B98B8",
|
||||
"w c #B6E0F4",
|
||||
"q c #AEC9D7",
|
||||
"1 c #5A89A6",
|
||||
"+ c #98B3C6",
|
||||
"4 c #EAF6FC",
|
||||
"d c #008000",
|
||||
"3 c #DEF1FA",
|
||||
"= c #4CBCE3",
|
||||
"f c #DB916B",
|
||||
"X c #85A7BC",
|
||||
"s c #D8BCA4",
|
||||
"o c #749BB4",
|
||||
"e c #BCD9EF",
|
||||
"* c #62B4DD",
|
||||
"< c #91D2EF",
|
||||
"a c #E6DED2",
|
||||
"0 c #E9F4FB",
|
||||
" c None",
|
||||
"@ c #A0BACB",
|
||||
"O c #AABFCD",
|
||||
"i c #6591AE",
|
||||
": c #B9CBD5",
|
||||
"- c #71C5E7",
|
||||
"5 c #D3ECF8",
|
||||
"% c #81A3B9",
|
||||
"6 c #8AD0EE",
|
||||
"8 c #FDFDFE",
|
||||
"p c #8EA9BC",
|
||||
"r c #B6D5EE",
|
||||
", c #81CCEB",
|
||||
". c #ACC4D3",
|
||||
"; c #AFD1DE",
|
||||
"7 c #EFF8FC",
|
||||
"u c #C2CBDB",
|
||||
"# c #C0D1DC",
|
||||
"2 c #CAD6E1",
|
||||
"& c #8FB0C3",
|
||||
/* pixels */
|
||||
" .XooXO ",
|
||||
" +@###$+% ",
|
||||
" .&#*==-;@@ ",
|
||||
" o:*>,<--:X ",
|
||||
" 12>-345-#% ",
|
||||
" 12>678392% ",
|
||||
" %$*,3059q& ",
|
||||
" @Oq,wwer@@ ",
|
||||
" t@q22q&+ ",
|
||||
" yyui+%o%p ",
|
||||
" yasy d d ",
|
||||
" yasfy dd dd ",
|
||||
"yasfy ddddddddd",
|
||||
"ysfy dd dd ",
|
||||
" yy d d "
|
||||
};
|
@@ -1,39 +0,0 @@
|
||||
/* XPM */
|
||||
static char *floppy_xpm[] = {
|
||||
/* columns rows colors chars-per-pixel */
|
||||
"16 15 18 1",
|
||||
"& c #E3E4E6",
|
||||
"+ c #FFFFFF",
|
||||
". c #446A8C",
|
||||
"o c #697787",
|
||||
"> c #5F666D",
|
||||
"* c #B2B3B3",
|
||||
" c None",
|
||||
", c #4B4C4D",
|
||||
"= c #DCDBDA",
|
||||
"$ c #1B4467",
|
||||
": c #E4E9ED",
|
||||
"@ c #979BA0",
|
||||
"X c #203646",
|
||||
"O c #215579",
|
||||
"- c #545B63",
|
||||
"; c #636465",
|
||||
"# c #CAD6E1",
|
||||
"% c #7F8286",
|
||||
/* pixels */
|
||||
" .XoooooooXO ",
|
||||
" .o+++++++.O ",
|
||||
" .o+OOOOO+.O ",
|
||||
" .o+++++++.O ",
|
||||
" .o@@@@@@@.O ",
|
||||
" ..........O ",
|
||||
" ..#+++++#.O ",
|
||||
" ..+$O+++#.O ",
|
||||
" ..+$O+++#.O ",
|
||||
" %&.........*% ",
|
||||
"%=+++++++++++&% ",
|
||||
"--------------; ",
|
||||
"-:::::::::::::- ",
|
||||
"-:X:XXXXXXXXX:> ",
|
||||
"-*************, "
|
||||
};
|
@@ -1,43 +1,28 @@
|
||||
/* XPM */
|
||||
static char *folder_xpm[] = {
|
||||
/* columns rows colors chars-per-pixel */
|
||||
"16 15 22 1",
|
||||
"> c #9BACC2",
|
||||
". c #547897",
|
||||
"1 c #7F99B4",
|
||||
"X c #D1D9E5",
|
||||
"< c #EAEDF3",
|
||||
"+ c #CAD2DC",
|
||||
"3 c #718BA7",
|
||||
"O c #BECAD9",
|
||||
"$ c #E1E6EE",
|
||||
"* c #F5F6F7",
|
||||
", c #8DA0B9",
|
||||
" c None",
|
||||
"# c #D6DFE7",
|
||||
"@ c #D2D9E0",
|
||||
"- c #FAFCFE",
|
||||
"; c #ADBACE",
|
||||
"& c #EEF1F3",
|
||||
"= c #F8F9FA",
|
||||
"o c #B3BFD1",
|
||||
"2 c #7A90AC",
|
||||
": c #A2B3C5",
|
||||
"% c #E5EAF1",
|
||||
static char * folder_xpm[] = {
|
||||
/* width height ncolors chars_per_pixel */
|
||||
"16 16 6 1",
|
||||
/* colors */
|
||||
" s None c None",
|
||||
". c #000000",
|
||||
"+ c #c0c0c0",
|
||||
"@ c #808080",
|
||||
"# c #ffff00",
|
||||
"$ c #ffffff",
|
||||
/* pixels */
|
||||
" ",
|
||||
" ..... ",
|
||||
" .XXXX. ",
|
||||
" ............. ",
|
||||
" .oO+@#$%&*=-. ",
|
||||
" .oO+@#$%&*=-. ",
|
||||
" .;oO+X#$%&*=. ",
|
||||
" .:;oO+X#$%&*. ",
|
||||
" .>:;oO+X#$%&. ",
|
||||
" .,>:;oO+X#$<. ",
|
||||
" .1,>:;oO+X#$. ",
|
||||
" .21,>:;oO+X#. ",
|
||||
" .321,>:;oO+X. ",
|
||||
" ............. ",
|
||||
" "
|
||||
};
|
||||
" @@@@@ ",
|
||||
" @#+#+#@ ",
|
||||
" @#+#+#+#@@@@@@ ",
|
||||
" @$$$$$$$$$$$$@.",
|
||||
" @$#+#+#+#+#+#@.",
|
||||
" @$+#+#+#+#+#+@.",
|
||||
" @$#+#+#+#+#+#@.",
|
||||
" @$+#+#+#+#+#+@.",
|
||||
" @$#+#+#+#+#+#@.",
|
||||
" @$+#+#+#+#+#+@.",
|
||||
" @$#+#+#+#+#+#@.",
|
||||
" @@@@@@@@@@@@@@.",
|
||||
" ..............",
|
||||
" ",
|
||||
" "};
|
||||
|
@@ -1,52 +0,0 @@
|
||||
/* XPM */
|
||||
static char *folder_open_xpm[] = {
|
||||
/* columns rows colors chars-per-pixel */
|
||||
"16 15 31 1",
|
||||
"6 c #9BACC2",
|
||||
"w c #547B99",
|
||||
"5 c #94A5BD",
|
||||
". c #376485",
|
||||
"; c #F1F4F7",
|
||||
"o c #7F99B4",
|
||||
"2 c #D1D9E5",
|
||||
"- c #EAEDF3",
|
||||
"O c #718BA7",
|
||||
"0 c #65839D",
|
||||
"* c #DCE2EA",
|
||||
": c #F5F6F7",
|
||||
"7 c #597B9A",
|
||||
"X c #8DA0B9",
|
||||
" c None",
|
||||
"+ c #467291",
|
||||
"q c #305F81",
|
||||
"& c #D6DFE7",
|
||||
"3 c #6A89A2",
|
||||
"1 c #A8B6CA",
|
||||
"= c #E4E9ED",
|
||||
"> c #F8F9FA",
|
||||
", c #FDFDFE",
|
||||
"9 c #215579",
|
||||
"8 c #7F97B0",
|
||||
"@ c #B3BFD1",
|
||||
"< c #7A90AC",
|
||||
"$ c #C2CBDB",
|
||||
"4 c #A2B3C5",
|
||||
"% c #CAD6E1",
|
||||
"# c #BBC4D6",
|
||||
/* pixels */
|
||||
" ",
|
||||
"..... ",
|
||||
".XXXo. ",
|
||||
".XXXXO........ ",
|
||||
".XXXXXXXXXXXX. ",
|
||||
".XXXXXXXXXXXX. ",
|
||||
".X++++++++++++++",
|
||||
".X+@#$%&*=-;:>,+",
|
||||
".<.1@#$%2*=-;:23",
|
||||
"..X41@#$%2*=-;3 ",
|
||||
"..X561@#$%2*=-3 ",
|
||||
".78X561@#$%2*%3 ",
|
||||
"90<8X561@#$%23 ",
|
||||
"q++++++++++++w ",
|
||||
" "
|
||||
};
|
@@ -1,21 +1,21 @@
|
||||
/* XPM */
|
||||
static char * forward_xpm[] = {
|
||||
"16 15 3 1",
|
||||
" c None",
|
||||
". c Black",
|
||||
"X c Gray100",
|
||||
" ",
|
||||
" ",
|
||||
" . ",
|
||||
" .. ",
|
||||
" .X. ",
|
||||
" ........XX. ",
|
||||
" .XXXXXXXXXX. ",
|
||||
" .XXXXXXXXXXX. ",
|
||||
" .XXXXXXXXXXX. ",
|
||||
" .XXXXXXXXXX. ",
|
||||
" ........XX. ",
|
||||
" .X. ",
|
||||
" .. ",
|
||||
" . ",
|
||||
" "};
|
||||
/* XPM */
|
||||
static char * forward_xpm[] = {
|
||||
"16 15 3 1",
|
||||
" c None",
|
||||
". c Black",
|
||||
"X c Gray100",
|
||||
" ",
|
||||
" ",
|
||||
" . ",
|
||||
" .. ",
|
||||
" .X. ",
|
||||
" ........XX. ",
|
||||
" .XXXXXXXXXX. ",
|
||||
" .XXXXXXXXXXX. ",
|
||||
" .XXXXXXXXXXX. ",
|
||||
" .XXXXXXXXXX. ",
|
||||
" ........XX. ",
|
||||
" .X. ",
|
||||
" .. ",
|
||||
" . ",
|
||||
" "};
|
||||
|
@@ -1,60 +0,0 @@
|
||||
/* XPM */
|
||||
static char *harddisk_xpm[] = {
|
||||
/* columns rows colors chars-per-pixel */
|
||||
"16 15 39 1",
|
||||
"7 c #E3E4E6",
|
||||
"4 c #FFFFFF",
|
||||
"5 c #839CB5",
|
||||
". c #547897",
|
||||
"1 c #4D7492",
|
||||
"@ c #376485",
|
||||
"o c #7A92A3",
|
||||
"u c #D1D9E5",
|
||||
"y c #446A8C",
|
||||
"i c #51B03D",
|
||||
"> c #CAD2DC",
|
||||
"O c #718BA7",
|
||||
"2 c #65839D",
|
||||
"6 c #DCE2EA",
|
||||
"0 c #C3C5C8",
|
||||
"9 c #F5F6F7",
|
||||
": c #EBEBEC",
|
||||
"< c #597B9A",
|
||||
"t c #C6CCD3",
|
||||
" c None",
|
||||
"* c #DFE0E2",
|
||||
"e c #467291",
|
||||
"a c #526E8B",
|
||||
", c #7393AB",
|
||||
"p c #130A0B",
|
||||
"# c #AABFCD",
|
||||
"r c #B4C4D3",
|
||||
"; c #CFCFD0",
|
||||
"X c #6F90A6",
|
||||
"+ c #6A89A2",
|
||||
"- c #D2D3D4",
|
||||
"= c #DCDBDA",
|
||||
"w c #E4E9ED",
|
||||
"q c #C6C8CA",
|
||||
"% c #215579",
|
||||
"$ c #E7E7E7",
|
||||
"3 c #7F97B0",
|
||||
"8 c #C0D1DC",
|
||||
"& c #5D7C93",
|
||||
/* pixels */
|
||||
" ",
|
||||
" .XoooXO+@ ",
|
||||
" #$$%%%%$$$X ",
|
||||
" &$*==-;$$$& ",
|
||||
" &:>+,<1234o5 ",
|
||||
" ###+67;;78242 ",
|
||||
" &4,49*0q*9we4. ",
|
||||
" &4+49*,,*9wo4. ",
|
||||
"&4%r,67;;782t%4.",
|
||||
"&44468rrrr84444,",
|
||||
"y11111111111111e",
|
||||
"1uu1:::::::::::1",
|
||||
"1uu1::::::::ip:1",
|
||||
"auu&:::::::::::1",
|
||||
"1111111111111111"
|
||||
};
|
@@ -1,25 +1,25 @@
|
||||
/* XPM */
|
||||
static char * htmbook_xpm[] = {
|
||||
"16 16 6 1",
|
||||
" c None",
|
||||
". c Black",
|
||||
"X c #000080",
|
||||
"o c #c0c0c0",
|
||||
"O c #808080",
|
||||
"+ c Gray100",
|
||||
" ",
|
||||
" .. ",
|
||||
" ..XX. ",
|
||||
" ..XXXXX. ",
|
||||
" ..XXXXXXXX. ",
|
||||
".oXXXXXXXXXX. ",
|
||||
".XoXXXXXXXXXX. ",
|
||||
".XXoXXXXXXXXXX. ",
|
||||
".XXXoXXXXXXXXX..",
|
||||
".XXXXoXXXXXX..O ",
|
||||
" .XXXXoXXX..O+O ",
|
||||
" .XXXXo..O++o..",
|
||||
" .XXX.O+++o.. ",
|
||||
" .XX.o+o.. ",
|
||||
" .X.o.. ",
|
||||
" ... "};
|
||||
/* XPM */
|
||||
static char * htmbook_xpm[] = {
|
||||
"16 16 6 1",
|
||||
" c None",
|
||||
". c Black",
|
||||
"X c #000080",
|
||||
"o c #c0c0c0",
|
||||
"O c #808080",
|
||||
"+ c Gray100",
|
||||
" ",
|
||||
" .. ",
|
||||
" ..XX. ",
|
||||
" ..XXXXX. ",
|
||||
" ..XXXXXXXX. ",
|
||||
".oXXXXXXXXXX. ",
|
||||
".XoXXXXXXXXXX. ",
|
||||
".XXoXXXXXXXXXX. ",
|
||||
".XXXoXXXXXXXXX..",
|
||||
".XXXXoXXXXXX..O ",
|
||||
" .XXXXoXXX..O+O ",
|
||||
" .XXXXo..O++o..",
|
||||
" .XXX.O+++o.. ",
|
||||
" .XX.o+o.. ",
|
||||
" .X.o.. ",
|
||||
" ... "};
|
||||
|
@@ -1,25 +1,25 @@
|
||||
/* XPM */
|
||||
static char * htmfoldr_xpm[] = {
|
||||
"16 16 6 1",
|
||||
" c None",
|
||||
". c Black",
|
||||
"X c #000080",
|
||||
"o c #c0c0c0",
|
||||
"O c #808080",
|
||||
"+ c Gray100",
|
||||
" ",
|
||||
" .. ",
|
||||
" ..XX. ",
|
||||
" ..XXXXX. ",
|
||||
" ..XXXXXXXX. ",
|
||||
".oXXXXXXXXXX. ",
|
||||
".XoXXXXXXXXXX. ",
|
||||
".XXoXXXXXXXXXX. ",
|
||||
".XXXoXXXXXXXXX..",
|
||||
".XXXXoXXXXXX..O ",
|
||||
" .XXXXoXXX..O+O ",
|
||||
" .XXXXo..O++o..",
|
||||
" .XXX.O+++o.. ",
|
||||
" .XX.o+o.. ",
|
||||
" .X.o.. ",
|
||||
" ... "};
|
||||
/* XPM */
|
||||
static char * htmfoldr_xpm[] = {
|
||||
"16 16 6 1",
|
||||
" c None",
|
||||
". c Black",
|
||||
"X c #000080",
|
||||
"o c #c0c0c0",
|
||||
"O c #808080",
|
||||
"+ c Gray100",
|
||||
" ",
|
||||
" .. ",
|
||||
" ..XX. ",
|
||||
" ..XXXXX. ",
|
||||
" ..XXXXXXXX. ",
|
||||
".oXXXXXXXXXX. ",
|
||||
".XoXXXXXXXXXX. ",
|
||||
".XXoXXXXXXXXXX. ",
|
||||
".XXXoXXXXXXXXX..",
|
||||
".XXXXoXXXXXX..O ",
|
||||
" .XXXXoXXX..O+O ",
|
||||
" .XXXXo..O++o..",
|
||||
" .XXX.O+++o.. ",
|
||||
" .XX.o+o.. ",
|
||||
" .X.o.. ",
|
||||
" ... "};
|
||||
|
@@ -1,20 +1,20 @@
|
||||
/* XPM */
|
||||
static char * htmoptns_xpm[] = {
|
||||
"16 15 2 1",
|
||||
" c None",
|
||||
". c #000000",
|
||||
" ",
|
||||
" .. ",
|
||||
" ... ",
|
||||
" .... ",
|
||||
" . ... ",
|
||||
" .. ... ",
|
||||
" . .. ",
|
||||
" .. ... ",
|
||||
" . .. ",
|
||||
" ......... ",
|
||||
" .. ... ",
|
||||
" . ... ",
|
||||
" .. ... ",
|
||||
" .... ....... ",
|
||||
" "};
|
||||
/* XPM */
|
||||
static char * htmoptns_xpm[] = {
|
||||
"16 15 2 1",
|
||||
" c None",
|
||||
". c #000000",
|
||||
" ",
|
||||
" .. ",
|
||||
" ... ",
|
||||
" .... ",
|
||||
" . ... ",
|
||||
" .. ... ",
|
||||
" . .. ",
|
||||
" .. ... ",
|
||||
" . .. ",
|
||||
" ......... ",
|
||||
" .. ... ",
|
||||
" . ... ",
|
||||
" .. ... ",
|
||||
" .... ....... ",
|
||||
" "};
|
||||
|
@@ -1,23 +1,23 @@
|
||||
/* XPM */
|
||||
static char * htmpage_xpm[] = {
|
||||
"16 16 4 1",
|
||||
" c None",
|
||||
". c #808080",
|
||||
"X c Gray100",
|
||||
"o c Black",
|
||||
" ",
|
||||
" .......... ",
|
||||
" .XXXXXXXX.. ",
|
||||
" .XXXXXXXXooo ",
|
||||
" .X......XXXo ",
|
||||
" .XXXXXXXXXXo ",
|
||||
" .X........Xo ",
|
||||
" .XXXXXXXXXXo ",
|
||||
" .X........Xo ",
|
||||
" .XXXXXXXXXXo ",
|
||||
" .X........Xo ",
|
||||
" .XXXXXXXXXXo ",
|
||||
" .X........Xo ",
|
||||
" .XXXXXXXXXXo ",
|
||||
" .XXXXXXXXXXo ",
|
||||
" oooooooooooo "};
|
||||
/* XPM */
|
||||
static char * htmpage_xpm[] = {
|
||||
"16 16 4 1",
|
||||
" c None",
|
||||
". c #808080",
|
||||
"X c Gray100",
|
||||
"o c Black",
|
||||
" ",
|
||||
" .......... ",
|
||||
" .XXXXXXXX.. ",
|
||||
" .XXXXXXXXooo ",
|
||||
" .X......XXXo ",
|
||||
" .XXXXXXXXXXo ",
|
||||
" .X........Xo ",
|
||||
" .XXXXXXXXXXo ",
|
||||
" .X........Xo ",
|
||||
" .XXXXXXXXXXo ",
|
||||
" .X........Xo ",
|
||||
" .XXXXXXXXXXo ",
|
||||
" .X........Xo ",
|
||||
" .XXXXXXXXXXo ",
|
||||
" .XXXXXXXXXXo ",
|
||||
" oooooooooooo "};
|
||||
|
@@ -1,7 +1,7 @@
|
||||
/* XPM */
|
||||
static char *htmsidep_xpm[] = {
|
||||
/* columns rows colors chars-per-pixel */
|
||||
"16 15 6 1",
|
||||
"16 16 6 1",
|
||||
". c Black",
|
||||
"X c #FFFFFF",
|
||||
"+ c #808080",
|
||||
@@ -23,5 +23,6 @@ static char *htmsidep_xpm[] = {
|
||||
" .OOOO.ooooooo. ",
|
||||
" .XOXX.o.+...o. ",
|
||||
" .XXOX.ooooooo. ",
|
||||
" .............. "
|
||||
" .............. ",
|
||||
" "
|
||||
};
|
||||
|
@@ -1,7 +1,7 @@
|
||||
/* XPM */
|
||||
static char *listview_xpm[] = {
|
||||
/* columns rows colors chars-per-pixel */
|
||||
"16 15 4 1",
|
||||
"16 16 4 1",
|
||||
" c Black",
|
||||
". c #FFFFFF",
|
||||
"X c #000084",
|
||||
@@ -13,13 +13,14 @@ static char *listview_xpm[] = {
|
||||
" .XXX. o o . ",
|
||||
" .XXX.......... ",
|
||||
" .............. ",
|
||||
" .............. ",
|
||||
" .XXX.......... ",
|
||||
" .XXX. o . ",
|
||||
" .XXX.......... ",
|
||||
" .............. ",
|
||||
" .............. ",
|
||||
" .XXX.......... ",
|
||||
" .XXX. o o . ",
|
||||
" .XXX.......... ",
|
||||
" .............. ",
|
||||
" "
|
||||
};
|
||||
|
@@ -1,43 +0,0 @@
|
||||
/* XPM */
|
||||
static char *missimg_xpm[] = {
|
||||
/* columns rows colors chars-per-pixel */
|
||||
"32 32 5 1",
|
||||
"X c Black",
|
||||
"o c #FFFFFF",
|
||||
" c None",
|
||||
". c #C0C0C0",
|
||||
"O c #E0E0E0",
|
||||
/* pixels */
|
||||
" .............................X ",
|
||||
" .ooooooooooooooooooooooooooooX ",
|
||||
" .ooooooooooooooooooooooooooooX ",
|
||||
" .ooOOOOOOOOOOOOOOOOOOOOOOOOooX ",
|
||||
" .ooOOOOOOOOOOOOOOOOOOOOOOOOooX ",
|
||||
" .ooOOOOOOOOOOOOOOOOOOOOOOOOooX ",
|
||||
" .ooOOOOOOOOOOOOOOOOOOOOOOOOooX ",
|
||||
" .ooOOOOOOOOOOOOOOOOOOOOOOOOooX ",
|
||||
" .ooOOOOOOOOOOOOOOOOOOOOOOOOooX ",
|
||||
" .ooOOOOOOOXOOOOOOOOOOOOOOOOooX ",
|
||||
" XXXOOOOOXX XOOOOOOOOOOOOOOOooX ",
|
||||
" XXXXX XOOOOOOOOOOOOOOooX ",
|
||||
" XOOOXXXOOOOOOOooX ",
|
||||
" XXX XXOOOOOooX ",
|
||||
" XOOOOooX ",
|
||||
" . XOOOooX ",
|
||||
" .. XXOooX ",
|
||||
" .o.. XooX ",
|
||||
" .ooO... XXX ",
|
||||
" .ooOOOO.......... ",
|
||||
" .ooOOOOOOOOOOOOOO.. ",
|
||||
" .ooOOOOOOOOOOOOOOOO.. ",
|
||||
" .ooOOOOOOOOOOOOOOOOOO......... ",
|
||||
" .ooOOOOOOOOOOOOOOOOOOOOOOOOooX ",
|
||||
" .ooOOOOOOOOOOOOOOOOOOOOOOOOooX ",
|
||||
" .ooOOOOOOOOOOOOOOOOOOOOOOOOooX ",
|
||||
" .ooOOOOOOOOOOOOOOOOOOOOOOOOooX ",
|
||||
" .ooOOOOOOOOOOOOOOOOOOOOOOOOooX ",
|
||||
" .ooOOOOOOOOOOOOOOOOOOOOOOOOooX ",
|
||||
" .ooooooooooooooooooooooooooooX ",
|
||||
" .ooooooooooooooooooooooooooooX ",
|
||||
" XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX "
|
||||
};
|
50
art/new.xpm
50
art/new.xpm
@@ -1,50 +0,0 @@
|
||||
/* XPM */
|
||||
static char *new_xpm[] = {
|
||||
/* columns rows colors chars-per-pixel */
|
||||
"16 15 29 1",
|
||||
"* c #97C4E7",
|
||||
"- c #72A8D2",
|
||||
": c #FFFFFF",
|
||||
"9 c #839CB5",
|
||||
"o c #6B98B8",
|
||||
"X c #5A89A6",
|
||||
"# c #3A749C",
|
||||
", c #D1E5F5",
|
||||
"0 c #85A7BC",
|
||||
"$ c #C3DDF1",
|
||||
"8 c #749BB4",
|
||||
"; c #5F9BC8",
|
||||
" c None",
|
||||
"+ c #538DB3",
|
||||
"= c #85BBE2",
|
||||
"3 c #EFF6FC",
|
||||
"O c #6591AE",
|
||||
"5 c #F7FBFD",
|
||||
"7 c #FAFCFE",
|
||||
"< c #DAEAF7",
|
||||
"4 c #E9F3FA",
|
||||
"6 c #FDFDFE",
|
||||
"1 c #E2EFF8",
|
||||
". c #8EA9BC",
|
||||
"% c #B6D5EE",
|
||||
"& c #A5CCEA",
|
||||
"> c #ACE95B",
|
||||
"2 c #F4F9FD",
|
||||
"@ c #4581AA",
|
||||
/* pixels */
|
||||
" .XoOO+@#. ",
|
||||
" .$$%&*=O-; ",
|
||||
" @@@@$%&*O:*o ",
|
||||
" @>>@$$%&O::*o ",
|
||||
"@@@>>@@@$%OOoO+ ",
|
||||
"@>>>>>>@,$%&*=+ ",
|
||||
"@>>>>>>@<,$%&*+ ",
|
||||
"@@@>>@@@1<,$%&O ",
|
||||
" @>>@2341<,$%O ",
|
||||
" @@@@52341<,$o ",
|
||||
" .:6752341<,8 ",
|
||||
" .::6752341<8 ",
|
||||
" .:::67523419 ",
|
||||
" .::::6752340 ",
|
||||
" ............ "
|
||||
};
|
@@ -1,43 +1,42 @@
|
||||
/* XPM */
|
||||
static char *new_dir_xpm[] = {
|
||||
/* columns rows colors chars-per-pixel */
|
||||
"16 15 22 1",
|
||||
"X c Black",
|
||||
"> c #9BACC2",
|
||||
"o c #547897",
|
||||
"1 c #7F99B4",
|
||||
"O c #D1D9E5",
|
||||
"< c #EAEDF3",
|
||||
"# c #CAD2DC",
|
||||
"3 c #718BA7",
|
||||
"@ c #BECAD9",
|
||||
"& c #E1E6EE",
|
||||
"; c #F5F6F7",
|
||||
". c #FFFF00",
|
||||
", c #8DA0B9",
|
||||
" c None",
|
||||
"% c #D6DFE7",
|
||||
"$ c #D2D9E0",
|
||||
"- c #ADBACE",
|
||||
"= c #EEF1F3",
|
||||
"+ c #B3BFD1",
|
||||
"2 c #7A90AC",
|
||||
": c #A2B3C5",
|
||||
"* c #E5EAF1",
|
||||
"20 20 16 1",
|
||||
" c Gray0",
|
||||
". c #800000",
|
||||
"X c #008000",
|
||||
"o c #808000",
|
||||
"O c #000080",
|
||||
"+ c #800080",
|
||||
"@ c #008080",
|
||||
"# c None",
|
||||
"$ c #808080",
|
||||
"% c Red",
|
||||
"& c Green",
|
||||
"* c Yellow",
|
||||
"= c Blue",
|
||||
"- c Magenta",
|
||||
"; c Cyan",
|
||||
": c Gray100",
|
||||
/* pixels */
|
||||
" .X .XX.",
|
||||
" ooooo .X.X. ",
|
||||
" oOOOOo XX...XX",
|
||||
" oooooooo.......",
|
||||
" o+@#$%&*XX...XX",
|
||||
" o+@#$%&*=.X.X. ",
|
||||
" o-+@#O%&.X;.X .",
|
||||
" o:-+@#O%&*=;o ",
|
||||
" o>:-+@#O%&*=o ",
|
||||
" o,>:-+@#O%&<o ",
|
||||
" o1,>:-+@#O%&o ",
|
||||
" o21,>:-+@#O%o ",
|
||||
" o321,>:-+@#Oo ",
|
||||
" ooooooooooooo ",
|
||||
" "
|
||||
"####################",
|
||||
"####################",
|
||||
"############# ######",
|
||||
"####################",
|
||||
"############# ######",
|
||||
"########## ##### ###",
|
||||
"##### ## # # ####",
|
||||
"#### *:*: ## # #####",
|
||||
"### ## # ##",
|
||||
"### :*:*:*:*: #####",
|
||||
"### *:*:*:*:* # ####",
|
||||
"### :*:*:*:*: ## ###",
|
||||
"### *:*:*:*:* ######",
|
||||
"### :*:*:*:*: ######",
|
||||
"### *:*:*:*:* ######",
|
||||
"### ######",
|
||||
"####################",
|
||||
"####################",
|
||||
"####################",
|
||||
"####################"
|
||||
};
|
||||
|
@@ -1,46 +0,0 @@
|
||||
/* XPM */
|
||||
static char *paste_xpm[] = {
|
||||
/* columns rows colors chars-per-pixel */
|
||||
"16 15 25 1",
|
||||
"< c #FEECE4",
|
||||
"> c #FEE3D7",
|
||||
"O c #FFFFFF",
|
||||
"o c #7B767D",
|
||||
"% c #F79586",
|
||||
"& c #CAE1F3",
|
||||
"@ c #F08B62",
|
||||
"# c #FCCBB8",
|
||||
"- c #FDD8C9",
|
||||
"4 c #FFF8F4",
|
||||
"5 c #FFF5F0",
|
||||
" c None",
|
||||
"$ c #F8AA8F",
|
||||
", c #EFF6FC",
|
||||
"1 c #F7FBFD",
|
||||
"2 c #FAFCFE",
|
||||
"; c #DAEAF7",
|
||||
": c #E9F3FA",
|
||||
"6 c #FFFAF8",
|
||||
". c #3C78A6",
|
||||
"3 c #FFF1ED",
|
||||
"X c #9B8687",
|
||||
"+ c #FBBCA4",
|
||||
"* c #B6D5EE",
|
||||
"= c #F4F9FD",
|
||||
/* pixels */
|
||||
" ...... ",
|
||||
" .XoOOOOoo. ",
|
||||
".+XOOOOOOX@. ",
|
||||
".+XXXXXXXX@. ",
|
||||
".#++$$%@..... ",
|
||||
".##++$$%.&*.=. ",
|
||||
".-##++$$.;&.==. ",
|
||||
".--##++$.:;.... ",
|
||||
".>--##++.,:;&*. ",
|
||||
".<>--##+.1,:;&. ",
|
||||
".<<>--##.21,:;. ",
|
||||
".3<<>--#.O21=:. ",
|
||||
".45<<>--....... ",
|
||||
".6453<>----. ",
|
||||
"............ "
|
||||
};
|
@@ -1,60 +1,26 @@
|
||||
/* XPM */
|
||||
static char *print_xpm[] = {
|
||||
/* columns rows colors chars-per-pixel */
|
||||
"16 15 39 1",
|
||||
"< c #E3E4E6",
|
||||
"+ c #C3C3C4",
|
||||
"i c #FFFFFF",
|
||||
": c #74879B",
|
||||
"# c #5A89A6",
|
||||
"a c #F1F4F7",
|
||||
"r c #5A809C",
|
||||
"@ c #BDCCD9",
|
||||
"e c #7A92A4",
|
||||
"% c #3F6F93",
|
||||
"t c #9FA2A6",
|
||||
"3 c #939495",
|
||||
"w c #5F666D",
|
||||
"9 c #65839E",
|
||||
"5 c #4A7291",
|
||||
"$ c #4B7F9E",
|
||||
"16 15 5 1",
|
||||
" c None",
|
||||
"O c #DFE0E2",
|
||||
"o c #F3F3F3",
|
||||
"; c #84A5BB",
|
||||
"& c #467291",
|
||||
". c #7897AD",
|
||||
"* c #407598",
|
||||
"4 c #CFCFD0",
|
||||
"7 c #6F90A6",
|
||||
"y c #6A89A2",
|
||||
"0 c #AAADB2",
|
||||
"1 c #D2D3D4",
|
||||
"u c #4F7592",
|
||||
", c #BCBDBE",
|
||||
"p c #57778E",
|
||||
"q c #979BA0",
|
||||
"2 c #ABABAC",
|
||||
"- c #E7E7E7",
|
||||
"= c #D6DEE6",
|
||||
"> c #9FA0A0",
|
||||
"8 c #829EB5",
|
||||
"X c #8FB0C3",
|
||||
"6 c #5D7C93",
|
||||
". c Black",
|
||||
"X c Gray100",
|
||||
"o c #808000",
|
||||
"O c Yellow",
|
||||
/* pixels */
|
||||
" .XXXXXXXX ",
|
||||
" .oooooooX ",
|
||||
" .OOOOOOOX ",
|
||||
" .+++++++X ",
|
||||
"@##$%&&&&&%*##@ ",
|
||||
"$=-;:>,<123$-=$ ",
|
||||
".44.5678.96$44. ",
|
||||
"7,,,,,,,,,,,,,7 ",
|
||||
"900qwwwwwwwe009 ",
|
||||
"rtt9ryyyyyyuttr ",
|
||||
"6qq6iiiiiii%qq6 ",
|
||||
"633paiiiiii%336 ",
|
||||
"XXX*iiiiiii%XXX ",
|
||||
" 6iiiiiii% ",
|
||||
" $XXXXXXX# "
|
||||
" ",
|
||||
" ......... ",
|
||||
" .XXXXXXXX. ",
|
||||
" .X.....X. ",
|
||||
" .XXXXXXXX. ",
|
||||
" .X.....X.... ",
|
||||
" .XXXXXXXX. . .",
|
||||
" .......... . ..",
|
||||
". . . .",
|
||||
"............. .",
|
||||
". ooo . . ",
|
||||
". OOO ... ",
|
||||
"............. . ",
|
||||
" . . . ",
|
||||
" ........... "
|
||||
};
|
||||
|
90
art/quit.xpm
90
art/quit.xpm
@@ -1,90 +0,0 @@
|
||||
/* XPM */
|
||||
static char *quit_xpm[] = {
|
||||
/* columns rows colors chars-per-pixel */
|
||||
"16 15 69 1",
|
||||
"@ c Black",
|
||||
"i c #9AEA53",
|
||||
"D c #7E9BB1",
|
||||
"H c #839FB4",
|
||||
", c #B7C7D3",
|
||||
"8 c #BCCBD6",
|
||||
"7 c #C1CFDA",
|
||||
"v c #92ABBD",
|
||||
"- c #D0DBE2",
|
||||
"O c #547897",
|
||||
"+ c #376485",
|
||||
"L c #7090A8",
|
||||
"t c #AEC0CE",
|
||||
"g c #B3C4D1",
|
||||
"S c #84A0B4",
|
||||
"G c #89A4B8",
|
||||
"> c #BDCCD7",
|
||||
"F c #5A809C",
|
||||
"2 c #C2D0DA",
|
||||
"k c #93ACBE",
|
||||
"= c #D6E0E6",
|
||||
"* c #446A8C",
|
||||
"z c #A5B9C8",
|
||||
"# c #DEE5EB",
|
||||
"0 c #AFC1CE",
|
||||
"r c #B4C5D2",
|
||||
"p c #B9C9D5",
|
||||
"A c #8AA5B8",
|
||||
"M c #92AABD",
|
||||
"j c #A6BAC9",
|
||||
"K c #7796AC",
|
||||
"l c #ABBECC",
|
||||
"o c #E4EAEF",
|
||||
"9 c #B5C6D2",
|
||||
" c None",
|
||||
"; c #C9D6DF",
|
||||
"X c #305F81",
|
||||
"m c #98AFC0",
|
||||
"V c #9DB3C3",
|
||||
"% c #D1DBE3",
|
||||
"u c #A2B7C6",
|
||||
"y c #A7BBCA",
|
||||
"h c #ACBFCD",
|
||||
"4 c #B6C7D3",
|
||||
"w c #C0CFD9",
|
||||
"d c #982106",
|
||||
"B c #85A0B5",
|
||||
"6 c #C8D4DE",
|
||||
"c c #99B0C1",
|
||||
"x c #9EB4C4",
|
||||
"$ c #D7E0E7",
|
||||
"q c #A8BCCA",
|
||||
"s c #ADC0CD",
|
||||
"3 c #BCCCD7",
|
||||
"N c #8BA5B9",
|
||||
": c #C4D1DB",
|
||||
"1 c #C9D5DE",
|
||||
"f c #9AB1C2",
|
||||
"n c #A4B9C8",
|
||||
"a c #B3C5D1",
|
||||
". c #215579",
|
||||
"J c #7D9AB0",
|
||||
"& c #829EB5",
|
||||
"e c #BBCAD6",
|
||||
"b c #8CA6B9",
|
||||
"Z c #91AABC",
|
||||
"C c #96AEC0",
|
||||
"< c #CFDAE2",
|
||||
"5 c #AFC2CF",
|
||||
/* pixels */
|
||||
" ..XXXXXXXXXX ",
|
||||
" XoO+X@@@@@@X ",
|
||||
" X#$%&X*@@@@X ",
|
||||
" X=-;:>,X@@@X ",
|
||||
" X<12345X@@@X ",
|
||||
" X67890qX@XXX ",
|
||||
" XwertyuX@XiX ",
|
||||
" XpasddfX++iiX ",
|
||||
" XghjddkXiiiiiX ",
|
||||
" XlzxcvbXiiiiiiX",
|
||||
" XnxmMNBXiiiiiX ",
|
||||
" XVCZASDXXXiiX ",
|
||||
" XXFGHJKX XiX ",
|
||||
" FXXFLX XX ",
|
||||
" XX* "
|
||||
};
|
58
art/redo.xpm
58
art/redo.xpm
@@ -1,58 +0,0 @@
|
||||
/* XPM */
|
||||
static char *redo_xpm[] = {
|
||||
/* columns rows colors chars-per-pixel */
|
||||
"16 15 37 1",
|
||||
"4 c #9BACC2",
|
||||
"; c #4C7398",
|
||||
"3 c #547B99",
|
||||
"* c #547897",
|
||||
"# c #5A89A6",
|
||||
"8 c #3A749C",
|
||||
"5 c #5A809C",
|
||||
", c #7F99B4",
|
||||
"& c #3F6F93",
|
||||
"9 c #85A7BC",
|
||||
"+ c #749BB4",
|
||||
"> c #718BA7",
|
||||
"e c #A5B3C8",
|
||||
"w c #BECAD9",
|
||||
": c #65839D",
|
||||
"u c #E1E6EE",
|
||||
"o c #236289",
|
||||
"r c #ADBED2",
|
||||
"= c #597B9A",
|
||||
"2 c #8DA0B9",
|
||||
" c None",
|
||||
"% c #467291",
|
||||
"1 c #7393AB",
|
||||
"i c #4C809F",
|
||||
"- c #A0BACB",
|
||||
"O c #6591AE",
|
||||
"X c #407598",
|
||||
"6 c #6F90A6",
|
||||
"t c #D2D9E0",
|
||||
"7 c #ADBACE",
|
||||
"@ c #326A8F",
|
||||
"0 c #467A9C",
|
||||
". c #ACC4D3",
|
||||
"< c #7F97B0",
|
||||
"y c #B3BFD1",
|
||||
"q c #A2B3C5",
|
||||
"$ c #8FB0C3",
|
||||
/* pixels */
|
||||
" .XoooO ",
|
||||
" +o@@@@@o# +",
|
||||
" $@%%&@&%%&@ +o",
|
||||
" X*=@+-+@*=;@#&@",
|
||||
" @:=+ @=:=*:@",
|
||||
" &>:$ @:>>>@",
|
||||
" &,<X X>,,,&",
|
||||
" +123 @<2222&",
|
||||
" X44X #@56<44X",
|
||||
" O1748 .9#&o",
|
||||
" 0qwe8 ",
|
||||
" 8rty8 ",
|
||||
" 8wu+ ",
|
||||
" i## ",
|
||||
" "
|
||||
};
|
@@ -1,44 +0,0 @@
|
||||
/* XPM */
|
||||
static char *removable_xpm[] = {
|
||||
/* columns rows colors chars-per-pixel */
|
||||
"16 15 23 1",
|
||||
"@ c #C3C3C4",
|
||||
"4 c #FFFFFF",
|
||||
"o c #D5D6D8",
|
||||
"> c #7A92A3",
|
||||
". c #8497A5",
|
||||
"% c #ACAEB2",
|
||||
"2 c #4A7898",
|
||||
": c #DCE2EA",
|
||||
", c #F5F6F7",
|
||||
"= c #EBEBEC",
|
||||
"$ c #B7B7B8",
|
||||
" c None",
|
||||
"X c #DFE0E2",
|
||||
"* c #A6A8AD",
|
||||
"1 c #4C809F",
|
||||
"3 c #407598",
|
||||
"O c #CFCFD0",
|
||||
"; c #9EA2A8",
|
||||
"# c #BCBDBE",
|
||||
"+ c #C6C8CA",
|
||||
"- c #979BA0",
|
||||
"& c #E7E7E7",
|
||||
"< c #8FB0C3",
|
||||
/* pixels */
|
||||
" ......... ",
|
||||
" .XoO+@#$%. ",
|
||||
" .XoO+@#$%. ",
|
||||
" .&XoO+@#$%*. ",
|
||||
" .&XoO+@#$%*. ",
|
||||
" .=&XoO+@#$%*-. ",
|
||||
" .=&XoO+@#$%*;. ",
|
||||
".:=&XoO+@#$%*;>.",
|
||||
".,=&XoO+@#$%*;-.",
|
||||
"<..............<",
|
||||
"<,=&XoO+@#$%%%%.",
|
||||
"<O1111122233*4*.",
|
||||
"<OOOOOOOOOOO***.",
|
||||
" <<<<<<<<<<<<<< ",
|
||||
" "
|
||||
};
|
@@ -1,24 +1,27 @@
|
||||
/* XPM */
|
||||
static char *repview_xpm[] = {
|
||||
/* columns rows colors chars-per-pixel */
|
||||
"16 15 3 1",
|
||||
" c Black",
|
||||
"X c #FFFFFF",
|
||||
". c #C0C0C0",
|
||||
/* pixels */
|
||||
" ",
|
||||
" .............. ",
|
||||
" . . . . ",
|
||||
" .............. ",
|
||||
" .............. ",
|
||||
" XXXXXXXXXXXXXX ",
|
||||
" X X X X ",
|
||||
" XXXXXXXXXXXXXX ",
|
||||
" X X X X ",
|
||||
" XXXXXXXXXXXXXX ",
|
||||
" X X X X ",
|
||||
" XXXXXXXXXXXXXX ",
|
||||
" X X X X ",
|
||||
" XXXXXXXXXXXXXX ",
|
||||
" "
|
||||
};
|
||||
static char * repview_xpm[] = {
|
||||
"20 20 4 1",
|
||||
" c None",
|
||||
". c #000000",
|
||||
"+ c #FFFFFF",
|
||||
"@ c #000083",
|
||||
" ",
|
||||
" ",
|
||||
" ................ ",
|
||||
" .++++++++++++++. ",
|
||||
" .++++++++++++++. ",
|
||||
" .+++....+...+.+. ",
|
||||
" .++++++++++++++. ",
|
||||
" .+@@@@@@@@@@@.+. ",
|
||||
" .++++++++++++++. ",
|
||||
" .+@+....+...+.+. ",
|
||||
" .++++++++++++++. ",
|
||||
" .+@+....+...+.+. ",
|
||||
" .++++++++++++++. ",
|
||||
" .+@+....+...+.+. ",
|
||||
" .++++++++++++++. ",
|
||||
" .+@+....+...+.+. ",
|
||||
" .++++++++++++++. ",
|
||||
" ................ ",
|
||||
" ",
|
||||
" "};
|
||||
|
@@ -14,4 +14,5 @@ static char *tick_xpm[] = {
|
||||
" ..... ",
|
||||
" ... ",
|
||||
" . ",
|
||||
" "};
|
||||
" ",
|
||||
};
|
||||
|
@@ -1,47 +1,45 @@
|
||||
/* XPM */
|
||||
static char *tipicon_xpm[] = {
|
||||
/* columns rows colors chars-per-pixel */
|
||||
"32 32 9 1",
|
||||
"$ c Black",
|
||||
"O c #FFFFFF",
|
||||
"@ c #808080",
|
||||
"+ c #000080",
|
||||
"o c #E8EB01",
|
||||
" c None",
|
||||
"X c #FFFF40",
|
||||
"# c #C0C0C0",
|
||||
". c #ABAD01",
|
||||
"32 32 7 1",
|
||||
" c Gray0",
|
||||
". c Cyan",
|
||||
"X c Yellow",
|
||||
"o c #808080808080",
|
||||
"O c #c0c0c0c0c0c0",
|
||||
"+ c Gray100",
|
||||
"@ c None",
|
||||
/* pixels */
|
||||
" ",
|
||||
" ..... ",
|
||||
" ..XXXXX.. ",
|
||||
" ..XXXXXXXXo.. ",
|
||||
" .XXXOXXXXXXXoo. ",
|
||||
" .XOOXXX+XXXXXo. ",
|
||||
" .XOOOXX+++XXXXoo. ",
|
||||
" .XOOXXX+++XXXXXo. ",
|
||||
" .XOOOXXX+++XXXXXXo. ",
|
||||
" .XOOXXXX+++XXXXXXo. ",
|
||||
" .XXXXXXX+++XXXXXXX. ",
|
||||
" .XXXXXXX+++XXXXXXo. ",
|
||||
" .XXXXXXX+++XXXXXoo. ",
|
||||
" .XXXXXX+++XXXXXo. ",
|
||||
" .XXXXXXX+XXXXXXo. ",
|
||||
" .XXXXXXXXXXXXo. ",
|
||||
" .XXXXX+++XXXoo. ",
|
||||
" .XXXX+++XXoo. ",
|
||||
" .XXXXXXXXo. ",
|
||||
" ..XXXXXXo.. ",
|
||||
" .XXXXXo.. ",
|
||||
" @#######@ ",
|
||||
" @@@@@@@@@ ",
|
||||
" @#######@ ",
|
||||
" @@@@@@@@@ ",
|
||||
" @#######@ ",
|
||||
" @@@@@@@ ",
|
||||
" ### ",
|
||||
" $$$ ",
|
||||
" ",
|
||||
" ",
|
||||
" "
|
||||
"@@@@@@@@@@@@ @@@@@@@@@@@@@@",
|
||||
"@@@@@@@@@@ XXXXXX @@@@@@@@@@@@",
|
||||
"@@@@@@@@@ XXXXXXXXXX @@@@@@@@@@@",
|
||||
"@@@@@@@@@ XXXXXXXXXX @@@@@@@@@@@",
|
||||
"@@@@@@@@ XXXXX XXXXX @@@@@@@@@@",
|
||||
"@@@@@@@ XXXXXX XXXXXX @@@@@@@@@",
|
||||
"@@@@@@@ XXXXXX XXXXXX @@@@@@@@@",
|
||||
"@@@@@@@ XXXXXX XXXXXX @@@@@@@@@",
|
||||
"@@@@@@@ XXXXXX XXXXXX @@@@@@@@@",
|
||||
"@@@@@@@ XXXXXX XXXXXX @@@@@@@@@",
|
||||
"@@@@@@@@ XXXXX XXXXX @@@@@@@@@",
|
||||
"@@@@@@@@oXXXXXXXXXXXX @@@@@@@@@@",
|
||||
"@@@@@@@o+ XXXX XXXX o@@@@@@@@@@",
|
||||
"@@@@@@o++ XXXX XXXX +o@@@@@@@@@",
|
||||
"@@@@@o++++ XXX XXX +++o@@@@@@@@",
|
||||
"@@@@o++.+.+ XXXXXX .+..+o@@@@@@@",
|
||||
"@@@o++++++++ XXXX +++++++o@@@@@@",
|
||||
"@@ +..+.+.+. oooo +.+..+.+ @@@@@",
|
||||
"@@@ ++++++++ OOOO +++++++ @@@@@@",
|
||||
"@@@@ ++.+.+. oooo +.+..+ @@@@@@@",
|
||||
"@@@oo ++++++ OO +++++ oo@@@@@@",
|
||||
"@@@ooo ++.+.+ ++.++ ooo@@@@@@",
|
||||
"@@@@ooo +.+.+ ++.+ ooo@@@@@@@",
|
||||
"@@@@@ooo +++++++++++ ooo@@@@@@@@",
|
||||
"@@@@@@ooo +.+.+.+.+ ooo@@@@@@@@@",
|
||||
"@@@@@@@ooo +++++++ ooo@@@@@@@@@@",
|
||||
"@@@@@@@@ooo +.+.+ ooo@@@@@@@@@@@",
|
||||
"@@@@@@@@@ooo +++ ooo@@@@@@@@@@@@",
|
||||
"@@@@@@@@@@ooo + ooo@@@@@@@@@@@@@",
|
||||
"@@@@@@@@@@@ooo ooo@@@@@@@@@@@@@@",
|
||||
"@@@@@@@@@@@@ooooo@@@@@@@@@@@@@@@",
|
||||
"@@@@@@@@@@@@@ooo@@@@@@@@@@@@@@@@"
|
||||
};
|
||||
|
@@ -1,21 +1,21 @@
|
||||
/* XPM */
|
||||
static char * toparent_xpm[] = {
|
||||
"16 15 3 1",
|
||||
" c None",
|
||||
". c Black",
|
||||
"X c Gray100",
|
||||
" ",
|
||||
" .. ",
|
||||
" .XX. ",
|
||||
" .XXXX. ",
|
||||
" .XXXXXX. ",
|
||||
" .XXXXXXXX. ",
|
||||
" ....XXXX.... ",
|
||||
" .XXXX. ",
|
||||
" .XXXX..... ",
|
||||
" .XXXXXXXX. ",
|
||||
" .XXXXXXXX. ",
|
||||
" .XXXXXXXX. ",
|
||||
" .XXXXXXXX. ",
|
||||
" .......... ",
|
||||
" "};
|
||||
/* XPM */
|
||||
static char * toparent_xpm[] = {
|
||||
"16 15 3 1",
|
||||
" c None",
|
||||
". c Black",
|
||||
"X c Gray100",
|
||||
" ",
|
||||
" .. ",
|
||||
" .XX. ",
|
||||
" .XXXX. ",
|
||||
" .XXXXXX. ",
|
||||
" .XXXXXXXX. ",
|
||||
" ....XXXX.... ",
|
||||
" .XXXX. ",
|
||||
" .XXXX..... ",
|
||||
" .XXXXXXXX. ",
|
||||
" .XXXXXXXX. ",
|
||||
" .XXXXXXXX. ",
|
||||
" .XXXXXXXX. ",
|
||||
" .......... ",
|
||||
" "};
|
||||
|
58
art/undo.xpm
58
art/undo.xpm
@@ -1,58 +0,0 @@
|
||||
/* XPM */
|
||||
static char *undo_xpm[] = {
|
||||
/* columns rows colors chars-per-pixel */
|
||||
"16 15 37 1",
|
||||
"4 c #9BACC2",
|
||||
"* c #4C7398",
|
||||
"2 c #547B99",
|
||||
"- c #547897",
|
||||
"@ c #5A89A6",
|
||||
"8 c #3A749C",
|
||||
"6 c #5A809C",
|
||||
", c #7F99B4",
|
||||
"$ c #3F6F93",
|
||||
"7 c #85A7BC",
|
||||
"+ c #749BB4",
|
||||
"> c #718BA7",
|
||||
"0 c #A5B3C8",
|
||||
"q c #BECAD9",
|
||||
": c #65839D",
|
||||
"u c #E1E6EE",
|
||||
"X c #236289",
|
||||
"y c #ADBED2",
|
||||
"= c #597B9A",
|
||||
"1 c #8DA0B9",
|
||||
" c None",
|
||||
"% c #467291",
|
||||
"3 c #7393AB",
|
||||
"i c #4C809F",
|
||||
"; c #A0BACB",
|
||||
". c #6591AE",
|
||||
"o c #407598",
|
||||
"5 c #6F90A6",
|
||||
"t c #D2D9E0",
|
||||
"9 c #ADBACE",
|
||||
"# c #326A8F",
|
||||
"e c #467A9C",
|
||||
"O c #ACC4D3",
|
||||
"< c #7F97B0",
|
||||
"r c #B3BFD1",
|
||||
"w c #A2B3C5",
|
||||
"& c #8FB0C3",
|
||||
/* pixels */
|
||||
" .XXXoO ",
|
||||
"+ @X#####X+ ",
|
||||
"X+ #$%%$#$%%#& ",
|
||||
"#$@#*=-#+;+#=-o ",
|
||||
"#:-=:=# +=:# ",
|
||||
"#>>>:# &:>$ ",
|
||||
"$,,,>o o<,$ ",
|
||||
"$1111<# 213+ ",
|
||||
"o44<56#@ o44o ",
|
||||
"X$@7O 8493. ",
|
||||
" 80qwe ",
|
||||
" 8rty8 ",
|
||||
" +uq8 ",
|
||||
" @@i ",
|
||||
" "
|
||||
};
|
42
art/up.xpm
42
art/up.xpm
@@ -1,21 +1,21 @@
|
||||
/* XPM */
|
||||
static char * up_xpm[] = {
|
||||
"16 15 3 1",
|
||||
" c None",
|
||||
". c Black",
|
||||
"X c Gray100",
|
||||
" ",
|
||||
" .. ",
|
||||
" .XX. ",
|
||||
" .XXXX. ",
|
||||
" .XXXXXX. ",
|
||||
" .XXXXXXXX. ",
|
||||
" ....XXXX.... ",
|
||||
" .XXXX. ",
|
||||
" .XXXX. ",
|
||||
" .XXXX. ",
|
||||
" .XXXX. ",
|
||||
" .XXXX. ",
|
||||
" .XXXX. ",
|
||||
" ...... ",
|
||||
" "};
|
||||
/* XPM */
|
||||
static char * up_xpm[] = {
|
||||
"16 15 3 1",
|
||||
" c None",
|
||||
". c Black",
|
||||
"X c Gray100",
|
||||
" ",
|
||||
" .. ",
|
||||
" .XX. ",
|
||||
" .XXXX. ",
|
||||
" .XXXXXX. ",
|
||||
" .XXXXXXXX. ",
|
||||
" ....XXXX.... ",
|
||||
" .XXXX. ",
|
||||
" .XXXX. ",
|
||||
" .XXXX. ",
|
||||
" .XXXX. ",
|
||||
" .XXXX. ",
|
||||
" .XXXX. ",
|
||||
" ...... ",
|
||||
" "};
|
||||
|
@@ -9,6 +9,7 @@ static char *wxwin16x16_xpm[] = {
|
||||
"+ c #FF0000",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ....... ",
|
||||
" .XXXXX. ",
|
||||
" .oXXXX. ",
|
||||
@@ -21,5 +22,4 @@ static char *wxwin16x16_xpm[] = {
|
||||
".+++++. .......",
|
||||
"....... ",
|
||||
" ",
|
||||
" ",
|
||||
" "};
|
||||
|
940
autoconf_inc.m4
940
autoconf_inc.m4
File diff suppressed because one or more lines are too long
@@ -1 +0,0 @@
|
||||
wince
|
@@ -1,27 +0,0 @@
|
||||
autogen.mk
|
||||
|
||||
autogen.mk is a makefile provided to automatically update the GNU autotools
|
||||
build system. It will run Bakefile, aclocal, and autoconf as appropriate.
|
||||
|
||||
The .m4 files required for running aclocal are located in build/aclocal.
|
||||
When upgrading software that wxWidgets depends on (for example, Bakefile,
|
||||
cppunit, GTK, SDL, or others) it is advisable to upgrade the .m4 files
|
||||
located in the build/aclocal directory.
|
||||
|
||||
It is particularly important that if you use a newer version of Bakefile
|
||||
to generate the Makefile.in files that you use the newer bakefile*.m4.
|
||||
Because build/autogen.mk is a Makefile it will automatically rerun
|
||||
aclocal and autoconf as necessary whenever any m4 in build/aclocal is
|
||||
newer than the generated aclocal.m4.
|
||||
|
||||
You can achieve this simply by copying the new bakefile*.m4 files from
|
||||
PREFIX/share/aclocal/ into the build/aclocal/ directory and
|
||||
rerunning make -f build/autogen.mk. Note that you should _not_ preserve
|
||||
source file times (don't use cp -p) or else it's possible your .m4 files
|
||||
will be older than the generated aclocal.m4).
|
||||
Example:
|
||||
cp /usr/share/aclocal/bakefile*.m4 build/aclocal/
|
||||
make -f build/autogen.mk
|
||||
|
||||
Please don't forget to commit updated .m4 files as well as updated aclocal.m4,
|
||||
configure, and Makefile.in files to wxWidgets.
|
@@ -1,78 +0,0 @@
|
||||
dnl @synopsis AC_raf_FUNC_WHICH_GETSERVBYNAME_R
|
||||
dnl
|
||||
dnl Provides a test to determine the correct way to call
|
||||
dnl getservbyname_r:
|
||||
dnl
|
||||
dnl - defines HAVE_FUNC_GETSERVBYNAME_R_6 if it needs 6 arguments (e.g linux)
|
||||
dnl - defines HAVE_FUNC_GETSERVBYNAME_R_5 if it needs 5 arguments (e.g. solaris)
|
||||
dnl - defines HAVE_FUNC_GETSERVBYNAME_R_4 if it needs 4 arguments (e.g. osf/1)
|
||||
dnl
|
||||
dnl An example use can be found at
|
||||
dnl http://raf.org/autoconf/net_getservbyname.c
|
||||
dnl
|
||||
dnl Based on Caolan McNamara's gethostbyname_r macro. Based on David
|
||||
dnl Arnold's autoconf suggestion in the threads faq.
|
||||
dnl
|
||||
dnl @category Misc
|
||||
dnl @author raf <raf@raf.org>
|
||||
dnl @version 2001-08-20
|
||||
dnl @license GPLWithACException
|
||||
|
||||
AC_DEFUN([AC_raf_FUNC_WHICH_GETSERVBYNAME_R],
|
||||
[
|
||||
AC_CACHE_CHECK(how many arguments getservbyname_r() takes,
|
||||
ac_cv_func_which_getservbyname_r,
|
||||
[
|
||||
dnl we need to use C++ to detect missing prototypes
|
||||
AC_LANG_PUSH(C++)
|
||||
|
||||
AC_TRY_COMPILE([#include <netdb.h>],
|
||||
[
|
||||
char *name;
|
||||
char *proto;
|
||||
struct servent *se, *res;
|
||||
char buffer[2048];
|
||||
int buflen = 2048;
|
||||
(void) getservbyname_r(name, proto, se, buffer, buflen, &res)
|
||||
],
|
||||
ac_cv_func_which_getservbyname_r=six,
|
||||
[
|
||||
AC_TRY_COMPILE([#include <netdb.h>],
|
||||
[
|
||||
char *name;
|
||||
char *proto;
|
||||
struct servent *se;
|
||||
char buffer[2048];
|
||||
int buflen = 2048;
|
||||
(void) getservbyname_r(name, proto, se, buffer, buflen)
|
||||
],
|
||||
ac_cv_func_which_getservbyname_r=five,
|
||||
[
|
||||
AC_TRY_COMPILE([#include <netdb.h>],
|
||||
[
|
||||
char *name;
|
||||
char *proto;
|
||||
struct servent *se;
|
||||
struct servent_data data;
|
||||
(void) getservbyname_r(name, proto, se, &data);
|
||||
],
|
||||
ac_cv_func_which_getservbyname_r=four,
|
||||
ac_cv_func_which_getservbyname_r=no
|
||||
)
|
||||
]
|
||||
)
|
||||
]
|
||||
)
|
||||
AC_LANG_POP()
|
||||
]
|
||||
)
|
||||
|
||||
if test $ac_cv_func_which_getservbyname_r = six; then
|
||||
AC_DEFINE(HAVE_FUNC_GETSERVBYNAME_R_6)
|
||||
elif test $ac_cv_func_which_getservbyname_r = five; then
|
||||
AC_DEFINE(HAVE_FUNC_GETSERVBYNAME_R_5)
|
||||
elif test $ac_cv_func_which_getservbyname_r = four; then
|
||||
AC_DEFINE(HAVE_FUNC_GETSERVBYNAME_R_4)
|
||||
fi
|
||||
|
||||
])
|
@@ -1,155 +0,0 @@
|
||||
dnl @synopsis AX_FUNC_WHICH_GETHOSTBYNAME_R
|
||||
dnl
|
||||
dnl Determines which historical variant of the gethostbyname_r() call
|
||||
dnl (taking three, five, or six arguments) is available on the system
|
||||
dnl and defines one of the following macros accordingly:
|
||||
dnl
|
||||
dnl HAVE_FUNC_GETHOSTBYNAME_R_6
|
||||
dnl HAVE_FUNC_GETHOSTBYNAME_R_5
|
||||
dnl HAVE_FUNC_GETHOSTBYNAME_R_3
|
||||
dnl
|
||||
dnl If used in conjunction with gethostname.c, the API demonstrated in
|
||||
dnl test.c can be used regardless of which gethostbyname_r() is
|
||||
dnl available. These example files can be found at
|
||||
dnl http://www.csn.ul.ie/~caolan/publink/gethostbyname_r
|
||||
dnl
|
||||
dnl based on David Arnold's autoconf suggestion in the threads faq
|
||||
dnl
|
||||
dnl Originally named "AC_caolan_FUNC_WHICH_GETHOSTBYNAME_R". Rewritten
|
||||
dnl for Autoconf 2.5x by Daniel Richard G.
|
||||
dnl
|
||||
dnl @category InstalledPackages
|
||||
dnl @author Caolan McNamara <caolan@skynet.ie>
|
||||
dnl @author Daniel Richard G. <skunk@iskunk.org>
|
||||
dnl @version 2005-01-21
|
||||
dnl @license GPLWithACException
|
||||
|
||||
AC_DEFUN([AX_FUNC_WHICH_GETHOSTBYNAME_R], [
|
||||
|
||||
AC_LANG_PUSH(C)
|
||||
AC_MSG_CHECKING([how many arguments gethostbyname_r() takes])
|
||||
|
||||
AC_CACHE_VAL(ac_cv_func_which_gethostbyname_r, [
|
||||
|
||||
################################################################
|
||||
|
||||
ac_cv_func_which_gethostbyname_r=unknown
|
||||
|
||||
#
|
||||
# ONE ARGUMENT (sanity check)
|
||||
#
|
||||
|
||||
# This should fail, as there is no variant of gethostbyname_r() that takes
|
||||
# a single argument. If it actually compiles, then we can assume that
|
||||
# netdb.h is not declaring the function, and the compiler is thereby
|
||||
# assuming an implicit prototype. In which case, we're out of luck.
|
||||
#
|
||||
AC_COMPILE_IFELSE(
|
||||
AC_LANG_PROGRAM(
|
||||
[[#include <netdb.h>]],
|
||||
[[
|
||||
char *name = "www.gnu.org";
|
||||
(void)gethostbyname_r(name) /* ; */
|
||||
]]),
|
||||
ac_cv_func_which_gethostbyname_r=no)
|
||||
|
||||
#
|
||||
# SIX ARGUMENTS
|
||||
# (e.g. Linux)
|
||||
#
|
||||
|
||||
if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
|
||||
|
||||
AC_COMPILE_IFELSE(
|
||||
AC_LANG_PROGRAM(
|
||||
[[#include <netdb.h>]],
|
||||
[[
|
||||
char *name = "www.gnu.org";
|
||||
struct hostent ret, *retp;
|
||||
char buf@<:@1024@:>@;
|
||||
int buflen = 1024;
|
||||
int my_h_errno;
|
||||
(void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
|
||||
]]),
|
||||
ac_cv_func_which_gethostbyname_r=six)
|
||||
|
||||
fi
|
||||
|
||||
#
|
||||
# FIVE ARGUMENTS
|
||||
# (e.g. Solaris)
|
||||
#
|
||||
|
||||
if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
|
||||
|
||||
AC_COMPILE_IFELSE(
|
||||
AC_LANG_PROGRAM(
|
||||
[[#include <netdb.h>]],
|
||||
[[
|
||||
char *name = "www.gnu.org";
|
||||
struct hostent ret;
|
||||
char buf@<:@1024@:>@;
|
||||
int buflen = 1024;
|
||||
int my_h_errno;
|
||||
(void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
|
||||
]]),
|
||||
ac_cv_func_which_gethostbyname_r=five)
|
||||
|
||||
fi
|
||||
|
||||
#
|
||||
# THREE ARGUMENTS
|
||||
# (e.g. AIX, HP-UX, Tru64)
|
||||
#
|
||||
|
||||
if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
|
||||
|
||||
AC_COMPILE_IFELSE(
|
||||
AC_LANG_PROGRAM(
|
||||
[[#include <netdb.h>]],
|
||||
[[
|
||||
char *name = "www.gnu.org";
|
||||
struct hostent ret;
|
||||
struct hostent_data data;
|
||||
(void)gethostbyname_r(name, &ret, &data) /* ; */
|
||||
]]),
|
||||
ac_cv_func_which_gethostbyname_r=three)
|
||||
|
||||
fi
|
||||
|
||||
################################################################
|
||||
|
||||
]) dnl end AC_CACHE_VAL
|
||||
|
||||
case "$ac_cv_func_which_gethostbyname_r" in
|
||||
three)
|
||||
AC_MSG_RESULT([three])
|
||||
AC_DEFINE(HAVE_FUNC_GETHOSTBYNAME_R_3)
|
||||
;;
|
||||
|
||||
five)
|
||||
AC_MSG_RESULT([five])
|
||||
AC_DEFINE(HAVE_FUNC_GETHOSTBYNAME_R_5)
|
||||
;;
|
||||
|
||||
six)
|
||||
AC_MSG_RESULT([six])
|
||||
AC_DEFINE(HAVE_FUNC_GETHOSTBYNAME_R_6)
|
||||
;;
|
||||
|
||||
no)
|
||||
AC_MSG_RESULT([cannot find function declaration in netdb.h])
|
||||
;;
|
||||
|
||||
unknown)
|
||||
AC_MSG_RESULT([can't tell])
|
||||
;;
|
||||
|
||||
*)
|
||||
AC_MSG_ERROR([internal error])
|
||||
;;
|
||||
esac
|
||||
|
||||
AC_LANG_POP(C)
|
||||
|
||||
]) dnl end AC_DEFUN
|
@@ -1,258 +0,0 @@
|
||||
dnl ---------------------------------------------------------------------------
|
||||
dnl Compiler detection macros by David Elliott
|
||||
dnl ---------------------------------------------------------------------------
|
||||
|
||||
|
||||
dnl ===========================================================================
|
||||
dnl Macros to detect non-GNU compilers (MetroWerks, XLC)
|
||||
dnl ===========================================================================
|
||||
|
||||
dnl Based on autoconf _AC_LANG_COMPILER_GNU
|
||||
AC_DEFUN([_AC_BAKEFILE_LANG_COMPILER_MWERKS],
|
||||
[AC_CACHE_CHECK([whether we are using the Metrowerks _AC_LANG compiler],
|
||||
[bakefile_cv_[]_AC_LANG_ABBREV[]_compiler_mwerks],
|
||||
[AC_TRY_COMPILE([],[#ifndef __MWERKS__
|
||||
choke me
|
||||
#endif
|
||||
],
|
||||
[bakefile_compiler_mwerks=yes],
|
||||
[bakefile_compiler_mwerks=no])
|
||||
bakefile_cv_[]_AC_LANG_ABBREV[]_compiler_mwerks=$bakefile_compiler_mwerks
|
||||
])
|
||||
])
|
||||
|
||||
dnl Loosely based on autoconf AC_PROG_CC
|
||||
dnl TODO: Maybe this should wrap the call to AC_PROG_CC and be used instead.
|
||||
AC_DEFUN([AC_BAKEFILE_PROG_MWCC],
|
||||
[AC_LANG_PUSH(C)
|
||||
_AC_BAKEFILE_LANG_COMPILER_MWERKS
|
||||
MWCC=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
|
||||
AC_LANG_POP(C)
|
||||
])
|
||||
|
||||
dnl Loosely based on autoconf AC_PROG_CXX
|
||||
dnl TODO: Maybe this should wrap the call to AC_PROG_CXX and be used instead.
|
||||
AC_DEFUN([AC_BAKEFILE_PROG_MWCXX],
|
||||
[AC_LANG_PUSH(C++)
|
||||
_AC_BAKEFILE_LANG_COMPILER_MWERKS
|
||||
MWCXX=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
|
||||
AC_LANG_POP(C++)
|
||||
])
|
||||
|
||||
dnl Based on autoconf _AC_LANG_COMPILER_GNU
|
||||
AC_DEFUN([_AC_BAKEFILE_LANG_COMPILER_XLC],
|
||||
[AC_CACHE_CHECK([whether we are using the IBM xlC _AC_LANG compiler],
|
||||
[bakefile_cv_[]_AC_LANG_ABBREV[]_compiler_xlc],
|
||||
[AC_TRY_COMPILE([],[#ifndef __xlC__
|
||||
choke me
|
||||
#endif
|
||||
],
|
||||
[bakefile_compiler_xlc=yes],
|
||||
[bakefile_compiler_xlc=no])
|
||||
bakefile_cv_[]_AC_LANG_ABBREV[]_compiler_xlc=$bakefile_compiler_xlc
|
||||
])
|
||||
])
|
||||
|
||||
dnl Loosely based on autoconf AC_PROG_CC
|
||||
AC_DEFUN([AC_BAKEFILE_PROG_XLCC],
|
||||
[AC_LANG_PUSH(C)
|
||||
_AC_BAKEFILE_LANG_COMPILER_XLC
|
||||
XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
|
||||
AC_LANG_POP(C)
|
||||
])
|
||||
|
||||
dnl Loosely based on autoconf AC_PROG_CXX
|
||||
AC_DEFUN([AC_BAKEFILE_PROG_XLCXX],
|
||||
[AC_LANG_PUSH(C++)
|
||||
_AC_BAKEFILE_LANG_COMPILER_XLC
|
||||
XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
|
||||
AC_LANG_POP(C++)
|
||||
])
|
||||
|
||||
dnl Based on autoconf _AC_LANG_COMPILER_GNU
|
||||
dnl _AC_BAKEFILE_LANG_COMPILER(NAME, LANG, SYMBOL, IF-YES, IF-NO)
|
||||
AC_DEFUN([_AC_BAKEFILE_LANG_COMPILER],
|
||||
[
|
||||
AC_LANG_PUSH($2)
|
||||
AC_CACHE_CHECK(
|
||||
[whether we are using the $1 $2 compiler],
|
||||
[bakefile_cv_[]_AC_LANG_ABBREV[]_compiler_[]$3],
|
||||
[AC_TRY_COMPILE(
|
||||
[],
|
||||
[
|
||||
#ifndef $3
|
||||
choke me
|
||||
#endif
|
||||
],
|
||||
[bakefile_cv_[]_AC_LANG_ABBREV[]_compiler_[]$3=yes],
|
||||
[bakefile_cv_[]_AC_LANG_ABBREV[]_compiler_[]$3=no]
|
||||
)
|
||||
]
|
||||
)
|
||||
if test "x$bakefile_cv_[]_AC_LANG_ABBREV[]_compiler_[]$3" = "xyes"; then
|
||||
:; $4
|
||||
else
|
||||
:; $5
|
||||
fi
|
||||
AC_LANG_POP($2)
|
||||
])
|
||||
|
||||
dnl recent versions of SGI mipsPro compiler define _SGI_COMPILER_VERSION
|
||||
dnl
|
||||
dnl NB: old versions define _COMPILER_VERSION but this could probably be
|
||||
dnl defined by other compilers too so don't test for it to be safe
|
||||
AC_DEFUN([AC_BAKEFILE_PROG_SGICC],
|
||||
[
|
||||
_AC_BAKEFILE_LANG_COMPILER(SGI, C, _SGI_COMPILER_VERSION, SGICC=yes)
|
||||
])
|
||||
|
||||
AC_DEFUN([AC_BAKEFILE_PROG_SGICXX],
|
||||
[
|
||||
_AC_BAKEFILE_LANG_COMPILER(SGI, C++, _SGI_COMPILER_VERSION, SGICXX=yes)
|
||||
])
|
||||
|
||||
dnl Sun compiler defines __SUNPRO_C/__SUNPRO_CC
|
||||
AC_DEFUN([AC_BAKEFILE_PROG_SUNCC],
|
||||
[
|
||||
_AC_BAKEFILE_LANG_COMPILER(Sun, C, __SUNPRO_C, SUNCC=yes)
|
||||
])
|
||||
|
||||
AC_DEFUN([AC_BAKEFILE_PROG_SUNCXX],
|
||||
[
|
||||
_AC_BAKEFILE_LANG_COMPILER(Sun, C++, __SUNPRO_CC, SUNCXX=yes)
|
||||
])
|
||||
|
||||
dnl Intel icc compiler defines __INTEL_COMPILER for both C and C++
|
||||
AC_DEFUN([AC_BAKEFILE_PROG_INTELCC],
|
||||
[
|
||||
_AC_BAKEFILE_LANG_COMPILER(Intel, C, __INTEL_COMPILER, INTELCC=yes)
|
||||
])
|
||||
|
||||
AC_DEFUN([AC_BAKEFILE_PROG_INTELCXX],
|
||||
[
|
||||
_AC_BAKEFILE_LANG_COMPILER(Intel, C++, __INTEL_COMPILER, INTELCXX=yes)
|
||||
])
|
||||
|
||||
dnl HP-UX aCC: see http://docs.hp.com/en/6162/preprocess.htm#macropredef
|
||||
AC_DEFUN([AC_BAKEFILE_PROG_HPCC],
|
||||
[
|
||||
_AC_BAKEFILE_LANG_COMPILER(HP, C, __HP_cc, HPCC=yes)
|
||||
])
|
||||
|
||||
AC_DEFUN([AC_BAKEFILE_PROG_HPCXX],
|
||||
[
|
||||
_AC_BAKEFILE_LANG_COMPILER(HP, C++, __HP_aCC, HPCXX=yes)
|
||||
])
|
||||
|
||||
dnl Tru64 cc and cxx
|
||||
AC_DEFUN([AC_BAKEFILE_PROG_COMPAQCC],
|
||||
[
|
||||
_AC_BAKEFILE_LANG_COMPILER(Compaq, C, __DECC, COMPAQCC=yes)
|
||||
])
|
||||
|
||||
AC_DEFUN([AC_BAKEFILE_PROG_COMPAQCXX],
|
||||
[
|
||||
_AC_BAKEFILE_LANG_COMPILER(Compaq, C++, __DECCXX, COMPAQCXX=yes)
|
||||
])
|
||||
|
||||
dnl ===========================================================================
|
||||
dnl macros to detect specialty compiler options
|
||||
dnl ===========================================================================
|
||||
|
||||
dnl Figure out if we need to pass -ext o to compiler (MetroWerks)
|
||||
AC_DEFUN([AC_BAKEFILE_METROWERKS_EXTO],
|
||||
[AC_CACHE_CHECK([if the _AC_LANG compiler requires -ext o], bakefile_cv_[]_AC_LANG_ABBREV[]_exto,
|
||||
dnl First create an empty conf test
|
||||
[AC_LANG_CONFTEST([AC_LANG_PROGRAM()])
|
||||
dnl Now remove .o and .c.o or .cc.o
|
||||
rm -f conftest.$ac_objext conftest.$ac_ext.o
|
||||
dnl Now compile the test
|
||||
AS_IF([AC_TRY_EVAL(ac_compile)],
|
||||
dnl If the test succeeded look for conftest.c.o or conftest.cc.o
|
||||
[for ac_file in `(ls conftest.* 2>/dev/null)`; do
|
||||
case $ac_file in
|
||||
conftest.$ac_ext.o)
|
||||
bakefile_cv_[]_AC_LANG_ABBREV[]_exto="-ext o"
|
||||
;;
|
||||
*)
|
||||
;;
|
||||
esac
|
||||
done],
|
||||
[AC_MSG_FAILURE([cannot figure out if compiler needs -ext o: cannot compile])
|
||||
]) dnl AS_IF
|
||||
|
||||
rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
|
||||
]) dnl AC_CACHE_CHECK
|
||||
|
||||
if test "x$bakefile_cv_[]_AC_LANG_ABBREV[]_exto" '!=' "x"; then
|
||||
if test "[]_AC_LANG_ABBREV[]" = "c"; then
|
||||
CFLAGS="$bakefile_cv_[]_AC_LANG_ABBREV[]_exto $CFLAGS"
|
||||
fi
|
||||
if test "[]_AC_LANG_ABBREV[]" = "cxx"; then
|
||||
CXXFLAGS="$bakefile_cv_[]_AC_LANG_ABBREV[]_exto $CXXFLAGS"
|
||||
fi
|
||||
fi
|
||||
]) dnl AC_DEFUN
|
||||
|
||||
|
||||
dnl ===========================================================================
|
||||
dnl Macros to do all of the compiler detections as one macro
|
||||
dnl ===========================================================================
|
||||
|
||||
dnl check for different proprietary compilers depending on target platform
|
||||
dnl _AC_BAKEFILE_PROG_COMPILER(LANG)
|
||||
AC_DEFUN([_AC_BAKEFILE_PROG_COMPILER],
|
||||
[
|
||||
AC_PROG_$1
|
||||
AC_BAKEFILE_PROG_INTEL$1
|
||||
dnl if we're using gcc, we can't be using any of incompatible compilers
|
||||
if test "x$G$1" != "xyes"; then
|
||||
if test "x$1" = "xC"; then
|
||||
AC_BAKEFILE_METROWERKS_EXTO
|
||||
if test "x$bakefile_cv_c_exto" '!=' "x"; then
|
||||
unset ac_cv_prog_cc_g
|
||||
_AC_PROG_CC_G
|
||||
fi
|
||||
fi
|
||||
|
||||
dnl most of these compilers are only used under well-defined OS so
|
||||
dnl don't waste time checking for them on other ones
|
||||
case `uname -s` in
|
||||
AIX*)
|
||||
AC_BAKEFILE_PROG_XL$1
|
||||
;;
|
||||
|
||||
Darwin)
|
||||
AC_BAKEFILE_PROG_MW$1
|
||||
AC_BAKEFILE_PROG_XL$1
|
||||
;;
|
||||
|
||||
IRIX*)
|
||||
AC_BAKEFILE_PROG_SGI$1
|
||||
;;
|
||||
|
||||
HP-UX*)
|
||||
AC_BAKEFILE_PROG_HP$1
|
||||
;;
|
||||
|
||||
OSF1)
|
||||
AC_BAKEFILE_PROG_COMPAQ$1
|
||||
;;
|
||||
|
||||
SunOS)
|
||||
AC_BAKEFILE_PROG_SUN$1
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
])
|
||||
|
||||
AC_DEFUN([AC_BAKEFILE_PROG_CC],
|
||||
[
|
||||
_AC_BAKEFILE_PROG_COMPILER(CC)
|
||||
])
|
||||
|
||||
AC_DEFUN([AC_BAKEFILE_PROG_CXX],
|
||||
[
|
||||
_AC_BAKEFILE_PROG_COMPILER(CXX)
|
||||
])
|
||||
|
File diff suppressed because it is too large
Load Diff
@@ -1,81 +0,0 @@
|
||||
dnl
|
||||
dnl AM_PATH_CPPUNIT(MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]])
|
||||
dnl
|
||||
AC_DEFUN([AM_PATH_CPPUNIT],
|
||||
[
|
||||
|
||||
AC_ARG_WITH(cppunit-prefix,[ --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)],
|
||||
cppunit_config_prefix="$withval", cppunit_config_prefix="")
|
||||
AC_ARG_WITH(cppunit-exec-prefix,[ --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)],
|
||||
cppunit_config_exec_prefix="$withval", cppunit_config_exec_prefix="")
|
||||
|
||||
if test x$cppunit_config_exec_prefix != x ; then
|
||||
cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
|
||||
if test x${CPPUNIT_CONFIG+set} != xset ; then
|
||||
CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
|
||||
fi
|
||||
fi
|
||||
if test x$cppunit_config_prefix != x ; then
|
||||
cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
|
||||
if test x${CPPUNIT_CONFIG+set} != xset ; then
|
||||
CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
|
||||
fi
|
||||
fi
|
||||
|
||||
AC_PATH_PROG(CPPUNIT_CONFIG, cppunit-config, no)
|
||||
cppunit_version_min=$1
|
||||
|
||||
AC_MSG_CHECKING(for Cppunit - version >= $cppunit_version_min)
|
||||
no_cppunit=""
|
||||
if test "$CPPUNIT_CONFIG" = "no" ; then
|
||||
AC_MSG_RESULT(no)
|
||||
no_cppunit=yes
|
||||
else
|
||||
CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
|
||||
CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
|
||||
cppunit_version=`$CPPUNIT_CONFIG --version`
|
||||
|
||||
cppunit_major_version=`echo $cppunit_version | \
|
||||
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
|
||||
cppunit_minor_version=`echo $cppunit_version | \
|
||||
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
|
||||
cppunit_micro_version=`echo $cppunit_version | \
|
||||
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
|
||||
|
||||
cppunit_major_min=`echo $cppunit_version_min | \
|
||||
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
|
||||
cppunit_minor_min=`echo $cppunit_version_min | \
|
||||
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
|
||||
cppunit_micro_min=`echo $cppunit_version_min | \
|
||||
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
|
||||
|
||||
cppunit_version_proper=`expr \
|
||||
$cppunit_major_version \> $cppunit_major_min \| \
|
||||
$cppunit_major_version \= $cppunit_major_min \& \
|
||||
$cppunit_minor_version \> $cppunit_minor_min \| \
|
||||
$cppunit_major_version \= $cppunit_major_min \& \
|
||||
$cppunit_minor_version \= $cppunit_minor_min \& \
|
||||
$cppunit_micro_version \>= $cppunit_micro_min `
|
||||
|
||||
if test "$cppunit_version_proper" = "1" ; then
|
||||
AC_MSG_RESULT([$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version])
|
||||
else
|
||||
AC_MSG_RESULT(no)
|
||||
no_cppunit=yes
|
||||
fi
|
||||
fi
|
||||
|
||||
if test "x$no_cppunit" = x ; then
|
||||
ifelse([$2], , :, [$2])
|
||||
else
|
||||
CPPUNIT_CFLAGS=""
|
||||
CPPUNIT_LIBS=""
|
||||
ifelse([$3], , :, [$3])
|
||||
fi
|
||||
|
||||
AC_SUBST(CPPUNIT_CFLAGS)
|
||||
AC_SUBST(CPPUNIT_LIBS)
|
||||
])
|
||||
|
||||
|
||||
|
@@ -1,23 +0,0 @@
|
||||
dnl Perform a check for a GStreamer element using gst-inspect
|
||||
dnl Thomas Vander Stichele <thomas at apestaart dot org>
|
||||
dnl Last modification: 25/01/2005
|
||||
|
||||
dnl AM_GST_ELEMENT_CHECK(ELEMENT-NAME, ACTION-IF-FOUND, ACTION-IF-NOT-FOUND)
|
||||
|
||||
AC_DEFUN([AM_GST_ELEMENT_CHECK],
|
||||
[
|
||||
if test "x$GST_INSPECT" == "x"; then
|
||||
AC_CHECK_PROG(GST_INSPECT, gst-inspect, gst-inspect, [])
|
||||
fi
|
||||
|
||||
if test "x$GST_INSPECT" != "x"; then
|
||||
AC_MSG_CHECKING(GStreamer element $1)
|
||||
if [ $GST_INSPECT $1 > /dev/null 2> /dev/null ]; then
|
||||
AC_MSG_RESULT(found.)
|
||||
$2
|
||||
else
|
||||
AC_MSG_RESULT(not found.)
|
||||
$3
|
||||
fi
|
||||
fi
|
||||
])
|
@@ -1,196 +0,0 @@
|
||||
# Configure paths for GTK+
|
||||
# Owen Taylor 1997-2001
|
||||
|
||||
dnl AM_PATH_GTK_2_0([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND [, MODULES]]]])
|
||||
dnl Test for GTK+, and define GTK_CFLAGS and GTK_LIBS, if gthread is specified in MODULES,
|
||||
dnl pass to pkg-config
|
||||
dnl
|
||||
AC_DEFUN([AM_PATH_GTK_2_0],
|
||||
[dnl
|
||||
dnl Get the cflags and libraries from pkg-config
|
||||
dnl
|
||||
AC_ARG_ENABLE(gtktest, [ --disable-gtktest do not try to compile and run a test GTK+ program],
|
||||
, enable_gtktest=yes)
|
||||
|
||||
pkg_config_args=gtk+-2.0
|
||||
for module in . $4
|
||||
do
|
||||
case "$module" in
|
||||
gthread)
|
||||
pkg_config_args="$pkg_config_args gthread-2.0"
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
no_gtk=""
|
||||
|
||||
AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
|
||||
|
||||
if test x$PKG_CONFIG != xno ; then
|
||||
if pkg-config --atleast-pkgconfig-version 0.7 ; then
|
||||
:
|
||||
else
|
||||
echo "*** pkg-config too old; version 0.7 or better required."
|
||||
no_gtk=yes
|
||||
PKG_CONFIG=no
|
||||
fi
|
||||
else
|
||||
no_gtk=yes
|
||||
fi
|
||||
|
||||
min_gtk_version=ifelse([$1], ,2.0.0,$1)
|
||||
AC_MSG_CHECKING(for GTK+ - version >= $min_gtk_version)
|
||||
|
||||
if test x$PKG_CONFIG != xno ; then
|
||||
## don't try to run the test against uninstalled libtool libs
|
||||
if $PKG_CONFIG --uninstalled $pkg_config_args; then
|
||||
echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
|
||||
enable_gtktest=no
|
||||
fi
|
||||
|
||||
if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
|
||||
:
|
||||
else
|
||||
no_gtk=yes
|
||||
fi
|
||||
fi
|
||||
|
||||
if test x"$no_gtk" = x ; then
|
||||
GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
|
||||
GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
|
||||
gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
|
||||
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
|
||||
gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
|
||||
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
|
||||
gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
|
||||
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
|
||||
if test "x$enable_gtktest" = "xyes" ; then
|
||||
ac_save_CFLAGS="$CFLAGS"
|
||||
ac_save_LIBS="$LIBS"
|
||||
CFLAGS="$CFLAGS $GTK_CFLAGS"
|
||||
LIBS="$GTK_LIBS $LIBS"
|
||||
dnl
|
||||
dnl Now check if the installed GTK+ is sufficiently new. (Also sanity
|
||||
dnl checks the results of pkg-config to some extent)
|
||||
dnl
|
||||
rm -f conf.gtktest
|
||||
AC_TRY_RUN([
|
||||
#include <gtk/gtk.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
int
|
||||
main ()
|
||||
{
|
||||
int major, minor, micro;
|
||||
char *tmp_version;
|
||||
|
||||
system ("touch conf.gtktest");
|
||||
|
||||
/* HP/UX 9 (%@#!) writes to sscanf strings */
|
||||
tmp_version = g_strdup("$min_gtk_version");
|
||||
if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
|
||||
printf("%s, bad version string\n", "$min_gtk_version");
|
||||
exit(1);
|
||||
}
|
||||
|
||||
if ((gtk_major_version != $gtk_config_major_version) ||
|
||||
(gtk_minor_version != $gtk_config_minor_version) ||
|
||||
(gtk_micro_version != $gtk_config_micro_version))
|
||||
{
|
||||
printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
|
||||
$gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
|
||||
gtk_major_version, gtk_minor_version, gtk_micro_version);
|
||||
printf ("*** was found! If pkg-config was correct, then it is best\n");
|
||||
printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
|
||||
printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
|
||||
printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
|
||||
printf("*** required on your system.\n");
|
||||
printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
|
||||
printf("*** to point to the correct configuration files\n");
|
||||
}
|
||||
else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
|
||||
(gtk_minor_version != GTK_MINOR_VERSION) ||
|
||||
(gtk_micro_version != GTK_MICRO_VERSION))
|
||||
{
|
||||
printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
|
||||
GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
|
||||
printf("*** library (version %d.%d.%d)\n",
|
||||
gtk_major_version, gtk_minor_version, gtk_micro_version);
|
||||
}
|
||||
else
|
||||
{
|
||||
if ((gtk_major_version > major) ||
|
||||
((gtk_major_version == major) && (gtk_minor_version > minor)) ||
|
||||
((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
else
|
||||
{
|
||||
printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
|
||||
gtk_major_version, gtk_minor_version, gtk_micro_version);
|
||||
printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
|
||||
major, minor, micro);
|
||||
printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
|
||||
printf("***\n");
|
||||
printf("*** If you have already installed a sufficiently new version, this error\n");
|
||||
printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
|
||||
printf("*** being found. The easiest way to fix this is to remove the old version\n");
|
||||
printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
|
||||
printf("*** correct copy of pkg-config. (In this case, you will have to\n");
|
||||
printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
|
||||
printf("*** so that the correct libraries are found at run-time))\n");
|
||||
}
|
||||
}
|
||||
return 1;
|
||||
}
|
||||
],, no_gtk=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"])
|
||||
CFLAGS="$ac_save_CFLAGS"
|
||||
LIBS="$ac_save_LIBS"
|
||||
fi
|
||||
fi
|
||||
if test "x$no_gtk" = x ; then
|
||||
AC_MSG_RESULT(yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version))
|
||||
ifelse([$2], , :, [$2])
|
||||
else
|
||||
AC_MSG_RESULT(no)
|
||||
if test "$PKG_CONFIG" = "no" ; then
|
||||
echo "*** A new enough version of pkg-config was not found."
|
||||
echo "*** See http://pkgconfig.sourceforge.net"
|
||||
else
|
||||
if test -f conf.gtktest ; then
|
||||
:
|
||||
else
|
||||
echo "*** Could not run GTK+ test program, checking why..."
|
||||
ac_save_CFLAGS="$CFLAGS"
|
||||
ac_save_LIBS="$LIBS"
|
||||
CFLAGS="$CFLAGS $GTK_CFLAGS"
|
||||
LIBS="$LIBS $GTK_LIBS"
|
||||
AC_TRY_LINK([
|
||||
#include <gtk/gtk.h>
|
||||
#include <stdio.h>
|
||||
], [ return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version)); ],
|
||||
[ echo "*** The test program compiled, but did not run. This usually means"
|
||||
echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
|
||||
echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
|
||||
echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
|
||||
echo "*** to the installed location Also, make sure you have run ldconfig if that"
|
||||
echo "*** is required on your system"
|
||||
echo "***"
|
||||
echo "*** If you have an old version installed, it is best to remove it, although"
|
||||
echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" ],
|
||||
[ echo "*** The test program failed to compile or link. See the file config.log for the"
|
||||
echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."])
|
||||
CFLAGS="$ac_save_CFLAGS"
|
||||
LIBS="$ac_save_LIBS"
|
||||
fi
|
||||
fi
|
||||
GTK_CFLAGS=""
|
||||
GTK_LIBS=""
|
||||
ifelse([$3], , :, [$3])
|
||||
fi
|
||||
AC_SUBST(GTK_CFLAGS)
|
||||
AC_SUBST(GTK_LIBS)
|
||||
rm -f conf.gtktest
|
||||
])
|
@@ -1,194 +0,0 @@
|
||||
# Configure paths for GTK+
|
||||
# Owen Taylor 97-11-3
|
||||
|
||||
dnl AM_PATH_GTK([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND [, MODULES]]]])
|
||||
dnl Test for GTK, and define GTK_CFLAGS and GTK_LIBS
|
||||
dnl
|
||||
AC_DEFUN([AM_PATH_GTK],
|
||||
[dnl
|
||||
dnl Get the cflags and libraries from the gtk-config script
|
||||
dnl
|
||||
AC_ARG_WITH(gtk-prefix,[ --with-gtk-prefix=PFX Prefix where GTK is installed (optional)],
|
||||
gtk_config_prefix="$withval", gtk_config_prefix="")
|
||||
AC_ARG_WITH(gtk-exec-prefix,[ --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)],
|
||||
gtk_config_exec_prefix="$withval", gtk_config_exec_prefix="")
|
||||
AC_ARG_ENABLE(gtktest, [ --disable-gtktest Do not try to compile and run a test GTK program],
|
||||
, enable_gtktest=yes)
|
||||
|
||||
for module in . $4
|
||||
do
|
||||
case "$module" in
|
||||
gthread)
|
||||
gtk_config_args="$gtk_config_args gthread"
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
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
|
||||
no_gtk=yes
|
||||
else
|
||||
GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
|
||||
GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
|
||||
gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
|
||||
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
|
||||
gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
|
||||
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
|
||||
gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
|
||||
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
|
||||
if test "x$enable_gtktest" = "xyes" ; then
|
||||
ac_save_CFLAGS="$CFLAGS"
|
||||
ac_save_LIBS="$LIBS"
|
||||
CFLAGS="$CFLAGS $GTK_CFLAGS"
|
||||
LIBS="$GTK_LIBS $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
|
||||
rm -f conf.gtktest
|
||||
AC_TRY_RUN([
|
||||
#include <gtk/gtk.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
int
|
||||
main ()
|
||||
{
|
||||
int major, minor, micro;
|
||||
char *tmp_version;
|
||||
|
||||
system ("touch conf.gtktest");
|
||||
|
||||
/* HP/UX 9 (%@#!) writes to sscanf strings */
|
||||
tmp_version = g_strdup("$min_gtk_version");
|
||||
if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
|
||||
printf("%s, bad version string\n", "$min_gtk_version");
|
||||
exit(1);
|
||||
}
|
||||
|
||||
if ((gtk_major_version != $gtk_config_major_version) ||
|
||||
(gtk_minor_version != $gtk_config_minor_version) ||
|
||||
(gtk_micro_version != $gtk_config_micro_version))
|
||||
{
|
||||
printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
|
||||
$gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
|
||||
gtk_major_version, gtk_minor_version, gtk_micro_version);
|
||||
printf ("*** was found! If gtk-config was correct, then it is best\n");
|
||||
printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
|
||||
printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
|
||||
printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
|
||||
printf("*** required on your system.\n");
|
||||
printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
|
||||
printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
|
||||
printf("*** before re-running configure\n");
|
||||
}
|
||||
#if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
|
||||
else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
|
||||
(gtk_minor_version != GTK_MINOR_VERSION) ||
|
||||
(gtk_micro_version != GTK_MICRO_VERSION))
|
||||
{
|
||||
printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
|
||||
GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
|
||||
printf("*** library (version %d.%d.%d)\n",
|
||||
gtk_major_version, gtk_minor_version, gtk_micro_version);
|
||||
}
|
||||
#endif /* defined (GTK_MAJOR_VERSION) ... */
|
||||
else
|
||||
{
|
||||
if ((gtk_major_version > major) ||
|
||||
((gtk_major_version == major) && (gtk_minor_version > minor)) ||
|
||||
((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
else
|
||||
{
|
||||
printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
|
||||
gtk_major_version, gtk_minor_version, gtk_micro_version);
|
||||
printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
|
||||
major, minor, micro);
|
||||
printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
|
||||
printf("***\n");
|
||||
printf("*** If you have already installed a sufficiently new version, this error\n");
|
||||
printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
|
||||
printf("*** being found. The easiest way to fix this is to remove the old version\n");
|
||||
printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
|
||||
printf("*** correct copy of gtk-config. (In this case, you will have to\n");
|
||||
printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
|
||||
printf("*** so that the correct libraries are found at run-time))\n");
|
||||
}
|
||||
}
|
||||
return 1;
|
||||
}
|
||||
],, no_gtk=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"])
|
||||
CFLAGS="$ac_save_CFLAGS"
|
||||
LIBS="$ac_save_LIBS"
|
||||
fi
|
||||
fi
|
||||
if test "x$no_gtk" = x ; then
|
||||
AC_MSG_RESULT(yes)
|
||||
ifelse([$2], , :, [$2])
|
||||
else
|
||||
AC_MSG_RESULT(no)
|
||||
if test "$GTK_CONFIG" = "no" ; then
|
||||
echo "*** The gtk-config script installed by GTK could not be found"
|
||||
echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
|
||||
echo "*** your path, or set the GTK_CONFIG environment variable to the"
|
||||
echo "*** full path to gtk-config."
|
||||
else
|
||||
if test -f conf.gtktest ; then
|
||||
:
|
||||
else
|
||||
echo "*** Could not run GTK test program, checking why..."
|
||||
CFLAGS="$CFLAGS $GTK_CFLAGS"
|
||||
LIBS="$LIBS $GTK_LIBS"
|
||||
AC_TRY_LINK([
|
||||
#include <gtk/gtk.h>
|
||||
#include <stdio.h>
|
||||
], [ return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version)); ],
|
||||
[ echo "*** The test program compiled, but did not run. This usually means"
|
||||
echo "*** that the run-time linker is not finding GTK or finding the wrong"
|
||||
echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
|
||||
echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
|
||||
echo "*** to the installed location Also, make sure you have run ldconfig if that"
|
||||
echo "*** is required on your system"
|
||||
echo "***"
|
||||
echo "*** If you have an old version installed, it is best to remove it, although"
|
||||
echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
|
||||
echo "***"
|
||||
echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
|
||||
echo "*** came with the system with the command"
|
||||
echo "***"
|
||||
echo "*** rpm --erase --nodeps gtk gtk-devel" ],
|
||||
[ echo "*** The test program failed to compile or link. See the file config.log for the"
|
||||
echo "*** exact error that occured. This usually means GTK was incorrectly installed"
|
||||
echo "*** or that you have moved GTK since it was installed. In the latter case, you"
|
||||
echo "*** may want to edit the gtk-config script: $GTK_CONFIG" ])
|
||||
CFLAGS="$ac_save_CFLAGS"
|
||||
LIBS="$ac_save_LIBS"
|
||||
fi
|
||||
fi
|
||||
GTK_CFLAGS=""
|
||||
GTK_LIBS=""
|
||||
ifelse([$3], , :, [$3])
|
||||
fi
|
||||
AC_SUBST(GTK_CFLAGS)
|
||||
AC_SUBST(GTK_LIBS)
|
||||
rm -f conf.gtktest
|
||||
])
|
@@ -1,156 +0,0 @@
|
||||
# pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*-
|
||||
#
|
||||
# Copyright © 2004 Scott James Remnant <scott@netsplit.com>.
|
||||
#
|
||||
# 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 of the License, 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.
|
||||
#
|
||||
# As a special exception to the GNU General Public License, if you
|
||||
# distribute this file as part of a program that contains a
|
||||
# configuration script generated by Autoconf, you may include it under
|
||||
# the same distribution terms that you use for the rest of that program.
|
||||
|
||||
# PKG_PROG_PKG_CONFIG([MIN-VERSION])
|
||||
# ----------------------------------
|
||||
AC_DEFUN([PKG_PROG_PKG_CONFIG],
|
||||
[m4_pattern_forbid([^_?PKG_[A-Z_]+$])
|
||||
m4_pattern_allow([^PKG_CONFIG(_PATH)?$])
|
||||
AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])dnl
|
||||
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
|
||||
AC_PATH_TOOL([PKG_CONFIG], [pkg-config])
|
||||
fi
|
||||
if test -n "$PKG_CONFIG"; then
|
||||
_pkg_min_version=m4_default([$1], [0.9.0])
|
||||
AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version])
|
||||
if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
|
||||
AC_MSG_RESULT([yes])
|
||||
else
|
||||
AC_MSG_RESULT([no])
|
||||
PKG_CONFIG=""
|
||||
fi
|
||||
|
||||
fi[]dnl
|
||||
])# PKG_PROG_PKG_CONFIG
|
||||
|
||||
# PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
|
||||
#
|
||||
# Check to see whether a particular set of modules exists. Similar
|
||||
# to PKG_CHECK_MODULES(), but does not set variables or print errors.
|
||||
#
|
||||
#
|
||||
# Similar to PKG_CHECK_MODULES, make sure that the first instance of
|
||||
# this or PKG_CHECK_MODULES is called, or make sure to call
|
||||
# PKG_CHECK_EXISTS manually
|
||||
# --------------------------------------------------------------
|
||||
AC_DEFUN([PKG_CHECK_EXISTS],
|
||||
[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
|
||||
if test -n "$PKG_CONFIG" && \
|
||||
AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then
|
||||
m4_ifval([$2], [$2], [:])
|
||||
m4_ifvaln([$3], [else
|
||||
$3])dnl
|
||||
fi])
|
||||
|
||||
|
||||
# _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES])
|
||||
# ---------------------------------------------
|
||||
m4_define([_PKG_CONFIG],
|
||||
[if test -n "$PKG_CONFIG"; then
|
||||
if test -n "$$1"; then
|
||||
pkg_cv_[]$1="$$1"
|
||||
else
|
||||
PKG_CHECK_EXISTS([$3],
|
||||
[pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`],
|
||||
[pkg_failed=yes])
|
||||
fi
|
||||
else
|
||||
pkg_failed=untried
|
||||
fi[]dnl
|
||||
])# _PKG_CONFIG
|
||||
|
||||
# _PKG_SHORT_ERRORS_SUPPORTED
|
||||
# -----------------------------
|
||||
AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED],
|
||||
[AC_REQUIRE([PKG_PROG_PKG_CONFIG])
|
||||
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
|
||||
_pkg_short_errors_supported=yes
|
||||
else
|
||||
_pkg_short_errors_supported=no
|
||||
fi[]dnl
|
||||
])# _PKG_SHORT_ERRORS_SUPPORTED
|
||||
|
||||
|
||||
# PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND],
|
||||
# [ACTION-IF-NOT-FOUND])
|
||||
#
|
||||
#
|
||||
# Note that if there is a possibility the first call to
|
||||
# PKG_CHECK_MODULES might not happen, you should be sure to include an
|
||||
# explicit call to PKG_PROG_PKG_CONFIG in your configure.ac
|
||||
#
|
||||
#
|
||||
# --------------------------------------------------------------
|
||||
AC_DEFUN([PKG_CHECK_MODULES],
|
||||
[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
|
||||
AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl
|
||||
AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl
|
||||
|
||||
pkg_failed=no
|
||||
AC_MSG_CHECKING([for $1])
|
||||
|
||||
_PKG_CONFIG([$1][_CFLAGS], [cflags], [$2])
|
||||
_PKG_CONFIG([$1][_LIBS], [libs], [$2])
|
||||
|
||||
m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS
|
||||
and $1[]_LIBS to avoid the need to call pkg-config.
|
||||
See the pkg-config man page for more details.])
|
||||
|
||||
if test $pkg_failed = yes; then
|
||||
_PKG_SHORT_ERRORS_SUPPORTED
|
||||
if test $_pkg_short_errors_supported = yes; then
|
||||
$1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$2"`
|
||||
else
|
||||
$1[]_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2"`
|
||||
fi
|
||||
# Put the nasty error message in config.log where it belongs
|
||||
echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD
|
||||
|
||||
ifelse([$4], , [AC_MSG_ERROR(dnl
|
||||
[Package requirements ($2) were not met:
|
||||
|
||||
$$1_PKG_ERRORS
|
||||
|
||||
Consider adjusting the PKG_CONFIG_PATH environment variable if you
|
||||
installed software in a non-standard prefix.
|
||||
|
||||
_PKG_TEXT
|
||||
])],
|
||||
[$4])
|
||||
elif test $pkg_failed = untried; then
|
||||
ifelse([$4], , [AC_MSG_FAILURE(dnl
|
||||
[The pkg-config script could not be found or is too old. Make sure it
|
||||
is in your PATH or set the PKG_CONFIG environment variable to the full
|
||||
path to pkg-config.
|
||||
|
||||
_PKG_TEXT
|
||||
|
||||
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.])],
|
||||
[$4])
|
||||
else
|
||||
$1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS
|
||||
$1[]_LIBS=$pkg_cv_[]$1[]_LIBS
|
||||
AC_MSG_RESULT([yes])
|
||||
ifelse([$3], , :, [$3])
|
||||
fi[]dnl
|
||||
])# PKG_CHECK_MODULES
|
@@ -1,181 +0,0 @@
|
||||
# Configure paths for SDL
|
||||
# Sam Lantinga 9/21/99
|
||||
# stolen from Manish Singh
|
||||
# stolen back from Frank Belew
|
||||
# stolen from Manish Singh
|
||||
# Shamelessly stolen from Owen Taylor
|
||||
|
||||
dnl AM_PATH_SDL([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
|
||||
dnl Test for SDL, and define SDL_CFLAGS and SDL_LIBS
|
||||
dnl
|
||||
AC_DEFUN([AM_PATH_SDL],
|
||||
[dnl
|
||||
dnl Get the cflags and libraries from the sdl-config script
|
||||
dnl
|
||||
AC_ARG_WITH(sdl-prefix,[ --with-sdl-prefix=PFX Prefix where SDL is installed (optional)],
|
||||
sdl_prefix="$withval", sdl_prefix="")
|
||||
AC_ARG_WITH(sdl-exec-prefix,[ --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)],
|
||||
sdl_exec_prefix="$withval", sdl_exec_prefix="")
|
||||
AC_ARG_ENABLE(sdltest, [ --disable-sdltest Do not try to compile and run a test SDL program],
|
||||
, enable_sdltest=yes)
|
||||
|
||||
if test x$sdl_exec_prefix != x ; then
|
||||
sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
|
||||
if test x${SDL_CONFIG+set} != xset ; then
|
||||
SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
|
||||
fi
|
||||
fi
|
||||
if test x$sdl_prefix != x ; then
|
||||
sdl_args="$sdl_args --prefix=$sdl_prefix"
|
||||
if test x${SDL_CONFIG+set} != xset ; then
|
||||
SDL_CONFIG=$sdl_prefix/bin/sdl-config
|
||||
fi
|
||||
fi
|
||||
|
||||
if test "x$prefix" != xNONE; then
|
||||
PATH="$prefix/bin:$prefix/usr/bin:$PATH"
|
||||
fi
|
||||
AC_PATH_PROG(SDL_CONFIG, sdl-config, no, [$PATH])
|
||||
min_sdl_version=ifelse([$1], ,0.11.0,$1)
|
||||
AC_MSG_CHECKING(for SDL - version >= $min_sdl_version)
|
||||
no_sdl=""
|
||||
if test "$SDL_CONFIG" = "no" ; then
|
||||
no_sdl=yes
|
||||
else
|
||||
SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
|
||||
SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
|
||||
|
||||
sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
|
||||
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
|
||||
sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
|
||||
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
|
||||
sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
|
||||
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
|
||||
if test "x$enable_sdltest" = "xyes" ; then
|
||||
ac_save_CFLAGS="$CFLAGS"
|
||||
ac_save_CXXFLAGS="$CXXFLAGS"
|
||||
ac_save_LIBS="$LIBS"
|
||||
CFLAGS="$CFLAGS $SDL_CFLAGS"
|
||||
CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
|
||||
LIBS="$LIBS $SDL_LIBS"
|
||||
dnl
|
||||
dnl Now check if the installed SDL is sufficiently new. (Also sanity
|
||||
dnl checks the results of sdl-config to some extent
|
||||
dnl
|
||||
rm -f conf.sdltest
|
||||
AC_TRY_RUN([
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include "SDL.h"
|
||||
|
||||
char*
|
||||
my_strdup (char *str)
|
||||
{
|
||||
char *new_str;
|
||||
|
||||
if (str)
|
||||
{
|
||||
new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
|
||||
strcpy (new_str, str);
|
||||
}
|
||||
else
|
||||
new_str = NULL;
|
||||
|
||||
return new_str;
|
||||
}
|
||||
|
||||
int main (int argc, char *argv[])
|
||||
{
|
||||
int major, minor, micro;
|
||||
char *tmp_version;
|
||||
|
||||
/* This hangs on some systems (?)
|
||||
system ("touch conf.sdltest");
|
||||
*/
|
||||
{ FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
|
||||
|
||||
/* HP/UX 9 (%@#!) writes to sscanf strings */
|
||||
tmp_version = my_strdup("$min_sdl_version");
|
||||
if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
|
||||
printf("%s, bad version string\n", "$min_sdl_version");
|
||||
exit(1);
|
||||
}
|
||||
|
||||
if (($sdl_major_version > major) ||
|
||||
(($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
|
||||
(($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
else
|
||||
{
|
||||
printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
|
||||
printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
|
||||
printf("*** best to upgrade to the required version.\n");
|
||||
printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
|
||||
printf("*** to point to the correct copy of sdl-config, and remove the file\n");
|
||||
printf("*** config.cache before re-running configure\n");
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
|
||||
],, no_sdl=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"])
|
||||
CFLAGS="$ac_save_CFLAGS"
|
||||
CXXFLAGS="$ac_save_CXXFLAGS"
|
||||
LIBS="$ac_save_LIBS"
|
||||
fi
|
||||
fi
|
||||
if test "x$no_sdl" = x ; then
|
||||
AC_MSG_RESULT(yes)
|
||||
ifelse([$2], , :, [$2])
|
||||
else
|
||||
AC_MSG_RESULT(no)
|
||||
if test "$SDL_CONFIG" = "no" ; then
|
||||
echo "*** The sdl-config script installed by SDL could not be found"
|
||||
echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
|
||||
echo "*** your path, or set the SDL_CONFIG environment variable to the"
|
||||
echo "*** full path to sdl-config."
|
||||
else
|
||||
if test -f conf.sdltest ; then
|
||||
:
|
||||
else
|
||||
echo "*** Could not run SDL test program, checking why..."
|
||||
CFLAGS="$CFLAGS $SDL_CFLAGS"
|
||||
CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
|
||||
LIBS="$LIBS $SDL_LIBS"
|
||||
AC_TRY_LINK([
|
||||
#include <stdio.h>
|
||||
#include "SDL.h"
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{ return 0; }
|
||||
#undef main
|
||||
#define main K_and_R_C_main
|
||||
], [ return 0; ],
|
||||
[ echo "*** The test program compiled, but did not run. This usually means"
|
||||
echo "*** that the run-time linker is not finding SDL or finding the wrong"
|
||||
echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
|
||||
echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
|
||||
echo "*** to the installed location Also, make sure you have run ldconfig if that"
|
||||
echo "*** is required on your system"
|
||||
echo "***"
|
||||
echo "*** If you have an old version installed, it is best to remove it, although"
|
||||
echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"],
|
||||
[ echo "*** The test program failed to compile or link. See the file config.log for the"
|
||||
echo "*** exact error that occured. This usually means SDL was incorrectly installed"
|
||||
echo "*** or that you have moved SDL since it was installed. In the latter case, you"
|
||||
echo "*** may want to edit the sdl-config script: $SDL_CONFIG" ])
|
||||
CFLAGS="$ac_save_CFLAGS"
|
||||
CXXFLAGS="$ac_save_CXXFLAGS"
|
||||
LIBS="$ac_save_LIBS"
|
||||
fi
|
||||
fi
|
||||
SDL_CFLAGS=""
|
||||
SDL_LIBS=""
|
||||
ifelse([$3], , :, [$3])
|
||||
fi
|
||||
AC_SUBST(SDL_CFLAGS)
|
||||
AC_SUBST(SDL_LIBS)
|
||||
rm -f conf.sdltest
|
||||
])
|
@@ -1,66 +0,0 @@
|
||||
# Created: 2005/03/12
|
||||
# Author: David Elliott
|
||||
|
||||
# Usage Example:
|
||||
# make -f build/autogen.mk ACLOCAL=aclocal-1.9
|
||||
|
||||
# This is a simple Makefile to update the UNIX build system in such a
|
||||
# way that doing a cvs diff on its output files should reveal only the
|
||||
# true changes, not meaningless differences due to slightly different
|
||||
# autoconf or aclocal m4 files.
|
||||
|
||||
# For aclocal: All necessary m4 files are located in the build/aclocal
|
||||
# directory. Running aclocal -I build/aclocal when using aclocal 1.9
|
||||
# will result in an aclocal.m4 which uses m4_include for these files.
|
||||
|
||||
ACLOCAL=aclocal
|
||||
AUTOCONF=autoconf
|
||||
BAKEFILE_GEN=bakefile_gen
|
||||
AUTOHACKS_PREPEND_INCLUDE_DIR=build/autoconf_prepend-include
|
||||
|
||||
# configure depends on everything else so this will build everything.
|
||||
.PHONY: all
|
||||
all: configure
|
||||
|
||||
.PHONY: autoconf_m4f
|
||||
|
||||
# Invoke make on wxAutohacks dir, but don't fail if it's not present
|
||||
autoconf_m4f:
|
||||
-make -C $(AUTOHACKS_PREPEND_INCLUDE_DIR)
|
||||
|
||||
BAKEFILES=\
|
||||
build/bakefiles/wx.bkl \
|
||||
build/bakefiles/common.bkl \
|
||||
build/bakefiles/files.bkl \
|
||||
build/bakefiles/monolithic.bkl \
|
||||
build/bakefiles/multilib.bkl \
|
||||
build/bakefiles/opengl.bkl \
|
||||
build/bakefiles/plugins.bkl \
|
||||
build/bakefiles/build_cfg.bkl
|
||||
|
||||
# Run bakefile-gen (which generates everything) whenever a bakefile is newer
|
||||
# than Makefile.in or autoconf_inc.m4.
|
||||
# This dep is obviously wrong but probably close enough
|
||||
autoconf_inc.m4 Makefile.in: $(BAKEFILES)
|
||||
cd build/bakefiles && \
|
||||
$(BAKEFILE_GEN) -f autoconf
|
||||
|
||||
# Run configure whenever configure.in, aclocal.m4 or autoconf_inc.m4 is updated
|
||||
# Depend on our custom autoconf.m4f
|
||||
configure: configure.in aclocal.m4 autoconf_inc.m4 autoconf_m4f
|
||||
$(AUTOCONF) -B $(AUTOHACKS_PREPEND_INCLUDE_DIR)
|
||||
|
||||
ACLOCAL_SOURCES = \
|
||||
build/aclocal/bakefile.m4 \
|
||||
build/aclocal/bakefile-lang.m4 \
|
||||
build/aclocal/cppunit.m4 \
|
||||
build/aclocal/gst-element-check.m4 \
|
||||
build/aclocal/gtk-2.0.m4 \
|
||||
build/aclocal/gtk.m4 \
|
||||
build/aclocal/pkg.m4 \
|
||||
build/aclocal/sdl.m4
|
||||
|
||||
# Run aclocal whenever acinclude or one of our local m4s is updated.
|
||||
aclocal.m4: configure.in acinclude.m4 $(ACLOCAL_SOURCES)
|
||||
$(ACLOCAL) -I build/aclocal
|
||||
|
@@ -1,2 +0,0 @@
|
||||
.bakefile_gen.state
|
||||
Bakefiles.local.bkgen
|
@@ -1,267 +0,0 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!-- $Id$ -->
|
||||
|
||||
<bakefile-gen>
|
||||
|
||||
<!--
|
||||
Formats listed here are not generated by default. To enable them, either
|
||||
remove them from the <disable-formats> directive below or create
|
||||
Bakefiles.local.bkgen file in this directory and add <enable-formats>
|
||||
into it:
|
||||
<?xml version="1.0" ?>
|
||||
<bakefile-gen>
|
||||
<enable-formats>dmars</enable-formats>
|
||||
</bakefile-gen>
|
||||
|
||||
Reasons why these formats are disabled (and so not in CVS):
|
||||
|
||||
cbuilderx - Generated projects are too bad to be included in CVS. Please
|
||||
*do not* enable this format until FIXMEs in .bkl files related
|
||||
to cbuilderx are addressed. In particular, the project must
|
||||
be placed into build/msw(?) directory and store object files
|
||||
in its subdirectory and it must copy setup.h as others do.
|
||||
cbx_unix - Doesn't integrate well and won't be used by most Unix people.
|
||||
dmars, dmars_smake, msevc4prj - These are generated at release time and
|
||||
we don't want to clutter the source tree with these files.
|
||||
-->
|
||||
|
||||
<disable-formats>dmars,dmars_smake,msevc4prj,cbx_unix,cbuilderx</disable-formats>
|
||||
|
||||
|
||||
<!-- These wildcards match all .bkl files in wxWidgets tree: -->
|
||||
<input>
|
||||
wx.bkl
|
||||
../../contrib/build/*/*.bkl
|
||||
../../samples/*.bkl
|
||||
../../samples/*/*.bkl
|
||||
../../samples/*/*/*.bkl
|
||||
../../demos/*.bkl
|
||||
../../demos/*/*.bkl
|
||||
../../demos/*/*/*.bkl
|
||||
../../utils/*.bkl
|
||||
../../utils/*/*.bkl
|
||||
../../utils/*/*/*.bkl
|
||||
../../contrib/samples/*.bkl
|
||||
../../contrib/samples/*/*.bkl
|
||||
../../contrib/samples/*/*/*.bkl
|
||||
../../contrib/utils/*/*.bkl
|
||||
../../tests/*.bkl
|
||||
</input>
|
||||
|
||||
<!-- List of output formats to generate: -->
|
||||
<add-formats>
|
||||
autoconf,borland,dmars_smake,dmars,mingw,msvc,msvc6prj,msevc4prj,watcom,cbuilderx,cbx_unix
|
||||
</add-formats>
|
||||
|
||||
<del-formats files="../../samples/*.bkl">
|
||||
autoconf,msvc6prj,msevc4prj,cbuilderx,cbx_unix
|
||||
</del-formats>
|
||||
<del-formats files="../../demos/*.bkl">
|
||||
msvc6prj,msevc4prj,cbuilderx,cbx_unix
|
||||
</del-formats>
|
||||
<del-formats files="../../samples/html/html_samples.bkl">
|
||||
msvc6prj,msevc4prj,cbuilderx,cbx_unix
|
||||
</del-formats>
|
||||
<del-formats files="../../samples/mobile/mobile_samples.bkl">
|
||||
msvc6prj,msevc4prj,cbuilderx,cbx_unix
|
||||
</del-formats>
|
||||
<del-formats files="../../samples/opengl/opengl_samples.bkl">
|
||||
msvc6prj,msevc4prj,cbuilderx,cbx_unix
|
||||
</del-formats>
|
||||
<del-formats files="../../utils/*.bkl">
|
||||
msvc6prj,msevc4prj,cbuilderx,cbx_unix
|
||||
</del-formats>
|
||||
|
||||
<!-- WinCE can't have console apps: -->
|
||||
<del-formats files="../../samples/console/*">msevc4prj</del-formats>
|
||||
<del-formats files="../../utils/HelpGen/src/*">msevc4prj</del-formats>
|
||||
<del-formats files="../../utils/wxrc/*">msevc4prj</del-formats>
|
||||
<del-formats files="../../contrib/utils/wxrc/*">msevc4prj</del-formats>
|
||||
<del-formats files="../../tests/*">msevc4prj</del-formats>
|
||||
|
||||
<!-- HtmlCtrl sample is Cocoa only (autoconf format) -->
|
||||
<del-formats files="../../samples/html/htmlctrl/htmlctrl.bkl">
|
||||
borland,dmars_smake,dmars,mingw,msvc,msvc6prj,msevc4prj,watcom,cbuilderx,cbx_unix
|
||||
</del-formats>
|
||||
|
||||
|
||||
<!-- Default flags (for all formats and bakefiles): -->
|
||||
<add-flags>-Iformats</add-flags>
|
||||
|
||||
|
||||
<!-- Directories where the files go: -->
|
||||
<add-flags files="wx.bkl" formats="autoconf">
|
||||
-o../../Makefile.in
|
||||
</add-flags>
|
||||
<add-flags files="wx.bkl" formats="borland">
|
||||
-o../msw/makefile.bcc
|
||||
</add-flags>
|
||||
<add-flags files="wx.bkl" formats="dmars_smake">
|
||||
-o../msw/makefile.dms
|
||||
</add-flags>
|
||||
<add-flags files="wx.bkl" formats="dmars">
|
||||
-o../msw/makefile.dmc
|
||||
</add-flags>
|
||||
<add-flags files="wx.bkl" formats="mingw">
|
||||
-o../msw/makefile.gcc
|
||||
</add-flags>
|
||||
<add-flags files="wx.bkl" formats="msvc">
|
||||
-o../msw/makefile.vc
|
||||
</add-flags>
|
||||
<add-flags files="wx.bkl" formats="watcom">
|
||||
-o../msw/makefile.wat
|
||||
</add-flags>
|
||||
<add-flags files="wx.bkl" formats="msvc6prj">
|
||||
-o../msw/wx.dsw
|
||||
</add-flags>
|
||||
<add-flags files="wx.bkl" formats="msevc4prj">
|
||||
-o../wince/wx.vcw
|
||||
</add-flags>
|
||||
<add-flags files="wx.bkl" formats="cbuilderx">
|
||||
-o../../wx.cbx
|
||||
</add-flags>
|
||||
<add-flags files="../../contrib/build/*/*.bkl" formats="autoconf">
|
||||
-o../../contrib/src/$(INPUT_FILE_BASENAME_NOEXT)/Makefile.in
|
||||
</add-flags>
|
||||
<add-flags files="../../contrib/build/*/*.bkl" formats="cbx_unix">
|
||||
-o../../contrib/src/$(INPUT_FILE_BASENAME_NOEXT)/$(INPUT_FILE_BASENAME_NOEXT)Unix.cbx
|
||||
</add-flags>
|
||||
<!-- FIXME: don't do this once it is possible (new CBX version) -->
|
||||
<add-flags files="../../contrib/build/*/*.bkl" formats="cbuilderx">
|
||||
-o../../contrib/src/$(INPUT_FILE_BASENAME_NOEXT)/$(INPUT_FILE_BASENAME_NOEXT).cbx
|
||||
</add-flags>
|
||||
<add-flags files="../../contrib/build/*/*.bkl"
|
||||
formats="mingw,borland,dmars_smake,dmars,watcom,msvc,msvc6prj,msevc4prj">
|
||||
-DSRCDIR=../../src/$(INPUT_FILE_BASENAME_NOEXT)
|
||||
</add-flags>
|
||||
|
||||
|
||||
|
||||
<!-- Format specific settings: -->
|
||||
<add-flags formats="autoconf">
|
||||
-DAUTOCONF_MACROS_FILE=../../autoconf_inc.m4
|
||||
</add-flags>
|
||||
|
||||
<add-formats files="wx.bkl">rpmspec</add-formats>
|
||||
|
||||
|
||||
<!-- Makefile specific settings: -->
|
||||
|
||||
<add-flags formats="borland,dmars_smake,dmars,mingw,msvc,watcom">
|
||||
-DWRITE_OPTIONS_FILE=0
|
||||
</add-flags>
|
||||
<del-flags files="wx.bkl">
|
||||
-DWRITE_OPTIONS_FILE=0
|
||||
</del-flags>
|
||||
|
||||
<add-flags files="wx.bkl" formats="borland">
|
||||
-DOPTIONS_FILE=config.bcc
|
||||
</add-flags>
|
||||
<add-flags files="wx.bkl" formats="dmars_smake">
|
||||
-DOPTIONS_FILE=config.dms
|
||||
</add-flags>
|
||||
<add-flags files="wx.bkl" formats="dmars">
|
||||
-DOPTIONS_FILE=config.dmc
|
||||
</add-flags>
|
||||
<add-flags files="wx.bkl" formats="mingw">
|
||||
-DOPTIONS_FILE=config.gcc
|
||||
</add-flags>
|
||||
<add-flags files="wx.bkl" formats="msvc">
|
||||
-DOPTIONS_FILE=config.vc
|
||||
</add-flags>
|
||||
<add-flags files="wx.bkl" formats="watcom">
|
||||
-DOPTIONS_FILE=config.wat
|
||||
</add-flags>
|
||||
|
||||
<add-flags files="../../*/*">-DWXTOPDIR=../</add-flags>
|
||||
<add-flags files="../../*/*/*">-DWXTOPDIR=../../</add-flags>
|
||||
<add-flags files="../../*/*/*/*">-DWXTOPDIR=../../../</add-flags>
|
||||
<add-flags files="../../*/*/*/*/*">-DWXTOPDIR=../../../../</add-flags>
|
||||
|
||||
<add-flags files="../../*/*" formats="borland">
|
||||
-DOPTIONS_FILE=../build/msw/config.bcc
|
||||
</add-flags>
|
||||
<add-flags files="../../*/*" formats="dmars_smake">
|
||||
-DOPTIONS_FILE=../build/msw/config.dms
|
||||
</add-flags>
|
||||
<add-flags files="../../*/*" formats="dmars">
|
||||
-DOPTIONS_FILE=../build/msw/config.dmc
|
||||
</add-flags>
|
||||
<add-flags files="../../*/*" formats="mingw">
|
||||
-DOPTIONS_FILE=../build/msw/config.gcc
|
||||
</add-flags>
|
||||
<add-flags files="../../*/*" formats="msvc">
|
||||
-DOPTIONS_FILE=../build/msw/config.vc
|
||||
</add-flags>
|
||||
<add-flags files="../../*/*" formats="watcom">
|
||||
-DOPTIONS_FILE=../build/msw/config.wat
|
||||
</add-flags>
|
||||
<add-flags files="../../*/*/*" formats="borland">
|
||||
-DOPTIONS_FILE=../../build/msw/config.bcc
|
||||
</add-flags>
|
||||
<add-flags files="../../*/*/*" formats="dmars_smake">
|
||||
-DOPTIONS_FILE=../../build/msw/config.dms
|
||||
</add-flags>
|
||||
<add-flags files="../../*/*/*" formats="dmars">
|
||||
-DOPTIONS_FILE=../../build/msw/config.dmc
|
||||
</add-flags>
|
||||
<add-flags files="../../*/*/*" formats="mingw">
|
||||
-DOPTIONS_FILE=../../build/msw/config.gcc
|
||||
</add-flags>
|
||||
<add-flags files="../../*/*/*" formats="msvc">
|
||||
-DOPTIONS_FILE=../../build/msw/config.vc
|
||||
</add-flags>
|
||||
<add-flags files="../../*/*/*" formats="watcom">
|
||||
-DOPTIONS_FILE=../../build/msw/config.wat
|
||||
</add-flags>
|
||||
<add-flags files="../../*/*/*/*" formats="borland">
|
||||
-DOPTIONS_FILE=../../../build/msw/config.bcc
|
||||
</add-flags>
|
||||
<add-flags files="../../*/*/*/*" formats="dmars_smake">
|
||||
-DOPTIONS_FILE=../../../build/msw/config.dms
|
||||
</add-flags>
|
||||
<add-flags files="../../*/*/*/*" formats="dmars">
|
||||
-DOPTIONS_FILE=../../../build/msw/config.dmc
|
||||
</add-flags>
|
||||
<add-flags files="../../*/*/*/*" formats="mingw">
|
||||
-DOPTIONS_FILE=../../../build/msw/config.gcc
|
||||
</add-flags>
|
||||
<add-flags files="../../*/*/*/*" formats="msvc">
|
||||
-DOPTIONS_FILE=../../../build/msw/config.vc
|
||||
</add-flags>
|
||||
<add-flags files="../../*/*/*/*" formats="watcom">
|
||||
-DOPTIONS_FILE=../../../build/msw/config.wat
|
||||
</add-flags>
|
||||
<add-flags files="../../*/*/*/*/*" formats="borland">
|
||||
-DOPTIONS_FILE=../../../../build/msw/config.bcc
|
||||
</add-flags>
|
||||
<add-flags files="../../*/*/*/*/*" formats="dmars_smake">
|
||||
-DOPTIONS_FILE=../../../../build/msw/config.dms
|
||||
</add-flags>
|
||||
<add-flags files="../../*/*/*/*/*" formats="dmars">
|
||||
-DOPTIONS_FILE=../../../../build/msw/config.dmc
|
||||
</add-flags>
|
||||
<add-flags files="../../*/*/*/*/*" formats="mingw">
|
||||
-DOPTIONS_FILE=../../../../build/msw/config.gcc
|
||||
</add-flags>
|
||||
<add-flags files="../../*/*/*/*/*" formats="msvc">
|
||||
-DOPTIONS_FILE=../../../../build/msw/config.vc
|
||||
</add-flags>
|
||||
<add-flags files="../../*/*/*/*/*" formats="watcom">
|
||||
-DOPTIONS_FILE=../../../../build/msw/config.wat
|
||||
</add-flags>
|
||||
|
||||
|
||||
<!-- Makefiles for out-of-tree building of samples on Unix: -->
|
||||
<add-formats files="../../samples/*/*.bkl,../../samples/*/*/*.bkl">
|
||||
gnu
|
||||
</add-formats>
|
||||
<add-flags files="../../samples/*/*.bkl,../../samples/*/*/*.bkl"
|
||||
formats="gnu">
|
||||
-DOUT_OF_TREE_MAKEFILES=1 -o$(INPUT_FILE_DIR)/makefile.unx
|
||||
</add-flags>
|
||||
|
||||
<!-- Personal customizations (not in CVS): -->
|
||||
<include file="Bakefiles.local.bkgen" ignore_missing="1"/>
|
||||
|
||||
</bakefile-gen>
|
@@ -1,43 +0,0 @@
|
||||
|
||||
This directory contains Bakefile (see http://bakefile.sourceforge.net)
|
||||
files needed to generate native makefiles for wxWidgets library, contrib and
|
||||
samples.
|
||||
|
||||
Use the bakefile_gen utility to regenerate the makefiles (run it in this
|
||||
directory!). If you run it with no arguments, it will generate all makefiles
|
||||
that are not up to date.
|
||||
|
||||
Use "bakefile_gen -c" to clean generated files.
|
||||
|
||||
You can generate or clean only subset of files by specifying -f or -b flags
|
||||
when invoking bakefile_gen. For example, "bakefile_gen -fborland,watcom" will
|
||||
only regenerate Borland C++ and OpenWatcom makefiles. -b flag limits
|
||||
regeneration only to specified bakefiles. For example,
|
||||
"bakefile_gen -b wx.bkl" will only regenerate main library makefiles.
|
||||
"bakefile_gen -b "../../samples/html/*/*.bkl" will regenerate makefiles for
|
||||
all wxHTML samples. -b and -f can be combined.
|
||||
|
||||
You can customize the process of generating makefiles by adding file
|
||||
Bakefiles.local.bkgen (same format as Bakefiles.bkgen) with further settings.
|
||||
For example, you may disable output for compilers you don't use:
|
||||
<?xml version="1.0" ?>
|
||||
<bakefile-gen>
|
||||
<disable-formats>msvc,msvc6prj</disable-formats>
|
||||
</bakefile-gen>
|
||||
|
||||
Note: bakefile_gen creates file .bakefile_gen.state with dependencies
|
||||
information. This file can be safely deleted, but it contains valuable
|
||||
information that speed up regeneration process.
|
||||
|
||||
Note: the following files are generated using bakefile_gen:
|
||||
* build/msw/*
|
||||
* contrib/build/* (except .bkl files)
|
||||
* makefiles with same names as makefiles in above dirs, Makefile.in files
|
||||
that contain "This makefile was generated by Bakefile" banner and
|
||||
VC++ project files in samples, demos and utils directories (inc. contrib
|
||||
ones)
|
||||
* src/wxWindows.dsp
|
||||
* {wxGTK,wxMotif,wxX11}.spec (only wxBase headers list)
|
||||
* autoconf_inc.m4
|
||||
* all Makefile.in files
|
||||
(hopefully I didn't forget anything - VS)
|
@@ -1,59 +0,0 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!-- $Id$ -->
|
||||
|
||||
<makefile>
|
||||
|
||||
<!--
|
||||
Generate build.cfg file on Windows, with settings used to build
|
||||
the library.
|
||||
-->
|
||||
|
||||
<if cond="FORMAT not in ['autoconf','msvc6prj','msevc4prj','cbuilderx'] and
|
||||
TOOLKIT in ['PM','MSW','MGL','MOTIF']">
|
||||
|
||||
<set var="BUILD_CFG_FILE" make_var="1">
|
||||
$(SETUPHDIR)$(DIRSEP)build.cfg
|
||||
</set>
|
||||
|
||||
<action id="build_cfg_file">
|
||||
<is-phony>1</is-phony>
|
||||
<dependency-of>all</dependency-of>
|
||||
<depends>libdir_setup</depends>
|
||||
<command>
|
||||
@echo WXVER_MAJOR=$(WXVER_MAJOR) >$(BUILD_CFG_FILE)
|
||||
@echo WXVER_MINOR=$(WXVER_MINOR) >>$(BUILD_CFG_FILE)
|
||||
@echo WXVER_RELEASE=$(WXVER_RELEASE) >>$(BUILD_CFG_FILE)
|
||||
@echo BUILD=$(BUILD) >>$(BUILD_CFG_FILE)
|
||||
@echo MONOLITHIC=$(MONOLITHIC) >>$(BUILD_CFG_FILE)
|
||||
@echo SHARED=$(SHARED) >>$(BUILD_CFG_FILE)
|
||||
@echo UNICODE=$(UNICODE) >>$(BUILD_CFG_FILE)
|
||||
@echo WXUNIV=$(WXUNIV) >>$(BUILD_CFG_FILE)
|
||||
@echo CFG=$(CFG) >>$(BUILD_CFG_FILE)
|
||||
@echo VENDOR=$(VENDOR) >>$(BUILD_CFG_FILE)
|
||||
@echo OFFICIAL_BUILD=$(OFFICIAL_BUILD) >>$(BUILD_CFG_FILE)
|
||||
@echo DEBUG_FLAG=$(DEBUG_FLAG) >>$(BUILD_CFG_FILE)
|
||||
@echo DEBUG_INFO=$(DEBUG_INFO) >>$(BUILD_CFG_FILE)
|
||||
@echo RUNTIME_LIBS=$(RUNTIME_LIBS) >>$(BUILD_CFG_FILE)
|
||||
@echo MSLU=$(MSLU) >>$(BUILD_CFG_FILE)
|
||||
@echo USE_EXCEPTIONS=$(USE_EXCEPTIONS) >>$(BUILD_CFG_FILE)
|
||||
@echo USE_THREADS=$(USE_THREADS) >>$(BUILD_CFG_FILE)
|
||||
@echo USE_GUI=$(USE_GUI) >>$(BUILD_CFG_FILE)
|
||||
@echo USE_HTML=$(USE_HTML) >>$(BUILD_CFG_FILE)
|
||||
@echo USE_MEDIA=$(USE_MEDIA) >>$(BUILD_CFG_FILE)
|
||||
@echo USE_ODBC=$(USE_ODBC) >>$(BUILD_CFG_FILE)
|
||||
@echo USE_OPENGL=$(USE_OPENGL) >>$(BUILD_CFG_FILE)
|
||||
@echo USE_QA=$(USE_QA) >>$(BUILD_CFG_FILE)
|
||||
@echo USE_GDIPLUS=$(USE_GDIPLUS) >>$(BUILD_CFG_FILE)
|
||||
@echo COMPILER=$(COMPILER) >>$(BUILD_CFG_FILE)
|
||||
@echo CC=$(CC) >>$(BUILD_CFG_FILE)
|
||||
@echo CXX=$(CXX) >>$(BUILD_CFG_FILE)
|
||||
@echo CFLAGS=$(CFLAGS) >>$(BUILD_CFG_FILE)
|
||||
@echo CPPFLAGS=$(CPPFLAGS) >>$(BUILD_CFG_FILE)
|
||||
@echo CXXFLAGS=$(CXXFLAGS) >>$(BUILD_CFG_FILE)
|
||||
@echo LDFLAGS=$(LDFLAGS) >>$(BUILD_CFG_FILE)
|
||||
</command>
|
||||
</action>
|
||||
|
||||
</if>
|
||||
|
||||
</makefile>
|
@@ -1,770 +0,0 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!-- $Id$ -->
|
||||
|
||||
<makefile>
|
||||
|
||||
<requires version="0.2.1"/>
|
||||
|
||||
<!-- bakefile modules we need: -->
|
||||
<using module="datafiles"/>
|
||||
|
||||
<!-- load python module with wxwindows helpers: -->
|
||||
<using module="wxwin"/>
|
||||
|
||||
<!-- DFE: Add a platform meaning regular MacOS (not OS X) -->
|
||||
<!-- FIXME: This will be handled in Bakefile but for now I wanted to
|
||||
get my changes to the wx bakefiles in the tree but invisible to
|
||||
windows toolkits and their config.xxx settings -->
|
||||
<if cond="FORMAT=='autoconf'">
|
||||
<option name="PLATFORM_MACOS"/>
|
||||
</if>
|
||||
<if cond="FORMAT!='autoconf'">
|
||||
<set var="PLATFORM_MACOS">0</set>
|
||||
</if>
|
||||
|
||||
<!-- FIXME: PalmOS is another candidate to bakefiles -->
|
||||
<set var="PLATFORM_PALMOS">0</set>
|
||||
|
||||
<include file="config.bkl"/>
|
||||
|
||||
<include file="plugins_deps.bkl"/>
|
||||
|
||||
|
||||
<!-- wxWidgets version numbers logic: -->
|
||||
<include file="version.bkl"/>
|
||||
|
||||
|
||||
<!-- ================================================================== -->
|
||||
<!-- Names of libraries and DLLs: -->
|
||||
<!-- ================================================================== -->
|
||||
|
||||
<set var="PORTNAME">
|
||||
<if cond="USE_GUI=='0'">base</if>
|
||||
<if cond="USE_GUI=='1'">$(TOOLKIT_LOWERCASE)$(TOOLKIT_VERSION)</if>
|
||||
</set>
|
||||
|
||||
<set var="WXBASEPORT">
|
||||
<if cond="TOOLKIT=='MAC'">_carbon</if>
|
||||
</set>
|
||||
|
||||
<set var="COMPILERORGCC">
|
||||
<if cond="isdefined('COMPILER')">$(COMPILER)</if>
|
||||
<if cond="not isdefined('COMPILER')">gcc</if>
|
||||
</set>
|
||||
<set var="WXCOMPILER">
|
||||
<if cond="PLATFORM_WIN32=='1'">_$(COMPILERORGCC)</if>
|
||||
</set>
|
||||
|
||||
<set var="VENDORTAG">
|
||||
<if cond="PLATFORM_WIN32=='1' and OFFICIAL_BUILD=='1'"></if>
|
||||
<if cond="PLATFORM_WIN32=='1' and OFFICIAL_BUILD=='0'">_$(VENDOR)</if>
|
||||
</set>
|
||||
|
||||
<set var="WXDEBUGFLAG">
|
||||
<if cond="BUILD=='debug' and DEBUG_FLAG=='default'">d</if>
|
||||
<if cond="DEBUG_FLAG=='1'">d</if>
|
||||
</set>
|
||||
<set var="WXUNICODEFLAG">
|
||||
<!-- WinCE is Unicode-only platform: -->
|
||||
<if cond="UNICODE=='1' and FORMAT!='msevc4prj'">u</if>
|
||||
</set>
|
||||
<set var="WXNAMESUFFIX">
|
||||
$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
|
||||
</set>
|
||||
|
||||
<set var="WXUNIVNAME">
|
||||
<if cond="WXUNIV=='1'">univ</if>
|
||||
</set>
|
||||
<set var="WXUNIV_DEFINE">
|
||||
<if cond="WXUNIV=='1'">__WXUNIVERSAL__</if>
|
||||
</set>
|
||||
|
||||
<if cond="FORMAT=='autoconf'">
|
||||
<set var="WXNAMEPREFIX">wx_base$(WXBASEPORT)</set>
|
||||
<set var="WXNAMEPREFIXGUI">wx_$(PORTNAME)$(WXUNIVNAME)</set>
|
||||
<set var="WXVERSIONTAG">-$(WX_RELEASE)</set>
|
||||
</if>
|
||||
<if cond="FORMAT!='autoconf'">
|
||||
<set var="WXNAMEPREFIX">
|
||||
wxbase$(WXBASEPORT)$(WX_RELEASE_NODOT)
|
||||
</set>
|
||||
<set var="WXNAMEPREFIXGUI">
|
||||
wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)</set>
|
||||
<set var="WXVERSIONTAG"></set>
|
||||
</if>
|
||||
<set var="WXDLLNAMEPREFIX">
|
||||
<if cond="PLATFORM_WIN32=='1'">
|
||||
wxbase$(WXBASEPORT)$(WXWIN32DLLVERSION)
|
||||
</if>
|
||||
<if cond="PLATFORM_WIN32=='0'">$(WXNAMEPREFIX)</if>
|
||||
</set>
|
||||
<set var="WXDLLNAMEPREFIXGUI">
|
||||
<if cond="PLATFORM_WIN32=='1'">
|
||||
wx$(PORTNAME)$(WXUNIVNAME)$(WXWIN32DLLVERSION)
|
||||
</if>
|
||||
<if cond="PLATFORM_WIN32=='0'">$(WXNAMEPREFIXGUI)</if>
|
||||
</set>
|
||||
<set var="WXDLLVERSIONTAG">
|
||||
<if cond="PLATFORM_WIN32=='1'"></if>
|
||||
<if cond="PLATFORM_WIN32=='0'">$(WXVERSIONTAG)</if>
|
||||
</set>
|
||||
|
||||
|
||||
<!-- =============================================================== -->
|
||||
<!-- Names of component libraries: -->
|
||||
<!-- =============================================================== -->
|
||||
|
||||
<set var="WXLIB_BASE">
|
||||
<if cond="MONOLITHIC=='0'">$(mk.evalExpr(wxwin.mkLibName('base')))</if>
|
||||
</set>
|
||||
<set var="WXLIB_NET">
|
||||
<if cond="MONOLITHIC=='0'">$(mk.evalExpr(wxwin.mkLibName('net')))</if>
|
||||
</set>
|
||||
<set var="WXLIB_QA">
|
||||
<if cond="MONOLITHIC=='0'">$(mk.evalExpr(wxwin.mkLibName('qa')))</if>
|
||||
</set>
|
||||
<set var="WXLIB_CORE">
|
||||
<if cond="MONOLITHIC=='0'">$(mk.evalExpr(wxwin.mkLibName('core')))</if>
|
||||
</set>
|
||||
<set var="WXLIB_ADV">
|
||||
<if cond="MONOLITHIC=='0'">$(mk.evalExpr(wxwin.mkLibName('adv')))</if>
|
||||
</set>
|
||||
<set var="WXLIB_MEDIA">
|
||||
<if cond="MONOLITHIC=='0' and USE_MEDIA=='1'">$(mk.evalExpr(wxwin.mkLibName('media')))</if>
|
||||
</set>
|
||||
<set var="WXLIB_HTML">
|
||||
<if cond="MONOLITHIC=='0'">$(mk.evalExpr(wxwin.mkLibName('html')))</if>
|
||||
</set>
|
||||
<set var="WXLIB_XML">
|
||||
<if cond="MONOLITHIC=='0'">$(mk.evalExpr(wxwin.mkLibName('xml')))</if>
|
||||
</set>
|
||||
<set var="WXLIB_XRC">
|
||||
<if cond="MONOLITHIC=='0'">$(mk.evalExpr(wxwin.mkLibName('xrc')))</if>
|
||||
</set>
|
||||
<set var="WXLIB_ODBC">
|
||||
<if cond="MONOLITHIC=='0' and USE_ODBC=='1'">
|
||||
$(mk.evalExpr(wxwin.mkLibName('odbc')))
|
||||
</if>
|
||||
</set>
|
||||
<set var="WXLIB_DBGRID">
|
||||
<if cond="MONOLITHIC=='0'">$(mk.evalExpr(wxwin.mkLibName('dbgrid')))</if>
|
||||
</set>
|
||||
<set var="WXLIB_AUI">
|
||||
<if cond="MONOLITHIC=='0'">$(mk.evalExpr(wxwin.mkLibName('aui')))</if>
|
||||
</set>
|
||||
<set var="WXLIB_RICHTEXT">
|
||||
<if cond="MONOLITHIC=='0'">$(mk.evalExpr(wxwin.mkLibName('richtext')))</if>
|
||||
</set>
|
||||
|
||||
<set var="WXLIB_MONO">
|
||||
<if cond="MONOLITHIC=='1'">$(mk.evalExpr(wxwin.mkLibName('mono')))</if>
|
||||
</set>
|
||||
|
||||
|
||||
<!-- =============================================================== -->
|
||||
<!-- Where to store built libraries and objects: -->
|
||||
<!-- =============================================================== -->
|
||||
|
||||
<set var="DIR_SUFFIX_CPU">
|
||||
<if cond="FORMAT=='msevc4prj'">_$(CPU)</if>
|
||||
<if cond="TARGET_CPU=='amd64'">_amd64</if>
|
||||
<if cond="TARGET_CPU=='AMD64'">_amd64</if>
|
||||
<if cond="TARGET_CPU=='ia64'">_ia64</if>
|
||||
<if cond="TARGET_CPU=='IA64'">_ia64</if>
|
||||
</set>
|
||||
|
||||
<if cond="FORMAT!='autoconf'">
|
||||
<set var="WXDLLFLAG">
|
||||
<if cond="SHARED=='1'">dll</if>
|
||||
</set>
|
||||
<set var="CFG_NAME_PART">
|
||||
$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
|
||||
</set>
|
||||
<set var="OBJS" make_var="1">
|
||||
<if cond="FORMAT!='cbuilderx'">
|
||||
$(COMPILER)_$(CFG_NAME_PART)$(DIR_SUFFIX_CPU)
|
||||
</if>
|
||||
<!-- FIXME: waiting for removal after CBX has better ../ dirs
|
||||
support -->
|
||||
<if cond="FORMAT=='cbuilderx'">build_cbx_$(CFG_NAME_PART)</if>
|
||||
</set>
|
||||
|
||||
<set var="BUILDDIR">$(OBJS)</set>
|
||||
</if>
|
||||
|
||||
<set var="LIBTYPE_SUFFIX" make_var="1">
|
||||
<if cond="FORMAT!='autoconf' and SHARED=='0' and PLATFORM_WIN32=='1'">lib</if>
|
||||
<if cond="FORMAT!='autoconf' and SHARED=='1' and PLATFORM_WIN32=='1'">dll</if>
|
||||
<if cond="FORMAT=='watcom' and SHARED=='0' and PLATFORM_WIN32=='0'">$(TOOLKIT_LOWERCASE)_lib</if>
|
||||
<if cond="FORMAT=='watcom' and SHARED=='1' and PLATFORM_WIN32=='0'">$(TOOLKIT_LOWERCASE)_dll</if>
|
||||
</set>
|
||||
|
||||
<set var="LIBDIRNAME" make_var="1">
|
||||
<if cond="FORMAT=='autoconf'">$(wx_top_builddir)/lib</if>
|
||||
<if cond="FORMAT!='autoconf'">
|
||||
$(nativePaths(TOP_SRCDIR))lib$(DIRSEP)$(COMPILER)$(DIR_SUFFIX_CPU)_$(LIBTYPE_SUFFIX)$(CFG)
|
||||
</if>
|
||||
</set>
|
||||
|
||||
<if cond="FORMAT!='autoconf'">
|
||||
<set var="SETUPHDIR" make_var="1">
|
||||
$(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
|
||||
</set>
|
||||
</if>
|
||||
|
||||
|
||||
|
||||
<!-- =============================================================== -->
|
||||
<!-- Templates for libs: -->
|
||||
<!-- =============================================================== -->
|
||||
|
||||
<set var="DEBUGINFO">
|
||||
<if cond="BUILD=='debug' and DEBUG_INFO=='default'">on</if>
|
||||
<if cond="DEBUG_INFO=='1'">on</if>
|
||||
<if cond="BUILD=='release' and DEBUG_INFO=='default'">off</if>
|
||||
<if cond="DEBUG_INFO=='0'">off</if>
|
||||
</set>
|
||||
<set var="DEBUGRUNTIME">
|
||||
<if cond="DEBUG_RUNTIME_LIBS=='default' and BUILD=='debug'">on</if>
|
||||
<if cond="DEBUG_RUNTIME_LIBS=='default' and BUILD=='release'">off</if>
|
||||
<if cond="DEBUG_RUNTIME_LIBS=='0'">off</if>
|
||||
<if cond="DEBUG_RUNTIME_LIBS=='1'">on</if>
|
||||
</set>
|
||||
<set var="OPTIMIZEFLAG">
|
||||
<if cond="BUILD=='debug'">off</if>
|
||||
<if cond="BUILD=='release'">speed</if>
|
||||
</set>
|
||||
<set var="EXCEPTIONSFLAG">
|
||||
<if cond="USE_EXCEPTIONS=='1'">on</if>
|
||||
<if cond="USE_EXCEPTIONS=='0'">off</if>
|
||||
</set>
|
||||
<set var="RTTIFLAG">
|
||||
<if cond="USE_RTTI=='1'">on</if>
|
||||
<if cond="USE_RTTI=='0'">off</if>
|
||||
</set>
|
||||
<set var="THREADSFLAG">
|
||||
<if cond="USE_THREADS=='1'">multi</if>
|
||||
<if cond="USE_THREADS=='0'">single</if>
|
||||
</set>
|
||||
|
||||
<set var="RTTI_DEFINE">
|
||||
<if cond="USE_RTTI=='0'">wxNO_RTTI</if>
|
||||
</set>
|
||||
<set var="EXCEPTIONS_DEFINE">
|
||||
<if cond="USE_EXCEPTIONS=='0'">wxNO_EXCEPTIONS</if>
|
||||
</set>
|
||||
<set var="THREAD_DEFINE">
|
||||
<if cond="USE_THREADS=='0'">wxNO_THREADS</if>
|
||||
</set>
|
||||
|
||||
<set var="DEBUG_DEFINE">
|
||||
<if cond="FORMAT!='autoconf' and BUILD=='debug' and DEBUG_FLAG=='default'">__WXDEBUG__</if>
|
||||
<if cond="FORMAT!='autoconf' and DEBUG_FLAG=='1'">__WXDEBUG__</if>
|
||||
</set>
|
||||
<!-- does not cover all cases, but better than nothing -->
|
||||
<set var="NO_VC_CRTDBG">
|
||||
<if cond="FORMAT=='msvc' and BUILD=='debug' and DEBUG_RUNTIME_LIBS=='0'">__NO_VC_CRTDBG__</if>
|
||||
<if cond="FORMAT=='msvc' and BUILD=='release' and DEBUG_FLAG=='1'">__NO_VC_CRTDBG__</if>
|
||||
</set>
|
||||
<set var="UNICODE_DEFINE">
|
||||
<if cond="FORMAT!='autoconf' and UNICODE=='1'">_UNICODE</if>
|
||||
</set>
|
||||
<set var="MSLU_DEFINE">
|
||||
<if cond="FORMAT!='autoconf' and MSLU=='1'">wxUSE_UNICODE_MSLU=1</if>
|
||||
</set>
|
||||
|
||||
<!-- fill for the specific case of the format/compiler -->
|
||||
<set var="WIN32_WINNT">
|
||||
<if cond="FORMAT=='dmars' or FORMAT=='dmars_smake'">_WIN32_WINNT=0x0400</if>
|
||||
</set>
|
||||
|
||||
<set var="UNICOWS_LIB">
|
||||
<if cond="MSLU=='1'">unicows</if>
|
||||
</set>
|
||||
|
||||
<if cond="FORMAT!='autoconf'">
|
||||
<set var="GDIPLUS_LIB">
|
||||
<if cond="USE_GDIPLUS=='1'">gdiplus</if>
|
||||
</set>
|
||||
<set var="GFXCTX_DEFINE">
|
||||
<if cond="USE_GDIPLUS=='1'">wxUSE_GRAPHICS_CONTEXT=1</if>
|
||||
</set>
|
||||
</if>
|
||||
|
||||
<set var="LINK_TARGET_CPU">
|
||||
<if cond="TARGET_CPU=='amd64'">/MACHINE:AMD64</if>
|
||||
<if cond="TARGET_CPU=='AMD64'">/MACHINE:AMD64</if>
|
||||
<if cond="TARGET_CPU=='ia64'">/MACHINE:IA64</if>
|
||||
<if cond="TARGET_CPU=='IA64'">/MACHINE:IA64</if>
|
||||
</set>
|
||||
|
||||
<template id="common_settings">
|
||||
<debug-info>$(DEBUGINFO)</debug-info>
|
||||
<debug-runtime-libs>$(DEBUGRUNTIME)</debug-runtime-libs>
|
||||
<optimize>$(OPTIMIZEFLAG)</optimize>
|
||||
<threading>$(THREADSFLAG)</threading>
|
||||
<runtime-libs>$(RUNTIME_LIBS)</runtime-libs>
|
||||
<cxx-rtti>$(RTTIFLAG)</cxx-rtti>
|
||||
<cxx-exceptions>$(EXCEPTIONSFLAG)</cxx-exceptions>
|
||||
<if cond="FORMAT!='autoconf'">
|
||||
<cppflags>$(EXTRACFLAGS)</cppflags>
|
||||
</if>
|
||||
<define>$(NO_VC_CRTDBG)</define>
|
||||
<define>$(WIN32_WINNT)</define>
|
||||
<if cond="FORMAT=='msevc4prj' and
|
||||
BAKEFILE_VERSION in ['0.1.9'] and
|
||||
USE_RTTI=='0'">
|
||||
<!-- hack to make eVC4 2.6.2 project files compatible with what we had in 2.6.1 -->
|
||||
<set var="_ldlibs">$(_ldlibs.replace('ccrtrtti.lib', ''))</set>
|
||||
<set var="_cppflags">$(_cppflags.replace('/GR', ''))</set>
|
||||
</if>
|
||||
<if cond="FORMAT=='msvc'">
|
||||
<ldflags>$(LINK_TARGET_CPU)</ldflags>
|
||||
</if>
|
||||
<include cond="FORMAT=='msevc4prj'">$(TOP_SRCDIR)build/wince/missing</include>
|
||||
</template>
|
||||
|
||||
<template id="anylib">
|
||||
<dirname>$(LIBDIRNAME)</dirname>
|
||||
<install-to>$(LIBDIR)</install-to>
|
||||
</template>
|
||||
|
||||
<template id="3rdparty_lib" template="common_settings,anylib">
|
||||
<if cond="FORMAT=='autoconf'">
|
||||
<libname>$(id)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)</libname>
|
||||
</if>
|
||||
<if cond="FORMAT!='autoconf'">
|
||||
<libname>$(id)$(WXDEBUGFLAG)$(HOST_SUFFIX)</libname>
|
||||
</if>
|
||||
<!--
|
||||
we want to install 3rd party libs system-wide only with static
|
||||
version of wxWidgets; otherwise they are embedded in shared libs:
|
||||
-->
|
||||
<install-if>SHARED=='0'</install-if>
|
||||
<pic>$(substituteFromDict(SHARED, {'0':'off', '1':'on'}))</pic>
|
||||
</template>
|
||||
|
||||
|
||||
<!-- deal with the need to copy setup.h here: -->
|
||||
|
||||
<set var="IS_MSVC_PRJ">$(FORMAT in ['msvc6prj','msevc4prj'])</set>
|
||||
|
||||
<define-tag name="msvc-headers" rules="dll,lib">
|
||||
<if cond="IS_MSVC_PRJ">
|
||||
<msvc-project-files>
|
||||
$(addPrefixToList('include\\', wxwin.headersOnly(value)))
|
||||
</msvc-project-files>
|
||||
</if>
|
||||
</define-tag>
|
||||
|
||||
<set var="msvc_copy_setup_h_script">
|
||||
<if cond="IS_MSVC_PRJ">
|
||||
Creating $(SETUPHDIR)\wx\setup.h
|
||||
InputPath=..\include\wx\%s
|
||||
|
||||
"$(SETUPHDIR)\wx\setup.h" : $(DOLLAR)(SOURCE) "$(DOLLAR)(INTDIR)" "$(DOLLAR)(OUTDIR)"
|
||||
$(TAB)copy "$(DOLLAR)(InputPath)" $(SETUPHDIR)\wx\setup.h
|
||||
</if>
|
||||
</set>
|
||||
|
||||
<define-tag name="msvc-headers-setup-h" rules="dll,lib">
|
||||
<if cond="IS_MSVC_PRJ">
|
||||
<msvc-headers>
|
||||
$(addPrefixToList('wx/', value))
|
||||
</msvc-headers>
|
||||
<set var="_custom_build_files" append="1">
|
||||
$(nativePaths(addPrefixToList('include/wx/', value)))
|
||||
</set>
|
||||
</if>
|
||||
</define-tag>
|
||||
|
||||
<define-tag name="msvc-copy-setup-h" rules="dll,lib">
|
||||
<if cond="IS_MSVC_PRJ">
|
||||
<if cond="FORMAT=='msevc4prj'">
|
||||
<msvc-headers-setup-h>
|
||||
msw/wince/setup.h
|
||||
</msvc-headers-setup-h>
|
||||
<set var="_custom_build_include_wx_msw_wince_setup_h">
|
||||
$(msvc_copy_setup_h_script % 'msw\wince\setup.h')
|
||||
</set>
|
||||
</if>
|
||||
<if cond="FORMAT!='msevc4prj'">
|
||||
<msvc-headers-setup-h>
|
||||
msw/setup.h
|
||||
univ/setup.h
|
||||
</msvc-headers-setup-h>
|
||||
<set var="_custom_build_include_wx_msw_setup_h">
|
||||
<if cond="WXUNIV=='0'">
|
||||
$(msvc_copy_setup_h_script % 'msw\setup.h')
|
||||
</if>
|
||||
</set>
|
||||
<set var="_custom_build_include_wx_univ_setup_h">
|
||||
<if cond="WXUNIV=='1'">
|
||||
$(msvc_copy_setup_h_script % 'univ\setup.h')
|
||||
</if>
|
||||
</set>
|
||||
</if>
|
||||
</if>
|
||||
</define-tag>
|
||||
|
||||
<define-tag name="msvc-create-rcdefs-h" rules="dll,lib">
|
||||
<if cond="IS_MSVC_PRJ">
|
||||
<msvc-headers-setup-h>
|
||||
msw/genrcdefs.h
|
||||
</msvc-headers-setup-h>
|
||||
<!-- FIXME: we need another way to get the compiler name -->
|
||||
<set var="VC_COMPILER">
|
||||
<if cond="FORMAT=='msevc4prj'">$(_COMPILER)</if>
|
||||
<if cond="FORMAT!='msevc4prj'">cl</if>
|
||||
</set>
|
||||
<set var="_custom_build_include_wx_msw_genrcdefs_h">
|
||||
Creating $(SETUPHDIR)\wx\msw\rcdefs.h
|
||||
|
||||
"$(SETUPHDIR)\wx\msw\rcdefs.h" : "$(DOLLAR)(SOURCE)" "$(DOLLAR)(SETUPHDIR)\wx\msw"
|
||||
$(TAB)$(VC_COMPILER) /EP /nologo "$(DOLLAR)(InputPath)" > "$(SETUPHDIR)\wx\msw\rcdefs.h"
|
||||
</set>
|
||||
</if>
|
||||
</define-tag>
|
||||
|
||||
<template id="msvc_setup_h">
|
||||
<msvc-copy-setup-h/>
|
||||
<msvc-create-rcdefs-h/>
|
||||
</template>
|
||||
|
||||
<!-- =============================================================== -->
|
||||
<!-- 3rd party libs: -->
|
||||
<!-- =============================================================== -->
|
||||
|
||||
<!-- 3rd party libraries: -->
|
||||
<include file="regex.bkl"/>
|
||||
<include file="zlib.bkl"/>
|
||||
<include file="png.bkl"/>
|
||||
<include file="jpeg.bkl"/>
|
||||
<include file="tiff.bkl"/>
|
||||
<include file="odbc.bkl"/>
|
||||
<include file="expat.bkl"/>
|
||||
|
||||
|
||||
<!-- =============================================================== -->
|
||||
<!-- Templates for wxWidgets libs: -->
|
||||
<!-- =============================================================== -->
|
||||
|
||||
<!-- NB: in monolithic build, even wxBase-only must be linked against
|
||||
GUI extralibs, otherwise there would be unresolved references.
|
||||
The variables below are defined so that all libs are used
|
||||
in monolithic build, but not in multilib one. -->
|
||||
<set var="EXTRALIBS_FOR_BASE">
|
||||
<if cond="MONOLITHIC=='1'">$(EXTRALIBS) $(EXTRALIBS_GUI)</if>
|
||||
<if cond="MONOLITHIC=='0'">$(EXTRALIBS)</if>
|
||||
</set>
|
||||
<set var="EXTRALIBS_FOR_GUI">
|
||||
<if cond="MONOLITHIC=='1'"></if>
|
||||
<if cond="MONOLITHIC=='0'">$(EXTRALIBS_GUI)</if>
|
||||
</set>
|
||||
|
||||
<if cond="TOOLKIT=='MGL' and FORMAT=='watcom'">
|
||||
<set var="MGLLIBPATH">$(DOLLAR)(%SCITECH)/lib/$(BUILD)/dos32/ow10</set>
|
||||
<set var="MGLPMLIBPATH">
|
||||
<if cond="DOS32=='DOS4GW'">dos4gw</if>
|
||||
</set>
|
||||
</if>
|
||||
|
||||
<template id="wx" template="common_settings">
|
||||
<set var="wxid">$(wxwin.mk_wxid(id))</set>
|
||||
<define>__WX$(TOOLKIT)__</define>
|
||||
<define>$(WXUNIV_DEFINE)</define>
|
||||
<define>$(DEBUG_DEFINE)</define>
|
||||
<define>$(EXCEPTIONS_DEFINE)</define>
|
||||
<define>$(RTTI_DEFINE)</define>
|
||||
<define>$(THREAD_DEFINE)</define>
|
||||
<define>$(UNICODE_DEFINE)</define>
|
||||
<define>$(MSLU_DEFINE)</define>
|
||||
<if cond="FORMAT!='autoconf'"><define>$(GFXCTX_DEFINE)</define></if>
|
||||
<include cond="FORMAT!='autoconf'">$(SETUPHDIR)</include>
|
||||
<include cond="FORMAT!='autoconf'">$(TOP_SRCDIR)include</include>
|
||||
<lib-path>$(LIBDIRNAME)</lib-path>
|
||||
<if cond="TOOLKIT=='MGL' and FORMAT=='watcom'">
|
||||
<lib-path>$(MGLLIBPATH)</lib-path>
|
||||
<lib-path>$(MGLLIBPATH)/$(MGLPMLIBPATH)</lib-path>
|
||||
</if>
|
||||
<warnings>max</warnings>
|
||||
<cppflags-watcom>
|
||||
-wcd=549 <!-- 'sizeof' operand contains compiler generated information -->
|
||||
-wcd=656 <!-- define this function inside its class definition (may improve code quality) -->
|
||||
-wcd=657 <!-- define this function inside its class definition (could have improved code quality) -->
|
||||
-wcd=667 <!-- 'va_start' macro will not work without an argument before '...' -->
|
||||
</cppflags-watcom>
|
||||
<cxxflags-mingw>
|
||||
-Wno-ctor-dtor-privacy <!-- only defines a private destructor and has no friends -->
|
||||
</cxxflags-mingw>
|
||||
</template>
|
||||
|
||||
<!-- for both GUI and wxBase libs/samples: -->
|
||||
<template id="wx_append_base_nomono">
|
||||
<!-- link against builtin 3rd party libs, if needed: -->
|
||||
<sys-lib>$(LIB_ZLIB)</sys-lib>
|
||||
<sys-lib>$(LIB_ODBC)</sys-lib>
|
||||
<sys-lib>$(LIB_REGEX)</sys-lib>
|
||||
<sys-lib>$(LIB_EXPAT)</sys-lib>
|
||||
|
||||
<ldlibs>$(EXTRALIBS_FOR_BASE)</ldlibs>
|
||||
|
||||
<!-- system libraries on os2: -->
|
||||
<if cond="FORMAT!='autoconf' and PLATFORM_OS2=='1'">
|
||||
<if cond="FORMAT=='watcom'">
|
||||
<sys-lib>upm32</sys-lib>
|
||||
</if>
|
||||
</if>
|
||||
|
||||
<!-- system libraries on mgl: -->
|
||||
<if cond="FORMAT=='watcom' and TOOLKIT=='MGL'">
|
||||
<sys-lib>mgl</sys-lib>
|
||||
<sys-lib>mglcpp</sys-lib>
|
||||
<sys-lib>pm</sys-lib>
|
||||
</if>
|
||||
|
||||
<!-- system libraries on windows: -->
|
||||
<if cond="FORMAT!='autoconf' and PLATFORM_WIN32=='1'">
|
||||
<sys-lib>$(UNICOWS_LIB)</sys-lib>
|
||||
<sys-lib>$(GDIPLUS_LIB)</sys-lib>
|
||||
<if cond="FORMAT=='borland'">
|
||||
<sys-lib>ole2w32</sys-lib>
|
||||
</if>
|
||||
<if cond="FORMAT=='msevc4prj'">
|
||||
<sys-lib>ole32</sys-lib>
|
||||
<sys-lib>oleaut32</sys-lib>
|
||||
<sys-lib>uuid</sys-lib>
|
||||
<sys-lib>commctrl</sys-lib>
|
||||
<sys-lib>winsock</sys-lib>
|
||||
<sys-lib>wininet</sys-lib>
|
||||
</if>
|
||||
<if cond="FORMAT!='borland' and FORMAT!='msevc4prj'">
|
||||
<sys-lib>kernel32</sys-lib>
|
||||
<sys-lib>user32</sys-lib>
|
||||
<sys-lib>gdi32</sys-lib>
|
||||
<sys-lib>comdlg32</sys-lib>
|
||||
<sys-lib>winspool</sys-lib>
|
||||
<sys-lib>winmm</sys-lib>
|
||||
<sys-lib>shell32</sys-lib>
|
||||
<sys-lib>comctl32</sys-lib>
|
||||
<sys-lib>ole32</sys-lib>
|
||||
<sys-lib>oleaut32</sys-lib>
|
||||
<sys-lib>uuid</sys-lib>
|
||||
<sys-lib>rpcrt4</sys-lib>
|
||||
<sys-lib>advapi32</sys-lib>
|
||||
<sys-lib>wsock32</sys-lib>
|
||||
</if>
|
||||
<if cond="FORMAT=='borland'">
|
||||
<sys-lib>oleacc</sys-lib>
|
||||
</if>
|
||||
<if cond="FORMAT!='msevc4prj'">
|
||||
<sys-lib>odbc32</sys-lib>
|
||||
</if>
|
||||
</if>
|
||||
</template>
|
||||
|
||||
|
||||
<!-- for GUI libs/samples: -->
|
||||
<template id="wx_append_nomono" template_append="wx_append_base_nomono">
|
||||
<sys-lib>$(LIB_TIFF)</sys-lib>
|
||||
<sys-lib>$(LIB_JPEG)</sys-lib>
|
||||
<sys-lib>$(LIB_PNG)</sys-lib>
|
||||
<ldlibs>$(EXTRALIBS_FOR_GUI)</ldlibs>
|
||||
</template>
|
||||
|
||||
|
||||
<template id="wx_append_base" template_append="wx_append_base_nomono">
|
||||
<!-- Always link against the wxWin library in monolithic build: -->
|
||||
<sys-lib>$(WXLIB_MONO)</sys-lib>
|
||||
</template>
|
||||
<template id="wx_append" template_append="wx_append_nomono">
|
||||
<!-- Always link against the wxWin library in monolithic build: -->
|
||||
<sys-lib>$(WXLIB_MONO)</sys-lib>
|
||||
</template>
|
||||
|
||||
|
||||
<set var="WX_DISABLE_PRECOMP_HEADERS" overwrite="0">0</set>
|
||||
|
||||
<template id="wx_lib_b" template="wx,anylib">
|
||||
<set var="WXLIBNAME">$(wxwin.mkLibName(wxid))</set>
|
||||
<libname>$(WXLIBNAME)</libname>
|
||||
|
||||
<if cond="WX_DISABLE_PRECOMP_HEADERS=='0'">
|
||||
<if cond="FORMAT!='autoconf' and TOOLKIT in ['MSW','MGL','PM','WINCE']">
|
||||
<sources>$(WXTOPDIR)src/common/dummy.cpp</sources>
|
||||
<precomp-headers-gen>
|
||||
$(WXTOPDIR)src/common/dummy.cpp
|
||||
</precomp-headers-gen>
|
||||
</if>
|
||||
<precomp-headers-location>$(WXTOPDIR)include</precomp-headers-location>
|
||||
<precomp-headers-header>wx/wxprec.h</precomp-headers-header>
|
||||
<precomp-headers>on</precomp-headers>
|
||||
<precomp-headers-file>wxprec_$(id)</precomp-headers-file>
|
||||
<precomp-headers-exclude>
|
||||
src/common/extended.c
|
||||
</precomp-headers-exclude>
|
||||
</if>
|
||||
|
||||
<if cond="IS_MSVC_PRJ=='1' and BUILDING_LIB=='1'">
|
||||
<msvc-file-group>Common Sources:src/common/*</msvc-file-group>
|
||||
<msvc-file-group>MSW Sources:src/msw/*</msvc-file-group>
|
||||
<msvc-file-group>Generic Sources:src/generic/*</msvc-file-group>
|
||||
<msvc-file-group>wxUniv Sources:src/univ/*</msvc-file-group>
|
||||
<msvc-file-group>wxHTML Sources:src/html/*</msvc-file-group>
|
||||
<msvc-file-group>Setup Headers:*/setup.h</msvc-file-group>
|
||||
<msvc-file-group>MSW Headers:*wx/msw/*.h</msvc-file-group>
|
||||
<msvc-file-group>Generic Headers:*wx/generic/*.h</msvc-file-group>
|
||||
<msvc-file-group>wxUniv Headers:*wx/univ/*.h</msvc-file-group>
|
||||
<msvc-file-group>wxHTML Headers:*wx/html/*.h</msvc-file-group>
|
||||
<msvc-file-group>Common Headers:*wx/*.h</msvc-file-group>
|
||||
</if>
|
||||
</template>
|
||||
|
||||
<if cond="FORMAT=='autoconf'">
|
||||
<set var="RCDEFDIR">
|
||||
<if cond="TOOLKIT=='MSW'">
|
||||
$(LIBDIRNAME)/wx/include/$(TOOLCHAIN_FULLNAME)
|
||||
</if>
|
||||
</set>
|
||||
</if>
|
||||
|
||||
<template id="wx_dll_b" template="wx_lib_b">
|
||||
<set var="WXDLLNAME">$(wxwin.mkDllName(wxid))</set>
|
||||
<dllname>$(WXDLLNAME)</dllname>
|
||||
<version>$(WX_VERSION)</version>
|
||||
<so_version>$(WXSOVERSION)</so_version>
|
||||
|
||||
<!-- FIXME: until libtool scheme is implemented in bakefile -->
|
||||
<ldflags cond="FORMAT=='autoconf'">$(WXMACVERSION_CMD)</ldflags>
|
||||
|
||||
<!-- version info resources: -->
|
||||
<res-define>WXDLLNAME=$(WXDLLNAME)</res-define>
|
||||
<if cond="FORMAT=='autoconf'">
|
||||
<res-include>$(RCDEFDIR)</res-include>
|
||||
<res-include>$(TOP_SRCDIR)include</res-include>
|
||||
</if>
|
||||
<win32-res>$(WXTOPDIR)src/msw/version.rc</win32-res>
|
||||
</template>
|
||||
|
||||
<template id="wx_3rdparty_dependencies_gui" cond="USE_GUI=='1'">
|
||||
<depends>wxtiff</depends>
|
||||
<depends>wxjpeg</depends>
|
||||
<depends>wxpng</depends>
|
||||
</template>
|
||||
|
||||
<template id="wx_3rdparty_dependencies"
|
||||
template="wx_3rdparty_dependencies_gui">
|
||||
<depends>wxexpat</depends>
|
||||
<depends>wxzlib</depends>
|
||||
<depends cond="FORMAT=='autoconf'">wxodbc</depends>
|
||||
<depends>wxregex</depends>
|
||||
</template>
|
||||
|
||||
<template id="wx_3rdparty_includes_gui" cond="USE_GUI=='1'">
|
||||
<if cond="FORMAT=='watcom' and TOOLKIT=='MGL'">
|
||||
<include>$(DOLLAR)(%SCITECH)/include</include>
|
||||
</if>
|
||||
<include>$(INC_TIFF)</include>
|
||||
<include>$(INC_JPEG)</include>
|
||||
<include>$(INC_PNG)</include>
|
||||
</template>
|
||||
|
||||
<template id="wx_3rdparty_includes"
|
||||
template="wx_3rdparty_includes_gui">
|
||||
<include>$(INC_ZLIB)</include>
|
||||
<include>$(INC_ODBC)</include>
|
||||
<include>$(INC_REGEX)</include>
|
||||
<include>$(INC_EXPAT)</include>
|
||||
</template>
|
||||
|
||||
<template id="wx_lib"
|
||||
template="wx_lib_b,wx_3rdparty_includes,msvc_setup_h"/>
|
||||
<template id="wx_base_lib"
|
||||
template="wx_lib_b,wx_3rdparty_includes,msvc_setup_h">
|
||||
<define>wxUSE_GUI=0</define>
|
||||
</template>
|
||||
|
||||
<template id="wx_dll"
|
||||
template="wx_dll_b,wx_3rdparty_dependencies,wx_3rdparty_includes"
|
||||
template_append="msvc_setup_h,wx_append_nomono"/>
|
||||
<template id="wx_base_dll"
|
||||
template="wx_dll_b,wx_3rdparty_dependencies,wx_3rdparty_includes"
|
||||
template_append="msvc_setup_h,wx_append_base_nomono">
|
||||
<define>wxUSE_GUI=0</define>
|
||||
</template>
|
||||
|
||||
<!-- =============================================================== -->
|
||||
<!-- Templates for building wxWidgets plugins: -->
|
||||
<!-- =============================================================== -->
|
||||
|
||||
<if cond="WX_STABLE_BRANCH=='1'">
|
||||
<set var="PLUGIN_VERSION0">
|
||||
<if cond="PLATFORM_UNIX=='1'">$(WX_RELEASE)</if>
|
||||
<if cond="PLATFORM_UNIX=='0'">$(WX_RELEASE_NODOT)</if>
|
||||
</set>
|
||||
</if>
|
||||
<if cond="WX_STABLE_BRANCH=='0'">
|
||||
<set var="PLUGIN_VERSION0">
|
||||
<if cond="PLATFORM_UNIX=='1'">$(WX_VERSION)</if>
|
||||
<if cond="PLATFORM_UNIX=='0'">$(WX_VERSION_NODOT)</if>
|
||||
</set>
|
||||
</if>
|
||||
<set var="PLUGVERDELIM">
|
||||
<if cond="PLATFORM_UNIX=='1'">-</if>
|
||||
<if cond="PLATFORM_UNIX=='0'"></if>
|
||||
</set>
|
||||
<set var="PLUGIN_VERSION">$(PLUGVERDELIM)$(PLUGIN_VERSION0)</set>
|
||||
|
||||
<set var="PLUGINSUFFIX">
|
||||
<if cond="UNICODE=='0' and BUILD=='release'"></if>
|
||||
<if cond="UNICODE=='0' and BUILD=='debug'">d</if>
|
||||
<if cond="UNICODE=='1' and BUILD=='release'">u</if>
|
||||
<if cond="UNICODE=='1' and BUILD=='debug'">ud</if>
|
||||
</set>
|
||||
|
||||
<set var="PLUGINS_INST_DIR" make_var="1">
|
||||
$(LIBDIR)/wx/$(PLUGIN_VERSION0)
|
||||
</set>
|
||||
|
||||
<define-rule name="wx-base-plugin" extends="module">
|
||||
<template>
|
||||
<dllname>
|
||||
$(id)$(PLUGINSUFFIX)$(PLUGIN_VERSION)$(WXCOMPILER)
|
||||
</dllname>
|
||||
<define>WXUSINGDLL</define>
|
||||
<define>wxUSE_GUI=0</define>
|
||||
<install-to>$(PLUGINS_INST_DIR)</install-to>
|
||||
</template>
|
||||
</define-rule>
|
||||
|
||||
<define-rule name="wx-gui-plugin" extends="module">
|
||||
<template template="wx">
|
||||
<dllname>
|
||||
$(id)_$(PORTNAME)$(WXUNIVNAME)$(PLUGINSUFFIX)$(PLUGIN_VERSION)$(WXCOMPILER)
|
||||
</dllname>
|
||||
<define>WXUSINGDLL</define>
|
||||
<install-to>$(PLUGINS_INST_DIR)</install-to>
|
||||
</template>
|
||||
</define-rule>
|
||||
|
||||
<!-- =============================================================== -->
|
||||
<!-- Support for wxWidgets samples and contrib: -->
|
||||
<!-- =============================================================== -->
|
||||
|
||||
<!-- Link against one wxWin library. Value must be literal! -->
|
||||
<define-tag name="wx-lib" rules="exe,dll,module">
|
||||
<sys-lib>$(wxwin.libToLink(value))</sys-lib>
|
||||
<ldlibs>$(wxwin.extraLdflags(value))</ldlibs>
|
||||
<if cond="IS_MSVC_PRJ=='1' and MONOLITHIC=='0'">
|
||||
<depends-on-dsp>$(wxwin.makeDspDependency(value))</depends-on-dsp>
|
||||
</if>
|
||||
</define-tag>
|
||||
|
||||
|
||||
<!-- A hack to keep autoconf happy (we pass CPPFLAGS that contain
|
||||
{top_srcdir} from configure, poor bakefile can't know that
|
||||
and won't output top_srcdir = @top_srcdir@ line): -->
|
||||
<set var="VARS_DONT_ELIMINATE" append="1">top_srcdir</set>
|
||||
|
||||
|
||||
</makefile>
|
@@ -1,50 +0,0 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!-- $Id$ -->
|
||||
|
||||
<makefile>
|
||||
|
||||
<if cond="not isdefined('file_common_samples_included')">
|
||||
<include file="common.bkl"/>
|
||||
</if>
|
||||
|
||||
<set var="CONTRIB_HDR_DIR" overwrite="0">$(SRCDIR)/../../include</set>
|
||||
|
||||
<!-- =============================================================== -->
|
||||
<!-- Contrib lib helpers: -->
|
||||
<!-- =============================================================== -->
|
||||
|
||||
<template id="wx_contrib_lib" template="wx_lib_b">
|
||||
<include>$(CONTRIB_HDR_DIR)</include>
|
||||
</template>
|
||||
|
||||
<if cond="isdefined('file_common_samples_included')">
|
||||
<template id="wx_contrib_sample" template="wx_sample">
|
||||
<include>$(CONTRIB_HDR_DIR)</include>
|
||||
</template>
|
||||
<template id="wx_contrib_util" template="wx_util">
|
||||
<include>$(CONTRIB_HDR_DIR)</include>
|
||||
</template>
|
||||
</if>
|
||||
|
||||
<template id="wx_contrib_dll"
|
||||
template="wx_dll_b" template_append="wx_append">
|
||||
<include>$(CONTRIB_HDR_DIR)</include>
|
||||
</template>
|
||||
|
||||
<template id="wx_contrib_headers">
|
||||
<srcdir>$(CONTRIB_HDR_DIR)</srcdir>
|
||||
<install-to>$(INCLUDEDIR)/wx-$(WX_RELEASE)$(WX_FLAVOUR)</install-to>
|
||||
</template>
|
||||
|
||||
<!-- Link against one contrib library. Value must be literal! -->
|
||||
<define-tag name="contrib-lib" rules="exe,dll,module">
|
||||
<sys-lib>$(wxwin.libToLink(value))</sys-lib>
|
||||
<ldlibs>$(wxwin.extraLdflags(value))</ldlibs>
|
||||
<if cond="IS_MSVC_PRJ=='1' and MONOLITHIC=='0'">
|
||||
<depends-on-dsp>
|
||||
$(wxwin.makeContribDspDependency(value))
|
||||
</depends-on-dsp>
|
||||
</if>
|
||||
</define-tag>
|
||||
|
||||
</makefile>
|
@@ -1,19 +0,0 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!-- $Id$ -->
|
||||
|
||||
<makefile>
|
||||
|
||||
<set var="file_common_samples_included">1</set>
|
||||
|
||||
<if cond="not isdefined('OUT_OF_TREE_MAKEFILES')">
|
||||
<set var="OUT_OF_TREE_MAKEFILES">0</set>
|
||||
</if>
|
||||
|
||||
<if cond="OUT_OF_TREE_MAKEFILES=='1'">
|
||||
<include file="common_samples_outoftree.bkl"/>
|
||||
</if>
|
||||
<if cond="OUT_OF_TREE_MAKEFILES=='0'">
|
||||
<include file="common_samples_intree.bkl"/>
|
||||
</if>
|
||||
|
||||
</makefile>
|
@@ -1,121 +0,0 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!-- $Id$ -->
|
||||
|
||||
<makefile>
|
||||
|
||||
<include file="common.bkl"/>
|
||||
|
||||
<!-- =============================================================== -->
|
||||
<!-- Template for wxWidgets samples: -->
|
||||
<!-- =============================================================== -->
|
||||
|
||||
<if cond="FORMAT=='autoconf'">
|
||||
<set var="MACOSX_RESOURCES">
|
||||
<if cond="TOOLKIT=='MAC'">
|
||||
Carbon.r sample.r
|
||||
</if>
|
||||
</set>
|
||||
</if>
|
||||
|
||||
<set var="DLLFLAG">
|
||||
<if cond="SHARED=='1'">WXUSINGDLL</if>
|
||||
</set>
|
||||
|
||||
<template id="wx_util_b" template="wx">
|
||||
<include>$(SRCDIR)</include>
|
||||
<define>$(DLLFLAG)</define>
|
||||
</template>
|
||||
|
||||
<template id="wx_util" template="wx_util_b">
|
||||
<app-type>gui</app-type>
|
||||
<mac-res cond="FORMAT=='autoconf'">$(MACOSX_RESOURCES)</mac-res>
|
||||
<!-- resource files includes: -->
|
||||
<include>$(SRCDIR)/$(WXTOPDIR)samples</include>
|
||||
<!-- this include is not added via <include> for autoconf, see
|
||||
common.bkl: -->
|
||||
<if cond="FORMAT=='autoconf'">
|
||||
<res-include>$(RCDEFDIR)</res-include>
|
||||
<res-include>$(TOP_SRCDIR)include</res-include>
|
||||
</if>
|
||||
|
||||
<win32-res>$(WXTOPDIR)samples/sample.rc</win32-res>
|
||||
<if cond="FORMAT=='autoconf'">
|
||||
<wx-os2-lib-resource/>
|
||||
</if>
|
||||
|
||||
<!-- FIXME: temporary, until bakefile can reuse existing pch files -->
|
||||
<if cond="FORMAT!='autoconf'">
|
||||
<define>NOPCH</define>
|
||||
</if>
|
||||
</template>
|
||||
|
||||
<template id="wx_util_console" template="wx_util_b">
|
||||
<app-type>console</app-type>
|
||||
<define>wxUSE_GUI=0</define>
|
||||
</template>
|
||||
|
||||
<template id="wx_sample" template="wx_util">
|
||||
<if cond="FORMAT=='autoconf'">
|
||||
<wx-mac-app-bundle/>
|
||||
<ldflags>$(SAMPLES_RPATH_FLAG)</ldflags>
|
||||
<postlink-command>$(SAMPLES_RPATH_POSTLINK)</postlink-command>
|
||||
</if>
|
||||
</template>
|
||||
<template id="wx_sample_console" template="wx_util_console">
|
||||
<if cond="FORMAT=='autoconf'">
|
||||
<ldflags>$(SAMPLES_RPATH_FLAG)</ldflags>
|
||||
<postlink-command>$(SAMPLES_RPATH_POSTLINK)</postlink-command>
|
||||
</if>
|
||||
</template>
|
||||
|
||||
|
||||
<!-- =============================================================== -->
|
||||
<!-- Support for samples data files: -->
|
||||
<!-- =============================================================== -->
|
||||
|
||||
<define-rule name="wx-data" extends="copy-files">
|
||||
<template>
|
||||
<dependency-of>all</dependency-of>
|
||||
<dstdir>$(BUILDDIR)</dstdir>
|
||||
<srcdir>$(SRCDIR)</srcdir>
|
||||
</template>
|
||||
|
||||
<!--
|
||||
VS - FIXME:
|
||||
Don't clean the files because it would wipe out sources files if
|
||||
BUILDDIR==SRCDIR. This is same behaviour as in the old build system,
|
||||
but it would be better to delete the files during "make clean" if
|
||||
BUILDDIR!=SRCDIR.
|
||||
|
||||
<define-tag name="files">
|
||||
<clean-files>
|
||||
$(' '.join(['$(BUILDDIR)$(DIRSEP)%s'%x for x in value.split()]))
|
||||
</clean-files>
|
||||
</define-tag>
|
||||
-->
|
||||
</define-rule>
|
||||
|
||||
|
||||
<!-- =============================================================== -->
|
||||
<!-- Misc platform specialities: -->
|
||||
<!-- =============================================================== -->
|
||||
|
||||
<if cond="FORMAT=='autoconf'">
|
||||
<include file="mac_bundles.bkl"/>
|
||||
|
||||
<!--
|
||||
A hack to include precompiled OS/2 resource file in apps instead of
|
||||
compiling it from .rc file (gcc on OS/2 doesn't ship with resource
|
||||
compiler):
|
||||
-->
|
||||
<define-tag name="wx-os2-lib-resource" rules="exe">
|
||||
<set var="os2_lib_res">
|
||||
<if cond="PLATFORM_OS2=='1'">
|
||||
$(TOP_SRCDIR)include/wx/os2/wx.res
|
||||
</if>
|
||||
</set>
|
||||
<set var="__objects" append="1">$(os2_lib_res)</set>
|
||||
</define-tag>
|
||||
</if>
|
||||
|
||||
</makefile>
|
@@ -1,43 +0,0 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!-- $Id$ -->
|
||||
|
||||
<makefile>
|
||||
|
||||
<!-- =============================================================== -->
|
||||
<!-- Templates for out-of-tree Unix makefiles for wxWidgets samples: -->
|
||||
<!-- =============================================================== -->
|
||||
|
||||
<include file="wxpresets/presets/wx.bkl"/>
|
||||
|
||||
<template id="wx_app_base" template="wx">
|
||||
<include>$(SRCDIR)</include>
|
||||
</template>
|
||||
|
||||
<template id="wx_util" template="wx_app_base">
|
||||
<app-type>gui</app-type>
|
||||
</template>
|
||||
|
||||
<template id="wx_util_console" template="wx_app_base">
|
||||
<app-type>console</app-type>
|
||||
</template>
|
||||
|
||||
<template id="wx_sample" template="wx_util"/>
|
||||
<template id="wx_sample_console" template="wx_util_console"/>
|
||||
|
||||
|
||||
<define-rule name="wx-gui-plugin" extends="module">
|
||||
<template template="wx_app_base"/>
|
||||
</define-rule>
|
||||
|
||||
|
||||
<!-- empty stubs for things that don't make sense for makefile.unx: -->
|
||||
<template id="wx_append"/>
|
||||
<template id="wx_append_base"/>
|
||||
|
||||
<define-rule name="wx-data" pseudo="1">
|
||||
<define-tag name="files"/>
|
||||
<define-tag name="dstdir"/>
|
||||
<define-tag name="srcdir"/>
|
||||
</define-rule>
|
||||
|
||||
</makefile>
|
@@ -1,507 +0,0 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!-- $Id$ -->
|
||||
|
||||
<makefile>
|
||||
|
||||
<set var="BUILDING_LIB" overwrite="0">0</set>
|
||||
|
||||
<set var="CPP_DEFAULT_VALUE">
|
||||
<if cond="FORMAT=='borland'">
|
||||
cpp32 -Sr -oCON
|
||||
</if>
|
||||
<if cond="FORMAT=='mingw'">
|
||||
$(DOLLAR)(CC) -E
|
||||
</if>
|
||||
<if cond="FORMAT=='msvc'">
|
||||
$(DOLLAR)(CC) /EP /nologo
|
||||
</if>
|
||||
<if cond="FORMAT=='watcom'">
|
||||
$(DOLLAR)(CC) -p
|
||||
</if>
|
||||
</set>
|
||||
<option name="CPP">
|
||||
<default-value>
|
||||
$(CPP_DEFAULT_VALUE)
|
||||
</default-value>
|
||||
<description>
|
||||
The C preprocessor
|
||||
</description>
|
||||
</option>
|
||||
|
||||
<option name="SHARED">
|
||||
<values>0,1</values>
|
||||
<values-description>,DLL</values-description>
|
||||
<default-value>0</default-value>
|
||||
<description>
|
||||
What type of library to build?
|
||||
</description>
|
||||
</option>
|
||||
|
||||
<option name="WXUNIV">
|
||||
<values>0,1</values>
|
||||
<values-description>,Universal</values-description>
|
||||
<default-value>0</default-value>
|
||||
<description>
|
||||
Build wxUniversal instead of native port?
|
||||
</description>
|
||||
</option>
|
||||
|
||||
<option name="UNICODE">
|
||||
<values>0,1</values>
|
||||
<values-description>,Unicode</values-description>
|
||||
<default-value>0</default-value>
|
||||
<description>
|
||||
Compile Unicode build of wxWidgets?
|
||||
</description>
|
||||
</option>
|
||||
|
||||
<if cond="FORMAT!='autoconf' and FORMAT!='watcom'">
|
||||
<option name="MSLU">
|
||||
<values>0,1</values>
|
||||
<default-value>0</default-value>
|
||||
<description>
|
||||
Use MSLU library when building Unicode version.
|
||||
</description>
|
||||
</option>
|
||||
</if>
|
||||
<if cond="FORMAT=='autoconf' or FORMAT=='watcom'">
|
||||
<set var="MSLU">0</set>
|
||||
</if>
|
||||
|
||||
<option name="BUILD">
|
||||
<values>debug,release</values>
|
||||
<values-description>Debug,Release</values-description>
|
||||
<default-value>debug</default-value>
|
||||
<description>
|
||||
Type of compiled binaries
|
||||
</description>
|
||||
</option>
|
||||
|
||||
<if cond="FORMAT=='msvc'">
|
||||
<option name="TARGET_CPU">
|
||||
<default-value>$(DOLLAR)(CPU)</default-value>
|
||||
<description>
|
||||
The target processor architecture must be specified when it is not X86.
|
||||
This does not affect the compiler output, so you still need to make sure
|
||||
your environment is set up appropriately with the correct compiler in the
|
||||
PATH. Rather it affects some options passed to some of the common build
|
||||
utilities such as the resource compiler and the linker.
|
||||
|
||||
Accepted values: AMD64, IA64.
|
||||
</description>
|
||||
</option>
|
||||
</if>
|
||||
<if cond="FORMAT!='msvc'">
|
||||
<set var="TARGET_CPU"/>
|
||||
</if>
|
||||
|
||||
<!-- FIXME: restore this once bakefile is fixed to not use
|
||||
/Gm /GZ (incompatible with /O2) w/ debug-info -->
|
||||
<set var="DEBUG_INFO_DEFAULT">
|
||||
<if cond="FORMAT in ['msvc','msvc6prj','msevc4prj']">1</if>
|
||||
<if cond="FORMAT not in ['msvc','msvc6prj','msevc4prj']">default</if>
|
||||
</set>
|
||||
-->
|
||||
<set var="DEBUG_INFO_DEFAULT">default</set>
|
||||
|
||||
<option name="DEBUG_INFO">
|
||||
<values>0,1,default</values>
|
||||
<default-value>$(DEBUG_INFO_DEFAULT)</default-value>
|
||||
<description>
|
||||
Should debugging info be included in the executables? The default value
|
||||
"default" means that debug info will be included if BUILD=debug
|
||||
and not included if BUILD=release.
|
||||
</description>
|
||||
</option>
|
||||
|
||||
<option name="DEBUG_FLAG">
|
||||
<values>0,1,default</values>
|
||||
<default-value>default</default-value>
|
||||
<description>
|
||||
Should __WXDEBUG__ be defined? The default value "default" means that it will
|
||||
be defined if BUILD=debug and not defined if BUILD=release.
|
||||
</description>
|
||||
</option>
|
||||
|
||||
<if cond="FORMAT=='msvc'">
|
||||
<option name="DEBUG_RUNTIME_LIBS">
|
||||
<values>0,1,default</values>
|
||||
<default-value>default</default-value>
|
||||
<description>
|
||||
Should link against debug RTL (msvcrtd.dll) or release (msvcrt.dll)?
|
||||
Acts according to BUILD by default.
|
||||
</description>
|
||||
</option>
|
||||
</if>
|
||||
<if cond="FORMAT!='msvc'">
|
||||
<set var="DEBUG_RUNTIME_LIBS">default</set>
|
||||
</if>
|
||||
|
||||
<set var="MONOLITHIC_DEFAULT">
|
||||
<if cond="FORMAT=='watcom'">1</if>
|
||||
<if cond="FORMAT!='watcom'">0</if>
|
||||
</set>
|
||||
<option name="MONOLITHIC">
|
||||
<values>0,1</values>
|
||||
<values-description>Multilib,Monolithic</values-description>
|
||||
<default-value>$(MONOLITHIC_DEFAULT)</default-value>
|
||||
<description>
|
||||
Multiple libraries or single huge monolithic one?
|
||||
</description>
|
||||
</option>
|
||||
|
||||
<if cond="FORMAT=='autoconf'"> <!-- FIXME - temporary -->
|
||||
<option name="USE_PLUGINS">
|
||||
<values>0,1</values>
|
||||
<default-value>1</default-value>
|
||||
<description>
|
||||
Build parts of the library as dynamically loadable plugins
|
||||
(only supported in multilib build)?
|
||||
</description>
|
||||
</option>
|
||||
</if>
|
||||
<if cond="FORMAT!='autoconf'">
|
||||
<set var="USE_PLUGINS">0</set> <!-- FIXME - temporary -->
|
||||
</if>
|
||||
|
||||
<option name="USE_GUI">
|
||||
<values>0,1</values>
|
||||
<values-description>Base,GUI</values-description>
|
||||
<default-value>1</default-value>
|
||||
<description>
|
||||
Build GUI libraries?
|
||||
</description>
|
||||
</option>
|
||||
|
||||
<option name="USE_HTML">
|
||||
<values>0,1</values>
|
||||
<default-value>1</default-value>
|
||||
<description>
|
||||
Build wxHTML library (USE_GUI must be 1)?
|
||||
</description>
|
||||
</option>
|
||||
|
||||
<option name="USE_MEDIA">
|
||||
<values>0,1</values>
|
||||
<default-value>1</default-value>
|
||||
<description>
|
||||
Build multimedia library (USE_GUI must be 1)?
|
||||
</description>
|
||||
</option>
|
||||
|
||||
<option name="USE_XRC">
|
||||
<values>0,1</values>
|
||||
<default-value>1</default-value>
|
||||
<description>
|
||||
Build wxXRC library (USE_GUI must be 1)?
|
||||
</description>
|
||||
</option>
|
||||
|
||||
<option name="USE_AUI">
|
||||
<values>0,1</values>
|
||||
<default-value>1</default-value>
|
||||
<description>
|
||||
Build wxAUI library (USE_GUI must be 1)?
|
||||
</description>
|
||||
</option>
|
||||
|
||||
<option name="USE_RICHTEXT">
|
||||
<values>0,1</values>
|
||||
<default-value>1</default-value>
|
||||
<description>
|
||||
Build wxRichTextCtrl library (USE_GUI must be 1)?
|
||||
</description>
|
||||
</option>
|
||||
|
||||
<option name="USE_OPENGL">
|
||||
<values>0,1</values>
|
||||
<default-value>0</default-value>
|
||||
<description>
|
||||
Build OpenGL canvas library (USE_GUI must be 1)?
|
||||
</description>
|
||||
</option>
|
||||
|
||||
<option name="USE_ODBC">
|
||||
<values>0,1</values>
|
||||
<default-value>0</default-value>
|
||||
<description>
|
||||
Build ODBC database classes (USE_GUI must be 1)?
|
||||
</description>
|
||||
</option>
|
||||
|
||||
<!-- currently only VC++ can compile wxDebugReport which is in QA lib -->
|
||||
<set var="USE_QA_DEFAULT">
|
||||
<if cond="FORMAT in ['msvc','msvc6prj']">1</if>
|
||||
<if cond="FORMAT not in ['msvc','msvc6prj']">0</if>
|
||||
</set>
|
||||
<option name="USE_QA">
|
||||
<values>0,1</values>
|
||||
<default-value>$(USE_QA_DEFAULT)</default-value>
|
||||
<description>
|
||||
Build quality assurance classes library (USE_GUI must be 1)?
|
||||
</description>
|
||||
</option>
|
||||
|
||||
<option name="USE_EXCEPTIONS">
|
||||
<values>0,1</values>
|
||||
<default-value>1</default-value>
|
||||
<description>
|
||||
Enable exceptions in compiled code.
|
||||
</description>
|
||||
</option>
|
||||
|
||||
<option name="USE_RTTI">
|
||||
<values>0,1</values>
|
||||
<default-value>1</default-value>
|
||||
<description>
|
||||
Enable run-time type information (RTTI) in compiled code.
|
||||
</description>
|
||||
</option>
|
||||
|
||||
<option name="USE_THREADS">
|
||||
<values>0,1</values>
|
||||
<default-value>1</default-value>
|
||||
<description>
|
||||
Enable threading in compiled code.
|
||||
</description>
|
||||
</option>
|
||||
|
||||
<if cond="FORMAT!='autoconf'">
|
||||
<option name="USE_GDIPLUS">
|
||||
<values>0,1</values>
|
||||
<default-value>0</default-value>
|
||||
<description>
|
||||
Link with gdiplus.lib? (Needed for wxGraphicsContext, will also set wxUSE_GRAPHICS_CONTEXT)
|
||||
</description>
|
||||
</option>
|
||||
</if>
|
||||
|
||||
<option name="OFFICIAL_BUILD">
|
||||
<values>0,1</values>
|
||||
<default-value>0</default-value>
|
||||
<description>
|
||||
Is this official build by wxWidgets developers?
|
||||
</description>
|
||||
</option>
|
||||
<option name="VENDOR">
|
||||
<default-value>custom</default-value>
|
||||
<description>
|
||||
Use this to name your customized DLLs differently
|
||||
</description>
|
||||
</option>
|
||||
<!-- These basically do what vendor does in the places it didn't. -->
|
||||
<!-- They should all be unified under some suitable descriptor -->
|
||||
<option name="WX_FLAVOUR">
|
||||
<default-value></default-value>
|
||||
</option>
|
||||
<option name="WX_LIB_FLAVOUR">
|
||||
<default-value></default-value>
|
||||
</option>
|
||||
|
||||
<option name="CFG">
|
||||
<default-value></default-value>
|
||||
<description>
|
||||
Name of your custom configuration. This affects directory
|
||||
where object files are stored as well as the location of
|
||||
compiled .lib files and setup.h under the lib/ toplevel directory.
|
||||
</description>
|
||||
</option>
|
||||
|
||||
<!-- unit tests support: -->
|
||||
<option name="CPPUNIT_CFLAGS">
|
||||
<default-value></default-value>
|
||||
<description>
|
||||
Compiler flags needed to compile test suite in tests directory. If you want
|
||||
to run the tests, set it so that the compiler can find CppUnit headers.
|
||||
</description>
|
||||
</option>
|
||||
|
||||
<option name="CPPUNIT_LIBS">
|
||||
<default-value></default-value>
|
||||
<description>
|
||||
Linker flags needed to link test suite in tests directory. If you want
|
||||
to run the tests, include CppUnit library here.
|
||||
</description>
|
||||
</option>
|
||||
|
||||
|
||||
<!-- ================================================================== -->
|
||||
<!-- Autoconf -->
|
||||
<!-- ================================================================== -->
|
||||
|
||||
<if cond="FORMAT=='autoconf'">
|
||||
<option name="DEREZ"/>
|
||||
<option name="TOOLKIT"/>
|
||||
<option name="TOOLKIT_LOWERCASE"/>
|
||||
<option name="TOOLKIT_VERSION"/>
|
||||
<option name="TOOLCHAIN_NAME"/>
|
||||
<option name="TOOLCHAIN_FULLNAME"/>
|
||||
<option name="EXTRALIBS"/>
|
||||
<option name="EXTRALIBS_XML"/>
|
||||
<option name="EXTRALIBS_HTML"/>
|
||||
<option name="EXTRALIBS_ODBC"/>
|
||||
<option name="EXTRALIBS_GUI"/>
|
||||
<option name="EXTRALIBS_OPENGL"/>
|
||||
<option name="EXTRALIBS_SDL"/>
|
||||
<option name="EXTRALIBS_GNOMEPRINT"/>
|
||||
<option name="HOST_SUFFIX"/>
|
||||
<option name="SAMPLES_RPATH_FLAG"/>
|
||||
<option name="SAMPLES_RPATH_POSTLINK"/>
|
||||
|
||||
<set var="TOP_SRCDIR">$(top_srcdir)/</set>
|
||||
<set var="RUNTIME_LIBS">dynamic</set>
|
||||
<set var="WXTOPDIR"/> <!-- to be overriden on bakefile cmd line -->
|
||||
|
||||
<option name="WITH_PLUGIN_SDL">
|
||||
<values>0,1</values>
|
||||
</option>
|
||||
|
||||
<option name="wx_top_builddir"/>
|
||||
</if>
|
||||
|
||||
|
||||
<!-- ================================================================== -->
|
||||
<!-- windows/dos/os2 compilers -->
|
||||
<!-- ================================================================== -->
|
||||
|
||||
<if cond="FORMAT!='autoconf'">
|
||||
<option name="RUNTIME_LIBS">
|
||||
<values>dynamic,static</values>
|
||||
<default-value>dynamic</default-value>
|
||||
<description>
|
||||
Version of C runtime library to use. You can change this to
|
||||
static if SHARED=0, but it is highly recommended to not do
|
||||
it if SHARED=1 unless you know what you are doing.
|
||||
</description>
|
||||
</option>
|
||||
|
||||
<set var="WXTOPDIR"/> <!-- to be overriden on bakefile cmd line -->
|
||||
|
||||
<set var="TOOLKIT" overwrite="0">
|
||||
<if cond="FORMAT=='msevc4prj'">WINCE</if>
|
||||
<if cond="FORMAT!='msevc4prj' and PLATFORM_WIN32=='1'">MSW</if>
|
||||
<if cond="PLATFORM_MSDOS=='1'">MGL</if>
|
||||
<if cond="PLATFORM_OS2=='1'">PM</if>
|
||||
</set>
|
||||
<set var="TOOLKIT_LOWERCASE">$(TOOLKIT.lower())</set>
|
||||
<set var="TOOLKIT_VERSION"/>
|
||||
<set var="HOST_SUFFIX"/>
|
||||
<set var="EXTRACFLAGS"/>
|
||||
<set var="EXTRALIBS"/>
|
||||
<set var="EXTRALIBS_XML"/>
|
||||
<set var="EXTRALIBS_HTML"/>
|
||||
<set var="EXTRALIBS_ODBC"/>
|
||||
<set var="EXTRALIBS_GUI"/>
|
||||
<set var="EXTRALIBS_OPENGL">
|
||||
<if cond="COMPILER=='wat' and TOOLKIT=='MSW'">opengl32.lib glu32.lib</if>
|
||||
<if cond="COMPILER in ['vc','evc']">opengl32.lib glu32.lib</if>
|
||||
<if cond="COMPILER=='gcc'">-lopengl32 -lglu32</if>
|
||||
</set>
|
||||
<set var="EXTRALIBS_SDL"/>
|
||||
<set var="EXTRALIBS_GNOMEPRINT"/>
|
||||
|
||||
<set var="WITH_PLUGIN_SDL">0</set>
|
||||
|
||||
<set var="SRCDIR">
|
||||
<if cond="BUILDING_LIB=='1'">..$(DIRSEP)..</if>
|
||||
<if cond="BUILDING_LIB=='0'">.</if>
|
||||
</set>
|
||||
<set var="TOP_SRCDIR">$(SRCDIR)/$(WXTOPDIR)</set>
|
||||
</if>
|
||||
|
||||
<if cond="FORMAT=='mingw'">
|
||||
<option name="GCC_VERSION">
|
||||
<values>3,2.95</values>
|
||||
<default-value>3</default-value>
|
||||
<description>
|
||||
Set the version of your Mingw installation here.
|
||||
"3" ...... this is for Mingw 2.0 or newer (comes with gcc3)
|
||||
"2.95" ... for Mingw 1.1 or any of the older versions
|
||||
</description>
|
||||
</option>
|
||||
<set var="GCCFLAGS">
|
||||
<if cond="GCC_VERSION=='2.95'">-fvtable-thunks</if>
|
||||
</set>
|
||||
<set var="EXTRACFLAGS">$(GCCFLAGS) -DHAVE_W32API_H</set>
|
||||
</if>
|
||||
|
||||
<if cond="FORMAT=='cbuilderx'">
|
||||
<set var="EXTRACFLAGS">
|
||||
<if cond="COMPILER=='gcc'">-DHAVE_W32API_H</if>
|
||||
</set>
|
||||
</if>
|
||||
|
||||
|
||||
<!-- ================================================================== -->
|
||||
<!-- Project files - hardcode some defaults -->
|
||||
<!-- ================================================================== -->
|
||||
|
||||
<if cond="FORMAT_SUPPORTS_CONDITIONS=='0'">
|
||||
<set var="RUNTIME_LIBS">dynamic</set>
|
||||
<set var="OFFICIAL_BUILD">0</set>
|
||||
<set var="USE_AUI">1</set>
|
||||
<set var="USE_RICHTEXT">1</set>
|
||||
<set var="USE_HTML">1</set>
|
||||
<set var="USE_MEDIA">1</set>
|
||||
<set var="USE_XRC">1</set>
|
||||
<set var="USE_OPENGL">1</set>
|
||||
<set var="USE_ODBC">1</set>
|
||||
<set var="USE_QA">1</set>
|
||||
<set var="MONOLITHIC">0</set>
|
||||
<set var="USE_GUI">1</set>
|
||||
<set var="USE_EXCEPTIONS">1</set>
|
||||
<set var="USE_RTTI">1</set>
|
||||
<set var="USE_THREADS">1</set>
|
||||
<if cond="FORMAT!='autoconf'"><set var="USE_GDIPLUS">0</set></if>
|
||||
<set var="DEBUG_INFO">$(DEBUG_INFO_DEFAULT)</set>
|
||||
<set var="DEBUG_FLAG">default</set>
|
||||
<set var="MSLU">0</set>
|
||||
</if>
|
||||
|
||||
|
||||
<!-- FIXME:
|
||||
C++BuilderX supports only wxMSW, monolithic (sic!) static build
|
||||
and the project can't be put into build/msw and store objects in
|
||||
build/msw/something. This *must* be fixed! -->
|
||||
<if cond="FORMAT=='cbuilderx'">
|
||||
<set var="WXUNIV">0</set>
|
||||
<set var="MONOLITHIC">1</set>
|
||||
<set var="SRCDIR">.</set>
|
||||
<set var="TOP_SRCDIR">$(SRCDIR)/$(WXTOPDIR)</set>
|
||||
<set var="SHARED">0</set>
|
||||
</if>
|
||||
|
||||
|
||||
<!-- DigitalMars make is braindead, it doesn't have conditional
|
||||
processing: -->
|
||||
<if cond="FORMAT=='dmars'">
|
||||
<set var="RUNTIME_LIBS">static</set>
|
||||
<set var="BUILD">debug</set>
|
||||
<set var="SHARED">0</set>
|
||||
<set var="WXUNIV">0</set>
|
||||
<set var="UNICODE">0</set>
|
||||
<!-- Free version does not distribute OpenGL,
|
||||
in commercial distribution better use dmars_smake format -->
|
||||
<set var="USE_OPENGL">0</set>
|
||||
</if>
|
||||
|
||||
<!-- No need for wxUniv on embedded devices (yet): -->
|
||||
<if cond="FORMAT=='msevc4prj'">
|
||||
<set var="WXUNIV">0</set>
|
||||
<set var="UNICODE">1</set>
|
||||
<!-- Uploading debug reports from PDAs seems impractical -->
|
||||
<set var="USE_QA">0</set>
|
||||
<set var="MONOLITHIC">1</set> <!-- sic! -->
|
||||
<!-- RTTI and exceptions need separate cccrtti.lib with eVC4 -->
|
||||
<set var="USE_RTTI">0</set>
|
||||
<set var="USE_EXCEPTIONS">0</set>
|
||||
</if>
|
||||
|
||||
<!-- Need for wxUniv within wxMGL: -->
|
||||
<if cond="FORMAT!='autoconf' and TOOLKIT=='MGL'">
|
||||
<set var="WXUNIV">1</set>
|
||||
<set var="USE_THREADS">0</set>
|
||||
<set var="RUNTIME_LIBS">static</set>
|
||||
</if>
|
||||
|
||||
</makefile>
|
@@ -1,48 +0,0 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!-- $Id$ -->
|
||||
|
||||
<makefile>
|
||||
|
||||
<if cond="FORMAT=='autoconf'">
|
||||
<option name="wxUSE_EXPAT"/>
|
||||
<set var="LIB_EXPAT">
|
||||
<if cond="wxUSE_EXPAT=='builtin'">
|
||||
wxexpat$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
|
||||
</if>
|
||||
</set>
|
||||
</if>
|
||||
<if cond="FORMAT!='autoconf'">
|
||||
<set var="wxUSE_EXPAT">builtin</set>
|
||||
<set var="LIB_EXPAT">
|
||||
<if cond="wxUSE_EXPAT=='builtin'">
|
||||
wxexpat$(WXDEBUGFLAG)$(HOST_SUFFIX)
|
||||
</if>
|
||||
</set>
|
||||
</if>
|
||||
<set var="INC_EXPAT">
|
||||
<if cond="wxUSE_EXPAT=='builtin'">$(TOP_SRCDIR)src/expat/lib</if>
|
||||
</set>
|
||||
|
||||
<lib id="wxexpat" template="3rdparty_lib"
|
||||
cond="wxUSE_EXPAT=='builtin' and BUILDING_LIB=='1'">
|
||||
<dirname>$(LIBDIRNAME)</dirname>
|
||||
<include cond="FORMAT!='autoconf'">$(LIBDIRNAME)</include>
|
||||
<include cond="FORMAT=='autoconf'">$(BUILDDIR)/src/expat</include>
|
||||
<define cond="FORMAT!='autoconf' and PLATFORM_WIN32=='1'">
|
||||
COMPILED_FROM_DSP
|
||||
</define>
|
||||
<define cond="FORMAT=='watcom' and PLATFORM_OS2=='1'">
|
||||
OS2_32
|
||||
</define>
|
||||
<define cond="FORMAT=='watcom' and PLATFORM_MSDOS=='1'">
|
||||
__MSDOS__
|
||||
</define>
|
||||
<cflags-borland>-w-8004 -w-8008 -w-8012 -w-8057 -w-8066</cflags-borland>
|
||||
<sources>
|
||||
src/expat/lib/xmlparse.c
|
||||
src/expat/lib/xmlrole.c
|
||||
src/expat/lib/xmltok.c
|
||||
</sources>
|
||||
</lib>
|
||||
|
||||
</makefile>
|
File diff suppressed because it is too large
Load Diff
@@ -1,28 +0,0 @@
|
||||
<?xml version="1.0" ?>
|
||||
|
||||
<bakefile-manifest>
|
||||
|
||||
<format id="wx24dsp">
|
||||
<description>
|
||||
src/wxWindows.dsp which makes same files as 2.4 version
|
||||
</description>
|
||||
<default-filename>wxWindows.dsp</default-filename>
|
||||
</format>
|
||||
|
||||
<format id="rpmspec">
|
||||
<description>
|
||||
wxBase headers list in wx{GTK,Motif,X11}.spec
|
||||
</description>
|
||||
<default-filename>xxx.spec</default-filename>
|
||||
</format>
|
||||
|
||||
<format id="cbx_unix">
|
||||
<description>
|
||||
C++BuilderX projects for Unix (use configure)
|
||||
</description>
|
||||
<default-filename>
|
||||
$(os.path.splitext(os.path.basename(INPUT_FILE))[0])Unix.cbx
|
||||
</default-filename>
|
||||
</format>
|
||||
|
||||
</bakefile-manifest>
|
@@ -1,6 +0,0 @@
|
||||
|
||||
This directory contains misc Bakefile backends that are wxWidgets-specific:
|
||||
|
||||
wx24dsp - generates wx2.4-compatible VC++ project file (src/wxWindows.dsp)
|
||||
rpmspec - generates part of .spec files with list of wxBase headers
|
||||
cbx_unix - Borland C++BuilderX project files for configure-based build
|
@@ -1,21 +0,0 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!-- $Id$ -->
|
||||
|
||||
<makefile>
|
||||
|
||||
<include file="presets/fake.bkl"/>
|
||||
<set var="COMPILER">vc</set>
|
||||
|
||||
|
||||
<define-tag name="__fake_hook" rules="__fake">
|
||||
<set var="type" overwrite="0">fake</set>
|
||||
</define-tag>
|
||||
|
||||
<define-tag name="__fake_hook" rules="exe">
|
||||
<set var="type">exe</set>
|
||||
</define-tag>
|
||||
|
||||
<output file="$(OUTPUT_FILE)" writer="cbx_unix.empy"/>
|
||||
<set var="FORMAT_OUTPUT_VARIABLES">type</set>
|
||||
|
||||
</makefile>
|
@@ -1,77 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--C++BuilderX Project-->
|
||||
<project>
|
||||
<property category="build.config" name="active" value="0"/>
|
||||
<property category="build.config" name="count" value="1"/>
|
||||
<property category="build.config" name="excludedefaultforzero" value="0"/>
|
||||
<property category="build.config.0" name="builddir" value="Debug"/>
|
||||
<property category="build.config.0" name="key" value="Debug_Build"/>
|
||||
<property category="build.config.0" name="name" value="Debug Build"/>
|
||||
<property category="build.config.0" name="settings.MinGW" value="default;debug"/>
|
||||
<property category="build.config.0" name="settings.gnuc++" value="default;debug"/>
|
||||
<property category="build.config.0" name="settings.intellinia32" value="default;debug"/>
|
||||
<property category="build.config.0" name="settings.mswin32" value="default;debug"/>
|
||||
<property category="build.config.0" name="type" value="Toolset"/>
|
||||
<property category="build.config.1" name="key" value="Release_Build"/>
|
||||
<property category="build.config.1" name="name" value="Release Build"/>
|
||||
<property category="build.config.1" name="settings.MinGW" value="default;release"/>
|
||||
<property category="build.config.1" name="settings.gnuc++" value="default;release"/>
|
||||
<property category="build.config.1" name="settings.intellinia32" value="default;release"/>
|
||||
<property category="build.config.1" name="settings.mswin32" value="default;release"/>
|
||||
<property category="build.config.1" name="type" value="Toolset"/>
|
||||
<property category="build.node" name="type" value="CBMakefileProjectType"/>
|
||||
<property category="build.platform" name="active" value="linux"/>
|
||||
<property category="build.platform" name="linux.Debug_Build.toolset" value="gnuc++"/>
|
||||
<property category="build.platform" name="linux.Release_Build.toolset" value="gnuc++"/>
|
||||
<property category="build.platform" name="linux.default" value="gnuc++"/>
|
||||
<property category="build.platform" name="linux.gnuc++.enabled" value="1"/>
|
||||
<property category="build.platform" name="linux.mswin32.enabled" value="0"/>
|
||||
<property category="build.platform" name="linux.win32b.enabled" value="0"/>
|
||||
<property category="build.platform" name="solaris.default" value="gnuc++"/>
|
||||
<property category="build.platform" name="solaris.enabled" value="0"/>
|
||||
<property category="build.platform" name="win32.default" value="MinGW"/>
|
||||
<property category="build.platform" name="win32.enabled" value="0"/>
|
||||
<property category="cbproject" name="lastnodeid" value="4"/>
|
||||
<property category="cbproject" name="version" value="X.1.0"/>
|
||||
<property category="classbrowser" name="enable" value="0"/>
|
||||
<property category="classbrowser" name="parser.cpp.skip_standard_directories" value="1"/>
|
||||
<property category="linux.Debug_Build.gnuc++.g++compile" name="option.I.arg.1" value="/usr/include"/>
|
||||
<property category="linux.Debug_Build.gnuc++.g++compile" name="option.I.arg.2" value="/usr/include/g++-3"/>
|
||||
<property category="linux.Debug_Build.gnuc++.g++compile" name="option.I.enabled" value="1"/>
|
||||
<property category="linux.Debug_Build.gnuc++.g++compile" name="option.MD.enabled" value="1"/>
|
||||
<property category="linux.Debug_Build.gnuc++.g++compile" name="option.O0.enabled" value="1"/>
|
||||
<property category="linux.Debug_Build.gnuc++.g++compile" name="option.c.enabled" value="1"/>
|
||||
<property category="linux.Debug_Build.gnuc++.g++compile" name="option.g.arg" value="2"/>
|
||||
<property category="linux.Debug_Build.gnuc++.g++compile" name="option.g.enabled" value="1"/>
|
||||
<property category="linux.Debug_Build.gnuc++.g++compile" name="option.o.enabled" value="1"/>
|
||||
<property category="linux.Debug_Build.gnuc++.g++link" name="option.o.enabled" value="1"/>
|
||||
<property category="linux.gnuc++.Debug_Build" name="saved" value="1"/>
|
||||
<property category="makefileproject" name="makefile.ID.1" value="1"/>
|
||||
<property category="makefileproject" name="makefile.list.1" value="Makefile"/>
|
||||
<property category="makefiletarget" name="makefile.1.params" value="-f Makefile"/>
|
||||
<property category="makefiletarget" name="makefile.1.target.list.1" value="all"/>
|
||||
<property category="makefiletarget" name="makefile.1.target.list.2" value="clean"/>
|
||||
<property category="runtime" name="ConfigurationCount" value="@(len([t for t in targets if t.type=='exe'])-1)"/>
|
||||
@{
|
||||
ALL_EXES = [x for x in targets if x.type=='exe']
|
||||
if len(ALL_EXES) == 1:
|
||||
DEFAULT_EXE = 0
|
||||
else:
|
||||
DEFAULT_EXE = -1
|
||||
}@
|
||||
<property category="runtime" name="DefaultConfiguration" value="@DEFAULT_EXE"/>
|
||||
@[for i in range(0,len(ALL_EXES))]@
|
||||
<property category="runtime.@i" name="BuildTargetOnRun" value="com.borland.cbuilder.build.CBProjectBuilder$ProjectBuildAction;make"/>
|
||||
<property category="runtime.@i" name="ConfigurationName" value="@ALL_EXES[i].id"/>
|
||||
<property category="runtime.@i" name="RunnableType" value="com.borland.cbuilder.runtime.ExecutableRunner"/>
|
||||
<property category="runtime.@i" name="native.exec.path" value="./@ALL_EXES[i].id"/>
|
||||
<property category="runtime.@i" name="native.startdir.path" value="."/>
|
||||
<property category="runtime.@i" name="native.target.override" value="1"/>
|
||||
@[end for]@
|
||||
<property category="unique" name="id" value="4"/>
|
||||
<node name="console" type="NavigationDirectory">
|
||||
<property category="directorynode" name="showSubdirectories" value="1"/>
|
||||
<property category="directorynode" name="url" value="."/>
|
||||
<property category="unique" name="id" value="1"/>
|
||||
</node>
|
||||
</project>
|
@@ -1,22 +0,0 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!-- $Id$ -->
|
||||
|
||||
<makefile>
|
||||
|
||||
<include file="presets/fake.bkl"/>
|
||||
<set var="COMPILER">gcc</set>
|
||||
|
||||
<!-- fake.bkl defaults to win32 platform -->
|
||||
<set var="PLATFORM_UNIX">1</set>
|
||||
<set var="PLATFORM_WIN32">0</set>
|
||||
|
||||
<set var="FORMAT_OUTPUT_VARIABLES">ALL_BASE_HEADERS</set>
|
||||
|
||||
<output file="../../wxGTK.spec"
|
||||
writer="rpmspec.empy" method="insertBetweenMarkers"/>
|
||||
<output file="../../wxX11.spec"
|
||||
writer="rpmspec.empy" method="insertBetweenMarkers"/>
|
||||
<output file="../../wxMotif.spec"
|
||||
writer="rpmspec.empy" method="insertBetweenMarkers"/>
|
||||
|
||||
</makefile>
|
@@ -1,5 +0,0 @@
|
||||
# --- wxBase headers list begins here ---
|
||||
cat <<EOF >wxbase-headers.files
|
||||
@('\n'.join(ALL_BASE_HEADERS.split()))
|
||||
EOF
|
||||
# --- wxBase headers list ends here ---
|
@@ -1,80 +0,0 @@
|
||||
<?xml version="1.0" ?>
|
||||
<makefile>
|
||||
|
||||
<if cond="FORMAT=='autoconf'">
|
||||
<option name="wxUSE_LIBJPEG"/>
|
||||
<set var="LIB_JPEG">
|
||||
<if cond="wxUSE_LIBJPEG=='builtin' and USE_GUI=='1'">
|
||||
wxjpeg$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
|
||||
</if>
|
||||
</set>
|
||||
</if>
|
||||
<if cond="FORMAT!='autoconf'">
|
||||
<set var="wxUSE_LIBJPEG">builtin</set>
|
||||
<set var="LIB_JPEG">
|
||||
<if cond="wxUSE_LIBJPEG=='builtin' and USE_GUI=='1'">
|
||||
wxjpeg$(WXDEBUGFLAG)$(HOST_SUFFIX)
|
||||
</if>
|
||||
</set>
|
||||
</if>
|
||||
<set var="INC_JPEG">
|
||||
<if cond="wxUSE_LIBJPEG=='builtin'">$(TOP_SRCDIR)src/jpeg</if>
|
||||
</set>
|
||||
|
||||
<lib id="wxjpeg" template="3rdparty_lib"
|
||||
cond="wxUSE_LIBJPEG=='builtin' and USE_GUI=='1' and BUILDING_LIB=='1'">
|
||||
<dirname>$(LIBDIRNAME)</dirname>
|
||||
<include cond="FORMAT!='autoconf'">$(SETUPHDIR)</include>
|
||||
<cflags-borland>-w-8004 -w-8008 -w-8057 -w-8066</cflags-borland>
|
||||
<cflags-watcom>-wcd=136</cflags-watcom>
|
||||
<sources>
|
||||
src/jpeg/jcomapi.c
|
||||
src/jpeg/jutils.c
|
||||
src/jpeg/jerror.c
|
||||
src/jpeg/jmemmgr.c
|
||||
src/jpeg/jmemnobs.c
|
||||
src/jpeg/jcapimin.c
|
||||
src/jpeg/jcapistd.c
|
||||
src/jpeg/jctrans.c
|
||||
src/jpeg/jcparam.c
|
||||
src/jpeg/jdatadst.c
|
||||
src/jpeg/jcinit.c
|
||||
src/jpeg/jcmaster.c
|
||||
src/jpeg/jcmarker.c
|
||||
src/jpeg/jcmainct.c
|
||||
src/jpeg/jcprepct.c
|
||||
src/jpeg/jccoefct.c
|
||||
src/jpeg/jccolor.c
|
||||
src/jpeg/jcsample.c
|
||||
src/jpeg/jchuff.c
|
||||
src/jpeg/jcphuff.c
|
||||
src/jpeg/jcdctmgr.c
|
||||
src/jpeg/jfdctfst.c
|
||||
src/jpeg/jfdctflt.c
|
||||
src/jpeg/jfdctint.c
|
||||
src/jpeg/jdapimin.c
|
||||
src/jpeg/jdapistd.c
|
||||
src/jpeg/jdtrans.c
|
||||
src/jpeg/jdatasrc.c
|
||||
src/jpeg/jdmaster.c
|
||||
src/jpeg/jdinput.c
|
||||
src/jpeg/jdmarker.c
|
||||
src/jpeg/jdhuff.c
|
||||
src/jpeg/jdphuff.c
|
||||
src/jpeg/jdmainct.c
|
||||
src/jpeg/jdcoefct.c
|
||||
src/jpeg/jdpostct.c
|
||||
src/jpeg/jddctmgr.c
|
||||
src/jpeg/jidctfst.c
|
||||
src/jpeg/jidctflt.c
|
||||
src/jpeg/jidctint.c
|
||||
src/jpeg/jidctred.c
|
||||
src/jpeg/jdsample.c
|
||||
src/jpeg/jdcolor.c
|
||||
src/jpeg/jquant1.c
|
||||
src/jpeg/jquant2.c
|
||||
src/jpeg/jdmerge.c
|
||||
</sources>
|
||||
</lib>
|
||||
|
||||
</makefile>
|
@@ -1,80 +0,0 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!-- $Id$ -->
|
||||
|
||||
<makefile>
|
||||
|
||||
<!--
|
||||
Support for application bundles, for wxWidgets samples.
|
||||
-->
|
||||
|
||||
<!--
|
||||
Nasty hack: use $(srcdir) to obtain usable CFBundleIdentifier suffix;
|
||||
converts $(srcdir) like "../../samples/minimal" to "samples.minimal".
|
||||
-->
|
||||
<set var="BUNDLE_IDENTIFIER">
|
||||
`echo $(DOLLAR)(srcdir) | sed -e 's,\.\./,,g' | sed -e 's,/,.,g'`
|
||||
</set>
|
||||
|
||||
<set var="BUNDLE_PLIST">
|
||||
$(TOP_SRCDIR)src/mac/carbon/Info.plist.in
|
||||
</set>
|
||||
<set var="BUNDLE_ICONS">
|
||||
$(TOP_SRCDIR)src/mac/carbon/wxmac.icns
|
||||
</set>
|
||||
|
||||
<define-tag name="wx-mac-app-bundle" rules="exe">
|
||||
|
||||
<!-- bundle directory: -->
|
||||
<set var="BUNDLE">$(id).app/Contents</set>
|
||||
<set var="BUNDLE_TGT">$(BUNDLE)/PkgInfo</set>
|
||||
<set var="BUNDLE_TGT_REF">
|
||||
<if cond="TOOLKIT=='MAC'">$(BUNDLE)/PkgInfo</if>
|
||||
<if cond="TOOLKIT=='COCOA'">$(BUNDLE)/PkgInfo</if>
|
||||
</set>
|
||||
|
||||
<add-target target="$(BUNDLE_TGT)" type="action"/>
|
||||
<modify-target target="$(BUNDLE_TGT)">
|
||||
<!-- required data: -->
|
||||
<depends>$(id)</depends>
|
||||
<depends-on-file>$(BUNDLE_PLIST)</depends-on-file>
|
||||
<depends-on-file>$(BUNDLE_ICONS)</depends-on-file>
|
||||
|
||||
<command>
|
||||
<!-- create the directories: -->
|
||||
mkdir -p $(BUNDLE)
|
||||
mkdir -p $(BUNDLE)/MacOS
|
||||
mkdir -p $(BUNDLE)/Resources
|
||||
|
||||
<!-- Info.plist: -->
|
||||
sed -e "s/IDENTIFIER/$(BUNDLE_IDENTIFIER)/" \
|
||||
-e "s/EXECUTABLE/$(id)/" \
|
||||
-e "s/VERSION/$(WX_VERSION)/" \
|
||||
$(BUNDLE_PLIST) >$(BUNDLE)/Info.plist
|
||||
|
||||
<!-- PkgInfo: -->
|
||||
echo -n "APPL????" >$(BUNDLE)/PkgInfo
|
||||
|
||||
<!-- make a hardlink to the binary: -->
|
||||
ln -f $(ref("__targetdir",id))$(ref("__targetname",id)) $(BUNDLE)/MacOS/$(id)
|
||||
|
||||
<!-- ditto wxWidgets resources and icons: -->
|
||||
cp -f $(BUNDLE_ICONS) $(BUNDLE)/Resources/wxmac.icns
|
||||
</command>
|
||||
</modify-target>
|
||||
|
||||
<!-- add pseudo target id_bundle: -->
|
||||
<add-target target="$(id)_bundle" type="phony"
|
||||
cond="PLATFORM_MACOSX=='1'"/>
|
||||
<modify-target target="$(id)_bundle">
|
||||
<dependency-of>all</dependency-of>
|
||||
<depends>$(BUNDLE_TGT_REF)</depends>
|
||||
</modify-target>
|
||||
|
||||
<!-- "make clean" should delete the bundle: -->
|
||||
<modify-target target="clean">
|
||||
<command>rm -rf $(id).app</command>
|
||||
</modify-target>
|
||||
|
||||
</define-tag>
|
||||
|
||||
</makefile>
|
@@ -1,846 +0,0 @@
|
||||
#
|
||||
# "make dist" target implementation:
|
||||
#
|
||||
|
||||
|
||||
############################# Dirs #################################
|
||||
|
||||
WXDIR = $(top_srcdir)
|
||||
|
||||
# Subordinate library possibilities
|
||||
|
||||
SRCDIR = $(WXDIR)/src
|
||||
GENDIR = $(WXDIR)/src/generic
|
||||
COMMDIR = $(WXDIR)/src/common
|
||||
HTMLDIR = $(WXDIR)/src/html
|
||||
RICHTEXTDIR = $(WXDIR)/src/richtext
|
||||
AUIDIR = $(WXDIR)/src/aui
|
||||
UNIXDIR = $(WXDIR)/src/unix
|
||||
PNGDIR = $(WXDIR)/src/png
|
||||
JPEGDIR = $(WXDIR)/src/jpeg
|
||||
TIFFDIR = $(WXDIR)/src/tiff
|
||||
ZLIBDIR = $(WXDIR)/src/zlib
|
||||
REGEXDIR = $(WXDIR)/src/regex
|
||||
EXPATDIR = $(WXDIR)/src/expat
|
||||
GTKDIR = $(WXDIR)/src/gtk
|
||||
GTK1DIR = $(WXDIR)/src/gtk1
|
||||
X11DIR = $(WXDIR)/src/x11
|
||||
X11INC = $(WXDIR)/include/wx/x11
|
||||
MGLDIR = $(WXDIR)/src/mgl
|
||||
MOTIFDIR = $(WXDIR)/src/motif
|
||||
MSDOSDIR = $(WXDIR)/src/msdos
|
||||
MSWDIR = $(WXDIR)/src/msw
|
||||
PMDIR = $(WXDIR)/src/os2
|
||||
MACDIR = $(WXDIR)/src/mac
|
||||
COCOADIR = $(WXDIR)/src/cocoa
|
||||
ODBCDIR = $(WXDIR)/src/iodbc
|
||||
FTDIR = $(WXDIR)/src/freetype
|
||||
INCDIR = $(WXDIR)/include
|
||||
SAMPDIR = $(WXDIR)/samples
|
||||
DEMODIR = $(WXDIR)/demos
|
||||
UTILSDIR = $(WXDIR)/utils
|
||||
MISCDIR = $(WXDIR)/misc
|
||||
|
||||
DOCDIR = $(WXDIR)/docs
|
||||
INTLDIR = $(WXDIR)/locale
|
||||
|
||||
TOOLKITDIR = $(TOOLKIT_LOWERCASE)
|
||||
|
||||
########################## Archive name ###############################
|
||||
|
||||
# append a version suffix x.y.z to all file names
|
||||
WXARCHIVE=@DISTDIR@-$(WX_VERSION).tar.gz
|
||||
WXGLARCHIVE=@DISTDIR@-gl-$(WX_VERSION).tar.gz
|
||||
WXSAMPLES=wx$(TOOLKIT)-samples-$(WX_VERSION).tar.gz
|
||||
WXDEMOS=wx$(TOOLKIT)-demos-$(WX_VERSION).tar.gz
|
||||
WXARCHIVE_ZIP=wxMSW-$(WX_VERSION).zip
|
||||
|
||||
WXARCHIVE_BZIP=@DISTDIR@-$(WX_VERSION).tar.bz2
|
||||
WXGLARCHIVE_BZIP=@DISTDIR@-gl-$(WX_VERSION).tar.bz2
|
||||
WXSAMPLES_BZIP=wx$(TOOLKIT)-samples-$(WX_VERSION).tar.bz2
|
||||
WXDEMOS_BZIP=wx$(TOOLKIT)-demos-$(WX_VERSION).tar.bz2
|
||||
|
||||
DISTDIRNAME=@DISTDIR@-$(WX_VERSION)
|
||||
DISTDIR=./_dist_dir/$(DISTDIRNAME)
|
||||
BASEDISTDIR=./_dist_dir/wxBase-$(WX_VERSION)
|
||||
|
||||
########################## Tools ###############################
|
||||
|
||||
CP_PR = cp -pR
|
||||
CP_P = cp -p
|
||||
|
||||
########################## make dist rules ###############################
|
||||
|
||||
# this target should copy only the files common to really all ports (including
|
||||
# wxBase) to the dist dir
|
||||
ALL_DIST: distrib_clean
|
||||
mkdir _dist_dir
|
||||
mkdir $(DISTDIR)
|
||||
$(CP_P) $(WXDIR)/configure.in $(DISTDIR)
|
||||
$(CP_P) $(WXDIR)/configure $(DISTDIR)
|
||||
$(CP_P) $(WXDIR)/autoconf_inc.m4 $(DISTDIR)
|
||||
$(CP_P) $(WXDIR)/wxwin.m4 $(DISTDIR)
|
||||
$(CP_P) $(WXDIR)/acinclude.m4 $(DISTDIR)
|
||||
$(CP_P) $(WXDIR)/aclocal.m4 $(DISTDIR)
|
||||
$(CP_P) $(WXDIR)/config.sub $(DISTDIR)
|
||||
$(CP_P) $(WXDIR)/config.guess $(DISTDIR)
|
||||
$(CP_P) $(WXDIR)/install-sh $(DISTDIR)
|
||||
$(CP_P) $(WXDIR)/mkinstalldirs $(DISTDIR)
|
||||
$(CP_P) $(WXDIR)/wx-config.in $(DISTDIR)
|
||||
$(CP_P) $(WXDIR)/wx-config-inplace.in $(DISTDIR)
|
||||
$(CP_P) $(WXDIR)/version-script.in $(DISTDIR)
|
||||
$(CP_P) $(WXDIR)/setup.h.in $(DISTDIR)
|
||||
$(CP_P) $(WXDIR)/setup.h_vms $(DISTDIR)
|
||||
$(CP_P) $(WXDIR)/descrip.mms $(DISTDIR)
|
||||
$(CP_P) $(WXDIR)/Makefile.in $(DISTDIR)
|
||||
$(CP_P) $(WXDIR)/wxBase.spec $(DISTDIR)
|
||||
$(CP_P) $(DOCDIR)/lgpl.txt $(DISTDIR)/COPYING.LIB
|
||||
$(CP_P) $(DOCDIR)/licence.txt $(DISTDIR)/LICENCE.txt
|
||||
$(CP_P) $(DOCDIR)/changes.txt $(DISTDIR)/CHANGES.txt
|
||||
mkdir $(DISTDIR)/lib
|
||||
$(CP_P) $(WXDIR)/lib/vms.opt $(DISTDIR)/lib
|
||||
$(CP_P) $(WXDIR)/lib/vms_gtk.opt $(DISTDIR)/lib
|
||||
mkdir $(DISTDIR)/src
|
||||
# temp hack for common/execcmn.cpp: it's not supported by tmake
|
||||
# yet (it's a header-like file but in src/common directory and it
|
||||
# shouldn't be distributed...)
|
||||
mkdir $(DISTDIR)/src/common
|
||||
$(CP_P) $(SRCDIR)/common/execcmn.cpp $(DISTDIR)/src/common
|
||||
mkdir $(DISTDIR)/src/xml
|
||||
$(CP_P) $(SRCDIR)/xml/*.cpp $(DISTDIR)/src/xml
|
||||
mkdir $(DISTDIR)/src/zlib
|
||||
$(CP_P) $(ZLIBDIR)/*.h $(DISTDIR)/src/zlib
|
||||
$(CP_P) $(ZLIBDIR)/*.c $(DISTDIR)/src/zlib
|
||||
$(CP_P) $(ZLIBDIR)/README $(DISTDIR)/src/zlib
|
||||
#$(CP_P) $(ZLIBDIR)/*.mms $(DISTDIR)/src/zlib
|
||||
mkdir $(DISTDIR)/src/regex
|
||||
$(CP_P) $(REGEXDIR)/*.h $(DISTDIR)/src/regex
|
||||
$(CP_P) $(REGEXDIR)/*.c $(DISTDIR)/src/regex
|
||||
$(CP_P) $(REGEXDIR)/COPYRIGHT $(DISTDIR)/src/regex
|
||||
$(CP_P) $(REGEXDIR)/README $(DISTDIR)/src/regex
|
||||
$(CP_PR) $(EXPATDIR) $(DISTDIR)/src/expat
|
||||
#(cd $(DISTDIR)/src/expat ; rm -rf `find -name CVS`)
|
||||
mkdir $(DISTDIR)/src/iodbc
|
||||
$(CP_P) $(ODBCDIR)/*.h $(DISTDIR)/src/iodbc
|
||||
$(CP_P) $(ODBCDIR)/*.c $(DISTDIR)/src/iodbc
|
||||
$(CP_P) $(ODBCDIR)/*.ci $(DISTDIR)/src/iodbc
|
||||
$(CP_P) $(ODBCDIR)/*.exp $(DISTDIR)/src/iodbc
|
||||
$(CP_P) $(ODBCDIR)/README $(DISTDIR)/src/iodbc
|
||||
$(CP_P) $(ODBCDIR)/NEWS $(DISTDIR)/src/iodbc
|
||||
$(CP_P) $(ODBCDIR)/Changes.log $(DISTDIR)/src/iodbc
|
||||
# copy some files from include/ that are not installed:
|
||||
mkdir $(DISTDIR)/include
|
||||
mkdir $(DISTDIR)/include/wx
|
||||
mkdir $(DISTDIR)/include/wx/private
|
||||
$(CP_P) $(INCDIR)/wx/fmappriv.h $(DISTDIR)/include/wx
|
||||
$(CP_P) $(INCDIR)/wx/private/*.h $(DISTDIR)/include/wx/private
|
||||
# copy wxpresets
|
||||
mkdir $(DISTDIR)/build
|
||||
mkdir $(DISTDIR)/build/bakefiles
|
||||
mkdir $(DISTDIR)/build/bakefiles/wxpresets
|
||||
mkdir $(DISTDIR)/build/bakefiles/wxpresets/presets
|
||||
mkdir $(DISTDIR)/build/bakefiles/wxpresets/sample
|
||||
$(CP_P) $(WXDIR)/build/bakefiles/wxpresets/presets/*.bkl $(DISTDIR)/build/bakefiles/wxpresets/presets
|
||||
$(CP_P) $(WXDIR)/build/bakefiles/wxpresets/sample/minimal* $(DISTDIR)/build/bakefiles/wxpresets/sample
|
||||
$(CP_P) $(WXDIR)/build/bakefiles/wxpresets/sample/config* $(DISTDIR)/build/bakefiles/wxpresets/sample
|
||||
$(CP_P) $(WXDIR)/build/bakefiles/wxpresets/*.txt $(DISTDIR)/build/bakefiles/wxpresets
|
||||
mkdir $(DISTDIR)/build/aclocal
|
||||
$(CP_P) $(WXDIR)/build/aclocal/*.m4 $(DISTDIR)/build/aclocal
|
||||
|
||||
# this target is the common part of distribution script for all GUI toolkits,
|
||||
# but is not used when building wxBase distribution
|
||||
ALL_GUI_DIST: ALL_DIST
|
||||
$(CP_P) $(DOCDIR)/readme.txt $(DISTDIR)/README.txt
|
||||
$(CP_P) $(DOCDIR)/$(TOOLKITDIR)/install.txt $(DISTDIR)/INSTALL.txt
|
||||
if test -f $(DOCDIR)/$(TOOLKITDIR)/changes.txt ; then \
|
||||
$(CP_P) $(DOCDIR)/$(TOOLKITDIR)/changes.txt $(DISTDIR)/CHANGES-$(TOOLKIT).txt ; fi
|
||||
$(CP_P) $(DOCDIR)/$(TOOLKITDIR)/readme.txt $(DISTDIR)/README-$(TOOLKIT).txt
|
||||
if test -f $(DOCDIR)/$(TOOLKITDIR)/todo.txt ; then \
|
||||
$(CP_P) $(DOCDIR)/$(TOOLKITDIR)/todo.txt $(DISTDIR)/TODO.txt ; fi
|
||||
mkdir $(DISTDIR)/include/wx/$(TOOLKITDIR)
|
||||
if test -d $(INCDIR)/wx/$(TOOLKITDIR)/private; then \
|
||||
mkdir $(DISTDIR)/include/wx/$(TOOLKITDIR)/private && \
|
||||
$(CP_P) $(INCDIR)/wx/$(TOOLKITDIR)/private/*.h $(DISTDIR)/include/wx/$(TOOLKITDIR)/private; \
|
||||
fi
|
||||
mkdir $(DISTDIR)/include/wx/generic
|
||||
mkdir $(DISTDIR)/include/wx/html
|
||||
mkdir $(DISTDIR)/include/wx/richtext
|
||||
mkdir $(DISTDIR)/include/wx/aui
|
||||
mkdir $(DISTDIR)/include/wx/protocol
|
||||
mkdir $(DISTDIR)/include/wx/unix
|
||||
mkdir $(DISTDIR)/include/wx/xml
|
||||
mkdir $(DISTDIR)/include/wx/xrc
|
||||
-$(CP_P) $(INCDIR)/wx/*.h $(DISTDIR)/include/wx
|
||||
$(CP_P) $(INCDIR)/wx/*.cpp $(DISTDIR)/include/wx
|
||||
$(CP_P) $(INCDIR)/wx/generic/*.h $(DISTDIR)/include/wx/generic
|
||||
$(CP_P) $(INCDIR)/wx/html/*.h $(DISTDIR)/include/wx/html
|
||||
$(CP_P) $(INCDIR)/wx/richtext/*.h $(DISTDIR)/include/wx/richtext
|
||||
$(CP_P) $(INCDIR)/wx/aui/*.h $(DISTDIR)/include/wx/aui
|
||||
$(CP_P) $(INCDIR)/wx/unix/*.h $(DISTDIR)/include/wx/unix
|
||||
$(CP_P) $(INCDIR)/wx/xml/*.h $(DISTDIR)/include/wx/xml
|
||||
$(CP_P) $(INCDIR)/wx/xrc/*.h $(DISTDIR)/include/wx/xrc
|
||||
$(CP_P) $(INCDIR)/wx/protocol/*.h $(DISTDIR)/include/wx/protocol
|
||||
mkdir $(DISTDIR)/art
|
||||
mkdir $(DISTDIR)/art/gtk
|
||||
mkdir $(DISTDIR)/art/motif
|
||||
$(CP_P) $(WXDIR)/art/*.xpm $(DISTDIR)/art
|
||||
$(CP_P) $(WXDIR)/art/gtk/*.xpm $(DISTDIR)/art/gtk
|
||||
$(CP_P) $(WXDIR)/art/motif/*.xpm $(DISTDIR)/art/motif
|
||||
mkdir $(DISTDIR)/src/generic
|
||||
mkdir $(DISTDIR)/src/html
|
||||
mkdir $(DISTDIR)/src/richtext
|
||||
mkdir $(DISTDIR)/src/aui
|
||||
mkdir $(DISTDIR)/src/$(TOOLKITDIR)
|
||||
mkdir $(DISTDIR)/src/png
|
||||
mkdir $(DISTDIR)/src/jpeg
|
||||
mkdir $(DISTDIR)/src/tiff
|
||||
mkdir $(DISTDIR)/src/unix
|
||||
mkdir $(DISTDIR)/src/xrc
|
||||
$(CP_P) $(SRCDIR)/xrc/*.cpp $(DISTDIR)/src/xrc
|
||||
-$(CP_P) $(COMMDIR)/*.cpp $(DISTDIR)/src/common
|
||||
$(CP_P) $(COMMDIR)/*.c $(DISTDIR)/src/common
|
||||
$(CP_P) $(COMMDIR)/*.inc $(DISTDIR)/src/common
|
||||
$(CP_P) $(COMMDIR)/*.mms $(DISTDIR)/src/common
|
||||
$(CP_P) $(UNIXDIR)/*.cpp $(DISTDIR)/src/unix
|
||||
$(CP_P) $(UNIXDIR)/*.mms $(DISTDIR)/src/unix
|
||||
$(CP_P) $(GENDIR)/*.cpp $(DISTDIR)/src/generic
|
||||
$(CP_P) $(GENDIR)/*.mms $(DISTDIR)/src/generic
|
||||
$(CP_P) $(HTMLDIR)/*.cpp $(DISTDIR)/src/html
|
||||
$(CP_P) $(RICHTEXTDIR)/*.cpp $(DISTDIR)/src/richtext
|
||||
$(CP_P) $(AUIDIR)/*.cpp $(DISTDIR)/src/aui
|
||||
$(CP_P) $(PNGDIR)/*.h $(DISTDIR)/src/png
|
||||
$(CP_P) $(PNGDIR)/*.c $(DISTDIR)/src/png
|
||||
$(CP_P) $(PNGDIR)/README $(DISTDIR)/src/png
|
||||
$(CP_P) $(JPEGDIR)/*.h $(DISTDIR)/src/jpeg
|
||||
$(CP_P) $(JPEGDIR)/*.c $(DISTDIR)/src/jpeg
|
||||
$(CP_P) $(JPEGDIR)/README $(DISTDIR)/src/jpeg
|
||||
$(CP_P) $(TIFFDIR)/*.h $(DISTDIR)/src/tiff
|
||||
$(CP_P) $(TIFFDIR)/*.c $(DISTDIR)/src/tiff
|
||||
$(CP_P) $(TIFFDIR)/README $(DISTDIR)/src/tiff
|
||||
|
||||
BASE_DIST: ALL_DIST INTL_DIST
|
||||
# make --disable-gui the default
|
||||
rm $(DISTDIR)/configure.in
|
||||
sed 's/DEFAULT_wxUSE_GUI=yes/DEFAULT_wxUSE_GUI=no/' \
|
||||
$(WXDIR)/configure.in > $(DISTDIR)/configure.in
|
||||
rm $(DISTDIR)/configure
|
||||
sed 's/DEFAULT_wxUSE_GUI=yes/DEFAULT_wxUSE_GUI=no/' \
|
||||
$(WXDIR)/configure > $(DISTDIR)/configure
|
||||
chmod +x $(DISTDIR)/configure
|
||||
mkdir $(DISTDIR)/include/wx/protocol
|
||||
mkdir $(DISTDIR)/include/wx/unix
|
||||
mkdir $(DISTDIR)/include/wx/xml
|
||||
mkdir $(DISTDIR)/include/wx/msdos
|
||||
mkdir $(DISTDIR)/include/wx/msw
|
||||
mkdir $(DISTDIR)/include/wx/html
|
||||
mkdir $(DISTDIR)/include/wx/richtext
|
||||
mkdir $(DISTDIR)/include/wx/aui
|
||||
mkdir $(DISTDIR)/include/wx/mac
|
||||
mkdir $(DISTDIR)/include/wx/mac/carbon
|
||||
mkdir $(DISTDIR)/include/wx/mac/corefoundation
|
||||
mkdir $(DISTDIR)/include/wx/os2
|
||||
mkdir $(DISTDIR)/include/wx/palmos
|
||||
mkdir $(DISTDIR)/src/unix
|
||||
mkdir $(DISTDIR)/src/mac
|
||||
mkdir $(DISTDIR)/src/mac/corefoundation
|
||||
mkdir $(DISTDIR)/src/mac/carbon
|
||||
mkdir $(DISTDIR)/src/mac/carbon/morefilex
|
||||
mkdir $(DISTDIR)/src/msdos
|
||||
mkdir $(DISTDIR)/src/msw
|
||||
mkdir $(DISTDIR)/src/os2
|
||||
mkdir $(DISTDIR)/src/palmos
|
||||
$(CP_P) $(DOCDIR)/base/readme.txt $(DISTDIR)/README.txt
|
||||
$(CP_P) $(WXDIR)/src/common/*.inc $(DISTDIR)/src/common
|
||||
$(CP_P) $(WXDIR)/src/common/base.rc $(DISTDIR)/src/common
|
||||
list='$(ALL_PORTS_BASE_HEADERS)'; for p in $$list; do \
|
||||
$(CP_P) $(WXDIR)/include/$$p $(DISTDIR)/include/$$p; \
|
||||
done
|
||||
list='$(ALL_BASE_SOURCES)'; for p in $$list; do \
|
||||
$(CP_P) $(WXDIR)/$$p $(DISTDIR)/$$p; \
|
||||
done
|
||||
|
||||
mkdir $(DISTDIR)/samples
|
||||
$(CP_P) $(SAMPDIR)/Makefile.in $(DISTDIR)/samples
|
||||
|
||||
mkdir $(DISTDIR)/samples/console
|
||||
$(CP_P) $(SAMPDIR)/console/Makefile.in $(DISTDIR)/samples/console
|
||||
$(CP_P) $(SAMPDIR)/console/makefile.unx $(DISTDIR)/samples/console
|
||||
$(CP_P) $(SAMPDIR)/console/console.cpp $(DISTDIR)/samples/console
|
||||
$(CP_P) $(SAMPDIR)/console/console.dsp $(DISTDIR)/samples/console
|
||||
$(CP_P) $(SAMPDIR)/console/testdata.fc $(DISTDIR)/samples/console
|
||||
|
||||
mkdir $(DISTDIR)/utils
|
||||
mkdir $(DISTDIR)/utils/HelpGen
|
||||
mkdir $(DISTDIR)/utils/HelpGen/src
|
||||
$(CP_P) $(UTILSDIR)/HelpGen/Makefile.in $(DISTDIR)/utils/HelpGen
|
||||
$(CP_P) $(UTILSDIR)/HelpGen/src/Makefile.in $(DISTDIR)/utils/HelpGen/src
|
||||
$(CP_P) $(UTILSDIR)/HelpGen/src/*.h $(DISTDIR)/utils/HelpGen/src
|
||||
$(CP_P) $(UTILSDIR)/HelpGen/src/*.cpp $(DISTDIR)/utils/HelpGen/src
|
||||
|
||||
mkdir $(DISTDIR)/utils/tex2rtf
|
||||
mkdir $(DISTDIR)/utils/tex2rtf/src
|
||||
$(CP_P) $(UTILSDIR)/tex2rtf/*.in $(DISTDIR)/utils/tex2rtf
|
||||
$(CP_P) $(UTILSDIR)/tex2rtf/src/*.h $(DISTDIR)/utils/tex2rtf/src
|
||||
$(CP_P) $(UTILSDIR)/tex2rtf/src/*.in $(DISTDIR)/utils/tex2rtf/src
|
||||
$(CP_P) $(UTILSDIR)/tex2rtf/src/*.cpp $(DISTDIR)/utils/tex2rtf/src
|
||||
$(CP_P) $(UTILSDIR)/tex2rtf/src/tex2rtf.ico $(DISTDIR)/utils/tex2rtf/src
|
||||
$(CP_P) $(UTILSDIR)/tex2rtf/src/tex2rtf.ini $(DISTDIR)/utils/tex2rtf/src
|
||||
$(CP_P) $(UTILSDIR)/tex2rtf/src/tex2rtf.rc $(DISTDIR)/utils/tex2rtf/src
|
||||
$(CP_P) $(UTILSDIR)/tex2rtf/src/tex2rtf.xpm $(DISTDIR)/utils/tex2rtf/src
|
||||
|
||||
mv $(DISTDIR) $(BASEDISTDIR)
|
||||
|
||||
GTK_DIST: UNIV_DIST
|
||||
$(CP_P) $(WXDIR)/wxGTK.spec $(DISTDIR)
|
||||
$(CP_P) $(INCDIR)/wx/gtk/*.h $(DISTDIR)/include/wx/gtk
|
||||
$(CP_P) $(GTKDIR)/*.h $(DISTDIR)/src/gtk
|
||||
$(CP_P) $(GTKDIR)/*.cpp $(DISTDIR)/src/gtk
|
||||
$(CP_P) $(GTKDIR)/*.c $(DISTDIR)/src/gtk
|
||||
$(CP_P) $(GTKDIR)/*.xbm $(DISTDIR)/src/gtk
|
||||
$(CP_P) $(GTKDIR)/*.mms $(DISTDIR)/src/gtk
|
||||
mkdir $(DISTDIR)/include/wx/gtk1
|
||||
$(CP_P) $(INCDIR)/wx/gtk1/*.h $(DISTDIR)/include/wx/gtk1
|
||||
mkdir $(DISTDIR)/src/gtk1
|
||||
$(CP_P) $(GTK1DIR)/*.h $(DISTDIR)/src/gtk1
|
||||
$(CP_P) $(GTK1DIR)/*.cpp $(DISTDIR)/src/gtk1
|
||||
$(CP_P) $(GTK1DIR)/*.c $(DISTDIR)/src/gtk1
|
||||
$(CP_P) $(GTK1DIR)/*.xbm $(DISTDIR)/src/gtk1
|
||||
$(CP_P) $(GTK1DIR)/*.mms $(DISTDIR)/src/gtk1
|
||||
|
||||
mkdir $(DISTDIR)/include/wx/gtk/gnome
|
||||
mkdir $(DISTDIR)/src/gtk/gnome
|
||||
$(CP_P) $(INCDIR)/wx/gtk/gnome/*.h $(DISTDIR)/include/wx/gtk/gnome
|
||||
$(CP_P) $(GTKDIR)/gnome/*.cpp $(DISTDIR)/src/gtk/gnome
|
||||
|
||||
mkdir $(DISTDIR)/src/mac
|
||||
mkdir $(DISTDIR)/src/mac/corefoundation
|
||||
$(CP_P) $(WXDIR)/src/mac/corefoundation/*.cpp $(DISTDIR)/src/mac/corefoundation
|
||||
mkdir $(DISTDIR)/include/wx/mac
|
||||
mkdir $(DISTDIR)/include/wx/mac/corefoundation
|
||||
$(CP_P) $(WXDIR)/include/wx/mac/corefoundation/*.h $(DISTDIR)/include/wx/mac/corefoundation
|
||||
|
||||
$(CP_PR) $(WXDIR)/contrib $(DISTDIR)/contrib
|
||||
|
||||
X11_DIST: UNIV_DIST
|
||||
$(CP_P) $(WXDIR)/wxX11.spec $(DISTDIR)
|
||||
$(CP_P) $(INCDIR)/wx/x11/*.h $(DISTDIR)/include/wx/x11
|
||||
mkdir $(DISTDIR)/include/wx/gtk/private
|
||||
$(CP_P) $(INCDIR)/wx/gtk/private/string.h $(DISTDIR)/include/wx/gtk/private
|
||||
$(CP_P) $(X11DIR)/*.cpp $(DISTDIR)/src/x11
|
||||
$(CP_P) $(X11DIR)/*.c $(DISTDIR)/src/x11
|
||||
$(CP_P) $(X11DIR)/*.xbm $(DISTDIR)/src/x11
|
||||
mkdir $(DISTDIR)/src/mac
|
||||
mkdir $(DISTDIR)/src/mac/corefoundation
|
||||
$(CP_P) $(WXDIR)/src/mac/corefoundation/*.cpp $(DISTDIR)/src/mac/corefoundation
|
||||
mkdir $(DISTDIR)/include/wx/mac
|
||||
mkdir $(DISTDIR)/include/wx/mac/corefoundation
|
||||
$(CP_P) $(WXDIR)/include/wx/mac/corefoundation/*.h $(DISTDIR)/include/wx/mac/corefoundation
|
||||
$(CP_PR) $(WXDIR)/contrib $(DISTDIR)/contrib
|
||||
|
||||
MOTIF_DIST: ALL_GUI_DIST
|
||||
$(CP_P) $(WXDIR)/wxMotif.spec $(DISTDIR)
|
||||
$(CP_P) $(INCDIR)/wx/motif/*.h $(DISTDIR)/include/wx/motif
|
||||
$(CP_P) $(MOTIFDIR)/*.cpp $(DISTDIR)/src/motif
|
||||
$(CP_P) $(MOTIFDIR)/*.xbm $(DISTDIR)/src/motif
|
||||
mkdir $(DISTDIR)/src/motif/xmcombo
|
||||
$(CP_P) $(MOTIFDIR)/xmcombo/*.c $(DISTDIR)/src/motif/xmcombo
|
||||
$(CP_P) $(MOTIFDIR)/xmcombo/*.h $(DISTDIR)/src/motif/xmcombo
|
||||
$(CP_P) $(MOTIFDIR)/xmcombo/copying.txt $(DISTDIR)/src/motif/xmcombo
|
||||
mkdir $(DISTDIR)/src/x11
|
||||
mkdir $(DISTDIR)/include/wx/x11
|
||||
$(CP_P) $(X11DIR)/pen.cpp $(X11DIR)/brush.cpp $(X11DIR)/utilsx.cpp \
|
||||
$(X11DIR)/bitmap.cpp $(X11DIR)/glcanvas.cpp $(X11DIR)/region.cpp \
|
||||
$(DISTDIR)/src/x11
|
||||
$(CP_P) $(X11INC)/pen.h $(X11INC)/brush.h $(X11INC)/privx.h \
|
||||
$(X11INC)/bitmap.h $(X11INC)/glcanvas.h $(X11INC)/private.h $(X11INC)/region.h \
|
||||
$(DISTDIR)/include/wx/x11
|
||||
$(CP_PR) $(WXDIR)/contrib $(DISTDIR)/contrib
|
||||
|
||||
MACX_DIST: ALL_GUI_DIST
|
||||
$(CP_P) $(INCDIR)/*.* $(DISTDIR)/include
|
||||
mkdir $(DISTDIR)/include/wx/mac/carbon
|
||||
mkdir $(DISTDIR)/include/wx/mac/private
|
||||
mkdir $(DISTDIR)/include/wx/mac/carbon/private
|
||||
$(CP_P) $(INCDIR)/wx/mac/*.h $(DISTDIR)/include/wx/mac
|
||||
$(CP_P) $(INCDIR)/wx/mac/carbon/*.h $(DISTDIR)/include/wx/mac/carbon
|
||||
$(CP_P) $(INCDIR)/wx/mac/carbon/private/*.h $(DISTDIR)/include/wx/mac/carbon/private
|
||||
$(CP_P) $(INCDIR)/wx/mac/private/*.h $(DISTDIR)/include/wx/mac/private
|
||||
mkdir $(DISTDIR)/include/wx/mac/corefoundation
|
||||
$(CP_P) $(INCDIR)/wx/mac/corefoundation/*.h $(DISTDIR)/include/wx/mac/corefoundation
|
||||
mkdir $(DISTDIR)/src/mac/corefoundation
|
||||
$(CP_P) $(MACDIR)/corefoundation/*.cpp $(DISTDIR)/src/mac/corefoundation
|
||||
mkdir $(DISTDIR)/src/html/htmlctrl
|
||||
mkdir $(DISTDIR)/src/html/htmlctrl/webkit
|
||||
$(CP_P) $(WXDIR)/src/html/htmlctrl/webkit/*.mm $(DISTDIR)/src/html/htmlctrl/webkit
|
||||
mkdir $(DISTDIR)/src/mac/carbon
|
||||
$(CP_P) $(MACDIR)/carbon/*.cpp $(DISTDIR)/src/mac/carbon
|
||||
$(CP_P) $(MACDIR)/carbon/*.mm $(DISTDIR)/src/mac/carbon
|
||||
$(CP_P) $(MACDIR)/carbon/*.icns $(DISTDIR)/src/mac/carbon
|
||||
$(CP_P) $(MACDIR)/carbon/Info.plist.in $(DISTDIR)/src/mac/carbon
|
||||
$(CP_P) $(MACDIR)/carbon/*.h $(DISTDIR)/src/mac/carbon
|
||||
$(CP_P) $(MACDIR)/carbon/*.r $(DISTDIR)/src/mac/carbon
|
||||
mkdir $(DISTDIR)/src/mac/carbon/morefile
|
||||
$(CP_P) $(MACDIR)/carbon/morefile/*.h $(DISTDIR)/src/mac/carbon/morefile
|
||||
$(CP_P) $(MACDIR)/carbon/morefile/*.c $(DISTDIR)/src/mac/carbon/morefile
|
||||
mkdir $(DISTDIR)/src/mac/carbon/morefilex
|
||||
$(CP_P) $(MACDIR)/carbon/morefilex/*.h $(DISTDIR)/src/mac/carbon/morefilex
|
||||
$(CP_P) $(MACDIR)/carbon/morefilex/*.c $(DISTDIR)/src/mac/carbon/morefilex
|
||||
$(CP_P) $(MACDIR)/carbon/morefilex/*.cpp $(DISTDIR)/src/mac/carbon/morefilex
|
||||
$(CP_PR) $(WXDIR)/contrib $(DISTDIR)/contrib
|
||||
|
||||
COCOA_DIST: ALL_GUI_DIST
|
||||
$(CP_P) $(INCDIR)/wx/cocoa/*.h $(DISTDIR)/include/wx/cocoa
|
||||
$(CP_P) $(COCOADIR)/*.mm $(DISTDIR)/src/cocoa
|
||||
$(CP_P) $(COCOADIR)/*.cpp $(DISTDIR)/src/cocoa
|
||||
$(CP_P) $(COCOADIR)/*.r $(DISTDIR)/src/cocoa
|
||||
mkdir $(DISTDIR)/include/wx/mac/corefoundation
|
||||
$(CP_P) $(INCDIR)/wx/mac/corefoundation/*.h $(DISTDIR)/include/wx/mac/corefoundation
|
||||
mkdir $(DISTDIR)/src/mac/corefoundation
|
||||
$(CP_P) $(MACDIR)/corefoundation/*.cpp $(DISTDIR)/src/mac/corefoundation
|
||||
mkdir $(DISTDIR)/src/mac/carbon
|
||||
$(CP_P) $(MACDIR)/carbon/Info.plist.in $(DISTDIR)/src/mac/carbon
|
||||
$(CP_P) $(MACDIR)/carbon/wxmac.icns $(DISTDIR)/src/mac/carbon
|
||||
$(CP_PR) $(WXDIR)/contrib $(DISTDIR)/contrib
|
||||
|
||||
MSW_DIST: UNIV_DIST
|
||||
mkdir $(DISTDIR)/include/wx/msw/ole
|
||||
mkdir $(DISTDIR)/include/wx/msw/wince
|
||||
$(CP_P) $(INCDIR)/wx/msw/*.h $(DISTDIR)/include/wx/msw
|
||||
$(CP_P) $(INCDIR)/wx/msw/*.cur $(DISTDIR)/include/wx/msw
|
||||
$(CP_P) $(INCDIR)/wx/msw/*.ico $(DISTDIR)/include/wx/msw
|
||||
$(CP_P) $(INCDIR)/wx/msw/*.bmp $(DISTDIR)/include/wx/msw
|
||||
$(CP_P) $(INCDIR)/wx/msw/*.rc $(DISTDIR)/include/wx/msw
|
||||
$(CP_P) $(INCDIR)/wx/msw/*.manifest $(DISTDIR)/include/wx/msw
|
||||
$(CP_P) $(INCDIR)/wx/msw/ole/*.h $(DISTDIR)/include/wx/msw/ole
|
||||
$(CP_P) $(INCDIR)/wx/msw/wince/*.h $(DISTDIR)/include/wx/msw/wince
|
||||
mkdir $(DISTDIR)/src/msw/ole
|
||||
mkdir $(DISTDIR)/src/msw/wince
|
||||
$(CP_P) $(MSWDIR)/*.cpp $(DISTDIR)/src/msw
|
||||
$(CP_P) $(MSWDIR)/*.c $(DISTDIR)/src/msw
|
||||
$(CP_P) $(MSWDIR)/*.rc $(DISTDIR)/src/msw
|
||||
$(CP_P) $(MSWDIR)/ole/*.cpp $(DISTDIR)/src/msw/ole
|
||||
$(CP_PR) $(WXDIR)/contrib $(DISTDIR)/contrib
|
||||
|
||||
MSW_ZIP_TEXT_DIST: ALL_GUI_DIST
|
||||
mkdir $(DISTDIR)/include/wx/msw
|
||||
mkdir $(DISTDIR)/include/wx/msw/ole
|
||||
mkdir $(DISTDIR)/include/wx/msw/wince
|
||||
$(CP_P) $(INCDIR)/wx/msw/*.h $(DISTDIR)/include/wx/msw
|
||||
$(CP_P) $(INCDIR)/wx/msw/*.rc $(DISTDIR)/include/wx/msw
|
||||
$(CP_P) $(INCDIR)/wx/msw/*.manifest $(DISTDIR)/include/wx/msw
|
||||
$(CP_P) $(INCDIR)/wx/msw/ole/*.h $(DISTDIR)/include/wx/msw/ole
|
||||
$(CP_P) $(INCDIR)/wx/msw/wince/*.h $(DISTDIR)/include/wx/msw/wince
|
||||
mkdir $(DISTDIR)/src/msw
|
||||
mkdir $(DISTDIR)/src/msw/ole
|
||||
mkdir $(DISTDIR)/src/msw/wince
|
||||
$(CP_P) $(MSWDIR)/*.cpp $(DISTDIR)/src/msw
|
||||
$(CP_P) $(MSWDIR)/*.c $(DISTDIR)/src/msw
|
||||
$(CP_P) $(MSWDIR)/ole/*.cpp $(DISTDIR)/src/msw/ole
|
||||
$(CP_P) $(MSWDIR)/wince/*.* $(DISTDIR)/src/msw/wince
|
||||
$(CP_P) $(SRCDIR)/*.??? $(DISTDIR)/src
|
||||
$(CP_P) $(SRCDIR)/*.?? $(DISTDIR)/src
|
||||
$(CP_PR) $(WXDIR)/contrib $(DISTDIR)/contrib
|
||||
|
||||
UNIV_DIST: ALL_GUI_DIST
|
||||
mkdir $(DISTDIR)/include/wx/univ
|
||||
mkdir $(DISTDIR)/src/univ
|
||||
mkdir $(DISTDIR)/src/univ/themes
|
||||
$(CP_P) $(INCDIR)/wx/univ/*.h $(DISTDIR)/include/wx/univ
|
||||
$(CP_P) $(INCDIR)/wx/univ/setup0.h $(DISTDIR)/include/wx/univ/setup.h
|
||||
$(CP_P) $(SRCDIR)/univ/*.cpp $(DISTDIR)/src/univ
|
||||
$(CP_P) $(SRCDIR)/univ/themes/*.cpp $(DISTDIR)/src/univ/themes
|
||||
|
||||
MGL_DIST: UNIV_DIST
|
||||
$(CP_P) $(WXDIR)/wxMGL.spec $(DISTDIR)
|
||||
$(CP_P) $(INCDIR)/wx/mgl/*.h $(DISTDIR)/include/wx/mgl
|
||||
mkdir $(DISTDIR)/include/wx/msdos
|
||||
$(CP_P) $(INCDIR)/wx/msdos/*.h $(DISTDIR)/include/wx/msdos
|
||||
$(CP_P) $(SRCDIR)/mgl/make* $(DISTDIR)/src/mgl
|
||||
$(CP_P) $(SRCDIR)/mgl/*.cpp $(DISTDIR)/src/mgl
|
||||
mkdir $(DISTDIR)/src/msdos
|
||||
$(CP_P) $(SRCDIR)/msdos/*.cpp $(DISTDIR)/src/msdos
|
||||
$(CP_PR) $(WXDIR)/contrib $(DISTDIR)/contrib
|
||||
|
||||
DEMOS_DIST: ALL_GUI_DIST
|
||||
mkdir $(DISTDIR)/demos
|
||||
$(CP_P) $(DEMODIR)/Makefile.in $(DISTDIR)/demos
|
||||
|
||||
mkdir $(DISTDIR)/demos/bombs
|
||||
$(CP_P) $(DEMODIR)/bombs/Makefile.in $(DISTDIR)/demos/bombs
|
||||
$(CP_P) $(DEMODIR)/bombs/makefile.unx $(DISTDIR)/demos/bombs
|
||||
$(CP_P) $(DEMODIR)/bombs/*.cpp $(DISTDIR)/demos/bombs
|
||||
$(CP_P) $(DEMODIR)/bombs/*.h $(DISTDIR)/demos/bombs
|
||||
$(CP_P) $(DEMODIR)/bombs/*.xpm $(DISTDIR)/demos/bombs
|
||||
$(CP_P) $(DEMODIR)/bombs/*.ico $(DISTDIR)/demos/bombs
|
||||
$(CP_P) $(DEMODIR)/bombs/*.rc $(DISTDIR)/demos/bombs
|
||||
$(CP_P) $(DEMODIR)/bombs/readme.txt $(DISTDIR)/demos/bombs
|
||||
|
||||
$(CP_PR) $(DEMODIR)/dbbrowse $(DISTDIR)/demos/dbbrowse
|
||||
|
||||
mkdir $(DISTDIR)/demos/forty
|
||||
$(CP_P) $(DEMODIR)/forty/Makefile.in $(DISTDIR)/demos/forty
|
||||
$(CP_P) $(DEMODIR)/forty/makefile.unx $(DISTDIR)/demos/forty
|
||||
$(CP_P) $(DEMODIR)/forty/*.h $(DISTDIR)/demos/forty
|
||||
$(CP_P) $(DEMODIR)/forty/*.cpp $(DISTDIR)/demos/forty
|
||||
$(CP_P) $(DEMODIR)/forty/*.xpm $(DISTDIR)/demos/forty
|
||||
$(CP_P) $(DEMODIR)/forty/*.htm $(DISTDIR)/demos/forty
|
||||
$(CP_P) $(DEMODIR)/forty/*.ico $(DISTDIR)/demos/forty
|
||||
$(CP_P) $(DEMODIR)/forty/*.rc $(DISTDIR)/demos/forty
|
||||
$(CP_P) $(DEMODIR)/forty/readme.txt $(DISTDIR)/demos/forty
|
||||
|
||||
mkdir $(DISTDIR)/demos/life
|
||||
mkdir $(DISTDIR)/demos/life/bitmaps
|
||||
$(CP_P) $(DEMODIR)/life/Makefile.in $(DISTDIR)/demos/life
|
||||
$(CP_P) $(DEMODIR)/life/makefile.unx $(DISTDIR)/demos/life
|
||||
$(CP_P) $(DEMODIR)/life/*.cpp $(DISTDIR)/demos/life
|
||||
$(CP_P) $(DEMODIR)/life/*.h $(DISTDIR)/demos/life
|
||||
$(CP_P) $(DEMODIR)/life/*.xpm $(DISTDIR)/demos/life
|
||||
$(CP_P) $(DEMODIR)/life/*.inc $(DISTDIR)/demos/life
|
||||
$(CP_P) $(DEMODIR)/life/*.lif $(DISTDIR)/demos/life
|
||||
$(CP_P) $(DEMODIR)/life/*.rc $(DISTDIR)/demos/life
|
||||
$(CP_P) $(DEMODIR)/life/*.ico $(DISTDIR)/demos/life
|
||||
$(CP_P) $(DEMODIR)/life/bitmaps/*.xpm $(DISTDIR)/demos/life/bitmaps
|
||||
$(CP_P) $(DEMODIR)/life/bitmaps/*.bmp $(DISTDIR)/demos/life/bitmaps
|
||||
|
||||
mkdir $(DISTDIR)/demos/poem
|
||||
$(CP_P) $(DEMODIR)/poem/Makefile.in $(DISTDIR)/demos/poem
|
||||
$(CP_P) $(DEMODIR)/poem/makefile.unx $(DISTDIR)/demos/poem
|
||||
$(CP_P) $(DEMODIR)/poem/*.h $(DISTDIR)/demos/poem
|
||||
$(CP_P) $(DEMODIR)/poem/*.cpp $(DISTDIR)/demos/poem
|
||||
$(CP_P) $(DEMODIR)/poem/*.xpm $(DISTDIR)/demos/poem
|
||||
$(CP_P) $(DEMODIR)/poem/*.dat $(DISTDIR)/demos/poem
|
||||
$(CP_P) $(DEMODIR)/poem/*.txt $(DISTDIR)/demos/poem
|
||||
$(CP_P) $(DEMODIR)/poem/*.rc $(DISTDIR)/demos/poem
|
||||
$(CP_P) $(DEMODIR)/poem/*.ico $(DISTDIR)/demos/poem
|
||||
|
||||
mkdir $(DISTDIR)/demos/fractal
|
||||
$(CP_P) $(DEMODIR)/fractal/Makefile.in $(DISTDIR)/demos/fractal
|
||||
$(CP_P) $(DEMODIR)/fractal/makefile.unx $(DISTDIR)/demos/fractal
|
||||
$(CP_P) $(DEMODIR)/fractal/*.cpp $(DISTDIR)/demos/fractal
|
||||
$(CP_P) $(DEMODIR)/fractal/*.rc $(DISTDIR)/demos/fractal
|
||||
$(CP_P) $(DEMODIR)/fractal/*.ico $(DISTDIR)/demos/fractal
|
||||
|
||||
SAMPLES_DIST: ALL_GUI_DIST
|
||||
mkdir $(DISTDIR)/samples
|
||||
$(CP_P) $(SAMPDIR)/Makefile.in $(DISTDIR)/samples
|
||||
$(CP_P) $(SAMPDIR)/sample.* $(DISTDIR)/samples
|
||||
|
||||
# copy files common to all samples in a general way
|
||||
for s in `find $(SAMPDIR) $(SAMPDIR)/html $(SAMPDIR)/mobile $(SAMPDIR)/opengl \
|
||||
-mindepth 1 -maxdepth 1 -type d -not -name CVS`; do \
|
||||
t="$(DISTDIR)/samples/`echo $$s | sed 's@$(SAMPDIR)/@@'`"; \
|
||||
mkdir -p $$t; \
|
||||
$(CP_P) $$s/Makefile.in \
|
||||
`find $$s -maxdepth 1 -name 'makefile.*' -o -name descrip.mms -o \
|
||||
-name '*.cpp' -o -name '*.h' -o \
|
||||
-name '*.bmp' -o -name '*.ico' -o -name '*.png' -o \
|
||||
-name '*.rc' -o -name '*.xpm'` $$t; \
|
||||
i=""; \
|
||||
if [ -d $$s/bitmaps ]; then i="bitmaps"; fi; \
|
||||
if [ -d $$s/icons ]; then i="icons"; fi; \
|
||||
if [ -n "$$i" ]; then \
|
||||
mkdir $$t/$$i; \
|
||||
cp `find $$s/$$i -name '*.bmp' -o -name '*.xpm'` $$t/$$i; \
|
||||
fi; \
|
||||
done
|
||||
|
||||
# copy the rest, not covered by the above loop
|
||||
$(CP_P) $(SAMPDIR)/animate/hourglass.ani $(DISTDIR)/samples/hourglass.ani
|
||||
$(CP_P) $(SAMPDIR)/animate/throbber.gif $(DISTDIR)/samples/animate
|
||||
|
||||
$(CP_P) $(SAMPDIR)/console/testdata.fc $(DISTDIR)/samples/console
|
||||
|
||||
$(CP_P) $(SAMPDIR)/dialogs/tips.txt $(DISTDIR)/samples/dialogs
|
||||
|
||||
$(CP_P) $(SAMPDIR)/dnd/d_and_d.txt $(DISTDIR)/samples/dnd
|
||||
|
||||
mkdir $(DISTDIR)/samples/help/doc
|
||||
$(CP_P) $(SAMPDIR)/help/*.h?? $(DISTDIR)/samples/help
|
||||
$(CP_P) $(SAMPDIR)/help/*.gif $(DISTDIR)/samples/help
|
||||
$(CP_P) $(SAMPDIR)/help/cshelp.txt $(DISTDIR)/samples/help
|
||||
$(CP_P) $(SAMPDIR)/help/*.chm $(DISTDIR)/samples/help
|
||||
$(CP_P) $(SAMPDIR)/help/*.cnt $(DISTDIR)/samples/help
|
||||
$(CP_P) $(SAMPDIR)/help/doc.zip $(DISTDIR)/samples/help
|
||||
$(CP_P) $(SAMPDIR)/help/doc/*.* $(DISTDIR)/samples/help/doc
|
||||
|
||||
mkdir $(DISTDIR)/samples/html/about/data
|
||||
$(CP_P) $(SAMPDIR)/html/about/data/*.htm $(DISTDIR)/samples/html/about/data
|
||||
$(CP_P) $(SAMPDIR)/html/about/data/*.png $(DISTDIR)/samples/html/about/data
|
||||
mkdir $(DISTDIR)/samples/html/help/helpfiles
|
||||
$(CP_P) $(SAMPDIR)/html/help/helpfiles/*.??? $(DISTDIR)/samples/html/help/helpfiles
|
||||
$(CP_P) $(SAMPDIR)/html/helpview/*.zip $(DISTDIR)/samples/html/helpview
|
||||
$(CP_P) $(SAMPDIR)/html/printing/*.htm $(DISTDIR)/samples/html/printing
|
||||
$(CP_P) $(SAMPDIR)/html/printing/*.gif $(DISTDIR)/samples/html/printing
|
||||
$(CP_P) $(SAMPDIR)/html/test/*.gif $(DISTDIR)/samples/html/test
|
||||
$(CP_P) $(SAMPDIR)/html/test/*.htm $(DISTDIR)/samples/html/test
|
||||
$(CP_P) $(SAMPDIR)/html/test/*.html $(DISTDIR)/samples/html/test
|
||||
$(CP_P) $(SAMPDIR)/html/virtual/*.htm $(DISTDIR)/samples/html/virtual
|
||||
$(CP_P) $(SAMPDIR)/html/widget/*.htm $(DISTDIR)/samples/html/widget
|
||||
$(CP_P) $(SAMPDIR)/html/zip/*.htm $(DISTDIR)/samples/html/zip
|
||||
$(CP_P) $(SAMPDIR)/html/zip/*.zip $(DISTDIR)/samples/html/zip
|
||||
|
||||
$(CP_P) $(SAMPDIR)/image/horse*.* $(DISTDIR)/samples/image
|
||||
$(CP_P) $(SAMPDIR)/image/smile.xbm $(DISTDIR)/samples/image
|
||||
|
||||
$(CP_P) $(SAMPDIR)/internat/readme.txt $(DISTDIR)/samples/internat
|
||||
for f in `(cd $(SAMPDIR); find internat -name '*.[mp]o' -print)`; do \
|
||||
mkdir -p $(DISTDIR)/samples/`dirname $$f`; \
|
||||
$(CP_P) $(SAMPDIR)/$$f $(DISTDIR)/samples/$$f; \
|
||||
done
|
||||
|
||||
$(CP_P) $(SAMPDIR)/joytest/*.wav $(DISTDIR)/samples/joytest
|
||||
|
||||
$(CP_P) $(SAMPDIR)/mobile/styles/*.jpg $(DISTDIR)/samples/mobile/styles
|
||||
|
||||
$(CP_P) $(SAMPDIR)/opengl/penguin/trackball.c $(DISTDIR)/samples/opengl/penguin
|
||||
$(CP_P) $(SAMPDIR)/opengl/penguin/*.dxf.gz $(DISTDIR)/samples/opengl/penguin
|
||||
$(CP_P) $(SAMPDIR)/opengl/isosurf/*.gz $(DISTDIR)/samples/opengl/isosurf
|
||||
|
||||
$(CP_P) $(SAMPDIR)/richtext/readme.txt $(DISTDIR)/samples/richtext
|
||||
$(CP_P) $(SAMPDIR)/richtext/todo.txt $(DISTDIR)/samples/richtext
|
||||
|
||||
$(CP_P) $(SAMPDIR)/sound/*.wav $(DISTDIR)/samples/sound
|
||||
|
||||
$(CP_P) $(SAMPDIR)/splash/*.mpg $(DISTDIR)/samples/splash
|
||||
|
||||
mkdir $(DISTDIR)/samples/xrc/rc
|
||||
$(CP_P) $(SAMPDIR)/xrc/rc/*.xpm $(DISTDIR)/samples/xrc/rc
|
||||
$(CP_P) $(SAMPDIR)/xrc/rc/*.xrc $(DISTDIR)/samples/xrc/rc
|
||||
$(CP_P) $(SAMPDIR)/xrc/rc/*.gif $(DISTDIR)/samples/xrc/rc
|
||||
$(CP_P) $(SAMPDIR)/xrc/rc/*.ico $(DISTDIR)/samples/xrc/rc
|
||||
|
||||
UTILS_DIST: ALL_GUI_DIST
|
||||
mkdir $(DISTDIR)/utils
|
||||
$(CP_P) $(UTILSDIR)/Makefile.in $(DISTDIR)/utils
|
||||
|
||||
mkdir $(DISTDIR)/utils/tex2rtf
|
||||
mkdir $(DISTDIR)/utils/tex2rtf/src
|
||||
$(CP_P) $(UTILSDIR)/tex2rtf/*.in $(DISTDIR)/utils/tex2rtf
|
||||
$(CP_P) $(UTILSDIR)/tex2rtf/src/*.h $(DISTDIR)/utils/tex2rtf/src
|
||||
$(CP_P) $(UTILSDIR)/tex2rtf/src/*.in $(DISTDIR)/utils/tex2rtf/src
|
||||
$(CP_P) $(UTILSDIR)/tex2rtf/src/*.cpp $(DISTDIR)/utils/tex2rtf/src
|
||||
-$(CP_P) $(UTILSDIR)/tex2rtf/src/tex2rtf.* $(DISTDIR)/utils/tex2rtf/src
|
||||
|
||||
mkdir $(DISTDIR)/utils/emulator
|
||||
mkdir $(DISTDIR)/utils/emulator/src
|
||||
mkdir $(DISTDIR)/utils/emulator/docs
|
||||
$(CP_P) $(UTILSDIR)/emulator/*.in $(DISTDIR)/utils/emulator
|
||||
$(CP_P) $(UTILSDIR)/emulator/src/*.h $(DISTDIR)/utils/emulator/src
|
||||
$(CP_P) $(UTILSDIR)/emulator/src/*.in $(DISTDIR)/utils/emulator/src
|
||||
$(CP_P) $(UTILSDIR)/emulator/src/*.cpp $(DISTDIR)/utils/emulator/src
|
||||
$(CP_P) $(UTILSDIR)/emulator/src/*.jpg $(DISTDIR)/utils/emulator/src
|
||||
$(CP_P) $(UTILSDIR)/emulator/src/*.wxe $(DISTDIR)/utils/emulator/src
|
||||
$(CP_P) $(UTILSDIR)/emulator/src/*.xpm $(DISTDIR)/utils/emulator/src
|
||||
$(CP_P) $(UTILSDIR)/emulator/docs/*.txt $(DISTDIR)/utils/emulator/docs
|
||||
$(CP_P) $(UTILSDIR)/emulator/docs/*.jpg $(DISTDIR)/utils/emulator/docs
|
||||
|
||||
mkdir $(DISTDIR)/utils/hhp2cached
|
||||
$(CP_P) $(UTILSDIR)/hhp2cached/Makefile.in $(DISTDIR)/utils/hhp2cached
|
||||
$(CP_P) $(UTILSDIR)/hhp2cached/*.cpp $(DISTDIR)/utils/hhp2cached
|
||||
$(CP_P) $(UTILSDIR)/hhp2cached/*.rc $(DISTDIR)/utils/hhp2cached
|
||||
|
||||
mkdir $(DISTDIR)/utils/HelpGen
|
||||
mkdir $(DISTDIR)/utils/HelpGen/src
|
||||
$(CP_P) $(UTILSDIR)/HelpGen/Makefile.in $(DISTDIR)/utils/HelpGen
|
||||
$(CP_P) $(UTILSDIR)/HelpGen/src/Makefile.in $(DISTDIR)/utils/HelpGen/src
|
||||
$(CP_P) $(UTILSDIR)/HelpGen/src/*.h $(DISTDIR)/utils/HelpGen/src
|
||||
$(CP_P) $(UTILSDIR)/HelpGen/src/*.cpp $(DISTDIR)/utils/HelpGen/src
|
||||
|
||||
mkdir $(DISTDIR)/utils/helpview
|
||||
mkdir $(DISTDIR)/utils/helpview/src
|
||||
mkdir $(DISTDIR)/utils/helpview/src/bitmaps
|
||||
$(CP_P) $(UTILSDIR)/helpview/Makefile.in $(DISTDIR)/utils/helpview
|
||||
$(CP_P) $(UTILSDIR)/helpview/src/*.h $(DISTDIR)/utils/helpview/src
|
||||
$(CP_P) $(UTILSDIR)/helpview/src/*.cpp $(DISTDIR)/utils/helpview/src
|
||||
$(CP_P) $(UTILSDIR)/helpview/src/*.rc $(DISTDIR)/utils/helpview/src
|
||||
$(CP_P) $(UTILSDIR)/helpview/src/*.ico $(DISTDIR)/utils/helpview/src
|
||||
$(CP_P) $(UTILSDIR)/helpview/src/readme.txt $(DISTDIR)/utils/helpview/src
|
||||
$(CP_P) $(UTILSDIR)/helpview/src/Makefile.in $(DISTDIR)/utils/helpview/src
|
||||
$(CP_P) $(UTILSDIR)/helpview/src/test.zip $(DISTDIR)/utils/helpview/src
|
||||
$(CP_P) $(UTILSDIR)/helpview/src/bitmaps/*.xpm $(DISTDIR)/utils/helpview/src/bitmaps
|
||||
|
||||
mkdir $(DISTDIR)/utils/wxrc
|
||||
$(CP_P) $(UTILSDIR)/wxrc/Makefile.in $(DISTDIR)/utils/wxrc
|
||||
$(CP_P) $(UTILSDIR)/wxrc/*.cpp $(DISTDIR)/utils/wxrc
|
||||
$(CP_P) $(UTILSDIR)/wxrc/*.rc $(DISTDIR)/utils/wxrc
|
||||
|
||||
MISC_DIST: ALL_GUI_DIST
|
||||
|
||||
INTL_DIST:
|
||||
mkdir $(DISTDIR)/locale
|
||||
$(CP_P) $(INTLDIR)/Makefile $(DISTDIR)/locale
|
||||
$(CP_P) $(INTLDIR)/*.po $(DISTDIR)/locale
|
||||
-$(CP_P) $(INTLDIR)/*.mo $(DISTDIR)/locale
|
||||
subdirs=`cd $(INTLDIR) && ls */*.po | sed 's|/.*||' | uniq`; \
|
||||
for dir in "$$subdirs"; do \
|
||||
mkdir $(DISTDIR)/locale/$$dir; \
|
||||
$(CP_P) $(INTLDIR)/$$dir/*.[pm]o $(DISTDIR)/locale/$$dir; \
|
||||
done
|
||||
|
||||
MANUAL_DIST:
|
||||
mkdir $(DISTDIR)/docs
|
||||
mkdir $(DISTDIR)/docs/latex
|
||||
mkdir $(DISTDIR)/docs/latex/wx
|
||||
$(CP_P) $(DOCDIR)/latex/wx/*.tex $(DISTDIR)/docs/latex/wx
|
||||
$(CP_P) $(DOCDIR)/latex/wx/*.inc $(DISTDIR)/docs/latex/wx
|
||||
$(CP_P) $(DOCDIR)/latex/wx/*.gif $(DISTDIR)/docs/latex/wx
|
||||
$(CP_P) $(DOCDIR)/latex/wx/*.ini $(DISTDIR)/docs/latex/wx
|
||||
$(CP_P) $(DOCDIR)/latex/wx/*.bib $(DISTDIR)/docs/latex/wx
|
||||
$(CP_P) $(DOCDIR)/latex/wx/*.sty $(DISTDIR)/docs/latex/wx
|
||||
|
||||
|
||||
# Copy all the files from wxPython needed for the Debian source package,
|
||||
# and then remove some that are not needed.
|
||||
PYTHON_DIST:
|
||||
for dir in `grep -v '#' $(WXDIR)/wxPython/distrib/DIRLIST`; do \
|
||||
echo "Copying dir: $$dir..."; \
|
||||
mkdir $(DISTDIR)/$$dir; \
|
||||
$(CP_P) $(WXDIR)/$$dir/* $(DISTDIR)/$$dir > /dev/null 2>&1; \
|
||||
done; \
|
||||
\
|
||||
find $(DISTDIR)/wxPython -name "*~" > RM_FILES; \
|
||||
find $(DISTDIR)/wxPython -name "*.pyc" >> RM_FILES; \
|
||||
find $(DISTDIR)/wxPython -name "*.bat" >> RM_FILES; \
|
||||
find $(DISTDIR)/wxPython -name "core" >> RM_FILES; \
|
||||
find $(DISTDIR)/wxPython -name "core.[0-9]*" >> RM_FILES; \
|
||||
find $(DISTDIR)/wxPython -name "*.orig" >> RM_FILES; \
|
||||
find $(DISTDIR)/wxPython -name "*.rej" >> RM_FILES; \
|
||||
for f in `cat RM_FILES`; do rm $$f; done; \
|
||||
rm RM_FILES
|
||||
|
||||
|
||||
distrib_clean:
|
||||
$(RM) -r _dist_dir
|
||||
|
||||
# VZ: the -only targets allow to do "make dist bzip-dist-only" without copying
|
||||
# the files twice
|
||||
dist-only:
|
||||
@echo "*** Creating wxWidgets distribution in $(DISTDIR)..."
|
||||
@cd _dist_dir && tar ch $(DISTDIRNAME) | gzip -f9 > ../$(WXARCHIVE);
|
||||
@if test "$(USE_GUI)" = 1; then \
|
||||
cd $(DISTDIR); \
|
||||
mv samples wxSamples-$(WX_VERSION); \
|
||||
echo "*** Creating wxSamples archive..."; \
|
||||
tar ch wxSamples-$(WX_VERSION) | gzip -f9 > ../../$(WXSAMPLES); \
|
||||
mv wxSamples-$(WX_VERSION) samples; \
|
||||
mv demos wxDemos-$(WX_VERSION); \
|
||||
echo "*** Creating wxDemos archive..."; \
|
||||
tar ch wxDemos-$(WX_VERSION) | gzip -f9 > ../../$(WXDEMOS); \
|
||||
mv wxDemos-$(WX_VERSION) demos; \
|
||||
fi
|
||||
|
||||
distdir: @GUIDIST@
|
||||
@echo "*** Creating wxWidgets distribution in $(DISTDIR)..."
|
||||
@# now prune away a lot of the crap included by using cp -R
|
||||
@# in other dist targets.
|
||||
find $(DISTDIR) \( -name "CVS" -o -name ".cvsignore" -o -name "*.dsp" -o -name "*.dsw" -o -name "*.hh*" -o \
|
||||
\( -name "makefile.*" -a ! -name "makefile.unx" \) \) \
|
||||
-print | egrep -v '/(samples|dbbrowse)/.*\.hh.$$' | xargs rm -rf
|
||||
|
||||
dist: distdir
|
||||
@cd _dist_dir && tar ch $(DISTDIRNAME) | gzip -f9 > ../$(WXARCHIVE);
|
||||
@if test "$(USE_GUI)" = 1; then \
|
||||
cd $(DISTDIR); \
|
||||
mv samples wxSamples-$(WX_VERSION); \
|
||||
echo "*** Creating wxSamples archive..."; \
|
||||
tar ch wxSamples-$(WX_VERSION) | gzip -f9 > ../../$(WXSAMPLES); \
|
||||
mv wxSamples-$(WX_VERSION) samples; \
|
||||
mv demos wxDemos-$(WX_VERSION); \
|
||||
echo "*** Creating wxDemos archive..."; \
|
||||
tar ch wxDemos-$(WX_VERSION) | gzip -f9 > ../../$(WXDEMOS); \
|
||||
mv wxDemos-$(WX_VERSION) demos; \
|
||||
fi
|
||||
|
||||
bzip-dist-only:
|
||||
@echo "*** Creating wxWidgets distribution in $(DISTDIR)..."
|
||||
@cd _dist_dir && tar ch $(DISTDIRNAME) | bzip2 -f9 > ../$(WXARCHIVE_BZIP);
|
||||
@if test "$(USE_GUI)" = 1; then \
|
||||
cd $(DISTDIR); \
|
||||
mv samples wxSamples-${WX_VERSION}; \
|
||||
echo "*** Creating wxSamples archive..."; \
|
||||
tar ch wxSamples-${WX_VERSION} | bzip2 -f9 > ../../$(WXSAMPLES_BZIP); \
|
||||
mv wxSamples-${WX_VERSION} samples; \
|
||||
mv demos wxDemos-${WX_VERSION}; \
|
||||
echo "*** Creating wxDemos archive..."; \
|
||||
tar ch wxDemos-${WX_VERSION} | bzip2 -f9 > ../../$(WXDEMOS_BZIP); \
|
||||
mv wxDemos-${WX_VERSION} demos; \
|
||||
fi
|
||||
|
||||
bzip-dist: @GUIDIST@
|
||||
@echo "*** Creating wxWidgets distribution in $(DISTDIR)..."
|
||||
@cd _dist_dir && tar ch $(DISTDIRNAME) | bzip2 -f9 > ../$(WXARCHIVE_BZIP)
|
||||
@if test "$(USE_GUI)" = 1; then \
|
||||
cd $(DISTDIR); \
|
||||
mv samples wxSamples; \
|
||||
tar ch wxSamples | bzip2 -f9 > ../../$(WXSAMPLES_BZIP); \
|
||||
mv wxSamples samples; \
|
||||
mv demos wxDemos; \
|
||||
tar ch wxDemos | bzip2 -f9 > ../../$(WXDEMOS_BZIP); \
|
||||
mv wxDemos demos; \
|
||||
fi
|
||||
|
||||
# RR: Copy text and binary data separatly
|
||||
win-dist: MSW_ZIP_TEXT_DIST
|
||||
@echo "*** Creating wxWidgets ZIP distribution in $(DISTDIR)..."
|
||||
@cd _dist_dir && mv $(DISTDIRNAME) wxMSW
|
||||
@cd _dist_dir && zip -r -l ../$(WXARCHIVE_ZIP) *
|
||||
$(CP_P) $(INCDIR)/wx/msw/*.cur _dist_dir/wxMSW/include/wx/msw
|
||||
$(CP_P) $(INCDIR)/wx/msw/*.ico _dist_dir/wxMSW/include/wx/msw
|
||||
$(CP_P) $(INCDIR)/wx/msw/*.bmp _dist_dir/wxMSW/include/wx/msw
|
||||
@cd _dist_dir && zip -r ../$(WXARCHIVE_ZIP) wxMSW/include/wx/msw/*.cur
|
||||
@cd _dist_dir && zip -r ../$(WXARCHIVE_ZIP) wxMSW/include/wx/msw/*.ico
|
||||
@cd _dist_dir && zip -r ../$(WXARCHIVE_ZIP) wxMSW/include/wx/msw/*.bmp
|
||||
|
||||
debian-dist: DEBIAN_SOURCE_DIR = $(WXDIR)/../wxwidgets@WX_RELEASE@@WX_FLAVOUR@-@WX_SUBVERSION@
|
||||
debian-dist: debian-native-dist debian-msw-dirs MSW_DIST
|
||||
mkdir $(DISTDIR)/debian
|
||||
-$(CP_P) $(WXDIR)/debian/* $(DISTDIR)/debian
|
||||
$(CP_P) $(DOCDIR)/licence.txt $(DISTDIR)/docs
|
||||
$(CP_P) $(DOCDIR)/licendoc.txt $(DISTDIR)/docs
|
||||
$(CP_P) $(DOCDIR)/preamble.txt $(DISTDIR)/docs
|
||||
rm -f $(DISTDIR)/*.spec
|
||||
|
||||
@# now prune away a lot of the crap included by using cp -R
|
||||
@# in other dist targets. Ugly and hardly portable but it
|
||||
@# will run on any Debian box and that's enough for now.
|
||||
|
||||
rm -rf $(DISTDIR)/contrib/build
|
||||
find $(DISTDIR) \( -name "CVS" -o -name ".cvsignore" -o -name "*.dsp" \
|
||||
-o -name "*.dsw" -o -name "*.hh*" -o -name "*.mms" \
|
||||
-o -name "*.mcp" -o -name "*M*.xml" -o -name "*.r" \
|
||||
-o -name "*.pro" \
|
||||
-o -name "*.vpj" \
|
||||
-o \( -name "makefile.*" -a ! -name "makefile.unx" \) \
|
||||
\) -print0 | xargs -0 rm -rf
|
||||
|
||||
rm -rf $(DISTDIR)/wxPython/SWIG
|
||||
rm -rf $(DISTDIR)/wxPython/distrib
|
||||
rm -rf $(DISTDIR)/wxPython/distutils
|
||||
rm -rf $(DISTDIR)/wxPython/samples
|
||||
rm -rf $(DISTDIR)/wxPython/contrib/iewin
|
||||
find $(DISTDIR)/wxPython \( -name "mac" -o -name "msw" \) -print0 | xargs -0 rm -rf
|
||||
|
||||
rm -rf $(DEBIAN_SOURCE_DIR)
|
||||
mv $(DISTDIR) $(DEBIAN_SOURCE_DIR)
|
||||
|
||||
|
||||
debian-native-dist: @GUIDIST@ UNIV_DIST MANUAL_DIST PYTHON_DIST
|
||||
|
||||
debian-msw-dirs:
|
||||
mkdir $(DISTDIR)/include/wx/msw
|
||||
mkdir $(DISTDIR)/src/msw
|
||||
|
||||
|
||||
RPMTOP=_dist_dir/_rpm_top
|
||||
|
||||
rpm: bzip-dist
|
||||
@echo "*** Building RPMs ***"
|
||||
-mkdir $(RPMTOP)
|
||||
-mkdir $(RPMTOP)/SOURCES
|
||||
-mkdir $(RPMTOP)/SPECS
|
||||
-mkdir $(RPMTOP)/BUILD
|
||||
-mkdir $(RPMTOP)/RPMS
|
||||
-mkdir $(RPMTOP)/SRPMS
|
||||
cp -f $(WXARCHIVE_BZIP) $(RPMTOP)/SOURCES
|
||||
rpm -ba --define "_topdir `pwd`/$(RPMTOP)" $(WXDIR)/wx$(TOOLKIT).spec
|
||||
mv -f `find $(RPMTOP) -name "wx$(TOOLKIT)*.rpm"` .
|
@@ -1,42 +0,0 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!-- $Id$ -->
|
||||
<makefile>
|
||||
|
||||
<set var="MONOLIB_GUI_SRC">
|
||||
<if cond="USE_GUI=='1'">
|
||||
$(CORE_SRC) $(ADVANCED_SRC) $(MEDIA_SRC) $(HTML_SRC) $(ODBC_SRC) $(QA_SRC)
|
||||
$(DBGRID_SRC) $(XRC_SRC) $(AUI_SRC) $(RICHTEXT_SRC)
|
||||
</if>
|
||||
</set>
|
||||
<set var="MONOLIB_SRC">
|
||||
$(BASE_SRC) $(BASE_AND_GUI_SRC) $(NET_SRC) $(MONOLIB_GUI_SRC) $(XML_SRC)
|
||||
</set>
|
||||
|
||||
<dll id="monodll" template="wx_dll"
|
||||
cond="SHARED=='1' and MONOLITHIC=='1'">
|
||||
<define>wxUSE_BASE=1</define>
|
||||
<define>WXMAKINGDLL</define>
|
||||
<sources>$(MONOLIB_SRC) $(PLUGIN_MONOLIB_SRC)</sources>
|
||||
<ldlibs>$(EXTRALIBS_XML)</ldlibs>
|
||||
<ldlibs>$(EXTRALIBS_HTML)</ldlibs>
|
||||
<ldlibs>$(EXTRALIBS_ODBC)</ldlibs>
|
||||
<ldlibs>$(PLUGIN_MONOLIB_EXTRALIBS)</ldlibs>
|
||||
<msvc-headers>$(ALL_HEADERS)</msvc-headers>
|
||||
</dll>
|
||||
|
||||
<lib id="monolib" template="wx_lib"
|
||||
cond="SHARED=='0' and MONOLITHIC=='1'">
|
||||
<define>wxUSE_BASE=1</define>
|
||||
<sources>$(MONOLIB_SRC) $(PLUGIN_MONOLIB_SRC)</sources>
|
||||
<msvc-headers>$(ALL_HEADERS)</msvc-headers>
|
||||
<if cond="FORMAT=='watcom'">
|
||||
<set var="LIB_PAGESIZE" overwrite="1">8192</set>
|
||||
</if>
|
||||
</lib>
|
||||
|
||||
|
||||
<set var="MSVC6PRJ_MERGED_TARGETS_MONOLIB" append="1">mono=monolib+monodll</set>
|
||||
<!-- included by wx.bkl from opengl.bkl -->
|
||||
<set var="MSVC6PRJ_MERGED_TARGETS_MONOLIB" append="1">gl=gllib+gldll</set>
|
||||
|
||||
</makefile>
|
@@ -1,314 +0,0 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!-- $Id$ -->
|
||||
|
||||
<makefile>
|
||||
|
||||
<!-- ================================================================= -->
|
||||
<!-- wxBase library -->
|
||||
<!-- ================================================================= -->
|
||||
|
||||
<dll id="basedll" template="wx_base_dll"
|
||||
cond="SHARED=='1' and MONOLITHIC=='0'">
|
||||
<define>WXMAKINGDLL_BASE</define>
|
||||
<define>wxUSE_BASE=1</define>
|
||||
<sources>$(BASE_SRC) $(BASE_AND_GUI_SRC)</sources>
|
||||
<msvc-headers>$(BASE_CMN_HDR) $(BASE_PLATFORM_HDR)</msvc-headers>
|
||||
</dll>
|
||||
|
||||
<lib id="baselib" template="wx_base_lib"
|
||||
cond="SHARED=='0' and MONOLITHIC=='0'">
|
||||
<define>wxUSE_BASE=1</define>
|
||||
<sources>$(BASE_SRC) $(BASE_AND_GUI_SRC)</sources>
|
||||
<msvc-headers>$(BASE_CMN_HDR) $(BASE_PLATFORM_HDR)</msvc-headers>
|
||||
</lib>
|
||||
|
||||
<set var="MSVC6PRJ_MERGED_TARGETS_MULTILIB" append="1">base=baselib+basedll</set>
|
||||
|
||||
|
||||
<!-- ================================================================= -->
|
||||
<!-- wxNet library -->
|
||||
<!-- ================================================================= -->
|
||||
|
||||
<dll id="netdll" template="wx_base_dll"
|
||||
cond="SHARED=='1' and MONOLITHIC=='0'">
|
||||
<define>WXUSINGDLL</define>
|
||||
<define>WXMAKINGDLL_NET</define>
|
||||
<sources>$(NET_SRC)</sources>
|
||||
<msvc-headers>$(NET_CMN_HDR) $(NET_PLATFORM_HDR)</msvc-headers>
|
||||
<library>basedll</library>
|
||||
</dll>
|
||||
|
||||
<lib id="netlib" template="wx_base_lib"
|
||||
cond="SHARED=='0' and MONOLITHIC=='0'">
|
||||
<sources>$(NET_SRC)</sources>
|
||||
<msvc-headers>$(NET_CMN_HDR) $(NET_PLATFORM_HDR)</msvc-headers>
|
||||
</lib>
|
||||
|
||||
<set var="MSVC6PRJ_MERGED_TARGETS_MULTILIB" append="1">net=netlib+netdll</set>
|
||||
|
||||
|
||||
<!-- ================================================================= -->
|
||||
<!-- Main GUI library -->
|
||||
<!-- ================================================================= -->
|
||||
|
||||
<dll id="coredll" template="wx_dll"
|
||||
cond="SHARED=='1' and USE_GUI=='1' and MONOLITHIC=='0'">
|
||||
<define>WXUSINGDLL</define>
|
||||
<define>WXMAKINGDLL_CORE</define>
|
||||
<define>wxUSE_BASE=0</define>
|
||||
<sources>$(BASE_AND_GUI_SRC) $(CORE_SRC)</sources>
|
||||
<msvc-headers>$(ALL_GUI_HEADERS)</msvc-headers>
|
||||
<library>basedll</library>
|
||||
</dll>
|
||||
|
||||
<lib id="corelib" template="wx_lib"
|
||||
cond="SHARED=='0' and USE_GUI=='1' and MONOLITHIC=='0'">
|
||||
<define>wxUSE_BASE=0</define>
|
||||
<sources>$(BASE_AND_GUI_SRC) $(CORE_SRC)</sources>
|
||||
<msvc-headers>$(ALL_GUI_HEADERS)</msvc-headers>
|
||||
</lib>
|
||||
|
||||
<set var="MSVC6PRJ_MERGED_TARGETS_MULTILIB" append="1">core=corelib+coredll</set>
|
||||
|
||||
|
||||
<!-- ================================================================= -->
|
||||
<!-- "Advanced" controls library -->
|
||||
<!-- ================================================================= -->
|
||||
|
||||
<dll id="advdll" template="wx_dll"
|
||||
cond="SHARED=='1' and USE_GUI=='1' and MONOLITHIC=='0'">
|
||||
<define>WXUSINGDLL</define>
|
||||
<define>WXMAKINGDLL_ADV</define>
|
||||
<sources>$(ADVANCED_SRC) $(PLUGIN_ADV_SRC)</sources>
|
||||
<msvc-headers>$(ADVANCED_HDR)</msvc-headers>
|
||||
<library>coredll</library>
|
||||
<library>basedll</library>
|
||||
<ldlibs>$(PLUGIN_ADV_EXTRALIBS)</ldlibs>
|
||||
</dll>
|
||||
|
||||
<lib id="advlib" template="wx_lib"
|
||||
cond="SHARED=='0' and USE_GUI=='1' and MONOLITHIC=='0'">
|
||||
<sources>$(ADVANCED_SRC) $(PLUGIN_ADV_SRC)</sources>
|
||||
<msvc-headers>$(ADVANCED_HDR)</msvc-headers>
|
||||
</lib>
|
||||
|
||||
<set var="MSVC6PRJ_MERGED_TARGETS_MULTILIB" append="1">adv=advlib+advdll</set>
|
||||
|
||||
|
||||
<!-- ================================================================= -->
|
||||
<!-- wxMedia classes library -->
|
||||
<!-- ================================================================= -->
|
||||
|
||||
<dll id="mediadll" template="wx_dll"
|
||||
cond="SHARED=='1' and USE_MEDIA=='1' and USE_GUI=='1' and MONOLITHIC=='0'">
|
||||
<define>WXUSINGDLL</define>
|
||||
<define>WXMAKINGDLL_MEDIA</define>
|
||||
<sources>$(MEDIA_SRC)</sources>
|
||||
<msvc-headers>$(MEDIA_HDR)</msvc-headers>
|
||||
<library>coredll</library>
|
||||
<library>basedll</library>
|
||||
</dll>
|
||||
|
||||
<lib id="medialib" template="wx_lib"
|
||||
cond="SHARED=='0' and USE_MEDIA=='1' and USE_GUI=='1' and MONOLITHIC=='0'">
|
||||
<sources>$(MEDIA_SRC)</sources>
|
||||
<msvc-headers>$(MEDIA_HDR)</msvc-headers>
|
||||
</lib>
|
||||
|
||||
<set var="MSVC6PRJ_MERGED_TARGETS_MULTILIB" append="1">media=medialib+mediadll</set>
|
||||
|
||||
|
||||
<!-- ================================================================= -->
|
||||
<!-- DB classes library -->
|
||||
<!-- ================================================================= -->
|
||||
|
||||
<dll id="odbcdll" template="wx_base_dll"
|
||||
cond="SHARED=='1' and USE_ODBC=='1' and MONOLITHIC=='0'">
|
||||
<define>WXUSINGDLL</define>
|
||||
<define>WXMAKINGDLL_ODBC</define>
|
||||
<sources>$(ODBC_SRC)</sources>
|
||||
<msvc-headers>$(ODBC_HDR)</msvc-headers>
|
||||
<library>basedll</library>
|
||||
<ldlibs>$(EXTRALIBS_ODBC)</ldlibs>
|
||||
</dll>
|
||||
|
||||
<lib id="odbclib" template="wx_base_lib"
|
||||
cond="SHARED=='0' and USE_ODBC=='1' and MONOLITHIC=='0'">
|
||||
<sources>$(ODBC_SRC)</sources>
|
||||
<msvc-headers>$(ODBC_HDR)</msvc-headers>
|
||||
</lib>
|
||||
|
||||
|
||||
<dll id="dbgriddll" template="wx_dll"
|
||||
cond="SHARED=='1' and USE_GUI=='1' and USE_ODBC=='1' and MONOLITHIC=='0'">
|
||||
<define>WXUSINGDLL</define>
|
||||
<define>WXMAKINGDLL_DBGRID</define>
|
||||
<sources>$(DBGRID_SRC)</sources>
|
||||
<msvc-headers>$(DBGRID_HDR)</msvc-headers>
|
||||
<library>advdll</library>
|
||||
<library>odbcdll</library>
|
||||
<library>coredll</library>
|
||||
<library>basedll</library>
|
||||
</dll>
|
||||
|
||||
<lib id="dbgridlib" template="wx_lib"
|
||||
cond="SHARED=='0' and USE_GUI=='1' and USE_ODBC=='1' and MONOLITHIC=='0'">
|
||||
<sources>$(DBGRID_SRC)</sources>
|
||||
<msvc-headers>$(DBGRID_HDR)</msvc-headers>
|
||||
</lib>
|
||||
|
||||
<set var="MSVC6PRJ_MERGED_TARGETS_MULTILIB" append="1">odbc=odbclib+odbcdll</set>
|
||||
<set var="MSVC6PRJ_MERGED_TARGETS_MULTILIB" append="1">dbgrid=dbgridlib+dbgriddll</set>
|
||||
|
||||
|
||||
<!-- ================================================================ -->
|
||||
<!-- wxHTML -->
|
||||
<!-- ================================================================ -->
|
||||
|
||||
<dll id="htmldll" template="wx_dll"
|
||||
cond="SHARED=='1' and USE_GUI=='1' and USE_HTML=='1' and MONOLITHIC=='0'">
|
||||
<define>WXUSINGDLL</define>
|
||||
<define>WXMAKINGDLL_HTML</define>
|
||||
<sources>$(HTML_SRC)</sources>
|
||||
<library>coredll</library>
|
||||
<library>basedll</library>
|
||||
<ldlibs>$(EXTRALIBS_HTML)</ldlibs>
|
||||
<msvc-headers>$(HTML_HDR)</msvc-headers>
|
||||
</dll>
|
||||
|
||||
<lib id="htmllib" template="wx_lib"
|
||||
cond="SHARED=='0' and USE_GUI=='1' and USE_HTML=='1' and MONOLITHIC=='0'">
|
||||
<sources>$(HTML_SRC)</sources>
|
||||
<msvc-headers>$(HTML_HDR)</msvc-headers>
|
||||
</lib>
|
||||
|
||||
<set var="MSVC6PRJ_MERGED_TARGETS_MULTILIB" append="1">html=htmllib+htmldll</set>
|
||||
|
||||
<!-- ================================================================ -->
|
||||
<!-- OpenGL -->
|
||||
<!-- ================================================================ -->
|
||||
|
||||
<!-- included by wx.bkl from opengl.bkl -->
|
||||
|
||||
<set var="MSVC6PRJ_MERGED_TARGETS_MULTILIB" append="1">gl=gllib+gldll</set>
|
||||
|
||||
|
||||
<!-- ================================================================ -->
|
||||
<!-- QA -->
|
||||
<!-- ================================================================ -->
|
||||
|
||||
<dll id="qadll" template="wx_dll"
|
||||
cond="SHARED=='1' and USE_GUI=='1' and USE_QA=='1' and MONOLITHIC=='0'">
|
||||
<define>WXUSINGDLL</define>
|
||||
<define>WXMAKINGDLL_QA</define>
|
||||
<sources>$(QA_SRC)</sources>
|
||||
<msvc-headers>$(QA_HDR)</msvc-headers>
|
||||
<library>coredll</library>
|
||||
<library>basedll</library>
|
||||
<library>xmldll</library>
|
||||
</dll>
|
||||
|
||||
<lib id="qalib" template="wx_lib"
|
||||
cond="SHARED=='0' and USE_GUI=='1' and USE_QA=='1' and MONOLITHIC=='0'">
|
||||
<sources>$(QA_SRC)</sources>
|
||||
<msvc-headers>$(QA_HDR)</msvc-headers>
|
||||
</lib>
|
||||
|
||||
<set var="MSVC6PRJ_MERGED_TARGETS_MULTILIB" append="1">qa=qalib+qadll</set>
|
||||
|
||||
<!-- ================================================================ -->
|
||||
<!-- XML -->
|
||||
<!-- ================================================================ -->
|
||||
|
||||
<dll id="xmldll" template="wx_base_dll"
|
||||
cond="SHARED=='1' and MONOLITHIC=='0'">
|
||||
<define>WXUSINGDLL</define>
|
||||
<define>WXMAKINGDLL_XML</define>
|
||||
<sources>$(XML_SRC)</sources>
|
||||
<msvc-headers>$(XML_HDR)</msvc-headers>
|
||||
<library>basedll</library>
|
||||
<ldlibs>$(EXTRALIBS_XML)</ldlibs>
|
||||
</dll>
|
||||
|
||||
<lib id="xmllib" template="wx_base_lib"
|
||||
cond="SHARED=='0' and MONOLITHIC=='0'">
|
||||
<sources>$(XML_SRC)</sources>
|
||||
<msvc-headers>$(XML_HDR)</msvc-headers>
|
||||
</lib>
|
||||
|
||||
<set var="MSVC6PRJ_MERGED_TARGETS_MULTILIB" append="1">xml=xmllib+xmldll</set>
|
||||
|
||||
<!-- ================================================================ -->
|
||||
<!-- XRC -->
|
||||
<!-- ================================================================ -->
|
||||
|
||||
<dll id="xrcdll" template="wx_dll"
|
||||
cond="SHARED=='1' and USE_XRC=='1' and MONOLITHIC=='0'">
|
||||
<define>WXUSINGDLL</define>
|
||||
<define>WXMAKINGDLL_XRC</define>
|
||||
<sources>$(XRC_SRC)</sources>
|
||||
<library>htmldll</library>
|
||||
<library>advdll</library>
|
||||
<library>coredll</library>
|
||||
<library>xmldll</library>
|
||||
<library>basedll</library>
|
||||
<msvc-headers>$(XRC_HDR)</msvc-headers>
|
||||
</dll>
|
||||
|
||||
<lib id="xrclib" template="wx_lib"
|
||||
cond="SHARED=='0' and USE_XRC=='1' and MONOLITHIC=='0'">
|
||||
<sources>$(XRC_SRC)</sources>
|
||||
<msvc-headers>$(XRC_HDR)</msvc-headers>
|
||||
</lib>
|
||||
|
||||
<set var="MSVC6PRJ_MERGED_TARGETS_MULTILIB" append="1">xrc=xrclib+xrcdll</set>
|
||||
|
||||
<!-- ================================================================ -->
|
||||
<!-- AUI -->
|
||||
<!-- ================================================================ -->
|
||||
|
||||
<dll id="auidll" template="wx_dll"
|
||||
cond="SHARED=='1' and USE_AUI=='1' and MONOLITHIC=='0'">
|
||||
<define>WXUSINGDLL</define>
|
||||
<define>WXMAKINGDLL_AUI</define>
|
||||
<sources>$(AUI_SRC)</sources>
|
||||
<library>advdll</library>
|
||||
<library>coredll</library>
|
||||
<library>basedll</library>
|
||||
<msvc-headers>$(AUI_HDR)</msvc-headers>
|
||||
</dll>
|
||||
|
||||
<lib id="auilib" template="wx_lib"
|
||||
cond="SHARED=='0' and USE_AUI=='1' and MONOLITHIC=='0'">
|
||||
<sources>$(AUI_SRC)</sources>
|
||||
<msvc-headers>$(AUI_HDR)</msvc-headers>
|
||||
</lib>
|
||||
|
||||
<set var="MSVC6PRJ_MERGED_TARGETS_MULTILIB" append="1">aui=auilib+auidll</set>
|
||||
|
||||
<!-- ================================================================ -->
|
||||
<!-- RICHTEXT -->
|
||||
<!-- ================================================================ -->
|
||||
|
||||
<dll id="richtextdll" template="wx_dll"
|
||||
cond="SHARED=='1' and USE_RICHTEXT=='1' and MONOLITHIC=='0'">
|
||||
<define>WXUSINGDLL</define>
|
||||
<define>WXMAKINGDLL_RICHTEXT</define>
|
||||
<sources>$(RICHTEXT_SRC)</sources>
|
||||
<library>advdll</library>
|
||||
<library>htmldll</library>
|
||||
<library>xmldll</library>
|
||||
<library>coredll</library>
|
||||
<library>basedll</library>
|
||||
<msvc-headers>$(RICHTEXT_HDR)</msvc-headers>
|
||||
</dll>
|
||||
|
||||
<lib id="richtextlib" template="wx_lib"
|
||||
cond="SHARED=='0' and USE_RICHTEXT=='1' and MONOLITHIC=='0'">
|
||||
<sources>$(RICHTEXT_SRC)</sources>
|
||||
<msvc-headers>$(RICHTEXT_HDR)</msvc-headers>
|
||||
</lib>
|
||||
|
||||
<set var="MSVC6PRJ_MERGED_TARGETS_MULTILIB" append="1">richtext=richtextlib+richtextdll</set>
|
||||
|
||||
</makefile>
|
@@ -1,45 +0,0 @@
|
||||
<?xml version="1.0" ?>
|
||||
<makefile>
|
||||
|
||||
<if cond="FORMAT=='autoconf'">
|
||||
<option name="wxUSE_ODBC"/>
|
||||
<set var="LIB_ODBC">
|
||||
<if cond="wxUSE_ODBC=='builtin'">wxodbc$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)</if>
|
||||
</set>
|
||||
</if>
|
||||
<if cond="FORMAT!='autoconf'">
|
||||
<set var="wxUSE_ODBC">
|
||||
<if cond="PLATFORM_UNIX=='1'">builtin</if>
|
||||
<if cond="PLATFORM_UNIX=='0'">0</if>
|
||||
</set>
|
||||
<set var="LIB_ODBC">
|
||||
<if cond="wxUSE_ODBC=='builtin'">wxodbc$(WXDEBUGFLAG)$(HOST_SUFFIX)</if>
|
||||
</set>
|
||||
</if>
|
||||
<set var="INC_ODBC">
|
||||
<if cond="wxUSE_ODBC=='builtin'">$(TOP_SRCDIR)src/odbc</if>
|
||||
</set>
|
||||
|
||||
<lib id="wxodbc" template="3rdparty_lib"
|
||||
cond="wxUSE_ODBC=='builtin' and BUILDING_LIB=='1'">
|
||||
<dirname>$(LIBDIRNAME)</dirname>
|
||||
<sources>
|
||||
src/iodbc/catalog.c
|
||||
src/iodbc/connect.c
|
||||
src/iodbc/dlf.c
|
||||
src/iodbc/dlproc.c
|
||||
src/iodbc/execute.c
|
||||
src/iodbc/fetch.c
|
||||
src/iodbc/hdbc.c
|
||||
src/iodbc/henv.c
|
||||
src/iodbc/herr.c
|
||||
src/iodbc/hstmt.c
|
||||
src/iodbc/info.c
|
||||
src/iodbc/itrace.c
|
||||
src/iodbc/misc.c
|
||||
src/iodbc/prepare.c
|
||||
src/iodbc/result.c
|
||||
</sources>
|
||||
</lib>
|
||||
|
||||
</makefile>
|
@@ -1,41 +0,0 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!-- $Id$ -->
|
||||
|
||||
<makefile>
|
||||
|
||||
<!-- ================================================================= -->
|
||||
<!-- OpenGL canvas library -->
|
||||
<!-- ================================================================= -->
|
||||
|
||||
<set var="WXLIBGLDEP_CORE">
|
||||
<if cond="MONOLITHIC=='0'">$(mk.evalExpr(wxwin.mkLibName('core')))</if>
|
||||
</set>
|
||||
<set var="WXLIBGLDEP_BASE">
|
||||
<if cond="MONOLITHIC=='0'">$(mk.evalExpr(wxwin.mkLibName('base')))</if>
|
||||
</set>
|
||||
|
||||
<dll id="gldll" template="wx_dll"
|
||||
cond="SHARED=='1' and USE_GUI=='1' and USE_OPENGL=='1'">
|
||||
<define>WXUSINGDLL</define>
|
||||
<define>WXMAKINGDLL_GL</define>
|
||||
<sources>$(OPENGL_SRC)</sources>
|
||||
<msvc-headers>$(OPENGL_HDR)</msvc-headers>
|
||||
|
||||
<!-- link against base and core libs in multilib build: -->
|
||||
<sys-lib>$(WXLIBGLDEP_CORE)</sys-lib>
|
||||
<sys-lib>$(WXLIBGLDEP_BASE)</sys-lib>
|
||||
<depends>basedll</depends>
|
||||
<depends>coredll</depends>
|
||||
<!-- link against the wxWin library in monolithic build: -->
|
||||
<sys-lib>$(WXLIB_MONO)</sys-lib>
|
||||
|
||||
<ldlibs>$(EXTRALIBS_OPENGL)</ldlibs>
|
||||
</dll>
|
||||
|
||||
<lib id="gllib" template="wx_lib"
|
||||
cond="SHARED=='0' and USE_GUI=='1' and USE_OPENGL=='1'">
|
||||
<sources>$(OPENGL_SRC)</sources>
|
||||
<msvc-headers>$(OPENGL_HDR)</msvc-headers>
|
||||
</lib>
|
||||
|
||||
</makefile>
|
@@ -1,16 +0,0 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!-- $Id$ -->
|
||||
|
||||
<makefile>
|
||||
|
||||
<!-- ================================================================ -->
|
||||
<!-- Unix audio plugins -->
|
||||
<!-- ================================================================ -->
|
||||
|
||||
<wx-base-plugin id="sound_sdl" cond="WITH_PLUGIN_SDL=='1'">
|
||||
<sources>$(UNIX_SOUND_SRC_SDL)</sources>
|
||||
<ldlibs>$(EXTRALIBS_SDL)</ldlibs>
|
||||
</wx-base-plugin>
|
||||
|
||||
|
||||
</makefile>
|
@@ -1,21 +0,0 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!-- $Id$ -->
|
||||
|
||||
<makefile>
|
||||
|
||||
<!-- Additional dependencies of core libraries if plugins are
|
||||
disabled (these would be deps of the plugins if they were
|
||||
enabled): -->
|
||||
|
||||
<set var="PLUGIN_ADV_EXTRALIBS">
|
||||
<if cond="USE_PLUGINS=='0'">
|
||||
$(EXTRALIBS_SDL)
|
||||
</if>
|
||||
</set>
|
||||
|
||||
|
||||
<!-- monolithic library must link against all this: -->
|
||||
|
||||
<set var="PLUGIN_MONOLIB_EXTRALIBS">$(PLUGIN_ADV_EXTRALIBS)</set>
|
||||
|
||||
</makefile>
|
@@ -1,51 +0,0 @@
|
||||
<?xml version="1.0" ?>
|
||||
<makefile>
|
||||
|
||||
<if cond="FORMAT=='autoconf'">
|
||||
<option name="wxUSE_LIBPNG"/>
|
||||
<set var="LIB_PNG">
|
||||
<if cond="wxUSE_LIBPNG=='builtin' and USE_GUI=='1'">
|
||||
wxpng$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
|
||||
</if>
|
||||
</set>
|
||||
</if>
|
||||
<if cond="FORMAT!='autoconf'">
|
||||
<set var="wxUSE_LIBPNG">builtin</set>
|
||||
<set var="LIB_PNG">
|
||||
<if cond="wxUSE_LIBPNG=='builtin' and USE_GUI=='1'">
|
||||
wxpng$(WXDEBUGFLAG)$(HOST_SUFFIX)
|
||||
</if>
|
||||
</set>
|
||||
</if>
|
||||
<set var="INC_PNG">
|
||||
<if cond="wxUSE_LIBPNG=='builtin'">$(TOP_SRCDIR)src/png</if>
|
||||
</set>
|
||||
|
||||
<lib id="wxpng" template="3rdparty_lib"
|
||||
cond="wxUSE_LIBPNG=='builtin' and USE_GUI=='1' and BUILDING_LIB=='1'">
|
||||
<dirname>$(LIBDIRNAME)</dirname>
|
||||
<include>$(INC_ZLIB)</include>
|
||||
<cflags-borland>-w-8004</cflags-borland>
|
||||
<cflags-watcom>-wcd=124</cflags-watcom>
|
||||
<sources>
|
||||
src/png/png.c
|
||||
src/png/pngerror.c
|
||||
src/png/pnggccrd.c
|
||||
src/png/pngget.c
|
||||
src/png/pngmem.c
|
||||
src/png/pngpread.c
|
||||
src/png/pngread.c
|
||||
src/png/pngrio.c
|
||||
src/png/pngrtran.c
|
||||
src/png/pngrutil.c
|
||||
src/png/pngset.c
|
||||
src/png/pngtrans.c
|
||||
src/png/pngvcrd.c
|
||||
src/png/pngwio.c
|
||||
src/png/pngwrite.c
|
||||
src/png/pngwtran.c
|
||||
src/png/pngwutil.c
|
||||
</sources>
|
||||
</lib>
|
||||
|
||||
</makefile>
|
@@ -1,54 +0,0 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!-- $Id$ -->
|
||||
|
||||
<makefile>
|
||||
|
||||
<if cond="FORMAT=='autoconf'">
|
||||
<option name="wxUSE_REGEX"/>
|
||||
<set var="LIB_REGEX">
|
||||
<if cond="wxUSE_REGEX=='builtin'">
|
||||
wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
|
||||
</if>
|
||||
</set>
|
||||
</if>
|
||||
<if cond="FORMAT!='autoconf'">
|
||||
<set var="wxUSE_REGEX">
|
||||
<!-- NB: regex lib doesn't compile on WinCE -->
|
||||
<if cond="FORMAT=='msevc4prj'">no</if>
|
||||
<if cond="FORMAT!='msevc4prj'">builtin</if>
|
||||
</set>
|
||||
<set var="LIB_REGEX">
|
||||
<if cond="wxUSE_REGEX=='builtin'">
|
||||
wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(HOST_SUFFIX)
|
||||
</if>
|
||||
</set>
|
||||
</if>
|
||||
<set var="INC_REGEX">
|
||||
<if cond="wxUSE_REGEX=='builtin'">$(TOP_SRCDIR)src/regex</if>
|
||||
</set>
|
||||
|
||||
<lib id="wxregex" template="msvc_setup_h,3rdparty_lib"
|
||||
cond="wxUSE_REGEX=='builtin' and BUILDING_LIB=='1'">
|
||||
<libname cond="FORMAT=='autoconf'">
|
||||
$(id)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
|
||||
</libname>
|
||||
<libname cond="FORMAT!='autoconf'">
|
||||
$(id)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(HOST_SUFFIX)
|
||||
</libname>
|
||||
<include cond="FORMAT!='autoconf'">$(TOP_SRCDIR)include</include>
|
||||
<include cond="FORMAT!='autoconf'">$(SETUPHDIR)</include>
|
||||
<define>__WX$(TOOLKIT)__</define>
|
||||
<define>$(WXUNIV_DEFINE)</define>
|
||||
<define>$(UNICODE_DEFINE)</define>
|
||||
<dirname>$(LIBDIRNAME)</dirname>
|
||||
<cflags-borland>-w-8008 -w-8012 -w-8057 -w-8064 -w-8066 -w-8070</cflags-borland>
|
||||
<cflags-dmars>-w12</cflags-dmars>
|
||||
<sources>
|
||||
src/regex/regcomp.c
|
||||
src/regex/regexec.c
|
||||
src/regex/regerror.c
|
||||
src/regex/regfree.c
|
||||
</sources>
|
||||
</lib>
|
||||
|
||||
</makefile>
|
@@ -1,89 +0,0 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!-- $Id$ -->
|
||||
|
||||
<makefile>
|
||||
|
||||
<if cond="FORMAT=='autoconf'">
|
||||
<option name="wxUSE_LIBTIFF"/>
|
||||
<set var="LIB_TIFF">
|
||||
<if cond="wxUSE_LIBTIFF=='builtin' and USE_GUI=='1'">
|
||||
wxtiff$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
|
||||
</if>
|
||||
</set>
|
||||
</if>
|
||||
<if cond="FORMAT!='autoconf'">
|
||||
<set var="wxUSE_LIBTIFF">
|
||||
<!-- NB: libtiff doesn't compile on WinCE -->
|
||||
<if cond="FORMAT=='msevc4prj'">no</if>
|
||||
<if cond="FORMAT!='msevc4prj'">builtin</if>
|
||||
</set>
|
||||
<set var="LIB_TIFF">
|
||||
<if cond="wxUSE_LIBTIFF=='builtin' and USE_GUI=='1'">
|
||||
wxtiff$(WXDEBUGFLAG)$(HOST_SUFFIX)
|
||||
</if>
|
||||
</set>
|
||||
</if>
|
||||
<set var="INC_TIFF">
|
||||
<if cond="wxUSE_LIBTIFF=='builtin'">$(TOP_SRCDIR)src/tiff</if>
|
||||
</set>
|
||||
|
||||
<set var="TIFF_PLATFORM_SRC">
|
||||
<if cond="PLATFORM_UNIX=='1'">src/tiff/tif_unix.c</if>
|
||||
<if cond="PLATFORM_MACOSX=='1'">src/tiff/tif_unix.c</if>
|
||||
<if cond="PLATFORM_OS2=='1' and FORMAT!='watcom'">src/tiff/tif_unix.c</if>
|
||||
<if cond="PLATFORM_OS2=='1' and FORMAT=='watcom'">src/tiff/tif_os2.c</if>
|
||||
<if cond="PLATFORM_WIN32=='1'">src/tiff/tif_win32.c</if>
|
||||
<if cond="PLATFORM_MACOS=='1'">src/tiff/tif_apple.c</if>
|
||||
<if cond="PLATFORM_MSDOS=='1'">src/tiff/tif_msdos.c</if>
|
||||
</set>
|
||||
|
||||
<lib id="wxtiff" template="3rdparty_lib"
|
||||
cond="wxUSE_LIBTIFF=='builtin' and USE_GUI=='1' and BUILDING_LIB=='1'">
|
||||
<dirname>$(LIBDIRNAME)</dirname>
|
||||
<include>$(INC_ZLIB)</include>
|
||||
<include>$(INC_JPEG)</include>
|
||||
<cflags-borland>-w-8004 -w-8012 -w-8057 -w-8060 -w-8066</cflags-borland>
|
||||
<cflags-dmars>-w2</cflags-dmars>
|
||||
<cflags-watcom>-wcd=124</cflags-watcom>
|
||||
<define cond="PLATFORM_OS2=='1' and FORMAT=='watcom'">OS2_32</define>
|
||||
<define cond="PLATFORM_MSDOS=='1' and FORMAT=='watcom'">__MSDOS__</define>
|
||||
<sources>
|
||||
$(TIFF_PLATFORM_SRC)
|
||||
src/tiff/tif_aux.c
|
||||
src/tiff/tif_close.c
|
||||
src/tiff/tif_codec.c
|
||||
src/tiff/tif_color.c
|
||||
src/tiff/tif_compress.c
|
||||
src/tiff/tif_dir.c
|
||||
src/tiff/tif_dirinfo.c
|
||||
src/tiff/tif_dirread.c
|
||||
src/tiff/tif_dirwrite.c
|
||||
src/tiff/tif_dumpmode.c
|
||||
src/tiff/tif_error.c
|
||||
src/tiff/tif_extension.c
|
||||
src/tiff/tif_fax3.c
|
||||
src/tiff/tif_fax3sm.c
|
||||
src/tiff/tif_getimage.c
|
||||
src/tiff/tif_jpeg.c
|
||||
src/tiff/tif_flush.c
|
||||
src/tiff/tif_lzw.c
|
||||
src/tiff/tif_luv.c
|
||||
src/tiff/tif_next.c
|
||||
src/tiff/tif_open.c
|
||||
src/tiff/tif_packbits.c
|
||||
src/tiff/tif_pixarlog.c
|
||||
src/tiff/tif_predict.c
|
||||
src/tiff/tif_print.c
|
||||
src/tiff/tif_read.c
|
||||
src/tiff/tif_swab.c
|
||||
src/tiff/tif_strip.c
|
||||
src/tiff/tif_thunder.c
|
||||
src/tiff/tif_tile.c
|
||||
src/tiff/tif_version.c
|
||||
src/tiff/tif_warning.c
|
||||
src/tiff/tif_write.c
|
||||
src/tiff/tif_zip.c
|
||||
</sources>
|
||||
</lib>
|
||||
|
||||
</makefile>
|
@@ -1,85 +0,0 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!-- $Id$ -->
|
||||
|
||||
<makefile>
|
||||
|
||||
<!-- ================================================================== -->
|
||||
<!-- Handling of binary compatiblity: -->
|
||||
<!-- ================================================================== -->
|
||||
|
||||
<!--
|
||||
We use libtool CURRENT:REVISION:AGE versioning scheme. Here are the
|
||||
rules for updating the values below, this should be done whenever wx
|
||||
version (wx/version.h) changes (we abbreviate WX_CURRENT:REVISION:AGE
|
||||
as C:R:A respectively):
|
||||
|
||||
0. Set C:R:A = 0:0:0 if major or minor version has changed.
|
||||
|
||||
1. If any API has been removed or otherwise changed in backwards
|
||||
incompatible way, then change C:R:A to C+1:0:0
|
||||
|
||||
2. Else, if any API has been added, change C:R:A to C+1:0:A+1
|
||||
|
||||
3. Else, i.e. if there were no changes at all to API but only internal
|
||||
changes, change C:R:A to C:R+1:A
|
||||
-->
|
||||
<set var="WX_CURRENT">0</set>
|
||||
<set var="WX_REVISION">0</set>
|
||||
<set var="WX_AGE">0</set>
|
||||
|
||||
|
||||
<!-- ================================================================== -->
|
||||
<!-- Library version number: -->
|
||||
<!-- ================================================================== -->
|
||||
|
||||
<!-- extract wx version number from wx/version.h: -->
|
||||
<set var="WXVER_MAJOR">$(wxwin.getVersionMajor())</set>
|
||||
<set var="WXVER_MINOR">$(wxwin.getVersionMinor())</set>
|
||||
<set var="WXVER_RELEASE">$(wxwin.getVersionRelease())</set>
|
||||
|
||||
|
||||
|
||||
<!-- ================================================================== -->
|
||||
<!-- Derived variables: -->
|
||||
<!-- ================================================================== -->
|
||||
|
||||
<!-- set misc helper variables: -->
|
||||
|
||||
<set var="WX_RELEASE" make_var="1">
|
||||
$(WXVER_MAJOR).$(WXVER_MINOR)
|
||||
</set>
|
||||
<set var="WX_RELEASE_NODOT" make_var="1">
|
||||
$(WXVER_MAJOR)$(WXVER_MINOR)
|
||||
</set>
|
||||
<set var="WX_VERSION" make_var="1">
|
||||
$(WX_RELEASE).$(WXVER_RELEASE)
|
||||
</set>
|
||||
<set var="WX_VERSION_NODOT" make_var="1">
|
||||
$(WX_RELEASE_NODOT)$(WXVER_RELEASE)
|
||||
</set>
|
||||
|
||||
<set var="WX_STABLE_BRANCH">$(int(int(WXVER_MINOR) % 2 == 0))</set>
|
||||
|
||||
<!-- in unstable branch, binary compat. changes with every release, check
|
||||
for it: -->
|
||||
<if cond="WX_STABLE_BRANCH=='0' and int(WX_CURRENT)!=int(WXVER_RELEASE)">
|
||||
<error>Forgot to update WX_CURRENT/WX_REVISION/WX_AGE?</error>
|
||||
</if>
|
||||
<set var="WXSOVERSION">
|
||||
$(int(WX_CURRENT)-int(WX_AGE)).$(WX_AGE).$(WX_REVISION)
|
||||
</set>
|
||||
|
||||
<!-- FIXME: until libtool scheme is implemented in bakefile -->
|
||||
<set var="WXMACVERSION_CMD">
|
||||
<if cond="PLATFORM_MACOSX=='1'">
|
||||
<!-- Version can't be 0, so add 1 to it to force it to be non null -->
|
||||
-compatibility_version $(int(WX_AGE)+1).0 -current_version $(int(WX_AGE)+1).$(WX_REVISION)
|
||||
</if>
|
||||
</set>
|
||||
|
||||
<set var="WXWIN32DLLVERSION">
|
||||
<if cond="WX_STABLE_BRANCH=='1'">$(WX_RELEASE_NODOT)</if>
|
||||
<if cond="WX_STABLE_BRANCH=='0'">$(WX_VERSION_NODOT)</if>
|
||||
</set>
|
||||
|
||||
</makefile>
|
@@ -1,265 +0,0 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!-- $Id$ -->
|
||||
|
||||
|
||||
<!-- Master bakefile for wxWidgets -->
|
||||
|
||||
<makefile>
|
||||
|
||||
<!-- make sure setup.h is created as soon as possible: -->
|
||||
<phony id="setup_h" cond="FORMAT!='autoconf'">
|
||||
<dependency-of>all</dependency-of>
|
||||
</phony>
|
||||
|
||||
<set var="BUILDING_LIB">1</set>
|
||||
|
||||
<!-- common rules, names etc. for wx: -->
|
||||
<include file="common.bkl"/>
|
||||
|
||||
<!-- list of files sorted into categories: -->
|
||||
<include file="files.bkl"/>
|
||||
|
||||
<!-- wxWidgets variant where everything is in one library: -->
|
||||
<include file="monolithic.bkl"/>
|
||||
<!-- ...and when there are multiple libraries: -->
|
||||
<include file="multilib.bkl"/>
|
||||
|
||||
<if cond="FORMAT in ['msvc6prj','msevc4prj']">
|
||||
<set var="MSVC6PRJ_MERGED_TARGETS">
|
||||
<if cond="MONOLITHIC=='0'">$(MSVC6PRJ_MERGED_TARGETS_MULTILIB)</if>
|
||||
<if cond="MONOLITHIC=='1'">$(MSVC6PRJ_MERGED_TARGETS_MONOLIB)</if>
|
||||
</set>
|
||||
</if>
|
||||
|
||||
<!-- OpenGL canvas is built as separate library in both cases: -->
|
||||
<include file="opengl.bkl"/>
|
||||
<!-- Dynamically loadable plugins: -->
|
||||
<include file="plugins.bkl"/>
|
||||
|
||||
<!-- Samples target (not dependency of 'all'): -->
|
||||
<subproject id="samples">
|
||||
<installable>no</installable>
|
||||
<dir cond="FORMAT=='autoconf'">samples</dir>
|
||||
<dir cond="FORMAT!='autoconf' and TOOLKIT in ['PM','MSW','MGL','MOTIF']">../../samples</dir>
|
||||
</subproject>
|
||||
|
||||
<if cond="FORMAT=='autoconf'">
|
||||
|
||||
<!-- WXRC compiler is built by default: -->
|
||||
<!-- FIXME: this is dirty hack, better bakefile support for
|
||||
conditional and optional subprojects is needed -->
|
||||
<action id="wxrc" cond="USE_XRC=='1'">
|
||||
<dependency-of>all</dependency-of>
|
||||
|
||||
<!-- some of these are not built in all configurations, <depends>
|
||||
takes care of ignoring the disabled ones: -->
|
||||
<depends>monodll</depends>
|
||||
<depends>monolib</depends>
|
||||
<depends>basedll</depends>
|
||||
<depends>baselib</depends>
|
||||
<depends>xmldll</depends>
|
||||
<depends>xmllib</depends>
|
||||
|
||||
<command>
|
||||
(if test -d utils/wxrc ; then cd utils/wxrc && $(DOLLAR)(MAKE) all ; fi)
|
||||
</command>
|
||||
</action>
|
||||
<action id="clean-wxrc" cond="USE_XRC=='1'">
|
||||
<dependency-of>clean</dependency-of>
|
||||
<command>
|
||||
(if test -d utils/wxrc ; then cd utils/wxrc && $(DOLLAR)(MAKE) clean ; fi)
|
||||
</command>
|
||||
</action>
|
||||
<action id="install-wxrc" cond="USE_XRC=='1'">
|
||||
<dependency-of>install</dependency-of>
|
||||
<depends>wxrc</depends>
|
||||
<command>
|
||||
(if test -d utils/wxrc ; then cd utils/wxrc && $(DOLLAR)(MAKE) install ; fi)
|
||||
</command>
|
||||
</action>
|
||||
|
||||
<!-- "make install": -->
|
||||
|
||||
<data-files>
|
||||
<files>wxwin.m4</files>
|
||||
<install-to>$(DATADIR)/aclocal</install-to>
|
||||
</data-files>
|
||||
|
||||
<data-files>
|
||||
<srcdir>$(SRCDIR)/build/bakefiles/wxpresets/presets</srcdir>
|
||||
<files>wx.bkl wx_unix.bkl wx_win32.bkl</files>
|
||||
<install-to>$(DATADIR)/bakefile/presets</install-to>
|
||||
</data-files>
|
||||
|
||||
<action id="install-wxconfig">
|
||||
<dependency-of>install</dependency-of>
|
||||
<command>
|
||||
$(INSTALL_DIR) $(DESTDIR)$(BINDIR)
|
||||
$(INSTALL_DIR) $(DESTDIR)$(LIBDIR)/wx/config
|
||||
$(INSTALL_PROGRAM) lib/wx/config/$(TOOLCHAIN_FULLNAME) $(DESTDIR)$(LIBDIR)/wx/config
|
||||
(cd $(DESTDIR)$(BINDIR) && rm -f wx-config && $(LN_S) $(LIBDIR)/wx/config/$(TOOLCHAIN_FULLNAME) wx-config)
|
||||
</command>
|
||||
</action>
|
||||
|
||||
<set var="RCDEFS_H">
|
||||
<if cond="TOOLKIT=='MSW'">msw/rcdefs.h</if>
|
||||
</set>
|
||||
<headers>
|
||||
<srcdir>
|
||||
$(BUILDDIR)/lib/wx/include/$(TOOLCHAIN_FULLNAME)/wx
|
||||
</srcdir>
|
||||
<files>
|
||||
setup.h $(RCDEFS_H)
|
||||
</files>
|
||||
<install-to>
|
||||
$(LIBDIR)/wx/include/$(TOOLCHAIN_FULLNAME)/wx
|
||||
</install-to>
|
||||
</headers>
|
||||
|
||||
<headers>
|
||||
<srcdir>$(SRCDIR)/include</srcdir>
|
||||
<files>$(ALL_HEADERS)</files>
|
||||
<install-to>
|
||||
$(INCLUDEDIR)/wx-$(WX_RELEASE)$(WX_FLAVOUR)
|
||||
</install-to>
|
||||
</headers>
|
||||
|
||||
<!-- Locales: -->
|
||||
<using module="gettext"/>
|
||||
<gettext-catalogs id="locale">
|
||||
<srcdir>$(SRCDIR)/locale</srcdir>
|
||||
<catalog-name>wxstd</catalog-name>
|
||||
<linguas>
|
||||
ca cs da de el es fi fr hu id it ja nl pl ru sl sv tr uk
|
||||
zh zh_CN zh_TW
|
||||
</linguas>
|
||||
<install-to>$(LOCALEDIR)</install-to>
|
||||
</gettext-catalogs>
|
||||
<gettext-catalogs id="locale_msw">
|
||||
<srcdir>$(SRCDIR)/locale/msw</srcdir>
|
||||
<catalog-name>wxmsw</catalog-name>
|
||||
<linguas>it</linguas>
|
||||
<install-to>$(LOCALEDIR)</install-to>
|
||||
</gettext-catalogs>
|
||||
|
||||
|
||||
<!-- Mac OS X resources: -->
|
||||
<set var="MACOS_R">lib/libwx_$(TOOLCHAIN_NAME).$(WXSOVERSION[0]).r</set>
|
||||
<set var="MACOS_RSRC">lib/libwx_$(TOOLCHAIN_NAME).$(WXSOVERSION[0]).rsrc</set>
|
||||
<action id="cocoa-res" cond="TOOLKIT=='COCOA'">
|
||||
<dependency-of>all</dependency-of>
|
||||
<set var="__targetname">$(MACOS_R)</set>
|
||||
<command>
|
||||
$(REZ) -d __UNIX__ -useDF $(top_srcdir)/src/cocoa/dummy.r -o $(MACOS_RSRC)
|
||||
$(DEREZ) $(MACOS_RSRC) -useDF >$(MACOS_R)
|
||||
</command>
|
||||
<clean-files>$(MACOS_RSRC) $(MACOS_R)</clean-files>
|
||||
</action>
|
||||
<action id="cocoa-res-install" cond="TOOLKIT=='COCOA'">
|
||||
<dependency-of>install</dependency-of>
|
||||
<depends>cocoa-res</depends>
|
||||
<command>
|
||||
$(INSTALL_DATA) $(MACOS_R) $(LIBDIR)
|
||||
$(INSTALL_DATA) $(MACOS_RSRC) $(LIBDIR)
|
||||
</command>
|
||||
</action>
|
||||
|
||||
</if>
|
||||
|
||||
|
||||
<!-- copy setup.h on DOS/OS2/Windows: -->
|
||||
<if cond="FORMAT!='autoconf' and TOOLKIT in ['PM','MSW','MGL','MOTIF']">
|
||||
<mkdir id="libdir">
|
||||
<dir>$(LIBDIRNAME)</dir>
|
||||
</mkdir>
|
||||
<mkdir id="libdir_setup">
|
||||
<depends>libdir</depends>
|
||||
<dir>$(SETUPHDIR)</dir>
|
||||
</mkdir>
|
||||
<mkdir id="libdir_setup_wx">
|
||||
<depends>libdir_setup</depends>
|
||||
<dependency-of>setup_h</dependency-of>
|
||||
<dir>$(SETUPHDIR)/wx</dir>
|
||||
</mkdir>
|
||||
|
||||
<set var="SETUP_H_SUBDIR">
|
||||
<if cond="WXUNIV=='1'">univ</if>
|
||||
<if cond="WXUNIV=='0' and TOOLKIT!='PM'">$(TOOLKIT_LOWERCASE)</if>
|
||||
<if cond="WXUNIV=='0' and TOOLKIT=='PM'">os2</if>
|
||||
</set>
|
||||
|
||||
<copy-file-to-file-if-not-exist id="master_setup.h">
|
||||
<src>$(SRCDIR)/include/wx/$(SETUP_H_SUBDIR)/setup0.h</src>
|
||||
<dst>$(SRCDIR)/include/wx/$(SETUP_H_SUBDIR)/setup.h</dst>
|
||||
<dependency-of>setup_h</dependency-of>
|
||||
</copy-file-to-file-if-not-exist>
|
||||
<copy-file-to-file-if-not-exist id="setup.h">
|
||||
<dependency-of>setup_h</dependency-of>
|
||||
<src>$(SRCDIR)/include/wx/$(SETUP_H_SUBDIR)/setup.h</src>
|
||||
<dst>$(SETUPHDIR)/wx/setup.h</dst>
|
||||
</copy-file-to-file-if-not-exist>
|
||||
|
||||
</if>
|
||||
|
||||
|
||||
<!-- create rcdefs.h on Windows: -->
|
||||
<if cond="FORMAT in ['borland','mingw','msvc','watcom'] and TOOLKIT == 'MSW'">
|
||||
|
||||
<mkdir id="libdir_setup_wx_msw">
|
||||
<depends>libdir_setup_wx</depends>
|
||||
<dir>$(SETUPHDIR)/wx/msw</dir>
|
||||
</mkdir>
|
||||
|
||||
<action id="rcdefs.h">
|
||||
|
||||
<!-- Can't seem to set id to a name with a dollar sign
|
||||
so use __targetname as a temporary work around -->
|
||||
<set var="__targetname">$(SETUPHDIR)\wx\msw\rcdefs.h</set>
|
||||
|
||||
<dependency-of>setup_h</dependency-of>
|
||||
<depends>libdir_setup_wx_msw</depends>
|
||||
<depends-on-file>$(SRCDIR)/include/wx/msw/genrcdefs.h</depends-on-file>
|
||||
|
||||
<command>
|
||||
$(DOLLAR)(CPP) "$(SRCDIR)\include\wx\msw\genrcdefs.h" > "$(SETUPHDIR)\wx\msw\rcdefs.h"
|
||||
</command>
|
||||
|
||||
</action>
|
||||
|
||||
</if>
|
||||
|
||||
|
||||
<if cond="FORMAT=='autoconf'">
|
||||
|
||||
<!-- Show this banner after installation: -->
|
||||
<modify-target target="install">
|
||||
<command>
|
||||
@echo " "
|
||||
@echo " ------------------------------------------------------"
|
||||
@echo " "
|
||||
@echo " The installation of wxWidgets is finished. On certain"
|
||||
@echo " platforms (e.g. Linux) you'll now have to run ldconfig"
|
||||
@echo " if you installed a shared library and also modify the"
|
||||
@echo " LD_LIBRARY_PATH (or equivalent) environment variable."
|
||||
@echo " "
|
||||
@echo " wxWidgets comes with no guarantees and doesn't claim"
|
||||
@echo " to be suitable for any purpose."
|
||||
@echo " "
|
||||
@echo " Read the wxWidgets Licence on licencing conditions."
|
||||
@echo " "
|
||||
@echo " ------------------------------------------------------"
|
||||
@echo " "
|
||||
</command>
|
||||
</modify-target>
|
||||
|
||||
<!-- add "make dist" target to autoconf: -->
|
||||
<set var="VARS_DONT_ELIMINATE" append="1">
|
||||
ALL_PORTS_BASE_HEADERS ALL_BASE_SOURCES WX_VERSION
|
||||
</set>
|
||||
<fragment format="autoconf" file="make_dist.mk"/>
|
||||
|
||||
</if>
|
||||
|
||||
<include file="build_cfg.bkl"/>
|
||||
|
||||
</makefile>
|
@@ -1,269 +0,0 @@
|
||||
-----------------------------------------------------------------------
|
||||
Creating a Cross-Platform Build System Using Bakefile
|
||||
The 10-minute, do-it-yourself wx project baking guide (with free sample recipes!)
|
||||
|
||||
Status: DRAFT
|
||||
Author: Kevin Ollivier
|
||||
Date: 2/13/04
|
||||
License: wxWidgets License
|
||||
-----------------------------------------------------------------------
|
||||
|
||||
Supporting many different platforms can be a difficult challenge. The
|
||||
challenge for wxWidgets is especially great, because it supports a variety of
|
||||
different compilers and development environments, including MSVC, Borland C++,
|
||||
MinGW, DevCPP, GNU make/automake, among others. Maintaining such a large
|
||||
number of different project files and formats can quickly become overwhelming.
|
||||
To simplify the maintenance of these formats, one of the wxWidgets developers,
|
||||
Vaclav Slavik, created Bakefile, a XML-based makefile wrapper that generates
|
||||
all the native project files for wxWidgets. So now, even though wxWidgets
|
||||
supports all these formats, wxWidgets developers need only update one file -
|
||||
the Bakefile, and it handles the rest. But Bakefile isn't specific to
|
||||
wxWidgets in any way - you can use Bakefile for your own projects, too. This
|
||||
brief tutorial will take a look at how to do that.
|
||||
|
||||
Note that this tutorial assumes that you are familiar with how to build
|
||||
software using one of the supported Bakefile makefile systems, that you have
|
||||
some basic familiarity with how makefiles work, and that you are capable of
|
||||
setting environment variables on your platform. Also note that the terms Unix
|
||||
and Unix-based refers to all operating systems that share a Unix heritage,
|
||||
including FreeBSD, Linux, Mac OS X, and various other operating systems.
|
||||
|
||||
-- Getting Started --
|
||||
|
||||
First, you'll need to install Bakefile. You can always find the latest version
|
||||
for download online at http://bakefile.sf.net. A binary installer is provided
|
||||
for Windows users, while users of Unix-based operating systems (OS) will need
|
||||
to unpack the tarball and run configure && make && make install. (Packages for
|
||||
some distros are also available, check http://bakefile.sf.net for details.)
|
||||
|
||||
-- Setting Up Your wx Build Environment --
|
||||
|
||||
Before you can build wxWidgets software using Bakefile or any other build
|
||||
system, you need to make sure that wxWidgets is built and that wxWidgets
|
||||
projects can find the wxWidgets includes and library files. wxWidgets build
|
||||
instructions can be found by going to the docs subfolder, then looking for the
|
||||
subfolder that corresponds to your platform (i.e. msw, gtk, mac) and reading
|
||||
"install.txt" there. Once you've done that, here are some extra steps you
|
||||
should take to make sure your Bakefile projects work with wxWidgets:
|
||||
|
||||
On Windows
|
||||
----------
|
||||
Once you've built wxWidgets, you should create an environment variable named
|
||||
WXWIN and set it to the home folder of your wxWidgets source tree. (If you use
|
||||
the command line to build, you can also set or override WXWIN at build time by
|
||||
passing it in as an option to your makefile.)
|
||||
|
||||
On Unix
|
||||
-------
|
||||
In a standard install, you need not do anything so long as wx-config is on
|
||||
your PATH. wx-config is all you need. (See the section of the book on using
|
||||
wx-config for more information.)
|
||||
|
||||
-- A Sample wx Project Bakefile --
|
||||
|
||||
Now that everything is setup, it's time to take Bakefile for a test run. I
|
||||
recommend that you use the wx sample Bakefile to get you started. It can be
|
||||
found in the 'build/bakefiles/wxpresets/sample' directory in the wxWidgets
|
||||
source tree. Here is the minimal.bkl Bakefile used in the sample:
|
||||
|
||||
minimal.bkl
|
||||
-------------------------------------------------------------
|
||||
<?xml version="1.0" ?>
|
||||
<!-- $Id$ -->
|
||||
|
||||
<makefile>
|
||||
|
||||
<include file="presets/wx.bkl"/>
|
||||
|
||||
<exe id="minimal" template="wx">
|
||||
<app-type>gui</app-type>
|
||||
<debug-info>on</debug-info>
|
||||
<runtime-libs>dynamic</runtime-libs>
|
||||
|
||||
<sources>minimal.cpp</sources>
|
||||
|
||||
<wx-lib>core</wx-lib>
|
||||
<wx-lib>base</wx-lib>
|
||||
</exe>
|
||||
|
||||
</makefile>
|
||||
---------------------------------------------------------------
|
||||
|
||||
It's a complete sample ready to be baked, so go into the directory mentioned
|
||||
above and run the following command:
|
||||
|
||||
On Windows:
|
||||
bakefile -f msvc -I.. minimal.bkl
|
||||
|
||||
On Unix:
|
||||
bakefile -f gnu -I.. minimal.bkl
|
||||
|
||||
It should generate a makefile (makefile.vc or GNUmakefile, respectively) which
|
||||
you can use to build the software. Just build the software using the command
|
||||
"nmake -f makefile.vc" or "make -f GNUmakefile" respectively. Now let's take a
|
||||
look at some of the basic Bakefile concepts that you'll need to know to move
|
||||
on from here.
|
||||
|
||||
-- Project Types --
|
||||
|
||||
As mentioned earlier, Bakefile builds makefiles for many different
|
||||
development environments. The -f option accepts a list of formats that you
|
||||
would like to build, separated by commas. Valid values are:
|
||||
|
||||
autoconf GNU autoconf Makefile.in files
|
||||
borland Borland C/C++ makefiles
|
||||
cbuilderx C++ Builder X project files
|
||||
dmars Digital Mars makefiles
|
||||
dmars_smake Digital Mars makefiles for SMAKE
|
||||
gnu GNU toolchain makefiles (Unix)
|
||||
mingw MinGW makefiles (mingw32-make)
|
||||
msevc4prj MS eMbedded Visual C++ 4 project files
|
||||
msvc MS Visual C++ nmake makefiles
|
||||
msvc6prj MS Visual C++ 6.0 project files
|
||||
watcom OpenWatcom makefiles
|
||||
|
||||
TIP: autoconf Project Type
|
||||
---------------------------
|
||||
You may notice that in the sample folder, there is also a file called
|
||||
configure.in. That file is the input for autoconf, which creates the configure
|
||||
scripts that you often see when you build software from source on Unix-based
|
||||
platforms. People use configure scripts because they make your Unix makefiles
|
||||
more portable by automatically detecting the right libraries and commands to
|
||||
use on the user's machine and OS. This is necessary because there are many
|
||||
Unix-based operating systems and they all are slightly different in various
|
||||
small ways.
|
||||
|
||||
Bakefile does not generate a configure or configure.in script, so if you want
|
||||
to use configure scripts with your Unix-based software, you will need to learn
|
||||
how to use autoconf. Unfortunately, this topic deserves a book all its own and
|
||||
is beyond the scope of this tutorial, but a book on the subject can be found
|
||||
online at: http://sources.redhat.com/autobook/. Note that you do not need to
|
||||
use automake when you are using Bakefile, just autoconf, as Bakefile
|
||||
essentially does the same thing as automake.
|
||||
----------------------------
|
||||
|
||||
-- Targets --
|
||||
|
||||
Every project needs to have a target or targets, specifying what is to be
|
||||
built. In Bakefile, you specify the target by creating a tag named with the
|
||||
target type. The possible names for targets are:
|
||||
|
||||
exe create an executable file
|
||||
dll create a shared library
|
||||
lib create a static library
|
||||
module create a library that is loaded at runtime (i.e. a plugin)
|
||||
|
||||
Note the sample above is an "exe" target. Once you create the target, all the
|
||||
build settings, including flags and linker options, should be placed inside
|
||||
the target tag, as they are in the sample above.
|
||||
|
||||
-- Adding Sources and Includes --
|
||||
|
||||
Obviously, you need to be able to add source and include files to your
|
||||
project. You add sources using the "<sources>" tag (as shown above), and add
|
||||
include directories using the "<include>" tag. You can add multiple <sources>
|
||||
and <include> tags to add multiple source files, or you can also add multiple
|
||||
sources and includes into one tag by separating them with a space, like so:
|
||||
|
||||
<sources>minimal.cpp minimal2.cpp minimal3.cpp</sources>
|
||||
|
||||
If your sources are in a subfolder of your Bakefile, you use the slash "/"
|
||||
character to denote directories, even on Windows. (i.e. src/minimal.cpp) For
|
||||
more options and flags, please consult the Bakefile documentation in the 'doc'
|
||||
subfolder of Bakefile, or you can also find it on the Bakefile web site.
|
||||
|
||||
-- Build Options --
|
||||
|
||||
What if you want to offer a DEBUG and a RELEASE build? Or a UNICODE/ANSI
|
||||
build? You can do this in Bakefile by creating options. To create an option,
|
||||
use the "<option>" tag. A typical option has three important parts: a name, a
|
||||
default value, and a comma-separated list of values. For example, here is how
|
||||
to create a DEBUG option which builds debug by default:
|
||||
|
||||
<option name="DEBUG">
|
||||
<default-value>1</default-value>
|
||||
<values>0 1</values>
|
||||
</option>
|
||||
|
||||
You can then test the value of this option and conditionally set build
|
||||
settings, flags, etc. For more information on both options and conditional
|
||||
statements, please refer to the Bakefile documentation.
|
||||
|
||||
-- Bakefile Presets/Templates and Includes --
|
||||
|
||||
It is common that most projects will reuse certain settings, or options, in
|
||||
their makefiles. (i.e. DEBUG or static/dynamic library options) Also, it is
|
||||
common to have to use settings from another project; for example, any project
|
||||
that uses wxWidgets will need to build using the same flags and options that
|
||||
wxWidgets was built with. Bakefile makes these things easier by allowing users
|
||||
to create Bakefile templates, where you can store common settings.
|
||||
|
||||
Bakefile ships with a couple of templates, found in the 'presets' subfolder of
|
||||
your Bakefile installation. The "simple.bkl" template adds a DEBUG option to
|
||||
makefiles so you can build in release or debug mode. To add this template to
|
||||
your project, simply add the tag "<include file="presets/simple.bkl"/>" to the
|
||||
top of your Bakefile. Then, when creating your target, add the
|
||||
"template="simple"" attribute to it. Now, once you build the makefile, your
|
||||
users can write commands like:
|
||||
|
||||
nmake -f makefile.vc DEBUG=1
|
||||
|
||||
or
|
||||
|
||||
make -f GNUmakefile DEBUG=1
|
||||
|
||||
In order to build the software in debug mode.
|
||||
|
||||
To simplify the building of wxWidgets-based projects, wxWidgets contains a a
|
||||
set of Bakefiles that automatically configure your build system to be
|
||||
compatible with wxWidgets. As you'll notice in the sample above, the sample
|
||||
project uses the wx template. Once you've included the template, your software
|
||||
will now build with wxWidgets support.
|
||||
|
||||
But since the wx presets don't exist in the Bakefile presets subfolder,
|
||||
Bakefile needs to know where to find these presets. The "-I" command adds the
|
||||
wxpresets folder to Bakefile's search path.
|
||||
|
||||
If you regularly include Bakefile presets in places other than the Bakefile
|
||||
presets folder, then you can set the BAKEFILE_PATHS environment variable so
|
||||
that Bakefile can find these Bakefiles and include them in your project. This
|
||||
way you no longer need to specify the -I flag each time you build.
|
||||
|
||||
Lastly, it's important to note that the Win 32 wx project Bakefiles come with
|
||||
some common build options that users can use when building the software. These
|
||||
options are:
|
||||
|
||||
Option Values Description
|
||||
------ ------ -------------
|
||||
WX_MONOLITHIC 0(default),1 Set this to 1 if you built wx
|
||||
as a monolithic library
|
||||
WX_SHARED 0(default),1 Specify static or dynamic wx libs
|
||||
WX_UNICODE 0(defualt),1 Use ANSI or UNICODE wx libs
|
||||
WX_DEBUG 0,1(default) Use release or debug wx libs
|
||||
*WX_VERSION 25,26(default) Specify version of wx libs
|
||||
|
||||
*Note: Any version of wx past 2.5 will be allowed here, so 25/26 is not a
|
||||
complete list of values.
|
||||
|
||||
These options are not needed under Unix as wx-config can be used to specify
|
||||
these options.
|
||||
|
||||
-- bakefile_gen - Automated Bakefile Scripts --
|
||||
|
||||
If you have a large project, you can imagine that the calls to Bakefile would
|
||||
get more and more complex and unwieldly to manage. For this reason, a script
|
||||
called bakefile_gen was created, which reads in a .bkgen file that provides
|
||||
all the commands needed to build all the makefiles your project supports. A
|
||||
discussion of how to use bakefile_gen is beyond the scope of this tutorial,
|
||||
but it deserves mention because it can be invaluable to large projects.
|
||||
Documentation on bakefile_gen can be found in the Bakefile documentation.
|
||||
|
||||
-- Conclusion --
|
||||
|
||||
This concludes our basic tutorial of the cross-platform Bakefile build system
|
||||
management tool. From here, please be sure to take a good look at the Bakefile
|
||||
documentation to see what else it is capable of. Please post questions to the
|
||||
bakefile-devel@lists.sourceforge.net list, or if you have questions specific
|
||||
to the wx template Bakefile, send an email to wx-users@lists.wxwidgets.org.
|
||||
|
||||
Enjoy using Bakefile!
|
@@ -1,67 +0,0 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!-- $Id$ -->
|
||||
|
||||
<!--
|
||||
Presets for building wxWidgets applications.
|
||||
|
||||
FIXME: docs
|
||||
-->
|
||||
|
||||
|
||||
<makefile>
|
||||
|
||||
<!-- this variable identifies the version of the wx presets.
|
||||
this is changed only when major changes to wxpresets take place. -->
|
||||
<set var="WX_PRESETS_VERSION">3</set>
|
||||
|
||||
<!-- list of known libraries used by wx-lib tag defined in wx_unix.bkl and wx_win32.bkl -->
|
||||
<set var="LIB_LIST">
|
||||
base core net xml odbc xrc html adv media gl dbgrid qa aui richtext
|
||||
</set>
|
||||
|
||||
<!-- NOTE: refer to the NET contrib using NETUTILS instead of NET
|
||||
(which is already in LIB_LIST) -->
|
||||
<set var="CONTRIBLIB_LIST">animate applet deprecated fl foldbar gizmos mmedia netutils ogl plot stc svg</set>
|
||||
<set var="ALLLIB_LIST">$(LIB_LIST) $(CONTRIBLIB_LIST)</set>
|
||||
|
||||
<!-- this is a temporary variable until there is non general -->
|
||||
<!-- function in bakefiles for returning native markup for -->
|
||||
<!-- reading envrionment variables -->
|
||||
<set var="ENV_VAR">
|
||||
<if cond="FORMAT=='watcom'">%</if>
|
||||
<if cond="FORMAT!='watcom'"></if>
|
||||
</set>
|
||||
|
||||
|
||||
<!-- The directory where wxWidgets is installed: -->
|
||||
<if cond="not isdefined('WX_DIR')">
|
||||
<set var="WX_DIR_DEFAULT" overwrite="0">$(DOLLAR)($(ENV_VAR)WXWIN)</set>
|
||||
<option name="WX_DIR" category="path">
|
||||
<default-value>$(WX_DIR_DEFAULT)</default-value>
|
||||
<description>
|
||||
The directory where wxWidgets library is installed
|
||||
</description>
|
||||
</option>
|
||||
</if>
|
||||
|
||||
|
||||
|
||||
<!-- this is just a wrapper that includes the real implementation: -->
|
||||
|
||||
<set var="__wx_included_impl">0</set>
|
||||
|
||||
<if cond="FORMAT in ['autoconf','gnu']">
|
||||
<include file="wx_unix.bkl"/>
|
||||
<set var="__wx_included_impl">1</set>
|
||||
</if>
|
||||
|
||||
<if cond="FORMAT!='autoconf' and PLATFORM_WIN32=='1'">
|
||||
<include file="wx_win32.bkl"/>
|
||||
<set var="__wx_included_impl">1</set>
|
||||
</if>
|
||||
|
||||
<if cond="__wx_included_impl=='0'">
|
||||
<error>This format is not (yet) supported by wx preset.</error>
|
||||
</if>
|
||||
|
||||
</makefile>
|
@@ -1,136 +0,0 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!-- $Id$ -->
|
||||
|
||||
<!--
|
||||
Presents for building wxWidgets applications using Autoconf or GNU toosets.
|
||||
See wx.bkl for platform-independent notes.
|
||||
|
||||
Usage:
|
||||
Options WX_CPPFLAGS, WX_CFLAGS, WX_CXXFLAGS, WX_LIBS are defined.
|
||||
|
||||
|
||||
Format-specific notes:
|
||||
|
||||
* autoconf:
|
||||
Beware that you have to use AM_OPTIONS_WXCONFIG and
|
||||
AM_PATH_WXCONFIG in your configure.in!
|
||||
|
||||
-->
|
||||
|
||||
|
||||
<makefile>
|
||||
|
||||
<!-- ============================================================== -->
|
||||
<!-- Autoconf -->
|
||||
<!-- ============================================================== -->
|
||||
|
||||
<if cond="FORMAT=='autoconf'">
|
||||
<!-- Autoconf backend is simplicity itself thanks to wx-config... -->
|
||||
<option name="WX_CFLAGS"/>
|
||||
<option name="WX_CXXFLAGS"/>
|
||||
<option name="WX_CPPFLAGS"/>
|
||||
<option name="WX_LIBS"/>
|
||||
<option name="WX_RESCOMP"/>
|
||||
</if>
|
||||
|
||||
<!-- ============================================================== -->
|
||||
<!-- GNU makefiles for Unix -->
|
||||
<!-- ============================================================== -->
|
||||
|
||||
<if cond="FORMAT=='gnu'">
|
||||
<set var="WX_CONFIG_DEFAULT" overwrite="0">wx-config</set>
|
||||
<option name="WX_CONFIG">
|
||||
<default-value>$(WX_CONFIG_DEFAULT)</default-value>
|
||||
<description>Location and arguments of wx-config script</description>
|
||||
</option>
|
||||
<option name="WX_CFLAGS">
|
||||
<default-value>`$(DOLLAR)(WX_CONFIG) --cflags`</default-value>
|
||||
<description>C flags to use with wxWidgets code</description>
|
||||
</option>
|
||||
<option name="WX_CXXFLAGS">
|
||||
<default-value>`$(DOLLAR)(WX_CONFIG) --cxxflags`</default-value>
|
||||
<description>C++ flags to use with wxWidgets code</description>
|
||||
</option>
|
||||
<option name="WX_CPPFLAGS">
|
||||
<default-value>`$(DOLLAR)(WX_CONFIG) --cppflags`</default-value>
|
||||
<description>C preprocessor flags to use with wxWidgets code</description>
|
||||
</option>
|
||||
<option name="WX_RESCOMP">
|
||||
<default-value>`$(DOLLAR)(WX_CONFIG) --rescomp`</default-value>
|
||||
<description>wxWidgets resource compiler and flags</description>
|
||||
</option>
|
||||
|
||||
<!-- we need this but the trick used in default-values above
|
||||
prevents bakefile from detecting it: -->
|
||||
<set var="FORMAT_OUTPUT_VARIABLES" append="1">WX_CONFIG</set>
|
||||
</if>
|
||||
|
||||
<!-- ============================================================== -->
|
||||
<!-- Common code -->
|
||||
<!-- ============================================================== -->
|
||||
|
||||
<if cond="FORMAT not in ['gnu','autoconf']">
|
||||
<error>
|
||||
Don't include presets/wx_unix.bkl directly, use presets/wx.bkl.
|
||||
</error>
|
||||
</if>
|
||||
|
||||
<!--
|
||||
We need to re-define the WINDRES resource compiler name to the resource compiler
|
||||
returned by 'wx-config - -rescomp' since this option returns both the name of the
|
||||
resource compiler to use (windres) and the flags required for that compiler.
|
||||
|
||||
This line typically does something *only* when the Makefile.in generated
|
||||
using this bakefile, is used on Windows with MSYS (when using Cygwin, resources
|
||||
are not compiled at all).
|
||||
Without this line, in fact, when compiling with MSYS on Windows, the - -include-dir
|
||||
option which tells windres to look in wxWidgets\include folder would be missing and
|
||||
then windres would fail to find the wxMSW resources.
|
||||
|
||||
NOTE: overwriting the WINDRES variable we add wxWidgets resource flags to
|
||||
all targets which include this bakefile; this could be useless to those
|
||||
targets which are not wx-based eventually present in that bakefile but
|
||||
in any case it shouldn't do any harm.
|
||||
-->
|
||||
<set var="WINDRES">$(WX_RESCOMP)</set>
|
||||
|
||||
<template id="wx-lib">
|
||||
<cxxflags>$(WX_CXXFLAGS)</cxxflags>
|
||||
<cflags>$(WX_CFLAGS)</cflags>
|
||||
</template>
|
||||
|
||||
<template id="wx" template="wx-lib">
|
||||
<!--
|
||||
Don't include the $(WX_LIBS) variable in linker options here since
|
||||
it would make impossible for the user to obtain the right library
|
||||
order when he needs to specify, *before* WX_LIBS, its own libraries
|
||||
that depend on wxWidgets libraries; to avoid this, we include
|
||||
$(WX_LIBS) as soon as we found the <wx-lib>base</wx-lib> tag which
|
||||
the user should always put *after* all other wx-dependent libraries
|
||||
-->
|
||||
</template>
|
||||
|
||||
<!-- VERY IMPORTANT: <wx-lib>base</wx-lib> must be the last wx-lib tag
|
||||
in all your bakefiles !!
|
||||
-->
|
||||
<define-tag name="wx-lib" rules="exe,dll,module">
|
||||
<if cond="FORMAT=='autoconf' and value=='base'">
|
||||
<!-- all wx-dependent libraries should have been already listed
|
||||
thus we can now add WX_LIBS to the linker line -->
|
||||
<ldlibs>$(WX_LIBS)</ldlibs>
|
||||
</if>
|
||||
<if cond="FORMAT=='gnu' and value=='base'">
|
||||
<!-- all wx libraries should have been already specified, thus
|
||||
$(__liblist) should contain the full list... -->
|
||||
<set var="__liblist" append="1">base</set>
|
||||
<ldlibs>`$(WX_CONFIG) --libs $(','.join(__liblist.split()))`</ldlibs>
|
||||
</if>
|
||||
<if cond="FORMAT=='gnu' and value!='base'">
|
||||
<set var="__liblist" append="1">$(value)</set>
|
||||
</if>
|
||||
<if cond="value not in ALLLIB_LIST.split()">
|
||||
<error>Unknown wxWidgets library given in the wx-lib tag</error>
|
||||
</if>
|
||||
</define-tag>
|
||||
|
||||
</makefile>
|
@@ -1,400 +0,0 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!-- $Id$ -->
|
||||
|
||||
<!-- Original source: http://wiki.wxwidgets.org/wiki.pl?Bakefile -->
|
||||
<!-- Modified by: Francesco Montorsi <frm@users.sourceforge.net> -->
|
||||
<!-- Vaclav Slavik <vslavik@fastmail.fm> to better fit
|
||||
into Bakefile's presets -->
|
||||
<!-- Creation date: 6/9/2004 -->
|
||||
<!-- Last revision: 22/1/2005 off-CVS -->
|
||||
<!-- $Id$ -->
|
||||
|
||||
|
||||
<!--
|
||||
|
||||
FIXME: this template has (at least) the following bugs:
|
||||
|
||||
* it's MSW-only, the port is assumed to be wxMSW unconditionally
|
||||
|
||||
* multiple wx configurations (CFG variable set when building the
|
||||
library) are not supported
|
||||
|
||||
-->
|
||||
|
||||
<!-- makefile tag signifies the beginning of the bakefile -->
|
||||
<makefile>
|
||||
|
||||
<requires version="0.1.5"/>
|
||||
|
||||
<!-- OPTIONS -->
|
||||
<!-- -->
|
||||
<!-- These are essentially the configurations you -->
|
||||
<!-- want in bakefile. -->
|
||||
<!-- -->
|
||||
<!-- In MSVC these are the different build -->
|
||||
<!-- configurations you can have (in the build menu), -->
|
||||
<!-- and in autoconf is enabled with enable-xxx=xx. -->
|
||||
<!-- For other compilers a separate configuration -->
|
||||
<!-- file is created (such as config.gcc on gcc) -->
|
||||
<!-- which has several options a user can modify. -->
|
||||
<!-- -->
|
||||
<!-- Note that the above only happens if an option -->
|
||||
<!-- is not constant, i.e. if it cannot be determined -->
|
||||
<!-- by bakefile itself. -->
|
||||
|
||||
<!-- Presets for limited dmars make.exe format: -->
|
||||
<if cond="FORMAT=='dmars'">
|
||||
<set var="WX_UNICODE">0</set>
|
||||
<set var="WX_DEBUG">1</set>
|
||||
<set var="WX_SHARED">0</set>
|
||||
</if>
|
||||
|
||||
|
||||
<!-- This is a standard option that determines -->
|
||||
<!-- whether the user wants to build this library as -->
|
||||
<!-- a dll or as a static library. -->
|
||||
<if cond="not isdefined('WX_SHARED')">
|
||||
<set var="WX_SHARED_DEFAULT" overwrite="0">0</set>
|
||||
<option name="WX_SHARED">
|
||||
<values>0,1</values>
|
||||
<values-description>,DLL</values-description>
|
||||
<default-value>$(WX_SHARED_DEFAULT)</default-value>
|
||||
<description>
|
||||
Use DLL build of wx library to use?
|
||||
</description>
|
||||
</option>
|
||||
</if>
|
||||
|
||||
<!-- Configuration for building the bakefile with -->
|
||||
<!-- unicode strings or not (unicode or ansi). -->
|
||||
<if cond="not isdefined('WX_UNICODE')">
|
||||
<set var="WX_UNICODE_DEFAULT" overwrite="0">0</set>
|
||||
<option name="WX_UNICODE">
|
||||
<values>0,1</values>
|
||||
<values-description>,Unicode</values-description>
|
||||
<default-value>$(WX_UNICODE_DEFAULT)</default-value>
|
||||
<description>
|
||||
Compile Unicode build of wxWidgets?
|
||||
</description>
|
||||
</option>
|
||||
</if>
|
||||
|
||||
<if cond="not isdefined('WX_DEBUG')">
|
||||
<set var="WX_DEBUG_DEFAULT" overwrite="0">1</set>
|
||||
<option name="WX_DEBUG">
|
||||
<values>0,1</values>
|
||||
<values-description>Release,Debug</values-description>
|
||||
<default-value>$(WX_DEBUG_DEFAULT)</default-value>
|
||||
<description>
|
||||
Use debug build of wxWidgets (define __WXDEBUG__)?
|
||||
</description>
|
||||
</option>
|
||||
</if>
|
||||
|
||||
<if cond="not isdefined('WX_VERSION')">
|
||||
<set var="WX_VERSION_DEFAULT" overwrite="0">28</set>
|
||||
<option name="WX_VERSION">
|
||||
<default-value>$(WX_VERSION_DEFAULT)</default-value>
|
||||
<description>
|
||||
Version of the wx library to build against.
|
||||
</description>
|
||||
</option>
|
||||
</if>
|
||||
|
||||
<if cond="not isdefined('WX_MONOLITHIC')">
|
||||
<set var="WX_MONOLITHIC_DEFAULT" overwrite="0">0</set>
|
||||
<option name="WX_MONOLITHIC">
|
||||
<values>0,1</values>
|
||||
<values-description>Multilib,Monolithic</values-description>
|
||||
<default-value>$(WX_MONOLITHIC_DEFAULT)</default-value>
|
||||
<description>
|
||||
Use monolithic build of wxWidgets?
|
||||
</description>
|
||||
</option>
|
||||
</if>
|
||||
|
||||
|
||||
<!-- HELPER VARIABLES -->
|
||||
<!-- -->
|
||||
|
||||
|
||||
<!-- The unicode define we want. By default bakefile -->
|
||||
<!-- makes variables an empty string, so if unicode -->
|
||||
<!-- is not defined $(UNICODE_DEFINE) would expand -->
|
||||
<!-- to nothing (literally). -->
|
||||
<set var="WXUNICODE_DEFINE">
|
||||
<if cond="WX_UNICODE=='1'">_UNICODE</if>
|
||||
</set>
|
||||
|
||||
<!-- The debug define we need with win32 compilers -->
|
||||
<!-- (on Linux, the wx-config program is used). -->
|
||||
<set var="WXDEBUG_DEFINE">
|
||||
<if cond="WX_DEBUG=='1'">__WXDEBUG__</if>
|
||||
</set>
|
||||
|
||||
<!-- These are handy ways of dealing with the -->
|
||||
<!-- extensions in the library names of the -->
|
||||
<!-- wxWindows library. -->
|
||||
<set var="WXLIBPOSTFIX">
|
||||
<if cond="WX_DEBUG=='1' and WX_UNICODE=='1'">ud</if>
|
||||
<if cond="WX_DEBUG=='1' and WX_UNICODE=='0'">d</if>
|
||||
<if cond="WX_DEBUG=='0' and WX_UNICODE=='1'">u</if>
|
||||
</set>
|
||||
<set var="WX3RDPARTYLIBPOSTFIX">
|
||||
<if cond="WX_DEBUG=='1'">d</if>
|
||||
</set>
|
||||
|
||||
<set var="WXCPU">
|
||||
<if cond="FORMAT=='msevc4prj'">_$(CPU)</if>
|
||||
</set>
|
||||
|
||||
<set var="WXLIBPATH">
|
||||
<if cond="WX_SHARED=='0'">$(DIRSEP)lib$(DIRSEP)$(COMPILER)$(WXCPU)_lib</if>
|
||||
<if cond="WX_SHARED=='1'">$(DIRSEP)lib$(DIRSEP)$(COMPILER)$(WXCPU)_dll</if>
|
||||
</set>
|
||||
|
||||
<set var="WXPORT">
|
||||
<if cond="FORMAT=='msevc4prj'">wince</if>
|
||||
<if cond="FORMAT!='msevc4prj'">msw</if>
|
||||
</set>
|
||||
<set var="WXLIBINCLUDE">$(WXLIBPATH)$(DIRSEP)$(WXPORT)$(WXLIBPOSTFIX)</set>
|
||||
|
||||
|
||||
<!-- All the possible mixes for the wx library names -->
|
||||
<set var="WXLIB_BASE_NAME">
|
||||
<if cond="WX_MONOLITHIC=='0' and WX_UNICODE=='0' and WX_DEBUG=='0'">wxbase$(WX_VERSION)</if>
|
||||
<if cond="WX_MONOLITHIC=='0' and WX_UNICODE=='0' and WX_DEBUG=='1'">wxbase$(WX_VERSION)d</if>
|
||||
<if cond="WX_MONOLITHIC=='0' and WX_UNICODE=='1' and WX_DEBUG=='0'">wxbase$(WX_VERSION)u</if>
|
||||
<if cond="WX_MONOLITHIC=='0' and WX_UNICODE=='1' and WX_DEBUG=='1'">wxbase$(WX_VERSION)ud</if>
|
||||
|
||||
<!--
|
||||
the trick used to support monolithic builds is here: when the
|
||||
<wx-lib>base</wx-lib> tag is found, and user selected
|
||||
WX_MONOLITHIC=1, then the base library is translated to the
|
||||
monolithic library
|
||||
-->
|
||||
<if cond="WX_MONOLITHIC=='1' and WX_UNICODE=='0' and WX_DEBUG=='0'">wx$(WXPORT)$(WX_VERSION)</if>
|
||||
<if cond="WX_MONOLITHIC=='1' and WX_UNICODE=='0' and WX_DEBUG=='1'">wx$(WXPORT)$(WX_VERSION)d</if>
|
||||
<if cond="WX_MONOLITHIC=='1' and WX_UNICODE=='1' and WX_DEBUG=='0'">wx$(WXPORT)$(WX_VERSION)u</if>
|
||||
<if cond="WX_MONOLITHIC=='1' and WX_UNICODE=='1' and WX_DEBUG=='1'">wx$(WXPORT)$(WX_VERSION)ud</if>
|
||||
</set>
|
||||
|
||||
<!-- Libraries whose name is prefixed with 'wxbase' -->
|
||||
<set var="WXLIB_NET_NAME">
|
||||
<if cond="WX_MONOLITHIC=='0' and WX_UNICODE=='0' and WX_DEBUG=='0'">wxbase$(WX_VERSION)_net</if>
|
||||
<if cond="WX_MONOLITHIC=='0' and WX_UNICODE=='0' and WX_DEBUG=='1'">wxbase$(WX_VERSION)d_net</if>
|
||||
<if cond="WX_MONOLITHIC=='0' and WX_UNICODE=='1' and WX_DEBUG=='0'">wxbase$(WX_VERSION)u_net</if>
|
||||
<if cond="WX_MONOLITHIC=='0' and WX_UNICODE=='1' and WX_DEBUG=='1'">wxbase$(WX_VERSION)ud_net</if>
|
||||
</set>
|
||||
<set var="WXLIB_XML_NAME">
|
||||
<if cond="WX_MONOLITHIC=='0' and WX_UNICODE=='0' and WX_DEBUG=='0'">wxbase$(WX_VERSION)_xml</if>
|
||||
<if cond="WX_MONOLITHIC=='0' and WX_UNICODE=='0' and WX_DEBUG=='1'">wxbase$(WX_VERSION)d_xml</if>
|
||||
<if cond="WX_MONOLITHIC=='0' and WX_UNICODE=='1' and WX_DEBUG=='0'">wxbase$(WX_VERSION)u_xml</if>
|
||||
<if cond="WX_MONOLITHIC=='0' and WX_UNICODE=='1' and WX_DEBUG=='1'">wxbase$(WX_VERSION)ud_xml</if>
|
||||
</set>
|
||||
<set var="WXLIB_ODBC_NAME">
|
||||
<if cond="WX_MONOLITHIC=='0' and WX_UNICODE=='0' and WX_DEBUG=='0'">wxbase$(WX_VERSION)_odbc</if>
|
||||
<if cond="WX_MONOLITHIC=='0' and WX_UNICODE=='0' and WX_DEBUG=='1'">wxbase$(WX_VERSION)d_odbc</if>
|
||||
<if cond="WX_MONOLITHIC=='0' and WX_UNICODE=='1' and WX_DEBUG=='0'">wxbase$(WX_VERSION)u_odbc</if>
|
||||
<if cond="WX_MONOLITHIC=='0' and WX_UNICODE=='1' and WX_DEBUG=='1'">wxbase$(WX_VERSION)ud_odbc</if>
|
||||
</set>
|
||||
|
||||
<!-- Libraries whose name is prefixed with 'wx' only -->
|
||||
<set var="WXLIB_CORE_NAME">
|
||||
<if cond="WX_MONOLITHIC=='0' and WX_UNICODE=='0' and WX_DEBUG=='0'">wx$(WXPORT)$(WX_VERSION)_core</if>
|
||||
<if cond="WX_MONOLITHIC=='0' and WX_UNICODE=='0' and WX_DEBUG=='1'">wx$(WXPORT)$(WX_VERSION)d_core</if>
|
||||
<if cond="WX_MONOLITHIC=='0' and WX_UNICODE=='1' and WX_DEBUG=='0'">wx$(WXPORT)$(WX_VERSION)u_core</if>
|
||||
<if cond="WX_MONOLITHIC=='0' and WX_UNICODE=='1' and WX_DEBUG=='1'">wx$(WXPORT)$(WX_VERSION)ud_core</if>
|
||||
</set>
|
||||
<set var="WXLIB_MEDIA_NAME">
|
||||
<if cond="WX_MONOLITHIC=='0' and WX_UNICODE=='0' and WX_DEBUG=='0'">wx$(WXPORT)$(WX_VERSION)_media</if>
|
||||
<if cond="WX_MONOLITHIC=='0' and WX_UNICODE=='0' and WX_DEBUG=='1'">wx$(WXPORT)$(WX_VERSION)d_media</if>
|
||||
<if cond="WX_MONOLITHIC=='0' and WX_UNICODE=='1' and WX_DEBUG=='0'">wx$(WXPORT)$(WX_VERSION)u_media</if>
|
||||
<if cond="WX_MONOLITHIC=='0' and WX_UNICODE=='1' and WX_DEBUG=='1'">wx$(WXPORT)$(WX_VERSION)ud_media</if>
|
||||
</set>
|
||||
<set var="WXLIB_XRC_NAME">
|
||||
<if cond="WX_MONOLITHIC=='0' and WX_UNICODE=='0' and WX_DEBUG=='0'">wx$(WXPORT)$(WX_VERSION)_xrc</if>
|
||||
<if cond="WX_MONOLITHIC=='0' and WX_UNICODE=='0' and WX_DEBUG=='1'">wx$(WXPORT)$(WX_VERSION)d_xrc</if>
|
||||
<if cond="WX_MONOLITHIC=='0' and WX_UNICODE=='1' and WX_DEBUG=='0'">wx$(WXPORT)$(WX_VERSION)u_xrc</if>
|
||||
<if cond="WX_MONOLITHIC=='0' and WX_UNICODE=='1' and WX_DEBUG=='1'">wx$(WXPORT)$(WX_VERSION)ud_xrc</if>
|
||||
</set>
|
||||
<set var="WXLIB_HTML_NAME">
|
||||
<if cond="WX_MONOLITHIC=='0' and WX_UNICODE=='0' and WX_DEBUG=='0'">wx$(WXPORT)$(WX_VERSION)_html</if>
|
||||
<if cond="WX_MONOLITHIC=='0' and WX_UNICODE=='0' and WX_DEBUG=='1'">wx$(WXPORT)$(WX_VERSION)d_html</if>
|
||||
<if cond="WX_MONOLITHIC=='0' and WX_UNICODE=='1' and WX_DEBUG=='0'">wx$(WXPORT)$(WX_VERSION)u_html</if>
|
||||
<if cond="WX_MONOLITHIC=='0' and WX_UNICODE=='1' and WX_DEBUG=='1'">wx$(WXPORT)$(WX_VERSION)ud_html</if>
|
||||
</set>
|
||||
<set var="WXLIB_ADV_NAME">
|
||||
<if cond="WX_MONOLITHIC=='0' and WX_UNICODE=='0' and WX_DEBUG=='0'">wx$(WXPORT)$(WX_VERSION)_adv</if>
|
||||
<if cond="WX_MONOLITHIC=='0' and WX_UNICODE=='0' and WX_DEBUG=='1'">wx$(WXPORT)$(WX_VERSION)d_adv</if>
|
||||
<if cond="WX_MONOLITHIC=='0' and WX_UNICODE=='1' and WX_DEBUG=='0'">wx$(WXPORT)$(WX_VERSION)u_adv</if>
|
||||
<if cond="WX_MONOLITHIC=='0' and WX_UNICODE=='1' and WX_DEBUG=='1'">wx$(WXPORT)$(WX_VERSION)ud_adv</if>
|
||||
</set>
|
||||
<set var="WXLIB_QA_NAME">
|
||||
<if cond="WX_MONOLITHIC=='0' and WX_UNICODE=='0' and WX_DEBUG=='0'">wx$(WXPORT)$(WX_VERSION)_qa</if>
|
||||
<if cond="WX_MONOLITHIC=='0' and WX_UNICODE=='0' and WX_DEBUG=='1'">wx$(WXPORT)$(WX_VERSION)d_qa</if>
|
||||
<if cond="WX_MONOLITHIC=='0' and WX_UNICODE=='1' and WX_DEBUG=='0'">wx$(WXPORT)$(WX_VERSION)u_qa</if>
|
||||
<if cond="WX_MONOLITHIC=='0' and WX_UNICODE=='1' and WX_DEBUG=='1'">wx$(WXPORT)$(WX_VERSION)ud_qa</if>
|
||||
</set>
|
||||
<set var="WXLIB_DBGRID_NAME">
|
||||
<if cond="WX_MONOLITHIC=='0' and WX_UNICODE=='0' and WX_DEBUG=='0'">wx$(WXPORT)$(WX_VERSION)_dbgrid</if>
|
||||
<if cond="WX_MONOLITHIC=='0' and WX_UNICODE=='0' and WX_DEBUG=='1'">wx$(WXPORT)$(WX_VERSION)d_dbgrid</if>
|
||||
<if cond="WX_MONOLITHIC=='0' and WX_UNICODE=='1' and WX_DEBUG=='0'">wx$(WXPORT)$(WX_VERSION)u_dbgrid</if>
|
||||
<if cond="WX_MONOLITHIC=='0' and WX_UNICODE=='1' and WX_DEBUG=='1'">wx$(WXPORT)$(WX_VERSION)ud_dbgrid</if>
|
||||
</set>
|
||||
<set var="WXLIB_GL_NAME">
|
||||
<if cond="WX_MONOLITHIC=='0' and WX_UNICODE=='0' and WX_DEBUG=='0'">wx$(WXPORT)$(WX_VERSION)_gl</if>
|
||||
<if cond="WX_MONOLITHIC=='0' and WX_UNICODE=='0' and WX_DEBUG=='1'">wx$(WXPORT)$(WX_VERSION)d_gl</if>
|
||||
<if cond="WX_MONOLITHIC=='0' and WX_UNICODE=='1' and WX_DEBUG=='0'">wx$(WXPORT)$(WX_VERSION)u_gl</if>
|
||||
<if cond="WX_MONOLITHIC=='0' and WX_UNICODE=='1' and WX_DEBUG=='1'">wx$(WXPORT)$(WX_VERSION)ud_gl</if>
|
||||
</set>
|
||||
<set var="WXLIB_AUI_NAME">
|
||||
<if cond="WX_MONOLITHIC=='0' and WX_UNICODE=='0' and WX_DEBUG=='0'">wx$(WXPORT)$(WX_VERSION)_aui</if>
|
||||
<if cond="WX_MONOLITHIC=='0' and WX_UNICODE=='0' and WX_DEBUG=='1'">wx$(WXPORT)$(WX_VERSION)d_aui</if>
|
||||
<if cond="WX_MONOLITHIC=='0' and WX_UNICODE=='1' and WX_DEBUG=='0'">wx$(WXPORT)$(WX_VERSION)u_aui</if>
|
||||
<if cond="WX_MONOLITHIC=='0' and WX_UNICODE=='1' and WX_DEBUG=='1'">wx$(WXPORT)$(WX_VERSION)ud_aui</if>
|
||||
</set>
|
||||
<set var="WXLIB_RICHTEXT_NAME">
|
||||
<if cond="WX_MONOLITHIC=='0' and WX_UNICODE=='0' and WX_DEBUG=='0'">wx$(WXPORT)$(WX_VERSION)_richtext</if>
|
||||
<if cond="WX_MONOLITHIC=='0' and WX_UNICODE=='0' and WX_DEBUG=='1'">wx$(WXPORT)$(WX_VERSION)d_richtext</if>
|
||||
<if cond="WX_MONOLITHIC=='0' and WX_UNICODE=='1' and WX_DEBUG=='0'">wx$(WXPORT)$(WX_VERSION)u_richtext</if>
|
||||
<if cond="WX_MONOLITHIC=='0' and WX_UNICODE=='1' and WX_DEBUG=='1'">wx$(WXPORT)$(WX_VERSION)ud_richtext</if>
|
||||
</set>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- WX TEMPLATE -->
|
||||
<!-- -->
|
||||
<!-- -->
|
||||
<!-- While not required, templates make your -->
|
||||
<!-- bakefiles much more readable. Templates, in -->
|
||||
<!-- essence, are abstract classes like c++. -->
|
||||
<!-- -->
|
||||
<!-- Your build targets "inherit" the template, -->
|
||||
<!-- along with the info associated with the template -->
|
||||
|
||||
<!-- -->
|
||||
<!-- wxWidgets LIBRARY/APP TEMPLATE -->
|
||||
<!-- -->
|
||||
<!-- The "base class" of all our build targets -->
|
||||
<!-- This links with the appropriate native -->
|
||||
<!-- libraries required by the platform, the libraries -->
|
||||
<!-- we want for our stuff, and the wxWindows libs. -->
|
||||
|
||||
<!-- this tag is used to include wx libraries: -->
|
||||
<define-tag name="wx-lib" rules="exe,dll,module">
|
||||
<if cond="value=='base'"><sys-lib>$(WXLIB_BASE_NAME)</sys-lib></if>
|
||||
<if cond="value=='core'"><sys-lib>$(WXLIB_CORE_NAME)</sys-lib></if>
|
||||
|
||||
<if cond="value=='net'"><sys-lib>$(WXLIB_NET_NAME)</sys-lib></if>
|
||||
<if cond="value=='xml'"><sys-lib>$(WXLIB_XML_NAME)</sys-lib></if>
|
||||
<if cond="value=='odbc'"><sys-lib>$(WXLIB_ODBC_NAME)</sys-lib></if>
|
||||
|
||||
<if cond="value=='media'"><sys-lib>$(WXLIB_MEDIA_NAME)</sys-lib></if>
|
||||
<if cond="value=='xrc'"><sys-lib>$(WXLIB_XRC_NAME)</sys-lib></if>
|
||||
<if cond="value=='html'"><sys-lib>$(WXLIB_HTML_NAME)</sys-lib></if>
|
||||
<if cond="value=='adv'"><sys-lib>$(WXLIB_ADV_NAME)</sys-lib></if>
|
||||
<if cond="value=='gl'"><sys-lib>$(WXLIB_GL_NAME)</sys-lib></if>
|
||||
<if cond="value=='dbgrid'"><sys-lib>$(WXLIB_DBGRID_NAME)</sys-lib></if>
|
||||
<if cond="value=='qa'"><sys-lib>$(WXLIB_QA_NAME)</sys-lib></if>
|
||||
<if cond="value=='aui'"><sys-lib>$(WXLIB_AUI_NAME)</sys-lib></if>
|
||||
<if cond="value=='richtext'"><sys-lib>$(WXLIB_RICHTEXT_NAME)</sys-lib></if>
|
||||
|
||||
<!-- wx-lib can be used also to link against contrib libraries
|
||||
(which always have the same name, regardless of WX_MONOLITHIC value) -->
|
||||
<if cond="value in CONTRIBLIB_LIST.split()">
|
||||
<sys-lib>wx$(WXPORT)$(WX_VERSION)$(WXLIBPOSTFIX)_$(value)</sys-lib>
|
||||
</if>
|
||||
|
||||
<if cond="value not in ALLLIB_LIST.split()">
|
||||
<error>Unknown wxWidgets library given in the wx-lib tag</error>
|
||||
</if>
|
||||
</define-tag>
|
||||
|
||||
<!-- just a placeholder to mark the place where <wx-lib> will be placed,
|
||||
thanks to the order precedence declaration below it: -->
|
||||
<define-tag name="__wx-libs-point" rules="exe,dll,module"/>
|
||||
<tag-info name="wx-lib"
|
||||
position="before:__wx-libs-point"/>
|
||||
<tag-info name="__wx-syslibs"
|
||||
position="after:__wx-libs-point"/>
|
||||
|
||||
|
||||
<!-- template for static wx libraries: -->
|
||||
<template id="wx-lib">
|
||||
<!-- MISCELLANEOUS -->
|
||||
<if cond="FORMAT=='mingw'">
|
||||
<define>HAVE_W32API_H</define>
|
||||
<ldflags>-mthreads</ldflags>
|
||||
</if>
|
||||
|
||||
<define>$(WXUNICODE_DEFINE)</define>
|
||||
<define>$(WXDEBUG_DEFINE)</define>
|
||||
<define>__WXMSW__</define>
|
||||
|
||||
<include>$(WX_DIR)$(WXLIBINCLUDE)</include>
|
||||
<include>$(WX_DIR)/include</include>
|
||||
</template>
|
||||
|
||||
|
||||
<!-- this ugly tag contains all sys-lib tags used by "wx" template,
|
||||
in order to make sure they are not reorder when wx-lib is moved
|
||||
after __wx-libs-point: -->
|
||||
<define-tag name="__wx-syslibs" rules="exe,dll,module">
|
||||
<!-- wx 3rd party libs, always use them: -->
|
||||
<sys-lib cond="FORMAT!='msevc4prj'">wxtiff$(WX3RDPARTYLIBPOSTFIX)</sys-lib>
|
||||
<sys-lib>wxjpeg$(WX3RDPARTYLIBPOSTFIX)</sys-lib>
|
||||
<sys-lib>wxpng$(WX3RDPARTYLIBPOSTFIX)</sys-lib>
|
||||
<sys-lib>wxzlib$(WX3RDPARTYLIBPOSTFIX)</sys-lib>
|
||||
<!-- For regex we won't use the WX3RDPARTYLIBPOSTIX postfix:
|
||||
unliked tiff, jpeg, png, zlib, expat, when building
|
||||
in Unicode mode, the "u" suffix is appended to regex -->
|
||||
<sys-lib cond="FORMAT!='msevc4prj'">wxregex$(WXLIBPOSTFIX)</sys-lib>
|
||||
<sys-lib>wxexpat$(WX3RDPARTYLIBPOSTFIX)</sys-lib>
|
||||
|
||||
<!-- link-in system libs that wx depends on: -->
|
||||
<!-- If on borland, we don't need to do much -->
|
||||
<if cond="FORMAT=='borland'">
|
||||
<sys-lib>ole2w32</sys-lib>
|
||||
<sys-lib>odbc32</sys-lib>
|
||||
</if>
|
||||
|
||||
<!-- Non-borland, on the other hand... -->
|
||||
<if cond="FORMAT not in ['borland','msevc4prj']">
|
||||
<sys-lib>kernel32</sys-lib>
|
||||
<sys-lib>user32</sys-lib>
|
||||
<sys-lib>gdi32</sys-lib>
|
||||
<sys-lib>comdlg32</sys-lib>
|
||||
<sys-lib>winspool</sys-lib>
|
||||
<sys-lib>winmm</sys-lib>
|
||||
<sys-lib>shell32</sys-lib>
|
||||
<sys-lib>comctl32</sys-lib>
|
||||
<sys-lib>ole32</sys-lib>
|
||||
<sys-lib>oleaut32</sys-lib>
|
||||
<sys-lib>uuid</sys-lib>
|
||||
<sys-lib>rpcrt4</sys-lib>
|
||||
<sys-lib>advapi32</sys-lib>
|
||||
<sys-lib>wsock32</sys-lib>
|
||||
<sys-lib>odbc32</sys-lib>
|
||||
</if>
|
||||
|
||||
<!-- Libs common to both borland and MSVC -->
|
||||
<if cond="FORMAT=='msvc' or FORMAT=='msvc6prj' or FORMAT=='borland'">
|
||||
<sys-lib>oleacc</sys-lib>
|
||||
</if>
|
||||
</define-tag>
|
||||
|
||||
<!-- template for wx executables/dlls: -->
|
||||
<template id="wx" template="wx-lib">
|
||||
<lib-path>$(WX_DIR)$(WXLIBPATH)</lib-path>
|
||||
|
||||
<!-- wx libs must come before 3rd party and sys libs, this is
|
||||
the place where the hack explained above is carried on: -->
|
||||
<__wx-libs-point/>
|
||||
<__wx-syslibs/>
|
||||
</template>
|
||||
|
||||
</makefile>
|
@@ -1,48 +0,0 @@
|
||||
dnl Process this file with autoconf to produce a configure script.
|
||||
|
||||
AC_PREREQ(2.59)
|
||||
|
||||
AC_INIT([minimal],[1.2.5],[vslavik@fastmail.fm])
|
||||
|
||||
AC_CONFIG_SRCDIR([minimal.cpp])
|
||||
|
||||
AC_CANONICAL_BUILD
|
||||
AC_CANONICAL_HOST
|
||||
AC_CANONICAL_TARGET
|
||||
|
||||
|
||||
|
||||
AM_OPTIONS_WXCONFIG
|
||||
|
||||
|
||||
|
||||
dnl Checks for programs.
|
||||
AC_PROG_AWK
|
||||
AC_PROG_INSTALL
|
||||
AC_PROG_LN_S
|
||||
AC_PROG_RANLIB
|
||||
AC_PROG_CC
|
||||
AC_PROG_CXX
|
||||
AC_PROG_CXXCPP
|
||||
|
||||
|
||||
|
||||
AM_PATH_WXCONFIG(2.4.1, WXFOUND=1)
|
||||
|
||||
if test "$WXFOUND" != 1; then
|
||||
AC_MSG_ERROR([
|
||||
Please check that wx-config is in path, the directory
|
||||
where wxWindows libraries are installed (returned by
|
||||
'wx-config --libs' command) is in LD_LIBRARY_PATH or
|
||||
equivalent variable and wxWindows is version 2.4.0 or above.
|
||||
])
|
||||
fi
|
||||
|
||||
AC_BAKEFILE([m4_include(autoconf_inc.m4)])
|
||||
|
||||
|
||||
AC_CONFIG_FILES([
|
||||
Makefile
|
||||
])
|
||||
|
||||
AC_OUTPUT
|
@@ -1,19 +0,0 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!-- $Id$ -->
|
||||
|
||||
<makefile>
|
||||
|
||||
<include file="presets/wx.bkl"/>
|
||||
|
||||
<exe id="minimal" template="wx">
|
||||
<app-type>gui</app-type>
|
||||
<debug-info>on</debug-info>
|
||||
<runtime-libs>dynamic</runtime-libs>
|
||||
|
||||
<sources>minimal.cpp</sources>
|
||||
|
||||
<wx-lib>core</wx-lib>
|
||||
<wx-lib>base</wx-lib>
|
||||
</exe>
|
||||
|
||||
</makefile>
|
@@ -1,182 +0,0 @@
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// Name: minimal.cpp
|
||||
// Purpose: Minimal wxWindows sample
|
||||
// Author: Julian Smart
|
||||
// Modified by:
|
||||
// Created: 04/01/98
|
||||
// RCS-ID: $Id$
|
||||
// Copyright: (c) Julian Smart
|
||||
// Licence: wxWindows licence
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// ============================================================================
|
||||
// declarations
|
||||
// ============================================================================
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// headers
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
// For compilers that support precompilation, includes "wx/wx.h".
|
||||
#include "wx/wxprec.h"
|
||||
|
||||
#ifdef __BORLANDC__
|
||||
#pragma hdrstop
|
||||
#endif
|
||||
|
||||
// for all others, include the necessary headers (this file is usually all you
|
||||
// need because it includes almost all "standard" wxWindows headers)
|
||||
#ifndef WX_PRECOMP
|
||||
#include "wx/wx.h"
|
||||
#endif
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// resources
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// private classes
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
// Define a new application type, each program should derive a class from wxApp
|
||||
class MyApp : public wxApp
|
||||
{
|
||||
public:
|
||||
// override base class virtuals
|
||||
// ----------------------------
|
||||
|
||||
// this one is called on application startup and is a good place for the app
|
||||
// initialization (doing it here and not in the ctor allows to have an error
|
||||
// return: if OnInit() returns false, the application terminates)
|
||||
virtual bool OnInit();
|
||||
};
|
||||
|
||||
// Define a new frame type: this is going to be our main frame
|
||||
class MyFrame : public wxFrame
|
||||
{
|
||||
public:
|
||||
// ctor(s)
|
||||
MyFrame(const wxString& title);
|
||||
|
||||
// event handlers (these functions should _not_ be virtual)
|
||||
void OnQuit(wxCommandEvent& event);
|
||||
void OnAbout(wxCommandEvent& event);
|
||||
|
||||
private:
|
||||
// any class wishing to process wxWindows events must use this macro
|
||||
DECLARE_EVENT_TABLE()
|
||||
};
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// constants
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
// IDs for the controls and the menu commands
|
||||
enum
|
||||
{
|
||||
// menu items
|
||||
Minimal_Quit = wxID_EXIT,
|
||||
|
||||
// it is important for the id corresponding to the "About" command to have
|
||||
// this standard value as otherwise it won't be handled properly under Mac
|
||||
// (where it is special and put into the "Apple" menu)
|
||||
Minimal_About = wxID_ABOUT
|
||||
};
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// event tables and other macros for wxWindows
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
// the event tables connect the wxWindows events with the functions (event
|
||||
// handlers) which process them. It can be also done at run-time, but for the
|
||||
// simple menu events like this the static method is much simpler.
|
||||
BEGIN_EVENT_TABLE(MyFrame, wxFrame)
|
||||
EVT_MENU(Minimal_Quit, MyFrame::OnQuit)
|
||||
EVT_MENU(Minimal_About, MyFrame::OnAbout)
|
||||
END_EVENT_TABLE()
|
||||
|
||||
// Create a new application object: this macro will allow wxWindows to create
|
||||
// the application object during program execution (it's better than using a
|
||||
// static object for many reasons) and also implements the accessor function
|
||||
// wxGetApp() which will return the reference of the right type (i.e. MyApp and
|
||||
// not wxApp)
|
||||
IMPLEMENT_APP(MyApp)
|
||||
|
||||
// ============================================================================
|
||||
// implementation
|
||||
// ============================================================================
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// the application class
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
// 'Main program' equivalent: the program execution "starts" here
|
||||
bool MyApp::OnInit()
|
||||
{
|
||||
// create the main application window
|
||||
MyFrame *frame = new MyFrame(_T("Minimal wxWindows App"));
|
||||
|
||||
// and show it (the frames, unlike simple controls, are not shown when
|
||||
// created initially)
|
||||
frame->Show(true);
|
||||
|
||||
// success: wxApp::OnRun() will be called which will enter the main message
|
||||
// loop and the application will run. If we returned false here, the
|
||||
// application would exit immediately.
|
||||
return true;
|
||||
}
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// main frame
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
// frame constructor
|
||||
MyFrame::MyFrame(const wxString& title)
|
||||
: wxFrame(NULL, wxID_ANY, title)
|
||||
{
|
||||
// set the frame icon
|
||||
|
||||
#if wxUSE_MENUS
|
||||
// create a menu bar
|
||||
wxMenu *menuFile = new wxMenu;
|
||||
|
||||
// the "About" item should be in the help menu
|
||||
wxMenu *helpMenu = new wxMenu;
|
||||
helpMenu->Append(Minimal_About, _T("&About...\tF1"), _T("Show about dialog"));
|
||||
|
||||
menuFile->Append(Minimal_Quit, _T("E&xit\tAlt-X"), _T("Quit this program"));
|
||||
|
||||
// now append the freshly created menu to the menu bar...
|
||||
wxMenuBar *menuBar = new wxMenuBar();
|
||||
menuBar->Append(menuFile, _T("&File"));
|
||||
menuBar->Append(helpMenu, _T("&Help"));
|
||||
|
||||
// ... and attach this menu bar to the frame
|
||||
SetMenuBar(menuBar);
|
||||
#endif // wxUSE_MENUS
|
||||
|
||||
#if wxUSE_STATUSBAR
|
||||
// create a status bar just for fun (by default with 1 pane only)
|
||||
CreateStatusBar(2);
|
||||
SetStatusText(_T("Welcome to wxWindows!"));
|
||||
#endif // wxUSE_STATUSBAR
|
||||
}
|
||||
|
||||
|
||||
// event handlers
|
||||
|
||||
void MyFrame::OnQuit(wxCommandEvent& WXUNUSED(event))
|
||||
{
|
||||
// true is to force the frame to close
|
||||
Close(true);
|
||||
}
|
||||
|
||||
void MyFrame::OnAbout(wxCommandEvent& WXUNUSED(event))
|
||||
{
|
||||
wxString msg;
|
||||
msg.Printf( _T("This is the About dialog of the minimal sample.\n")
|
||||
_T("Welcome to %s"), wxVERSION_STRING);
|
||||
|
||||
wxMessageBox(msg, _T("About Minimal"), wxOK | wxICON_INFORMATION, this);
|
||||
}
|
@@ -1,157 +0,0 @@
|
||||
#
|
||||
# Helper functions for wxWidgets bakefiles
|
||||
#
|
||||
# $Id$
|
||||
#
|
||||
|
||||
|
||||
import utils
|
||||
|
||||
# We use 'CFG' option in places where bakefile doesn't like it, so we must
|
||||
# register a substitution function for it that provides additional knowledge
|
||||
# about the option (in this case that it does not contain dir separators and
|
||||
# so utils.nativePaths() doesn't have to do anything with it):
|
||||
|
||||
try:
|
||||
# this fails in 0.1.4 and 0.1.5 has different subst.callbacks signature:
|
||||
utils.checkBakefileVersion('0.1.5')
|
||||
def __noopSubst(name, func, caller):
|
||||
return '$(%s)' % name
|
||||
except AttributeError:
|
||||
def __noopSubst(func, name):
|
||||
return '$(%s)' % name
|
||||
utils.addSubstituteCallback('CFG', __noopSubst)
|
||||
utils.addSubstituteCallback('LIBDIRNAME', __noopSubst)
|
||||
utils.addSubstituteCallback('SETUPHDIR', __noopSubst)
|
||||
utils.addSubstituteCallback('OBJS', __noopSubst)
|
||||
|
||||
|
||||
def mk_wxid(id):
|
||||
"""Creates wxWidgets library identifier from bakefile target ID that
|
||||
follows this convention: DLLs end with 'dll', static libraries
|
||||
end with 'lib'. If withPrefix=1, then _wxid is returned instead
|
||||
of wxid."""
|
||||
if id.endswith('dll') or id.endswith('lib'):
|
||||
wxid = id[:-3]
|
||||
else:
|
||||
wxid = id
|
||||
return wxid
|
||||
|
||||
|
||||
# All libs that are part of the main library (i.e. non-contrib):
|
||||
MAIN_LIBS = ['mono', 'base', 'core', 'adv', 'html', 'xml', 'net',
|
||||
'media', 'odbc', 'qa', 'dbgrid', 'xrc', 'aui', 'richtext']
|
||||
# List of library names/ids for categories with different names:
|
||||
LIBS_NOGUI = ['xml', 'net', 'odbc']
|
||||
LIBS_GUI = ['core', 'adv', 'html', 'gl', 'qa', 'dbgrid', 'xrc', 'media', 'aui', 'richtext']
|
||||
# Additional libraries that must be linked in:
|
||||
EXTRALIBS = {
|
||||
'gl' : '$(EXTRALIBS_OPENGL)',
|
||||
'xml' : '$(EXTRALIBS_XML)',
|
||||
'html' : '$(EXTRALIBS_HTML)',
|
||||
'odbc' : '$(EXTRALIBS_ODBC)',
|
||||
'adv' : '$(PLUGIN_ADV_EXTRALIBS)',
|
||||
}
|
||||
|
||||
def mkLibName(wxid):
|
||||
"""Returns string that can be used as library name, including name
|
||||
suffixes, prefixes, version tags etc. This must be kept in sync
|
||||
with variables defined in common.bkl!"""
|
||||
if wxid == 'mono':
|
||||
return '$(WXNAMEPREFIXGUI)$(WXNAMESUFFIX)$(WXVERSIONTAG)$(HOST_SUFFIX)'
|
||||
if wxid == 'base':
|
||||
return '$(WXNAMEPREFIX)$(WXNAMESUFFIX)$(WXVERSIONTAG)$(HOST_SUFFIX)'
|
||||
if wxid in LIBS_NOGUI:
|
||||
return '$(WXNAMEPREFIX)$(WXNAMESUFFIX)_%s$(WXVERSIONTAG)$(HOST_SUFFIX)' % wxid
|
||||
return '$(WXNAMEPREFIXGUI)$(WXNAMESUFFIX)_%s$(WXVERSIONTAG)$(HOST_SUFFIX)' % wxid
|
||||
|
||||
def mkDllName(wxid):
|
||||
"""Returns string that can be used as DLL name, including name
|
||||
suffixes, prefixes, version tags etc. This must be kept in sync
|
||||
with variables defined in common.bkl!"""
|
||||
if wxid == 'mono':
|
||||
return '$(WXDLLNAMEPREFIXGUI)$(WXNAMESUFFIX)$(WXCOMPILER)$(VENDORTAG)$(WXDLLVERSIONTAG)'
|
||||
if wxid == 'base':
|
||||
return '$(WXDLLNAMEPREFIX)$(WXNAMESUFFIX)$(WXCOMPILER)$(VENDORTAG)$(WXDLLVERSIONTAG)'
|
||||
if wxid in LIBS_NOGUI:
|
||||
return '$(WXDLLNAMEPREFIX)$(WXNAMESUFFIX)_%s$(WXCOMPILER)$(VENDORTAG)$(WXDLLVERSIONTAG)' % wxid
|
||||
return '$(WXDLLNAMEPREFIXGUI)$(WXNAMESUFFIX)_%s$(WXCOMPILER)$(VENDORTAG)$(WXDLLVERSIONTAG)' % wxid
|
||||
|
||||
|
||||
def libToLink(wxlibname):
|
||||
"""Returns string to pass to <sys-lib> when linking against 'wxlibname'.
|
||||
For one of main libraries, libToLink('foo') returns '$(WXLIB_FOO)' which
|
||||
must be defined in common.bkl as either nothing (in monolithic build) or
|
||||
mkLibName('foo') (otherwise).
|
||||
For contrib libraries, it returns mkDllName(wxlibname).
|
||||
"""
|
||||
if wxlibname in MAIN_LIBS:
|
||||
return '$(WXLIB_%s)' % wxlibname.upper()
|
||||
else:
|
||||
return mkLibName(wxlibname)
|
||||
|
||||
def extraLdflags(wxlibname):
|
||||
if wxlibname in EXTRALIBS:
|
||||
return EXTRALIBS[wxlibname]
|
||||
else:
|
||||
return ''
|
||||
|
||||
wxVersion = None
|
||||
VERSION_FILE = '../../include/wx/version.h'
|
||||
|
||||
def getVersion():
|
||||
"""Returns wxWidgets version as a tuple: (major,minor,release)."""
|
||||
global wxVersion
|
||||
if wxVersion == None:
|
||||
f = open(VERSION_FILE, 'rt')
|
||||
lines = f.readlines()
|
||||
f.close()
|
||||
major = minor = release = None
|
||||
for l in lines:
|
||||
if not l.startswith('#define'): continue
|
||||
splitline = l.strip().split()
|
||||
if splitline[0] != '#define': continue
|
||||
if len(splitline) < 3: continue
|
||||
name = splitline[1]
|
||||
value = splitline[2]
|
||||
if value == None: continue
|
||||
if name == 'wxMAJOR_VERSION': major = int(value)
|
||||
if name == 'wxMINOR_VERSION': minor = int(value)
|
||||
if name == 'wxRELEASE_NUMBER': release = int(value)
|
||||
if major != None and minor != None and release != None:
|
||||
break
|
||||
wxVersion = (major, minor, release)
|
||||
return wxVersion
|
||||
|
||||
def getVersionMajor():
|
||||
return getVersion()[0]
|
||||
def getVersionMinor():
|
||||
return getVersion()[1]
|
||||
def getVersionRelease():
|
||||
return getVersion()[2]
|
||||
|
||||
|
||||
def headersOnly(files):
|
||||
"""Filters 'files' so that only headers are left. Used with
|
||||
<msvc-project-files> to add headers to VC++ projects but not files such
|
||||
as arrimpl.cpp."""
|
||||
|
||||
def callback(cond, sources):
|
||||
prf = suf = ''
|
||||
if sources[0].isspace(): prf=' '
|
||||
if sources[-1].isspace(): suf=' '
|
||||
retval = []
|
||||
for s in sources.split():
|
||||
if s.endswith('.h'):
|
||||
retval.append(s)
|
||||
return '%s%s%s' % (prf, ' '.join(retval), suf)
|
||||
return utils.substitute2(files, callback)
|
||||
|
||||
|
||||
def makeDspDependency(lib):
|
||||
"""Returns suitable entry for <depends-on-dsp> for main libs."""
|
||||
return '%s:$(nativePaths(WXTOPDIR))build\\msw\\wx_%s.dsp' % (lib,lib)
|
||||
|
||||
def makeContribDspDependency(lib):
|
||||
"""Returns suitable entry for <depends-on-dsp> for contrib libs."""
|
||||
return '%s:$(nativePaths(WXTOPDIR))contrib\\build\\%s\\%s.dsp' % (lib,lib,lib)
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user