# =========================================================================
# This makefile was generated by
-# Bakefile 0.2.8 (http://www.bakefile.org)
+# Bakefile 0.2.9 (http://www.bakefile.org)
# Do not modify, all changes will be overwritten!
# =========================================================================
DESTDIR =
WX_RELEASE = 2.9
-WX_VERSION = $(WX_RELEASE).1
+WX_VERSION = $(WX_RELEASE).2
LIBDIRNAME = $(wx_top_builddir)/lib
MY_DLL_CXXFLAGS = -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
$(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) \
- $(__DLLFLAG_p) -I$(srcdir) $(PIC_FLAG) $(CXXWARNINGS) $(CPPFLAGS) $(CXXFLAGS)
+ $(__DLLFLAG_p) -DMY_DLL_BUILDING -I$(srcdir) $(PIC_FLAG) $(CXXWARNINGS) \
+ $(CPPFLAGS) $(CXXFLAGS)
MY_DLL_OBJECTS = \
my_dll_my_dll.o
WX_EXE_CXXFLAGS = -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
$(__wx_exe___win32rc) \
$(__wx_exe_os2_lib_res) \
wx_exe_wx_exe.o
+SDK_EXE_CXXFLAGS = $(CPPFLAGS) $(CXXFLAGS)
+SDK_EXE_OBJECTS = \
+ sdk_exe_sdk_exe.o
### Conditionally set variables: ###
@COND_TOOLKIT_OSX_IPHONE@ = $(__wx_exe_app_Contents_PkgInfo___depname)
@COND_TOOLKIT_COCOA@____wx_exe_BUNDLE_TGT_REF_DEP = \
@COND_TOOLKIT_COCOA@ $(__wx_exe_app_Contents_PkgInfo___depname)
+@COND_PLATFORM_WIN32_1@__sdk_exe___depname = sdk_exe$(EXEEXT)
+@COND_PLATFORM_MAC_0@__sdk_exe___mac_setfilecmd = @true
+@COND_PLATFORM_MAC_1@__sdk_exe___mac_setfilecmd = \
+@COND_PLATFORM_MAC_1@ $(SETFILE) -t APPL sdk_exe$(EXEEXT)
+COND_PLATFORM_OS2_1___sdk_exe___os2_emxbindcmd = $(NM) sdk_exe$(EXEEXT) | if \
+ grep -q pmwin.763 ; then emxbind -ep sdk_exe$(EXEEXT) ; fi
+@COND_PLATFORM_OS2_1@__sdk_exe___os2_emxbindcmd = $(COND_PLATFORM_OS2_1___sdk_exe___os2_emxbindcmd)
@COND_WXUNIV_1@__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
@COND_DEBUG_FLAG_0@__DEBUG_DEFINE_p = -DwxDEBUG_LEVEL=0
@COND_USE_EXCEPTIONS_0@__EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS
### Targets: ###
-all: $(__my_dll___depname) $(__wx_exe___depname) $(__wx_exe_bundle___depname)
+all: $(__my_dll___depname) $(__wx_exe___depname) $(__wx_exe_bundle___depname) $(__sdk_exe___depname)
install:
rm -f $(LIBPREFIX)my_dll.$(DLLIMP_SUFFIX)
rm -f wx_exe$(EXEEXT)
rm -rf wx_exe.app
+ rm -f sdk_exe$(EXEEXT)
distclean: clean
rm -f config.cache config.log config.status bk-deps bk-make-pch shared-ld-sh Makefile
@COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0@wx_exe_bundle: $(____wx_exe_BUNDLE_TGT_REF_DEP)
+@COND_PLATFORM_WIN32_1@sdk_exe$(EXEEXT): $(SDK_EXE_OBJECTS) $(__my_dll___depname)
+@COND_PLATFORM_WIN32_1@ $(CXX) -o $@ $(SDK_EXE_OBJECTS) -L. $(LDFLAGS_GUI) $(LDFLAGS) -lmy_dll -luser32 $(LIBS)
+@COND_PLATFORM_WIN32_1@
+@COND_PLATFORM_WIN32_1@ $(__sdk_exe___mac_setfilecmd)
+@COND_PLATFORM_WIN32_1@ $(__sdk_exe___os2_emxbindcmd)
+
my_dll_my_dll.o: $(srcdir)/my_dll.cpp
$(CXXC) -c -o $@ $(MY_DLL_CXXFLAGS) $(srcdir)/my_dll.cpp
wx_exe_sample_rc.o: $(srcdir)/../../samples/sample.rc
- $(WINDRES) -i$< -o$@ --define __WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_4) $(__DEBUG_DEFINE_p_4) $(__EXCEPTIONS_DEFINE_p_4) $(__RTTI_DEFINE_p_4) $(__THREAD_DEFINE_p_4) --include-dir $(srcdir) $(__DLLFLAG_p_4) --include-dir $(srcdir)/../../samples $(__RCDEFDIR_p_1) --include-dir $(top_srcdir)/include
+ $(WINDRES) -i$< -o$@ --define __WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_4) $(__DEBUG_DEFINE_p_4) $(__EXCEPTIONS_DEFINE_p_4) $(__RTTI_DEFINE_p_4) $(__THREAD_DEFINE_p_4) --include-dir $(srcdir) $(__DLLFLAG_p_4) --include-dir $(srcdir)/../../samples $(__RCDEFDIR_p_1) --include-dir $(top_srcdir)/include
wx_exe_wx_exe.o: $(srcdir)/wx_exe.cpp
$(CXXC) -c -o $@ $(WX_EXE_CXXFLAGS) $(srcdir)/wx_exe.cpp
+sdk_exe_sdk_exe.o: $(srcdir)/sdk_exe.cpp
+ $(CXXC) -c -o $@ $(SDK_EXE_CXXFLAGS) $(srcdir)/sdk_exe.cpp
+
# Include dependency info, if present:
@IF_GNU_MAKE@-include ./.deps/*.d