]>
Commit | Line | Data |
---|---|---|
1 | # ========================================================================= | |
2 | # This makefile was generated by | |
3 | # Bakefile 0.2.9 (http://www.bakefile.org) | |
4 | # Do not modify, all changes will be overwritten! | |
5 | # ========================================================================= | |
6 | ||
7 | ||
8 | @MAKE_SET@ | |
9 | ||
10 | prefix = @prefix@ | |
11 | exec_prefix = @exec_prefix@ | |
12 | datarootdir = @datarootdir@ | |
13 | INSTALL = @INSTALL@ | |
14 | EXEEXT = @EXEEXT@ | |
15 | WINDRES = @WINDRES@ | |
16 | SETFILE = @SETFILE@ | |
17 | NM = @NM@ | |
18 | BK_DEPS = @BK_DEPS@ | |
19 | srcdir = @srcdir@ | |
20 | top_srcdir = @top_srcdir@ | |
21 | LIBS = @LIBS@ | |
22 | LDFLAGS_GUI = @LDFLAGS_GUI@ | |
23 | CXX = @CXX@ | |
24 | CXXFLAGS = @CXXFLAGS@ | |
25 | CPPFLAGS = @CPPFLAGS@ | |
26 | LDFLAGS = @LDFLAGS@ | |
27 | WX_LIB_FLAVOUR = @WX_LIB_FLAVOUR@ | |
28 | TOOLKIT = @TOOLKIT@ | |
29 | TOOLKIT_LOWERCASE = @TOOLKIT_LOWERCASE@ | |
30 | TOOLKIT_VERSION = @TOOLKIT_VERSION@ | |
31 | TOOLCHAIN_FULLNAME = @TOOLCHAIN_FULLNAME@ | |
32 | EXTRALIBS = @EXTRALIBS@ | |
33 | EXTRALIBS_XML = @EXTRALIBS_XML@ | |
34 | EXTRALIBS_GUI = @EXTRALIBS_GUI@ | |
35 | CXXWARNINGS = @CXXWARNINGS@ | |
36 | HOST_SUFFIX = @HOST_SUFFIX@ | |
37 | wx_top_builddir = @wx_top_builddir@ | |
38 | ||
39 | ### Variables: ### | |
40 | ||
41 | DESTDIR = | |
42 | WX_RELEASE = 3.0 | |
43 | LIBDIRNAME = $(wx_top_builddir)/lib | |
44 | WXEMULATOR_CXXFLAGS = -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) \ | |
45 | $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \ | |
46 | $(__THREAD_DEFINE_p) -I$(srcdir) $(__DLLFLAG_p) \ | |
47 | -I$(srcdir)/../../../samples $(CXXWARNINGS) $(CPPFLAGS) $(CXXFLAGS) | |
48 | WXEMULATOR_OBJECTS = \ | |
49 | $(__wxemulator___win32rc) \ | |
50 | $(__wxemulator_os2_lib_res) \ | |
51 | wxemulator_emulator.o | |
52 | ||
53 | ### Conditionally set variables: ### | |
54 | ||
55 | @COND_DEPS_TRACKING_0@CXXC = $(CXX) | |
56 | @COND_DEPS_TRACKING_1@CXXC = $(BK_DEPS) $(CXX) | |
57 | @COND_USE_GUI_0@PORTNAME = base | |
58 | @COND_USE_GUI_1@PORTNAME = $(TOOLKIT_LOWERCASE)$(TOOLKIT_VERSION) | |
59 | @COND_TOOLKIT_MAC@WXBASEPORT = _carbon | |
60 | @COND_BUILD_debug@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) \ | |
65 | @COND_MONOLITHIC_1@ $(EXTRALIBS_XML) $(EXTRALIBS_GUI) | |
66 | @COND_MONOLITHIC_0@EXTRALIBS_FOR_GUI = $(EXTRALIBS_GUI) | |
67 | @COND_MONOLITHIC_1@EXTRALIBS_FOR_GUI = | |
68 | @COND_PLATFORM_MAC_0@__wxemulator___mac_setfilecmd = @true | |
69 | @COND_PLATFORM_MAC_1@__wxemulator___mac_setfilecmd = \ | |
70 | @COND_PLATFORM_MAC_1@ $(SETFILE) -t APPL wxemulator$(EXEEXT) | |
71 | @COND_WXUNIV_1@__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__ | |
72 | @COND_WXUNIV_1@__WXUNIV_DEFINE_p_2 = --define __WXUNIVERSAL__ | |
73 | @COND_DEBUG_FLAG_0@__DEBUG_DEFINE_p = -DwxDEBUG_LEVEL=0 | |
74 | @COND_DEBUG_FLAG_0@__DEBUG_DEFINE_p_2 = --define wxDEBUG_LEVEL=0 | |
75 | @COND_USE_EXCEPTIONS_0@__EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS | |
76 | @COND_USE_EXCEPTIONS_0@__EXCEPTIONS_DEFINE_p_2 = --define wxNO_EXCEPTIONS | |
77 | @COND_USE_RTTI_0@__RTTI_DEFINE_p = -DwxNO_RTTI | |
78 | @COND_USE_RTTI_0@__RTTI_DEFINE_p_2 = --define wxNO_RTTI | |
79 | @COND_USE_THREADS_0@__THREAD_DEFINE_p = -DwxNO_THREADS | |
80 | @COND_USE_THREADS_0@__THREAD_DEFINE_p_2 = --define wxNO_THREADS | |
81 | @COND_SHARED_1@__DLLFLAG_p = -DWXUSINGDLL | |
82 | @COND_SHARED_1@__DLLFLAG_p_2 = --define WXUSINGDLL | |
83 | COND_PLATFORM_OS2_1___wxemulator___os2_emxbindcmd = $(NM) wxemulator$(EXEEXT) \ | |
84 | | if grep -q pmwin.763 ; then emxbind -ep wxemulator$(EXEEXT) ; fi | |
85 | @COND_PLATFORM_OS2_1@__wxemulator___os2_emxbindcmd = $(COND_PLATFORM_OS2_1___wxemulator___os2_emxbindcmd) | |
86 | @COND_TOOLKIT_MSW@__RCDEFDIR_p_1 = --include-dir \ | |
87 | @COND_TOOLKIT_MSW@ $(LIBDIRNAME)/wx/include/$(TOOLCHAIN_FULLNAME) | |
88 | @COND_PLATFORM_WIN32_1@__wxemulator___win32rc = wxemulator_sample_rc.o | |
89 | @COND_PLATFORM_OS2_1@__wxemulator_os2_lib_res = \ | |
90 | @COND_PLATFORM_OS2_1@ $(top_srcdir)/include/wx/os2/wx.res | |
91 | COND_MONOLITHIC_0___WXLIB_CORE_p = \ | |
92 | -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core-$(WX_RELEASE)$(HOST_SUFFIX) | |
93 | @COND_MONOLITHIC_0@__WXLIB_CORE_p = $(COND_MONOLITHIC_0___WXLIB_CORE_p) | |
94 | COND_MONOLITHIC_0___WXLIB_BASE_p = \ | |
95 | -lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) | |
96 | @COND_MONOLITHIC_0@__WXLIB_BASE_p = $(COND_MONOLITHIC_0___WXLIB_BASE_p) | |
97 | COND_MONOLITHIC_1___WXLIB_MONO_p = \ | |
98 | -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) | |
99 | @COND_MONOLITHIC_1@__WXLIB_MONO_p = $(COND_MONOLITHIC_1___WXLIB_MONO_p) | |
100 | @COND_MONOLITHIC_1_USE_STC_1@__LIB_SCINTILLA_IF_MONO_p \ | |
101 | @COND_MONOLITHIC_1_USE_STC_1@ = \ | |
102 | @COND_MONOLITHIC_1_USE_STC_1@ -lwxscintilla$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) | |
103 | @COND_USE_GUI_1_wxUSE_LIBTIFF_builtin@__LIB_TIFF_p \ | |
104 | @COND_USE_GUI_1_wxUSE_LIBTIFF_builtin@ = \ | |
105 | @COND_USE_GUI_1_wxUSE_LIBTIFF_builtin@ -lwxtiff$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) | |
106 | @COND_USE_GUI_1_wxUSE_LIBJPEG_builtin@__LIB_JPEG_p \ | |
107 | @COND_USE_GUI_1_wxUSE_LIBJPEG_builtin@ = \ | |
108 | @COND_USE_GUI_1_wxUSE_LIBJPEG_builtin@ -lwxjpeg$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) | |
109 | @COND_USE_GUI_1_wxUSE_LIBPNG_builtin@__LIB_PNG_p \ | |
110 | @COND_USE_GUI_1_wxUSE_LIBPNG_builtin@ = \ | |
111 | @COND_USE_GUI_1_wxUSE_LIBPNG_builtin@ -lwxpng$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) | |
112 | @COND_wxUSE_ZLIB_builtin@__LIB_ZLIB_p = \ | |
113 | @COND_wxUSE_ZLIB_builtin@ -lwxzlib$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) | |
114 | COND_wxUSE_REGEX_builtin___LIB_REGEX_p = \ | |
115 | -lwxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) | |
116 | @COND_wxUSE_REGEX_builtin@__LIB_REGEX_p = $(COND_wxUSE_REGEX_builtin___LIB_REGEX_p) | |
117 | @COND_wxUSE_EXPAT_builtin@__LIB_EXPAT_p = \ | |
118 | @COND_wxUSE_EXPAT_builtin@ -lwxexpat$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) | |
119 | ||
120 | ### Targets: ### | |
121 | ||
122 | all: wxemulator$(EXEEXT) data | |
123 | ||
124 | install: | |
125 | ||
126 | uninstall: | |
127 | ||
128 | install-strip: install | |
129 | ||
130 | clean: | |
131 | rm -rf ./.deps ./.pch | |
132 | rm -f ./*.o | |
133 | rm -f wxemulator$(EXEEXT) | |
134 | ||
135 | distclean: clean | |
136 | rm -f config.cache config.log config.status bk-deps bk-make-pch shared-ld-sh Makefile | |
137 | ||
138 | wxemulator$(EXEEXT): $(WXEMULATOR_OBJECTS) $(__wxemulator___win32rc) | |
139 | $(CXX) -o $@ $(WXEMULATOR_OBJECTS) -L$(LIBDIRNAME) $(LDFLAGS_GUI) $(LDFLAGS) $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_SCINTILLA_IF_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) | |
140 | ||
141 | $(__wxemulator___mac_setfilecmd) | |
142 | $(__wxemulator___os2_emxbindcmd) | |
143 | ||
144 | data: | |
145 | @mkdir -p . | |
146 | @for f in default.wxe ipaq.wxe bluegradient.jpg ipaq01.jpg; do \ | |
147 | if test ! -f ./$$f -a ! -d ./$$f ; \ | |
148 | then x=yep ; \ | |
149 | else x=`find $(srcdir)/$$f -newer ./$$f -print` ; \ | |
150 | fi; \ | |
151 | case "$$x" in ?*) \ | |
152 | cp -pRf $(srcdir)/$$f . ;; \ | |
153 | esac; \ | |
154 | done | |
155 | ||
156 | wxemulator_sample_rc.o: $(srcdir)/../../../samples/sample.rc | |
157 | $(WINDRES) -i$< -o$@ --define __WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_2) $(__DEBUG_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 | |
158 | ||
159 | wxemulator_emulator.o: $(srcdir)/emulator.cpp | |
160 | $(CXXC) -c -o $@ $(WXEMULATOR_CXXFLAGS) $(srcdir)/emulator.cpp | |
161 | ||
162 | ||
163 | # Include dependency info, if present: | |
164 | @IF_GNU_MAKE@-include ./.deps/*.d | |
165 | ||
166 | .PHONY: all install uninstall clean distclean data |