]>
Commit | Line | Data |
---|---|---|
187cf772 VS |
1 | # ========================================================================= |
2 | # This makefile was generated by | |
3fd9c298 | 3 | # Bakefile 0.1.4 (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@ |
187cf772 VS |
14 | RESCOMP = @RESCOMP@ |
15 | SETFILE = @SETFILE@ | |
b17c1746 DE |
16 | NM = @NM@ |
17 | srcdir = @srcdir@ | |
18 | top_srcdir = @top_srcdir@ | |
19 | top_builddir = @top_builddir@ | |
20 | LDFLAGS_GUI = @LDFLAGS_GUI@ | |
21 | CXX = @CXX@ | |
22 | CXXFLAGS = @CXXFLAGS@ | |
23 | CPPFLAGS = @CPPFLAGS@ | |
24 | LDFLAGS = @LDFLAGS@ | |
589e20d0 | 25 | WX_LIB_FLAVOUR = @WX_LIB_FLAVOUR@ |
187cf772 VS |
26 | TOOLKIT = @TOOLKIT@ |
27 | TOOLKIT_LOWERCASE = @TOOLKIT_LOWERCASE@ | |
28 | TOOLKIT_VERSION = @TOOLKIT_VERSION@ | |
b17c1746 DE |
29 | TOOLCHAIN_NAME = @TOOLCHAIN_NAME@ |
30 | EXTRALIBS = @EXTRALIBS@ | |
31 | EXTRALIBS_GUI = @EXTRALIBS_GUI@ | |
32 | HOST_SUFFIX = @HOST_SUFFIX@ | |
46e87167 | 33 | |
187cf772 | 34 | ### Variables: ### |
3373d6bf | 35 | |
a4ad36cd | 36 | DESTDIR = |
ceec2216 | 37 | WX_RELEASE = 2.5 |
187cf772 | 38 | LIBDIRNAME = $(top_builddir)lib |
9bfe7ad9 VS |
39 | WXEMULATOR_CXXFLAGS = -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) -I$(srcdir) \ |
40 | $(__DLLFLAG_p) -I$(srcdir)/../../../samples $(CPPFLAGS) $(CXXFLAGS) | |
187cf772 VS |
41 | WXEMULATOR_OBJECTS = \ |
42 | $(__wxemulator___win32rc) \ | |
a4ad36cd | 43 | $(__wxemulator_os2_lib_res) \ |
187cf772 | 44 | wxemulator_emulator.o |
3373d6bf | 45 | |
187cf772 VS |
46 | ### Conditionally set variables: ### |
47 | ||
b328fad3 VS |
48 | @COND_DEPS_TRACKING_0@CXXC = $(CXX) |
49 | @COND_DEPS_TRACKING_1@CXXC = $(top_builddir)./bk-deps $(CXX) | |
187cf772 VS |
50 | @COND_USE_GUI_0@PORTNAME = base |
51 | @COND_USE_GUI_1@PORTNAME = $(TOOLKIT_LOWERCASE)$(TOOLKIT_VERSION) | |
52 | @COND_TOOLKIT_MAC@WXBASEPORT = _carbon | |
53 | @COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@WXDEBUGFLAG = d | |
54 | @COND_DEBUG_FLAG_1@WXDEBUGFLAG = d | |
55 | @COND_UNICODE_1@WXUNICODEFLAG = u | |
56 | @COND_WXUNIV_1@WXUNIVNAME = univ | |
b17c1746 DE |
57 | @COND_PLATFORM_MAC_1@__wxemulator___mac_setfilecmd = \ |
58 | @COND_PLATFORM_MAC_1@ $(SETFILE) -a C wxemulator$(EXEEXT) | |
59 | @COND_PLATFORM_MAC_1@__wxemulator___mac_rezcmd = $(__MACOSX_RESOURCES_p_1) | |
60 | @COND_WXUNIV_1@__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__ | |
61 | @COND_WXUNIV_1@__WXUNIV_DEFINE_p_1 = -d __WXUNIVERSAL__ | |
62 | @COND_WXUNIV_1@__WXUNIV_DEFINE_p_2 = --define __WXUNIVERSAL__ | |
187cf772 VS |
63 | @COND_SHARED_1@__DLLFLAG_p = -DWXUSINGDLL |
64 | @COND_SHARED_1@__DLLFLAG_p_1 = -d WXUSINGDLL | |
65 | @COND_SHARED_1@__DLLFLAG_p_2 = --define WXUSINGDLL | |
b17c1746 DE |
66 | COND_PLATFORM_OS2_1___wxemulator___os2_emxbindcmd = $(NM) wxemulator$(EXEEXT) \ |
67 | | if grep -q pmwin.763 ; then emxbind -ep wxemulator$(EXEEXT) ; fi | |
68 | @COND_PLATFORM_OS2_1@__wxemulator___os2_emxbindcmd = $(COND_PLATFORM_OS2_1___wxemulator___os2_emxbindcmd) | |
69 | @COND_PLATFORM_WIN32_1@__wxemulator___win32rc = wxemulator_sample_rc.o | |
70 | @COND_PLATFORM_OS2_1@__wxemulator_os2_lib_res = \ | |
71 | @COND_PLATFORM_OS2_1@ $(top_srcdir)/include/wx/os2/wx.res | |
72 | COND_MONOLITHIC_0___WXLIB_CORE_p = \ | |
ceec2216 | 73 | -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core-2.5$(HOST_SUFFIX) |
b17c1746 | 74 | @COND_MONOLITHIC_0@__WXLIB_CORE_p = $(COND_MONOLITHIC_0___WXLIB_CORE_p) |
ceec2216 RL |
75 | COND_MONOLITHIC_0___WXLIB_BASE_p = \ |
76 | -lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-2.5$(HOST_SUFFIX) | |
77 | @COND_MONOLITHIC_0@__WXLIB_BASE_p = $(COND_MONOLITHIC_0___WXLIB_BASE_p) | |
b17c1746 | 78 | COND_MONOLITHIC_1___WXLIB_MONO_p = \ |
ceec2216 | 79 | -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-2.5$(HOST_SUFFIX) |
b17c1746 DE |
80 | @COND_MONOLITHIC_1@__WXLIB_MONO_p = $(COND_MONOLITHIC_1___WXLIB_MONO_p) |
81 | @COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@__LIB_TIFF_p \ | |
82 | @COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@ = \ | |
ceec2216 | 83 | @COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@ -lwxtiff$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) |
187cf772 VS |
84 | @COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@__LIB_JPEG_p \ |
85 | @COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@ = \ | |
ceec2216 | 86 | @COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@ -lwxjpeg$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) |
187cf772 VS |
87 | @COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@__LIB_PNG_p \ |
88 | @COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@ = \ | |
ceec2216 | 89 | @COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@ -lwxpng$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) |
187cf772 | 90 | @COND_WXUSE_ZLIB_BUILTIN@__LIB_ZLIB_p = \ |
ceec2216 | 91 | @COND_WXUSE_ZLIB_BUILTIN@ -lwxzlib$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) |
b17c1746 DE |
92 | @COND_WXUSE_ODBC_BUILTIN@__LIB_ODBC_p = \ |
93 | @COND_WXUSE_ODBC_BUILTIN@ -lwxodbc$(WXDEBUGFLAG)$(HOST_SUFFIX) | |
ceec2216 RL |
94 | COND_WXUSE_REGEX_BUILTIN___LIB_REGEX_p = \ |
95 | -lwxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) | |
96 | @COND_WXUSE_REGEX_BUILTIN@__LIB_REGEX_p = $(COND_WXUSE_REGEX_BUILTIN___LIB_REGEX_p) | |
b17c1746 | 97 | @COND_WXUSE_EXPAT_BUILTIN@__LIB_EXPAT_p = \ |
ceec2216 | 98 | @COND_WXUSE_EXPAT_BUILTIN@ -lwxexpat$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) |
187cf772 | 99 | COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_1 = $(RESCOMP) -d __DARWIN__ -t APPL -d \ |
9bfe7ad9 | 100 | __WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_1) -i $(srcdir) $(__DLLFLAG_p_1) -i \ |
c3255f5f | 101 | $(srcdir)/../../../samples -i $(top_srcdir)/include -o wxemulator$(EXEEXT) \ |
c4839ccf | 102 | Carbon.r $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).2.r sample.r |
187cf772 | 103 | @COND_TOOLKIT_MAC@__MACOSX_RESOURCES_p_1 = $(COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_1) |
187cf772 VS |
104 | |
105 | ### Targets: ### | |
106 | ||
b328fad3 | 107 | all: wxemulator$(EXEEXT) data |
187cf772 | 108 | |
b17c1746 DE |
109 | install: all |
110 | ||
111 | uninstall: | |
112 | ||
113 | install-strip: install | |
114 | ||
187cf772 VS |
115 | clean: |
116 | rm -rf ./.deps ./.pch | |
117 | rm -f ./*.o | |
b328fad3 | 118 | rm -f wxemulator$(EXEEXT) |
187cf772 | 119 | |
187cf772 VS |
120 | distclean: clean |
121 | rm -f configure config.cache config.log config.status bk-deps bk-make-pch shared-ld-sh Makefile | |
122 | ||
b328fad3 | 123 | wxemulator$(EXEEXT): $(WXEMULATOR_OBJECTS) $(__wxemulator___win32rc) |
ec08d395 | 124 | $(CXX) -o $@ $(WXEMULATOR_OBJECTS) $(LDFLAGS) -L$(LIBDIRNAME) $(LDFLAGS_GUI) $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) $(__LIB_ZLIB_p) $(__LIB_ODBC_p) $(__LIB_REGEX_p) $(__LIB_EXPAT_p) $(EXTRALIBS) $(EXTRALIBS_GUI) |
187cf772 VS |
125 | $(__wxemulator___mac_rezcmd) |
126 | $(__wxemulator___mac_setfilecmd) | |
ec08d395 | 127 | $(__wxemulator___os2_emxbindcmd) |
187cf772 | 128 | |
b17c1746 DE |
129 | data: |
130 | @mkdir -p . | |
131 | @for f in default.wxe ipaq.wxe bluegradient.jpg ipaq01.jpg; do \ | |
132 | if test \( ! -s ./$$f \) -o \( $(srcdir)/$$f -nt ./$$f \) ; then \ | |
133 | cp -pRf $(srcdir)/$$f . ; \ | |
134 | fi; \ | |
135 | done | |
187cf772 VS |
136 | |
137 | wxemulator_sample_rc.o: $(srcdir)/../../../samples/sample.rc | |
c3255f5f | 138 | $(RESCOMP) -i$< -o$@ --define __WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_2) --include-dir $(srcdir) $(__DLLFLAG_p_2) --include-dir $(srcdir)/../../../samples --include-dir $(top_srcdir)/include |
187cf772 | 139 | |
b17c1746 DE |
140 | wxemulator_emulator.o: $(srcdir)/emulator.cpp |
141 | $(CXXC) -c -o $@ $(WXEMULATOR_CXXFLAGS) $< | |
142 | ||
187cf772 VS |
143 | |
144 | # Include dependency info, if present: | |
145 | @IF_GNU_MAKE@-include .deps/*.d | |
146 | ||
b17c1746 | 147 | .PHONY: all install uninstall clean distclean data |