1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.2.5 (http://www.bakefile.org)
4 # Do not modify, all changes will be overwritten!
5 # =========================================================================
11 exec_prefix = @exec_prefix@
12 datarootdir = @datarootdir@
20 top_srcdir = @top_srcdir@
22 LDFLAGS_GUI = @LDFLAGS_GUI@
27 WX_LIB_FLAVOUR = @WX_LIB_FLAVOUR@
29 TOOLKIT_LOWERCASE = @TOOLKIT_LOWERCASE@
30 TOOLKIT_VERSION = @TOOLKIT_VERSION@
31 TOOLCHAIN_FULLNAME = @TOOLCHAIN_FULLNAME@
32 EXTRALIBS = @EXTRALIBS@
33 EXTRALIBS_GUI = @EXTRALIBS_GUI@
34 CXXWARNINGS = @CXXWARNINGS@
35 HOST_SUFFIX = @HOST_SUFFIX@
36 wx_top_builddir = @wx_top_builddir@
42 LIBDIRNAME = $(wx_top_builddir)/lib
43 WXEMULATOR_CXXFLAGS = -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) \
44 $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) \
45 -I$(srcdir) $(__DLLFLAG_p) -I$(srcdir)/../../../samples $(CXXWARNINGS) \
46 $(CPPFLAGS) $(CXXFLAGS)
47 WXEMULATOR_OBJECTS = \
48 $(__wxemulator___win32rc) \
49 $(__wxemulator_os2_lib_res) \
52 ### Conditionally set variables: ###
54 @COND_DEPS_TRACKING_0@CXXC = $(CXX)
55 @COND_DEPS_TRACKING_1@CXXC = $(BK_DEPS) $(CXX)
56 @COND_USE_GUI_0@PORTNAME = base
57 @COND_USE_GUI_1@PORTNAME = $(TOOLKIT_LOWERCASE)$(TOOLKIT_VERSION)
58 @COND_TOOLKIT_MAC@WXBASEPORT = _carbon
59 @COND_BUILD_debug_DEBUG_FLAG_default@WXDEBUGFLAG = d
60 @COND_DEBUG_FLAG_1@WXDEBUGFLAG = d
61 @COND_UNICODE_1@WXUNICODEFLAG = u
62 @COND_WXUNIV_1@WXUNIVNAME = univ
63 @COND_MONOLITHIC_0@EXTRALIBS_FOR_BASE = $(EXTRALIBS)
64 @COND_MONOLITHIC_1@EXTRALIBS_FOR_BASE = $(EXTRALIBS) $(EXTRALIBS_GUI)
65 @COND_MONOLITHIC_0@EXTRALIBS_FOR_GUI = $(EXTRALIBS_GUI)
66 @COND_MONOLITHIC_1@EXTRALIBS_FOR_GUI =
67 @COND_PLATFORM_MAC_0@__wxemulator___mac_setfilecmd = @true
68 @COND_PLATFORM_MAC_1@__wxemulator___mac_setfilecmd = \
69 @COND_PLATFORM_MAC_1@ $(SETFILE) -t APPL wxemulator$(EXEEXT)
70 @COND_WXUNIV_1@__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
71 @COND_WXUNIV_1@__WXUNIV_DEFINE_p_2 = --define __WXUNIVERSAL__
72 @COND_USE_EXCEPTIONS_0@__EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS
73 @COND_USE_EXCEPTIONS_0@__EXCEPTIONS_DEFINE_p_2 = --define wxNO_EXCEPTIONS
74 @COND_USE_RTTI_0@__RTTI_DEFINE_p = -DwxNO_RTTI
75 @COND_USE_RTTI_0@__RTTI_DEFINE_p_2 = --define wxNO_RTTI
76 @COND_USE_THREADS_0@__THREAD_DEFINE_p = -DwxNO_THREADS
77 @COND_USE_THREADS_0@__THREAD_DEFINE_p_2 = --define wxNO_THREADS
78 @COND_SHARED_1@__DLLFLAG_p = -DWXUSINGDLL
79 @COND_SHARED_1@__DLLFLAG_p_2 = --define WXUSINGDLL
80 COND_PLATFORM_OS2_1___wxemulator___os2_emxbindcmd = $(NM) wxemulator$(EXEEXT) \
81 | if grep -q pmwin.763 ; then emxbind -ep wxemulator$(EXEEXT) ; fi
82 @COND_PLATFORM_OS2_1@__wxemulator___os2_emxbindcmd = $(COND_PLATFORM_OS2_1___wxemulator___os2_emxbindcmd)
83 @COND_TOOLKIT_MSW@__RCDEFDIR_p_1 = --include-dir \
84 @COND_TOOLKIT_MSW@ $(LIBDIRNAME)/wx/include/$(TOOLCHAIN_FULLNAME)
85 @COND_PLATFORM_WIN32_1@__wxemulator___win32rc = wxemulator_sample_rc.o
86 @COND_PLATFORM_OS2_1@__wxemulator_os2_lib_res = \
87 @COND_PLATFORM_OS2_1@ $(top_srcdir)/include/wx/os2/wx.res
88 COND_MONOLITHIC_0___WXLIB_CORE_p = \
89 -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core-$(WX_RELEASE)$(HOST_SUFFIX)
90 @COND_MONOLITHIC_0@__WXLIB_CORE_p = $(COND_MONOLITHIC_0___WXLIB_CORE_p)
91 COND_MONOLITHIC_0___WXLIB_BASE_p = \
92 -lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
93 @COND_MONOLITHIC_0@__WXLIB_BASE_p = $(COND_MONOLITHIC_0___WXLIB_BASE_p)
94 COND_MONOLITHIC_1___WXLIB_MONO_p = \
95 -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
96 @COND_MONOLITHIC_1@__WXLIB_MONO_p = $(COND_MONOLITHIC_1___WXLIB_MONO_p)
97 @COND_USE_GUI_1_wxUSE_LIBTIFF_builtin@__LIB_TIFF_p \
98 @COND_USE_GUI_1_wxUSE_LIBTIFF_builtin@ = \
99 @COND_USE_GUI_1_wxUSE_LIBTIFF_builtin@ -lwxtiff$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
100 @COND_USE_GUI_1_wxUSE_LIBJPEG_builtin@__LIB_JPEG_p \
101 @COND_USE_GUI_1_wxUSE_LIBJPEG_builtin@ = \
102 @COND_USE_GUI_1_wxUSE_LIBJPEG_builtin@ -lwxjpeg$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
103 @COND_USE_GUI_1_wxUSE_LIBPNG_builtin@__LIB_PNG_p \
104 @COND_USE_GUI_1_wxUSE_LIBPNG_builtin@ = \
105 @COND_USE_GUI_1_wxUSE_LIBPNG_builtin@ -lwxpng$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
106 @COND_wxUSE_ZLIB_builtin@__LIB_ZLIB_p = \
107 @COND_wxUSE_ZLIB_builtin@ -lwxzlib$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
108 COND_wxUSE_REGEX_builtin___LIB_REGEX_p = \
109 -lwxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
110 @COND_wxUSE_REGEX_builtin@__LIB_REGEX_p = $(COND_wxUSE_REGEX_builtin___LIB_REGEX_p)
111 @COND_wxUSE_EXPAT_builtin@__LIB_EXPAT_p = \
112 @COND_wxUSE_EXPAT_builtin@ -lwxexpat$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
116 all: wxemulator$(EXEEXT) data
122 install-strip: install
125 rm -rf ./.deps ./.pch
127 rm -f wxemulator$(EXEEXT)
130 rm -f config.cache config.log config.status bk-deps bk-make-pch shared-ld-sh Makefile
132 wxemulator$(EXEEXT): $(WXEMULATOR_OBJECTS) $(__wxemulator___win32rc)
133 $(CXX) -o $@ $(WXEMULATOR_OBJECTS) -L$(LIBDIRNAME) $(LDFLAGS_GUI) $(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)
135 $(__wxemulator___mac_setfilecmd)
136 $(__wxemulator___os2_emxbindcmd)
140 @for f in default.wxe ipaq.wxe bluegradient.jpg ipaq01.jpg; do \
141 if test ! -f ./$$f -a ! -d ./$$f ; \
143 else x=`find $(srcdir)/$$f -newer ./$$f -print` ; \
146 cp -pRf $(srcdir)/$$f . ;; \
150 wxemulator_sample_rc.o: $(srcdir)/../../../samples/sample.rc
151 $(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
153 wxemulator_emulator.o: $(srcdir)/emulator.cpp
154 $(CXXC) -c -o $@ $(WXEMULATOR_CXXFLAGS) $(srcdir)/emulator.cpp
157 @COND_USE_STC_1@$(srcdir)/include/wx/stc/stc.h: \
158 @COND_USE_STC_1@$(srcdir)/src/stc/scintilla/include/Scintilla.iface \
159 @COND_USE_STC_1@$(srcdir)/src/stc/stc.cpp.in \
160 @COND_USE_STC_1@$(srcdir)/src/stc/stc.h.in \
161 @COND_USE_STC_1@$(srcdir)/src/stc/gen_iface.py
162 @COND_USE_STC_1@ cd $(srcdir)/src/stc && ./gen_iface.py
163 @COND_USE_STC_1@monolib_stc.o monodll_stc.o stcdll_stc.o stclib_stc.o: \
164 @COND_USE_STC_1@ $(srcdir)/include/wx/stc/stc.h
166 # Include dependency info, if present:
167 @IF_GNU_MAKE@-include ./.deps/*.d
169 .PHONY: all install uninstall clean distclean data