2003-06-23 22:42:25 +00:00
|
|
|
# =========================================================================
|
|
|
|
# This makefile was generated by
|
2009-05-12 09:13:36 +00:00
|
|
|
# Bakefile 0.2.6 (http://www.bakefile.org)
|
2003-06-23 22:42:25 +00:00
|
|
|
# Do not modify, all changes will be overwritten!
|
|
|
|
# =========================================================================
|
2002-12-04 14:11:26 +00:00
|
|
|
|
|
|
|
|
2003-06-23 22:42:25 +00:00
|
|
|
@MAKE_SET@
|
2002-12-04 14:11:26 +00:00
|
|
|
|
2003-07-04 14:03:07 +00:00
|
|
|
prefix = @prefix@
|
|
|
|
exec_prefix = @exec_prefix@
|
2008-01-23 12:13:07 +00:00
|
|
|
datarootdir = @datarootdir@
|
2003-07-05 22:39:53 +00:00
|
|
|
INSTALL = @INSTALL@
|
2004-01-22 03:48:09 +00:00
|
|
|
EXEEXT = @EXEEXT@
|
2005-11-25 05:17:36 +00:00
|
|
|
WINDRES = @WINDRES@
|
2004-01-22 03:48:09 +00:00
|
|
|
SETFILE = @SETFILE@
|
|
|
|
NM = @NM@
|
2006-11-04 20:39:49 +00:00
|
|
|
BK_DEPS = @BK_DEPS@
|
2004-01-22 03:48:09 +00:00
|
|
|
srcdir = @srcdir@
|
|
|
|
top_srcdir = @top_srcdir@
|
2006-11-04 20:39:49 +00:00
|
|
|
LIBS = @LIBS@
|
2004-01-22 03:48:09 +00:00
|
|
|
LDFLAGS_GUI = @LDFLAGS_GUI@
|
2003-07-04 14:03:07 +00:00
|
|
|
CXX = @CXX@
|
2003-06-23 22:42:25 +00:00
|
|
|
CXXFLAGS = @CXXFLAGS@
|
2004-01-22 03:48:09 +00:00
|
|
|
CPPFLAGS = @CPPFLAGS@
|
|
|
|
LDFLAGS = @LDFLAGS@
|
2004-09-22 15:08:33 +00:00
|
|
|
WX_LIB_FLAVOUR = @WX_LIB_FLAVOUR@
|
2004-01-22 03:48:09 +00:00
|
|
|
TOOLKIT = @TOOLKIT@
|
|
|
|
TOOLKIT_LOWERCASE = @TOOLKIT_LOWERCASE@
|
|
|
|
TOOLKIT_VERSION = @TOOLKIT_VERSION@
|
2005-11-25 05:17:36 +00:00
|
|
|
TOOLCHAIN_FULLNAME = @TOOLCHAIN_FULLNAME@
|
2003-06-23 22:42:25 +00:00
|
|
|
EXTRALIBS = @EXTRALIBS@
|
2003-07-06 22:53:01 +00:00
|
|
|
EXTRALIBS_GUI = @EXTRALIBS_GUI@
|
2007-10-11 15:58:04 +00:00
|
|
|
CXXWARNINGS = @CXXWARNINGS@
|
2003-07-20 00:06:37 +00:00
|
|
|
HOST_SUFFIX = @HOST_SUFFIX@
|
2003-07-04 14:03:07 +00:00
|
|
|
SAMPLES_RPATH_FLAG = @SAMPLES_RPATH_FLAG@
|
2006-11-04 20:39:49 +00:00
|
|
|
wx_top_builddir = @wx_top_builddir@
|
2002-12-04 14:11:26 +00:00
|
|
|
|
2003-06-29 00:43:30 +00:00
|
|
|
### Variables: ###
|
|
|
|
|
2003-09-27 15:48:14 +00:00
|
|
|
DESTDIR =
|
2007-02-07 02:14:45 +00:00
|
|
|
WX_RELEASE = 2.9
|
2006-11-10 02:32:01 +00:00
|
|
|
WX_VERSION = $(WX_RELEASE).0
|
2006-11-04 20:39:49 +00:00
|
|
|
LIBDIRNAME = $(wx_top_builddir)/lib
|
2005-03-23 13:05:13 +00:00
|
|
|
NATIVDLG_CXXFLAGS = -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) \
|
|
|
|
$(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) \
|
2007-10-11 15:58:04 +00:00
|
|
|
-I$(srcdir) $(__DLLFLAG_p) -I$(srcdir)/../../samples $(CXXWARNINGS) \
|
|
|
|
$(CPPFLAGS) $(CXXFLAGS)
|
2003-08-01 18:59:37 +00:00
|
|
|
NATIVDLG_OBJECTS = \
|
2003-10-04 13:49:34 +00:00
|
|
|
$(__nativdlg_os2_lib_res) \
|
2003-08-01 18:59:37 +00:00
|
|
|
nativdlg_nativdlg.o \
|
|
|
|
$(__nativdlg___win32rc)
|
2003-06-29 00:43:30 +00:00
|
|
|
|
2003-06-23 22:42:25 +00:00
|
|
|
### Conditionally set variables: ###
|
2002-12-04 14:11:26 +00:00
|
|
|
|
2003-08-23 11:38:02 +00:00
|
|
|
@COND_DEPS_TRACKING_0@CXXC = $(CXX)
|
2006-11-04 20:39:49 +00:00
|
|
|
@COND_DEPS_TRACKING_1@CXXC = $(BK_DEPS) $(CXX)
|
2003-07-04 14:03:07 +00:00
|
|
|
@COND_USE_GUI_0@PORTNAME = base
|
|
|
|
@COND_USE_GUI_1@PORTNAME = $(TOOLKIT_LOWERCASE)$(TOOLKIT_VERSION)
|
2003-07-05 22:39:53 +00:00
|
|
|
@COND_TOOLKIT_MAC@WXBASEPORT = _carbon
|
2008-10-08 15:44:49 +00:00
|
|
|
@COND_BUILD_debug_DEBUG_FLAG_default@WXDEBUGFLAG = d
|
2003-08-01 18:59:37 +00:00
|
|
|
@COND_DEBUG_FLAG_1@WXDEBUGFLAG = d
|
2003-07-04 14:03:07 +00:00
|
|
|
@COND_UNICODE_1@WXUNICODEFLAG = u
|
2003-06-29 00:43:30 +00:00
|
|
|
@COND_WXUNIV_1@WXUNIVNAME = univ
|
2004-10-18 17:02:37 +00:00
|
|
|
@COND_MONOLITHIC_0@EXTRALIBS_FOR_BASE = $(EXTRALIBS)
|
|
|
|
@COND_MONOLITHIC_1@EXTRALIBS_FOR_BASE = $(EXTRALIBS) $(EXTRALIBS_GUI)
|
|
|
|
@COND_MONOLITHIC_0@EXTRALIBS_FOR_GUI = $(EXTRALIBS_GUI)
|
|
|
|
@COND_MONOLITHIC_1@EXTRALIBS_FOR_GUI =
|
2008-01-23 12:13:07 +00:00
|
|
|
@COND_PLATFORM_MAC_0@__nativdlg___mac_setfilecmd = @true
|
2004-01-22 03:48:09 +00:00
|
|
|
@COND_PLATFORM_MAC_1@__nativdlg___mac_setfilecmd = \
|
2008-09-04 07:57:32 +00:00
|
|
|
@COND_PLATFORM_MAC_1@ $(SETFILE) -t APPL nativdlg$(EXEEXT)
|
2004-01-22 03:48:09 +00:00
|
|
|
@COND_WXUNIV_1@__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
|
|
|
|
@COND_WXUNIV_1@__WXUNIV_DEFINE_p_2 = --define __WXUNIVERSAL__
|
2005-03-23 13:05:13 +00:00
|
|
|
@COND_USE_EXCEPTIONS_0@__EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS
|
|
|
|
@COND_USE_EXCEPTIONS_0@__EXCEPTIONS_DEFINE_p_2 = --define wxNO_EXCEPTIONS
|
|
|
|
@COND_USE_RTTI_0@__RTTI_DEFINE_p = -DwxNO_RTTI
|
|
|
|
@COND_USE_RTTI_0@__RTTI_DEFINE_p_2 = --define wxNO_RTTI
|
|
|
|
@COND_USE_THREADS_0@__THREAD_DEFINE_p = -DwxNO_THREADS
|
|
|
|
@COND_USE_THREADS_0@__THREAD_DEFINE_p_2 = --define wxNO_THREADS
|
2003-07-04 14:03:07 +00:00
|
|
|
@COND_SHARED_1@__DLLFLAG_p = -DWXUSINGDLL
|
2003-06-29 00:43:30 +00:00
|
|
|
@COND_SHARED_1@__DLLFLAG_p_2 = --define WXUSINGDLL
|
2004-01-22 03:48:09 +00:00
|
|
|
COND_PLATFORM_OS2_1___nativdlg___os2_emxbindcmd = $(NM) nativdlg$(EXEEXT) | if \
|
|
|
|
grep -q pmwin.763 ; then emxbind -ep nativdlg$(EXEEXT) ; fi
|
|
|
|
@COND_PLATFORM_OS2_1@__nativdlg___os2_emxbindcmd = $(COND_PLATFORM_OS2_1___nativdlg___os2_emxbindcmd)
|
2005-11-25 05:17:36 +00:00
|
|
|
@COND_TOOLKIT_MSW@__RCDEFDIR_p_1 = --include-dir \
|
|
|
|
@COND_TOOLKIT_MSW@ $(LIBDIRNAME)/wx/include/$(TOOLCHAIN_FULLNAME)
|
2004-01-22 03:48:09 +00:00
|
|
|
@COND_PLATFORM_OS2_1@__nativdlg_os2_lib_res = \
|
|
|
|
@COND_PLATFORM_OS2_1@ $(top_srcdir)/include/wx/os2/wx.res
|
2008-06-02 14:48:50 +00:00
|
|
|
@COND_PLATFORM_MACOSX_1@__nativdlg_app_Contents_PkgInfo___depname \
|
|
|
|
@COND_PLATFORM_MACOSX_1@ = nativdlg.app/Contents/PkgInfo
|
2004-01-22 03:48:09 +00:00
|
|
|
@COND_PLATFORM_MACOSX_1@__nativdlg_bundle___depname = nativdlg_bundle
|
2008-09-20 23:59:10 +00:00
|
|
|
@COND_TOOLKIT_MAC@____nativdlg_BUNDLE_TGT_REF_DEP = \
|
|
|
|
@COND_TOOLKIT_MAC@ $(__nativdlg_app_Contents_PkgInfo___depname)
|
2008-09-11 12:30:18 +00:00
|
|
|
@COND_TOOLKIT_OSX_CARBON@____nativdlg_BUNDLE_TGT_REF_DEP \
|
|
|
|
@COND_TOOLKIT_OSX_CARBON@ = $(__nativdlg_app_Contents_PkgInfo___depname)
|
|
|
|
@COND_TOOLKIT_OSX_COCOA@____nativdlg_BUNDLE_TGT_REF_DEP \
|
|
|
|
@COND_TOOLKIT_OSX_COCOA@ = $(__nativdlg_app_Contents_PkgInfo___depname)
|
|
|
|
@COND_TOOLKIT_OSX_IPHONE@____nativdlg_BUNDLE_TGT_REF_DEP \
|
|
|
|
@COND_TOOLKIT_OSX_IPHONE@ = $(__nativdlg_app_Contents_PkgInfo___depname)
|
2004-05-24 14:12:40 +00:00
|
|
|
@COND_TOOLKIT_COCOA@____nativdlg_BUNDLE_TGT_REF_DEP = \
|
2008-06-02 14:48:50 +00:00
|
|
|
@COND_TOOLKIT_COCOA@ $(__nativdlg_app_Contents_PkgInfo___depname)
|
2004-01-22 03:48:09 +00:00
|
|
|
COND_MONOLITHIC_0___WXLIB_CORE_p = \
|
2004-09-26 08:46:55 +00:00
|
|
|
-lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core-$(WX_RELEASE)$(HOST_SUFFIX)
|
2004-01-22 03:48:09 +00:00
|
|
|
@COND_MONOLITHIC_0@__WXLIB_CORE_p = $(COND_MONOLITHIC_0___WXLIB_CORE_p)
|
wx-config2.6
Designed to be resiliant against future cut and paste coders. Any
gnarly parts are black boxed away nicely to avoid accidents and have
integrated debugging support for trivial sanity checking in the event
of modification or trouble. In this way the major operations are all
cleanly separated making any or all of them simply extensible, or
replaceable in the face of future needs. Functions now all have api
descriptions. If you rely on a function to act in some way, please
document it to safeguard yourself against inadvertant interface
changes by others.
Everything now runs top top to bottom, we don't try to output things
as fast as we can read them anymore, instead we read everything in,
sort over it just once without the need for 'just in case' temp's, and
then output whatever we were asked for only when we are sure we have
the correct answer. Almost all key data aims to be constant past the
point of its initialisation so side effect creep and trouble with half
(re)initialised data should be significantly reduced in future. In
almost every case it is easy and clean to simply delay initialisation
until all required input channels have been emptied. If you like,
think of it as mostly being one big constructor, with a little
destructor at the end which outputs what you requested. At core, it
is simply a generated config file -- with some user friendly logic for
extracting its data and finding related files.
Removed references to --gl-libs in --help. It still exists, but if
its deprecated, no need to fill space in a compact help summary. It
will remain documented (as deprecated) in the man page.
Removed references to arcane order rules for arguments. Those
limitations don't exist anymore, though the options are backward
compatible in all other respects from the user pov.
Removed references to --inplace, it doesn't need to be in the summary
help either. It also is still accepted as an option, but there is no
value in passing it, an uninstalled wx-config will automatically
behave correctly. When you need --inplace, it will supply that
behaviour for you (but there is no harm in typing it your self in that
case). If you do type it when you don't need it, bad things will
probably happen just like they always would have.
Along with items above, generally compressed --help text to fit on
even a traditional sized terminal without the need for paging. If we
want more detailed help built in, it should be broken into separate
pages, and this would be a trivial extension.
Command line input is now controlled by a small generic parser. You
define what options you want and what groups you want them in by
initialising them as lists. It runs over all the input and fills
corresponding psuedo-hashes from it for you to use as you please
later.
Added a validator for it to check yes/no options.
Use posix extended regex instead of gnu 'basic' regex extensions,
grep -E is portable, if gmake is not a requirement, we surely can't
push gnu grep on people.
Made --list more user friendly. It will now always list the current
wx-config if it matches the feature spec, though it will warn if that
config is not in the specified --prefix. Alternate configs that match
(if any) are listed separately. An unqualified call to wx-config --list
will always return (at least) the config that was called. We can never
have a 'hanging' wx-config shell with no real implementation to back
it up anymore so we can always return a sensible result for the user.
A wx-config anywhere can list (and hence use) the configs installed in
any (other) prefix.
Delegation. Too big a topic to remark on in depth here, see the code
for a fuller description. With everything being nicely constant and
aligned to the respective library build, then aside from delegation,
wx-config really is _just_ a config file (albeit with a layer of logic
around the constants), and each wx-config carries a set of defaults
which match perfectly the library build that it was generated with.
If you choose a set of features that it can match, it will answer all
your queries for them, if it cannot, it will seek to delegate to the
config that is most like itself, but which can supply all the features
you specified. This should be completely compatible with any set of
options that returned a sensible result previously, and produce a
sensible result in many cases where previously the collating order
of your locale or the nuances of your filesystem operations would
decide which library it thought you wanted.
Sort duplicates out of the list of libraries and trickle shared
dependencies down the list to properly support static builds.
Added the inplace-config tweak for use in the build tree. This works
like any other config, except it presets the default prefix to point
at the build dir instead of the configured prefix that will become the
default if this build is installed. It provides the behaviour of
--inplace when $build_dir/wx-config is called without also specifying
a different --{exec-,}prefix or any feature flags that it is
incompatible with. In that event, it will try to delegate as per the
normal rules.
The inplace wrapper is not installed with the primary config which
cleanly disables it for system installs. It will be invalidated if
the build (or source) dir is moved, but will be revalidated if the
build tree is subseqently updated with ./config.status --recheck &&
config.status (which it probably would need to be to build anyway for
other reasons at present too)
Enabled full support for static builds again, promoted --static to a
full feature option. Fixed --ld to return something for them too.
Added --flavour, similar to the existing --vendor, but for autoconf
builds. These will probably want to be streamlined further.
Broadened the use of release and flavour labels to support better
concurrent installs.
Fix bit rot in make-dist due to new/deleted files.
Whittled down the number of obsolete and duplicated substitution
variables in configure.in, and lowercased some variables we no longer
export for substitution. Use the autoconf macros to generate files
where we want them instead of making them someplace and then moving
them all about. Remove extra files and symlinks added for the two
part wx-config version.
Removed the debian -contrib packages. We'll use multi-lib support
to manage them from now on and indiviual libs can be split out along
functional lines if required. This means the retained contribs will
now get __WXDEBUG__ versions packaged too.
Removed conflicts from almost packages except i18n and wxPython. All
packages now either update or install alongside any existing ones.
Added support for flavoured debs as well.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29241 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-21 17:16:29 +00:00
|
|
|
COND_MONOLITHIC_0___WXLIB_BASE_p = \
|
2004-09-26 08:46:55 +00:00
|
|
|
-lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
|
wx-config2.6
Designed to be resiliant against future cut and paste coders. Any
gnarly parts are black boxed away nicely to avoid accidents and have
integrated debugging support for trivial sanity checking in the event
of modification or trouble. In this way the major operations are all
cleanly separated making any or all of them simply extensible, or
replaceable in the face of future needs. Functions now all have api
descriptions. If you rely on a function to act in some way, please
document it to safeguard yourself against inadvertant interface
changes by others.
Everything now runs top top to bottom, we don't try to output things
as fast as we can read them anymore, instead we read everything in,
sort over it just once without the need for 'just in case' temp's, and
then output whatever we were asked for only when we are sure we have
the correct answer. Almost all key data aims to be constant past the
point of its initialisation so side effect creep and trouble with half
(re)initialised data should be significantly reduced in future. In
almost every case it is easy and clean to simply delay initialisation
until all required input channels have been emptied. If you like,
think of it as mostly being one big constructor, with a little
destructor at the end which outputs what you requested. At core, it
is simply a generated config file -- with some user friendly logic for
extracting its data and finding related files.
Removed references to --gl-libs in --help. It still exists, but if
its deprecated, no need to fill space in a compact help summary. It
will remain documented (as deprecated) in the man page.
Removed references to arcane order rules for arguments. Those
limitations don't exist anymore, though the options are backward
compatible in all other respects from the user pov.
Removed references to --inplace, it doesn't need to be in the summary
help either. It also is still accepted as an option, but there is no
value in passing it, an uninstalled wx-config will automatically
behave correctly. When you need --inplace, it will supply that
behaviour for you (but there is no harm in typing it your self in that
case). If you do type it when you don't need it, bad things will
probably happen just like they always would have.
Along with items above, generally compressed --help text to fit on
even a traditional sized terminal without the need for paging. If we
want more detailed help built in, it should be broken into separate
pages, and this would be a trivial extension.
Command line input is now controlled by a small generic parser. You
define what options you want and what groups you want them in by
initialising them as lists. It runs over all the input and fills
corresponding psuedo-hashes from it for you to use as you please
later.
Added a validator for it to check yes/no options.
Use posix extended regex instead of gnu 'basic' regex extensions,
grep -E is portable, if gmake is not a requirement, we surely can't
push gnu grep on people.
Made --list more user friendly. It will now always list the current
wx-config if it matches the feature spec, though it will warn if that
config is not in the specified --prefix. Alternate configs that match
(if any) are listed separately. An unqualified call to wx-config --list
will always return (at least) the config that was called. We can never
have a 'hanging' wx-config shell with no real implementation to back
it up anymore so we can always return a sensible result for the user.
A wx-config anywhere can list (and hence use) the configs installed in
any (other) prefix.
Delegation. Too big a topic to remark on in depth here, see the code
for a fuller description. With everything being nicely constant and
aligned to the respective library build, then aside from delegation,
wx-config really is _just_ a config file (albeit with a layer of logic
around the constants), and each wx-config carries a set of defaults
which match perfectly the library build that it was generated with.
If you choose a set of features that it can match, it will answer all
your queries for them, if it cannot, it will seek to delegate to the
config that is most like itself, but which can supply all the features
you specified. This should be completely compatible with any set of
options that returned a sensible result previously, and produce a
sensible result in many cases where previously the collating order
of your locale or the nuances of your filesystem operations would
decide which library it thought you wanted.
Sort duplicates out of the list of libraries and trickle shared
dependencies down the list to properly support static builds.
Added the inplace-config tweak for use in the build tree. This works
like any other config, except it presets the default prefix to point
at the build dir instead of the configured prefix that will become the
default if this build is installed. It provides the behaviour of
--inplace when $build_dir/wx-config is called without also specifying
a different --{exec-,}prefix or any feature flags that it is
incompatible with. In that event, it will try to delegate as per the
normal rules.
The inplace wrapper is not installed with the primary config which
cleanly disables it for system installs. It will be invalidated if
the build (or source) dir is moved, but will be revalidated if the
build tree is subseqently updated with ./config.status --recheck &&
config.status (which it probably would need to be to build anyway for
other reasons at present too)
Enabled full support for static builds again, promoted --static to a
full feature option. Fixed --ld to return something for them too.
Added --flavour, similar to the existing --vendor, but for autoconf
builds. These will probably want to be streamlined further.
Broadened the use of release and flavour labels to support better
concurrent installs.
Fix bit rot in make-dist due to new/deleted files.
Whittled down the number of obsolete and duplicated substitution
variables in configure.in, and lowercased some variables we no longer
export for substitution. Use the autoconf macros to generate files
where we want them instead of making them someplace and then moving
them all about. Remove extra files and symlinks added for the two
part wx-config version.
Removed the debian -contrib packages. We'll use multi-lib support
to manage them from now on and indiviual libs can be split out along
functional lines if required. This means the retained contribs will
now get __WXDEBUG__ versions packaged too.
Removed conflicts from almost packages except i18n and wxPython. All
packages now either update or install alongside any existing ones.
Added support for flavoured debs as well.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29241 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-21 17:16:29 +00:00
|
|
|
@COND_MONOLITHIC_0@__WXLIB_BASE_p = $(COND_MONOLITHIC_0___WXLIB_BASE_p)
|
2004-01-22 03:48:09 +00:00
|
|
|
@COND_PLATFORM_WIN32_1@__nativdlg___win32rc = nativdlg_nativdlg_rc.o
|
|
|
|
COND_MONOLITHIC_1___WXLIB_MONO_p = \
|
2004-09-26 08:46:55 +00:00
|
|
|
-lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
|
2004-01-22 03:48:09 +00:00
|
|
|
@COND_MONOLITHIC_1@__WXLIB_MONO_p = $(COND_MONOLITHIC_1___WXLIB_MONO_p)
|
2008-10-08 15:44:49 +00:00
|
|
|
@COND_USE_GUI_1_wxUSE_LIBTIFF_builtin@__LIB_TIFF_p \
|
|
|
|
@COND_USE_GUI_1_wxUSE_LIBTIFF_builtin@ = \
|
|
|
|
@COND_USE_GUI_1_wxUSE_LIBTIFF_builtin@ -lwxtiff$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
|
|
|
|
@COND_USE_GUI_1_wxUSE_LIBJPEG_builtin@__LIB_JPEG_p \
|
|
|
|
@COND_USE_GUI_1_wxUSE_LIBJPEG_builtin@ = \
|
|
|
|
@COND_USE_GUI_1_wxUSE_LIBJPEG_builtin@ -lwxjpeg$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
|
|
|
|
@COND_USE_GUI_1_wxUSE_LIBPNG_builtin@__LIB_PNG_p \
|
|
|
|
@COND_USE_GUI_1_wxUSE_LIBPNG_builtin@ = \
|
|
|
|
@COND_USE_GUI_1_wxUSE_LIBPNG_builtin@ -lwxpng$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
|
|
|
|
@COND_wxUSE_ZLIB_builtin@__LIB_ZLIB_p = \
|
|
|
|
@COND_wxUSE_ZLIB_builtin@ -lwxzlib$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
|
|
|
|
COND_wxUSE_REGEX_builtin___LIB_REGEX_p = \
|
wx-config2.6
Designed to be resiliant against future cut and paste coders. Any
gnarly parts are black boxed away nicely to avoid accidents and have
integrated debugging support for trivial sanity checking in the event
of modification or trouble. In this way the major operations are all
cleanly separated making any or all of them simply extensible, or
replaceable in the face of future needs. Functions now all have api
descriptions. If you rely on a function to act in some way, please
document it to safeguard yourself against inadvertant interface
changes by others.
Everything now runs top top to bottom, we don't try to output things
as fast as we can read them anymore, instead we read everything in,
sort over it just once without the need for 'just in case' temp's, and
then output whatever we were asked for only when we are sure we have
the correct answer. Almost all key data aims to be constant past the
point of its initialisation so side effect creep and trouble with half
(re)initialised data should be significantly reduced in future. In
almost every case it is easy and clean to simply delay initialisation
until all required input channels have been emptied. If you like,
think of it as mostly being one big constructor, with a little
destructor at the end which outputs what you requested. At core, it
is simply a generated config file -- with some user friendly logic for
extracting its data and finding related files.
Removed references to --gl-libs in --help. It still exists, but if
its deprecated, no need to fill space in a compact help summary. It
will remain documented (as deprecated) in the man page.
Removed references to arcane order rules for arguments. Those
limitations don't exist anymore, though the options are backward
compatible in all other respects from the user pov.
Removed references to --inplace, it doesn't need to be in the summary
help either. It also is still accepted as an option, but there is no
value in passing it, an uninstalled wx-config will automatically
behave correctly. When you need --inplace, it will supply that
behaviour for you (but there is no harm in typing it your self in that
case). If you do type it when you don't need it, bad things will
probably happen just like they always would have.
Along with items above, generally compressed --help text to fit on
even a traditional sized terminal without the need for paging. If we
want more detailed help built in, it should be broken into separate
pages, and this would be a trivial extension.
Command line input is now controlled by a small generic parser. You
define what options you want and what groups you want them in by
initialising them as lists. It runs over all the input and fills
corresponding psuedo-hashes from it for you to use as you please
later.
Added a validator for it to check yes/no options.
Use posix extended regex instead of gnu 'basic' regex extensions,
grep -E is portable, if gmake is not a requirement, we surely can't
push gnu grep on people.
Made --list more user friendly. It will now always list the current
wx-config if it matches the feature spec, though it will warn if that
config is not in the specified --prefix. Alternate configs that match
(if any) are listed separately. An unqualified call to wx-config --list
will always return (at least) the config that was called. We can never
have a 'hanging' wx-config shell with no real implementation to back
it up anymore so we can always return a sensible result for the user.
A wx-config anywhere can list (and hence use) the configs installed in
any (other) prefix.
Delegation. Too big a topic to remark on in depth here, see the code
for a fuller description. With everything being nicely constant and
aligned to the respective library build, then aside from delegation,
wx-config really is _just_ a config file (albeit with a layer of logic
around the constants), and each wx-config carries a set of defaults
which match perfectly the library build that it was generated with.
If you choose a set of features that it can match, it will answer all
your queries for them, if it cannot, it will seek to delegate to the
config that is most like itself, but which can supply all the features
you specified. This should be completely compatible with any set of
options that returned a sensible result previously, and produce a
sensible result in many cases where previously the collating order
of your locale or the nuances of your filesystem operations would
decide which library it thought you wanted.
Sort duplicates out of the list of libraries and trickle shared
dependencies down the list to properly support static builds.
Added the inplace-config tweak for use in the build tree. This works
like any other config, except it presets the default prefix to point
at the build dir instead of the configured prefix that will become the
default if this build is installed. It provides the behaviour of
--inplace when $build_dir/wx-config is called without also specifying
a different --{exec-,}prefix or any feature flags that it is
incompatible with. In that event, it will try to delegate as per the
normal rules.
The inplace wrapper is not installed with the primary config which
cleanly disables it for system installs. It will be invalidated if
the build (or source) dir is moved, but will be revalidated if the
build tree is subseqently updated with ./config.status --recheck &&
config.status (which it probably would need to be to build anyway for
other reasons at present too)
Enabled full support for static builds again, promoted --static to a
full feature option. Fixed --ld to return something for them too.
Added --flavour, similar to the existing --vendor, but for autoconf
builds. These will probably want to be streamlined further.
Broadened the use of release and flavour labels to support better
concurrent installs.
Fix bit rot in make-dist due to new/deleted files.
Whittled down the number of obsolete and duplicated substitution
variables in configure.in, and lowercased some variables we no longer
export for substitution. Use the autoconf macros to generate files
where we want them instead of making them someplace and then moving
them all about. Remove extra files and symlinks added for the two
part wx-config version.
Removed the debian -contrib packages. We'll use multi-lib support
to manage them from now on and indiviual libs can be split out along
functional lines if required. This means the retained contribs will
now get __WXDEBUG__ versions packaged too.
Removed conflicts from almost packages except i18n and wxPython. All
packages now either update or install alongside any existing ones.
Added support for flavoured debs as well.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29241 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-21 17:16:29 +00:00
|
|
|
-lwxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
|
2008-10-08 15:44:49 +00:00
|
|
|
@COND_wxUSE_REGEX_builtin@__LIB_REGEX_p = $(COND_wxUSE_REGEX_builtin___LIB_REGEX_p)
|
|
|
|
@COND_wxUSE_EXPAT_builtin@__LIB_EXPAT_p = \
|
|
|
|
@COND_wxUSE_EXPAT_builtin@ -lwxexpat$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
|
2003-06-23 22:42:25 +00:00
|
|
|
|
|
|
|
### Targets: ###
|
|
|
|
|
2003-08-23 11:38:02 +00:00
|
|
|
all: nativdlg$(EXEEXT) $(__nativdlg_bundle___depname)
|
2003-06-23 22:42:25 +00:00
|
|
|
|
2008-10-08 15:44:49 +00:00
|
|
|
install:
|
2004-01-22 03:48:09 +00:00
|
|
|
|
|
|
|
uninstall:
|
|
|
|
|
|
|
|
install-strip: install
|
|
|
|
|
2003-06-23 22:42:25 +00:00
|
|
|
clean:
|
2003-08-13 12:38:44 +00:00
|
|
|
rm -rf ./.deps ./.pch
|
2003-08-01 18:59:37 +00:00
|
|
|
rm -f ./*.o
|
2003-08-23 11:38:02 +00:00
|
|
|
rm -f nativdlg$(EXEEXT)
|
2003-08-13 12:38:44 +00:00
|
|
|
rm -rf nativdlg.app
|
2003-06-23 22:42:25 +00:00
|
|
|
|
2003-06-25 18:14:32 +00:00
|
|
|
distclean: clean
|
2005-02-12 18:53:20 +00:00
|
|
|
rm -f config.cache config.log config.status bk-deps bk-make-pch shared-ld-sh Makefile
|
2003-06-23 22:42:25 +00:00
|
|
|
|
2003-08-23 11:38:02 +00:00
|
|
|
nativdlg$(EXEEXT): $(NATIVDLG_OBJECTS) $(__nativdlg___win32rc)
|
2008-10-08 15:44:49 +00:00
|
|
|
$(CXX) -o $@ $(NATIVDLG_OBJECTS) -L$(LIBDIRNAME) $(LDFLAGS_GUI) $(SAMPLES_RPATH_FLAG) $(LDFLAGS) $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) $(EXTRALIBS_FOR_GUI) $(__LIB_ZLIB_p) $(__LIB_REGEX_p) $(__LIB_EXPAT_p) $(EXTRALIBS_FOR_BASE) $(LIBS)
|
2008-09-04 07:57:32 +00:00
|
|
|
|
2003-07-04 14:03:07 +00:00
|
|
|
$(__nativdlg___mac_setfilecmd)
|
2003-09-15 15:36:27 +00:00
|
|
|
$(__nativdlg___os2_emxbindcmd)
|
2003-08-13 12:38:44 +00:00
|
|
|
|
2008-06-12 18:15:36 +00:00
|
|
|
@COND_PLATFORM_MACOSX_1@nativdlg.app/Contents/PkgInfo: nativdlg$(EXEEXT) $(top_srcdir)/src/osx/carbon/Info.plist.in $(top_srcdir)/src/osx/carbon/wxmac.icns
|
2008-06-02 14:48:50 +00:00
|
|
|
@COND_PLATFORM_MACOSX_1@ mkdir -p nativdlg.app/Contents
|
|
|
|
@COND_PLATFORM_MACOSX_1@ mkdir -p nativdlg.app/Contents/MacOS
|
|
|
|
@COND_PLATFORM_MACOSX_1@ mkdir -p nativdlg.app/Contents/Resources
|
|
|
|
@COND_PLATFORM_MACOSX_1@
|
|
|
|
@COND_PLATFORM_MACOSX_1@
|
|
|
|
@COND_PLATFORM_MACOSX_1@ sed -e "s/IDENTIFIER/`echo $(srcdir) | sed -e 's,\.\./,,g' | sed -e 's,/,.,g'`/" \
|
|
|
|
@COND_PLATFORM_MACOSX_1@ -e "s/EXECUTABLE/nativdlg/" \
|
|
|
|
@COND_PLATFORM_MACOSX_1@ -e "s/VERSION/$(WX_VERSION)/" \
|
2008-06-12 18:15:36 +00:00
|
|
|
@COND_PLATFORM_MACOSX_1@ $(top_srcdir)/src/osx/carbon/Info.plist.in >nativdlg.app/Contents/Info.plist
|
2008-06-02 14:48:50 +00:00
|
|
|
@COND_PLATFORM_MACOSX_1@
|
|
|
|
@COND_PLATFORM_MACOSX_1@
|
|
|
|
@COND_PLATFORM_MACOSX_1@ echo -n "APPL????" >nativdlg.app/Contents/PkgInfo
|
|
|
|
@COND_PLATFORM_MACOSX_1@
|
|
|
|
@COND_PLATFORM_MACOSX_1@
|
2009-04-26 02:04:16 +00:00
|
|
|
@COND_PLATFORM_MACOSX_1@ ln -f nativdlg$(EXEEXT) nativdlg.app/Contents/MacOS/nativdlg
|
2008-06-02 14:48:50 +00:00
|
|
|
@COND_PLATFORM_MACOSX_1@
|
|
|
|
@COND_PLATFORM_MACOSX_1@
|
2008-06-12 18:15:36 +00:00
|
|
|
@COND_PLATFORM_MACOSX_1@ cp -f $(top_srcdir)/src/osx/carbon/wxmac.icns nativdlg.app/Contents/Resources/wxmac.icns
|
2003-08-13 12:38:44 +00:00
|
|
|
|
2004-05-24 14:12:40 +00:00
|
|
|
@COND_PLATFORM_MACOSX_1@nativdlg_bundle: $(____nativdlg_BUNDLE_TGT_REF_DEP)
|
2003-07-04 14:03:07 +00:00
|
|
|
|
|
|
|
nativdlg_nativdlg.o: $(srcdir)/nativdlg.cpp
|
2005-02-12 18:53:20 +00:00
|
|
|
$(CXXC) -c -o $@ $(NATIVDLG_CXXFLAGS) $(srcdir)/nativdlg.cpp
|
2003-06-23 22:42:25 +00:00
|
|
|
|
2003-07-04 14:03:07 +00:00
|
|
|
nativdlg_nativdlg_rc.o: $(srcdir)/nativdlg.rc
|
2007-10-11 15:58:04 +00:00
|
|
|
$(WINDRES) -i$< -o$@ --define __WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_2) $(__EXCEPTIONS_DEFINE_p_2) $(__RTTI_DEFINE_p_2) $(__THREAD_DEFINE_p_2) --include-dir $(srcdir) $(__DLLFLAG_p_2) --include-dir $(srcdir)/../../samples $(__RCDEFDIR_p_1) --include-dir $(top_srcdir)/include
|
2003-07-04 14:03:07 +00:00
|
|
|
|
2003-06-23 22:42:25 +00:00
|
|
|
|
|
|
|
# Include dependency info, if present:
|
2008-10-08 15:44:49 +00:00
|
|
|
@IF_GNU_MAKE@-include ./.deps/*.d
|
2003-06-23 22:42:25 +00:00
|
|
|
|
2004-01-22 03:48:09 +00:00
|
|
|
.PHONY: all install uninstall clean distclean nativdlg_bundle
|