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