]>
Commit | Line | Data |
---|---|---|
187cf772 VS |
1 | # ========================================================================= |
2 | # This makefile was generated by | |
25bb1412 | 3 | # Bakefile 0.2.1 (http://bakefile.sourceforge.net) |
187cf772 VS |
4 | # Do not modify, all changes will be overwritten! |
5 | # ========================================================================= | |
3373d6bf | 6 | |
3373d6bf | 7 | |
187cf772 | 8 | @MAKE_SET@ |
3373d6bf | 9 | |
187cf772 VS |
10 | prefix = @prefix@ |
11 | exec_prefix = @exec_prefix@ | |
12 | INSTALL = @INSTALL@ | |
b328fad3 | 13 | EXEEXT = @EXEEXT@ |
8ced02f6 DE |
14 | WINDRES = @WINDRES@ |
15 | REZ = @REZ@ | |
187cf772 | 16 | SETFILE = @SETFILE@ |
b17c1746 | 17 | NM = @NM@ |
69199aad | 18 | BK_DEPS = @BK_DEPS@ |
b17c1746 DE |
19 | srcdir = @srcdir@ |
20 | top_srcdir = @top_srcdir@ | |
69199aad | 21 | LIBS = @LIBS@ |
b17c1746 DE |
22 | LDFLAGS_GUI = @LDFLAGS_GUI@ |
23 | CXX = @CXX@ | |
24 | CXXFLAGS = @CXXFLAGS@ | |
25 | CPPFLAGS = @CPPFLAGS@ | |
26 | LDFLAGS = @LDFLAGS@ | |
589e20d0 | 27 | WX_LIB_FLAVOUR = @WX_LIB_FLAVOUR@ |
187cf772 VS |
28 | TOOLKIT = @TOOLKIT@ |
29 | TOOLKIT_LOWERCASE = @TOOLKIT_LOWERCASE@ | |
30 | TOOLKIT_VERSION = @TOOLKIT_VERSION@ | |
8ced02f6 | 31 | TOOLCHAIN_FULLNAME = @TOOLCHAIN_FULLNAME@ |
b17c1746 DE |
32 | EXTRALIBS = @EXTRALIBS@ |
33 | EXTRALIBS_GUI = @EXTRALIBS_GUI@ | |
34 | HOST_SUFFIX = @HOST_SUFFIX@ | |
69199aad | 35 | wx_top_builddir = @wx_top_builddir@ |
46e87167 | 36 | |
187cf772 | 37 | ### Variables: ### |
3373d6bf | 38 | |
a4ad36cd | 39 | DESTDIR = |
ae4ccf12 | 40 | WX_RELEASE = 2.9 |
69199aad | 41 | LIBDIRNAME = $(wx_top_builddir)/lib |
8c9f8f91 JS |
42 | WXEMULATOR_CXXFLAGS = -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) \ |
43 | $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) \ | |
44 | -I$(srcdir) $(__DLLFLAG_p) -I$(srcdir)/../../../samples $(CPPFLAGS) \ | |
45 | $(CXXFLAGS) | |
187cf772 VS |
46 | WXEMULATOR_OBJECTS = \ |
47 | $(__wxemulator___win32rc) \ | |
a4ad36cd | 48 | $(__wxemulator_os2_lib_res) \ |
187cf772 | 49 | wxemulator_emulator.o |
3373d6bf | 50 | |
187cf772 VS |
51 | ### Conditionally set variables: ### |
52 | ||
b328fad3 | 53 | @COND_DEPS_TRACKING_0@CXXC = $(CXX) |
69199aad | 54 | @COND_DEPS_TRACKING_1@CXXC = $(BK_DEPS) $(CXX) |
187cf772 VS |
55 | @COND_USE_GUI_0@PORTNAME = base |
56 | @COND_USE_GUI_1@PORTNAME = $(TOOLKIT_LOWERCASE)$(TOOLKIT_VERSION) | |
57 | @COND_TOOLKIT_MAC@WXBASEPORT = _carbon | |
58 | @COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@WXDEBUGFLAG = d | |
59 | @COND_DEBUG_FLAG_1@WXDEBUGFLAG = d | |
60 | @COND_UNICODE_1@WXUNICODEFLAG = u | |
61 | @COND_WXUNIV_1@WXUNIVNAME = univ | |
0e3165d7 DE |
62 | @COND_MONOLITHIC_0@EXTRALIBS_FOR_BASE = $(EXTRALIBS) |
63 | @COND_MONOLITHIC_1@EXTRALIBS_FOR_BASE = $(EXTRALIBS) $(EXTRALIBS_GUI) | |
64 | @COND_MONOLITHIC_0@EXTRALIBS_FOR_GUI = $(EXTRALIBS_GUI) | |
65 | @COND_MONOLITHIC_1@EXTRALIBS_FOR_GUI = | |
b17c1746 DE |
66 | @COND_PLATFORM_MAC_1@__wxemulator___mac_setfilecmd = \ |
67 | @COND_PLATFORM_MAC_1@ $(SETFILE) -a C wxemulator$(EXEEXT) | |
68 | @COND_PLATFORM_MAC_1@__wxemulator___mac_rezcmd = $(__MACOSX_RESOURCES_p_1) | |
69 | @COND_WXUNIV_1@__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__ | |
70 | @COND_WXUNIV_1@__WXUNIV_DEFINE_p_1 = -d __WXUNIVERSAL__ | |
71 | @COND_WXUNIV_1@__WXUNIV_DEFINE_p_2 = --define __WXUNIVERSAL__ | |
8c9f8f91 JS |
72 | @COND_USE_EXCEPTIONS_0@__EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS |
73 | @COND_USE_EXCEPTIONS_0@__EXCEPTIONS_DEFINE_p_1 = -d wxNO_EXCEPTIONS | |
74 | @COND_USE_EXCEPTIONS_0@__EXCEPTIONS_DEFINE_p_2 = --define wxNO_EXCEPTIONS | |
75 | @COND_USE_RTTI_0@__RTTI_DEFINE_p = -DwxNO_RTTI | |
76 | @COND_USE_RTTI_0@__RTTI_DEFINE_p_1 = -d wxNO_RTTI | |
77 | @COND_USE_RTTI_0@__RTTI_DEFINE_p_2 = --define wxNO_RTTI | |
78 | @COND_USE_THREADS_0@__THREAD_DEFINE_p = -DwxNO_THREADS | |
79 | @COND_USE_THREADS_0@__THREAD_DEFINE_p_1 = -d wxNO_THREADS | |
80 | @COND_USE_THREADS_0@__THREAD_DEFINE_p_2 = --define wxNO_THREADS | |
187cf772 VS |
81 | @COND_SHARED_1@__DLLFLAG_p = -DWXUSINGDLL |
82 | @COND_SHARED_1@__DLLFLAG_p_1 = -d WXUSINGDLL | |
83 | @COND_SHARED_1@__DLLFLAG_p_2 = --define WXUSINGDLL | |
b17c1746 DE |
84 | COND_PLATFORM_OS2_1___wxemulator___os2_emxbindcmd = $(NM) wxemulator$(EXEEXT) \ |
85 | | if grep -q pmwin.763 ; then emxbind -ep wxemulator$(EXEEXT) ; fi | |
86 | @COND_PLATFORM_OS2_1@__wxemulator___os2_emxbindcmd = $(COND_PLATFORM_OS2_1___wxemulator___os2_emxbindcmd) | |
8ced02f6 DE |
87 | @COND_TOOLKIT_MSW@__RCDEFDIR_p = -i \ |
88 | @COND_TOOLKIT_MSW@ $(LIBDIRNAME)/wx/include/$(TOOLCHAIN_FULLNAME) | |
89 | @COND_TOOLKIT_MSW@__RCDEFDIR_p_1 = --include-dir \ | |
90 | @COND_TOOLKIT_MSW@ $(LIBDIRNAME)/wx/include/$(TOOLCHAIN_FULLNAME) | |
b17c1746 DE |
91 | @COND_PLATFORM_WIN32_1@__wxemulator___win32rc = wxemulator_sample_rc.o |
92 | @COND_PLATFORM_OS2_1@__wxemulator_os2_lib_res = \ | |
93 | @COND_PLATFORM_OS2_1@ $(top_srcdir)/include/wx/os2/wx.res | |
94 | COND_MONOLITHIC_0___WXLIB_CORE_p = \ | |
a1bf307a | 95 | -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core-$(WX_RELEASE)$(HOST_SUFFIX) |
b17c1746 | 96 | @COND_MONOLITHIC_0@__WXLIB_CORE_p = $(COND_MONOLITHIC_0___WXLIB_CORE_p) |
ceec2216 | 97 | COND_MONOLITHIC_0___WXLIB_BASE_p = \ |
a1bf307a | 98 | -lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) |
ceec2216 | 99 | @COND_MONOLITHIC_0@__WXLIB_BASE_p = $(COND_MONOLITHIC_0___WXLIB_BASE_p) |
b17c1746 | 100 | COND_MONOLITHIC_1___WXLIB_MONO_p = \ |
a1bf307a | 101 | -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) |
b17c1746 DE |
102 | @COND_MONOLITHIC_1@__WXLIB_MONO_p = $(COND_MONOLITHIC_1___WXLIB_MONO_p) |
103 | @COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@__LIB_TIFF_p \ | |
104 | @COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@ = \ | |
ceec2216 | 105 | @COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@ -lwxtiff$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) |
187cf772 VS |
106 | @COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@__LIB_JPEG_p \ |
107 | @COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@ = \ | |
ceec2216 | 108 | @COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@ -lwxjpeg$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) |
187cf772 VS |
109 | @COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@__LIB_PNG_p \ |
110 | @COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@ = \ | |
ceec2216 | 111 | @COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@ -lwxpng$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) |
187cf772 | 112 | @COND_WXUSE_ZLIB_BUILTIN@__LIB_ZLIB_p = \ |
ceec2216 | 113 | @COND_WXUSE_ZLIB_BUILTIN@ -lwxzlib$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) |
b17c1746 | 114 | @COND_WXUSE_ODBC_BUILTIN@__LIB_ODBC_p = \ |
7714864e | 115 | @COND_WXUSE_ODBC_BUILTIN@ -lwxodbc$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) |
ceec2216 RL |
116 | COND_WXUSE_REGEX_BUILTIN___LIB_REGEX_p = \ |
117 | -lwxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) | |
118 | @COND_WXUSE_REGEX_BUILTIN@__LIB_REGEX_p = $(COND_WXUSE_REGEX_BUILTIN___LIB_REGEX_p) | |
b17c1746 | 119 | @COND_WXUSE_EXPAT_BUILTIN@__LIB_EXPAT_p = \ |
ceec2216 | 120 | @COND_WXUSE_EXPAT_BUILTIN@ -lwxexpat$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) |
8ced02f6 | 121 | COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_1 = $(REZ) -d __DARWIN__ -t APPL -d \ |
8c9f8f91 JS |
122 | __WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_1) $(__EXCEPTIONS_DEFINE_p_1) \ |
123 | $(__RTTI_DEFINE_p_1) $(__THREAD_DEFINE_p_1) -i $(srcdir) $(__DLLFLAG_p_1) -i \ | |
8ced02f6 DE |
124 | $(srcdir)/../../../samples $(__RCDEFDIR_p) -i $(top_srcdir)/include -o \ |
125 | wxemulator$(EXEEXT) Carbon.r sample.r | |
187cf772 | 126 | @COND_TOOLKIT_MAC@__MACOSX_RESOURCES_p_1 = $(COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_1) |
187cf772 VS |
127 | |
128 | ### Targets: ### | |
129 | ||
b328fad3 | 130 | all: wxemulator$(EXEEXT) data |
187cf772 | 131 | |
b17c1746 DE |
132 | install: all |
133 | ||
134 | uninstall: | |
135 | ||
136 | install-strip: install | |
137 | ||
187cf772 VS |
138 | clean: |
139 | rm -rf ./.deps ./.pch | |
140 | rm -f ./*.o | |
b328fad3 | 141 | rm -f wxemulator$(EXEEXT) |
187cf772 | 142 | |
187cf772 | 143 | distclean: clean |
162a956b | 144 | rm -f config.cache config.log config.status bk-deps bk-make-pch shared-ld-sh Makefile |
187cf772 | 145 | |
b328fad3 | 146 | wxemulator$(EXEEXT): $(WXEMULATOR_OBJECTS) $(__wxemulator___win32rc) |
69199aad | 147 | $(CXX) -o $@ $(WXEMULATOR_OBJECTS) $(LDFLAGS) -L$(LIBDIRNAME) $(LDFLAGS_GUI) $(LIBS) $(__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_ODBC_p) $(__LIB_REGEX_p) $(__LIB_EXPAT_p) $(EXTRALIBS_FOR_BASE) |
187cf772 VS |
148 | $(__wxemulator___mac_rezcmd) |
149 | $(__wxemulator___mac_setfilecmd) | |
ec08d395 | 150 | $(__wxemulator___os2_emxbindcmd) |
187cf772 | 151 | |
b17c1746 DE |
152 | data: |
153 | @mkdir -p . | |
154 | @for f in default.wxe ipaq.wxe bluegradient.jpg ipaq01.jpg; do \ | |
0d90d6ea | 155 | if test ! -f ./$$f -a ! -d ./$$f ; \ |
162a956b JS |
156 | then x=yep ; \ |
157 | else x=`find $(srcdir)/$$f -newer ./$$f -print` ; \ | |
b17c1746 | 158 | fi; \ |
162a956b JS |
159 | case "$$x" in ?*) \ |
160 | cp -pRf $(srcdir)/$$f . ;; \ | |
161 | esac; \ | |
b17c1746 | 162 | done |
187cf772 VS |
163 | |
164 | wxemulator_sample_rc.o: $(srcdir)/../../../samples/sample.rc | |
8ced02f6 | 165 | $(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 |
187cf772 | 166 | |
b17c1746 | 167 | wxemulator_emulator.o: $(srcdir)/emulator.cpp |
162a956b | 168 | $(CXXC) -c -o $@ $(WXEMULATOR_CXXFLAGS) $(srcdir)/emulator.cpp |
b17c1746 | 169 | |
187cf772 VS |
170 | |
171 | # Include dependency info, if present: | |
172 | @IF_GNU_MAKE@-include .deps/*.d | |
173 | ||
b17c1746 | 174 | .PHONY: all install uninstall clean distclean data |