]>
Commit | Line | Data |
---|---|---|
cbd63f42 VS |
1 | # ========================================================================= |
2 | # This makefile was generated by | |
3 | # Bakefile 0.1.1 (http://bakefile.sourceforge.net) | |
4 | # Do not modify, all changes will be overwritten! | |
5 | # ========================================================================= | |
8f4a9a10 | 6 | |
8f4a9a10 | 7 | |
cbd63f42 VS |
8 | @MAKE_SET@ |
9 | ||
10 | CPPFLAGS = @CPPFLAGS@ | |
11 | INSTALL_DIR = @INSTALL_DIR@ | |
12 | DEREZ = @DEREZ@ | |
13 | wxUSE_ZLIB = @wxUSE_ZLIB@ | |
14 | MONOLITHIC = @MONOLITHIC@ | |
15 | SONAME_FLAG = @SONAME_FLAG@ | |
16 | CXXFLAGS = @CXXFLAGS@ | |
17 | prefix = @prefix@ | |
18 | INSTALL = @INSTALL@ | |
19 | EXEEXT = @EXEEXT@ | |
20 | RESCOMP = @RESCOMP@ | |
21 | PLATFORM_MAC = @PLATFORM_MAC@ | |
22 | USE_SOVERSION = @USE_SOVERSION@ | |
23 | SAMPLES_RPATH_FLAG = @SAMPLES_RPATH_FLAG@ | |
24 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ | |
25 | wxUSE_LIBPNG = @wxUSE_LIBPNG@ | |
26 | wxUSE_LIBTIFF = @wxUSE_LIBTIFF@ | |
27 | exec_prefix = @exec_prefix@ | |
28 | libdir = @libdir@ | |
29 | TOOLKIT = @TOOLKIT@ | |
30 | EXTRALIBS = @EXTRALIBS@ | |
31 | CC = @CC@ | |
32 | datadir = @datadir@ | |
33 | PLATFORM_MSDOS = @PLATFORM_MSDOS@ | |
34 | SETFILE = @SETFILE@ | |
fcf61db4 | 35 | LDFLAGS = @LDFLAGS@ |
cbd63f42 VS |
36 | STRIP = @STRIP@ |
37 | USE_SOVERSOLARIS = @USE_SOVERSOLARIS@ | |
38 | srcdir = @srcdir@ | |
39 | wxUSE_ODBC = @wxUSE_ODBC@ | |
40 | wxUSE_REGEX = @wxUSE_REGEX@ | |
41 | bindir = @bindir@ | |
42 | PIC_FLAG = @PIC_FLAG@ | |
43 | USE_SOSYMLINKS = @USE_SOSYMLINKS@ | |
fcf61db4 | 44 | LDFLAGS_GUI = @LDFLAGS_GUI@ |
cbd63f42 VS |
45 | INSTALL_DATA = @INSTALL_DATA@ |
46 | USE_GUI = @USE_GUI@ | |
47 | PLATFORM_UNIX = @PLATFORM_UNIX@ | |
48 | RANLIB = @RANLIB@ | |
49 | SO_SUFFIX = @SO_SUFFIX@ | |
50 | top_srcdir = @top_srcdir@ | |
fcf61db4 | 51 | wxUSE_LIBJPEG = @wxUSE_LIBJPEG@ |
cbd63f42 VS |
52 | AR = @AR@ |
53 | BUILD = @BUILD@ | |
54 | PLATFORM_WIN32 = @PLATFORM_WIN32@ | |
55 | USE_MACVERSION = @USE_MACVERSION@ | |
56 | PLATFORM_MACOSX = @PLATFORM_MACOSX@ | |
49b0a3aa | 57 | DEPS_TRACKING = @DEPS_TRACKING@ |
fcf61db4 VS |
58 | OFFICIAL_BUILD = @OFFICIAL_BUILD@ |
59 | UNICODE = @UNICODE@ | |
cbd63f42 VS |
60 | WXUNIV = @WXUNIV@ |
61 | TOOLKIT_LOWERCASE = @TOOLKIT_LOWERCASE@ | |
cbd63f42 | 62 | CXX = @CXX@ |
49b0a3aa | 63 | SHARED_LD_CXX = @SHARED_LD_CXX@ |
fcf61db4 VS |
64 | VENDOR = @VENDOR@ |
65 | TOOLKIT_VERSION = @TOOLKIT_VERSION@ | |
cbd63f42 VS |
66 | includedir = @includedir@ |
67 | LN_S = @LN_S@ | |
68 | CFLAGS = @CFLAGS@ | |
69 | DLLPREFIX = @DLLPREFIX@ | |
70 | SHARED = @SHARED@ | |
71 | USE_SOVERLINUX = @USE_SOVERLINUX@ | |
72 | top_builddir = @top_builddir@ | |
73 | SHARED_LD_CC = @SHARED_LD_CC@ | |
74 | ||
fcf61db4 VS |
75 | ### Variables: ### |
76 | ||
77 | MOBILE_CFLAGS = $(CPPFLAGS) -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) -I$(top_srcdir)/include $(__INC_TIFF_p) $(__INC_JPEG_p) $(__INC_PNG_p) $(__INC_ZLIB_p) $(__INC_ODBC_p) $(__INC_REGEX_p) -I$(srcdir) $(__DLLFLAG_p) $(CFLAGS) | |
78 | MOBILE_CXXFLAGS = $(CPPFLAGS) -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) -I$(top_srcdir)/include $(__INC_TIFF_p) $(__INC_JPEG_p) $(__INC_PNG_p) $(__INC_ZLIB_p) $(__INC_ODBC_p) $(__INC_REGEX_p) -I$(srcdir) $(__DLLFLAG_p) $(CXXFLAGS) | |
79 | ||
cbd63f42 VS |
80 | ### Conditionally set variables: ### |
81 | ||
fcf61db4 | 82 | @COND_WXUSE_ZLIB_BUILTIN@__LIB_ZLIB_p = -lwxzlib$(WXDEBUGFLAG) |
481290e2 VS |
83 | @COND_UNICODE_1@WXUNICODEFLAG = u |
84 | @COND_BUILD_DEBUG@WXDEBUGFLAG = d | |
fcf61db4 VS |
85 | @COND_PLATFORM_WIN32_1@WXDLLVERSIONTAG = |
86 | @COND_PLATFORM_WIN32_0@WXDLLVERSIONTAG = -2.5 | |
87 | @COND_WXUSE_LIBJPEG_BUILTIN@__INC_JPEG_p = -I$(srcdir)/src/jpeg | |
88 | @COND_WXUSE_LIBPNG_BUILTIN@LIB_PNG = wxpng$(WXDEBUGFLAG) | |
89 | @COND_WXUSE_ZLIB_BUILTIN@__INC_ZLIB_p = -I$(srcdir)/src/zlib | |
90 | @COND_WXUSE_LIBJPEG_BUILTIN@INC_JPEG = $(srcdir)/src/jpeg | |
481290e2 | 91 | @COND_WXUNIV_1@__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__ |
fcf61db4 VS |
92 | @COND_WXUSE_ZLIB_BUILTIN@INC_ZLIB = $(srcdir)/src/zlib |
93 | @COND_BUILD_DEBUG@OPTIMIZEFLAG = off | |
94 | @COND_BUILD_RELEASE@OPTIMIZEFLAG = speed | |
95 | @COND_WXUSE_ZLIB_BUILTIN@__INC_ZLIB_p_1 = --include-dir $(srcdir)/src/zlib | |
c656b783 | 96 | @COND_DEPS_TRACKING_1@CCC = $(top_builddir)./bk-deps $(CC) |
49b0a3aa | 97 | @COND_DEPS_TRACKING_0@CCC = $(CC) |
481290e2 | 98 | @COND_TOOLKIT_MAC@MACOSX_RESOURCES = Carbon.r ../../lib/libwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)-2.5.0.r |
9747f85d | 99 | @COND_MONOLITHIC_0@WXLIB_BASE = wx$(WXUNICODEFLAG)$(WXDEBUGFLAG)_base-2.5 |
481290e2 VS |
100 | @COND_PLATFORM_WIN32_1@DLLIMPEXT = .a |
101 | @COND_PLATFORM_WIN32_0@DLLIMPEXT = .$(SO_SUFFIX) | |
fcf61db4 | 102 | @COND_PLATFORM_MAC_1@__mobile___mac_setfilecmd = $(SETFILE) -a C mobile$(EXEEXT) |
481290e2 | 103 | @COND_MONOLITHIC_1@WXLIB_MONO = wx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)-2.5 |
fcf61db4 VS |
104 | @COND_PLATFORM_MAC_1@__mobile___mac_rezcmd = $(__MACOSX_RESOURCES_p) |
105 | @COND_WXUSE_ODBC_BUILTIN@LIB_ODBC = wxodbc$(WXDEBUGFLAG) | |
9747f85d VS |
106 | @COND_MONOLITHIC_1@__WXLIB_MONO_p = -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)-2.5 |
107 | @COND_MONOLITHIC_0@WXLIB_CORE = wx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core-2.5 | |
fcf61db4 VS |
108 | @COND_SHARED_1@__DLLFLAG_p = -DWXUSINGDLL |
109 | @COND_WXUSE_LIBPNG_BUILTIN@__INC_PNG_p_1 = --include-dir $(srcdir)/src/png | |
110 | @COND_WXUSE_LIBTIFF_BUILTIN@__INC_TIFF_p_1 = --include-dir $(srcdir)/src/tiff | |
111 | @COND_TOOLKIT_MAC@__MACOSX_RESOURCES_p = $(RESCOMP) -d __DARWIN__ -t APPL -d __WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_1) -i $(top_srcdir)/include -i $(INC_TIFF) -i $(INC_JPEG) -i $(INC_PNG) -i $(INC_ZLIB) -i $(INC_ODBC) -i $(INC_REGEX) -i $(srcdir) $(__DLLFLAG_p_1) -o mobile$(EXEEXT) Carbon.r ../../lib/libwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)-2.5.0.r | |
112 | @COND_WXUSE_REGEX_BUILTIN@__LIB_REGEX_p = -lwxregex$(WXDEBUGFLAG) | |
113 | @COND_WXUSE_LIBJPEG_BUILTIN@__INC_JPEG_p_1 = --include-dir $(srcdir)/src/jpeg | |
114 | @COND_SHARED_1@DLLFLAG = WXUSINGDLL | |
115 | @COND_WXUSE_LIBPNG_BUILTIN@__LIB_PNG_p = -lwxpng$(WXDEBUGFLAG) | |
116 | @COND_PLATFORM_WIN32_1@__mobile___win32rc = mobile-mobile_rc.o | |
117 | @COND_WXUSE_REGEX_BUILTIN@INC_REGEX = $(srcdir)/src/regex | |
118 | @COND_DEPS_TRACKING_1@CXXC = $(top_builddir)./bk-deps $(CXX) | |
119 | @COND_DEPS_TRACKING_0@CXXC = $(CXX) | |
120 | @COND_PLATFORM_UNIX_1@TIFF_PLATFORM_SRC = src/tiff/tif_unix.c | |
121 | @COND_PLATFORM_MACOSX_1@TIFF_PLATFORM_SRC = src/tiff/tif_unix.c | |
122 | @COND_PLATFORM_WIN32_1@TIFF_PLATFORM_SRC = src/tiff/tif_win32.c | |
123 | @COND_WXUSE_ODBC_BUILTIN@__LIB_ODBC_p = -lwxodbc$(WXDEBUGFLAG) | |
124 | @COND_PLATFORM_WIN32_1@WXDLLNAMEPREFIXGUI = wx$(PORTNAME)$(WXUNIVNAME)25 | |
125 | @COND_PLATFORM_WIN32_0@WXDLLNAMEPREFIXGUI = wx_$(PORTNAME)$(WXUNIVNAME) | |
126 | @COND_WXUSE_LIBJPEG_BUILTIN@__LIB_JPEG_p = -lwxjpeg$(WXDEBUGFLAG) | |
127 | @COND_WXUSE_LIBPNG_BUILTIN@INC_PNG = $(srcdir)/src/png | |
128 | @COND_WXUSE_ODBC_BUILTIN@__INC_ODBC_p = -I$(srcdir)/src/odbc | |
129 | @COND_WXUSE_ODBC_BUILTIN@__INC_ODBC_p_1 = --include-dir $(srcdir)/src/odbc | |
130 | @COND_WXUNIV_1@WXUNIVNAME = univ | |
131 | @COND_MONOLITHIC_0@__WXLIB_CORE_p = -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core-2.5 | |
132 | @COND_WXUSE_ODBC_BUILTIN@INC_ODBC = $(srcdir)/src/odbc | |
133 | @COND_PLATFORM_WIN32_1@WXCOMPILER = _gcc | |
134 | @COND_WXUSE_ZLIB_BUILTIN@LIB_ZLIB = wxzlib$(WXDEBUGFLAG) | |
135 | @COND_WXUSE_REGEX_BUILTIN@__INC_REGEX_p = -I$(srcdir)/src/regex | |
136 | @COND_SHARED_1@__DLLFLAG_p_1 = -d WXUSINGDLL | |
137 | @COND_PLATFORM_WIN32_1@WXDLLNAMEPREFIX = wx25 | |
138 | @COND_PLATFORM_WIN32_0@WXDLLNAMEPREFIX = wx | |
139 | @COND_SHARED_1@__DLLFLAG_p_2 = --define WXUSINGDLL | |
140 | @COND_WXUSE_LIBTIFF_BUILTIN@__INC_TIFF_p = -I$(srcdir)/src/tiff | |
141 | @COND_WXUSE_LIBTIFF_BUILTIN@INC_TIFF = $(srcdir)/src/tiff | |
142 | @COND_MONOLITHIC_0@WXLIB_HTML = wx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_html-2.5 | |
143 | @COND_WXUNIV_1@WXUNIV_DEFINE = __WXUNIVERSAL__ | |
144 | @COND_WXUSE_LIBTIFF_BUILTIN@__LIB_TIFF_p = -lwxtiff$(WXDEBUGFLAG) | |
145 | @COND_OFFICIAL_BUILD_1@VENDORTAG = | |
146 | @COND_OFFICIAL_BUILD_0@VENDORTAG = _$(VENDOR) | |
9747f85d | 147 | @COND_WXUNIV_1@__WXUNIV_DEFINE_p_1 = -d __WXUNIVERSAL__ |
fcf61db4 VS |
148 | @COND_WXUNIV_1@__WXUNIV_DEFINE_p_2 = --define __WXUNIVERSAL__ |
149 | @COND_WXUSE_REGEX_BUILTIN@__INC_REGEX_p_1 = --include-dir $(srcdir)/src/regex | |
150 | @COND_WXUSE_LIBJPEG_BUILTIN@LIB_JPEG = wxjpeg$(WXDEBUGFLAG) | |
151 | @COND_WXUSE_LIBTIFF_BUILTIN@LIB_TIFF = wxtiff$(WXDEBUGFLAG) | |
481290e2 VS |
152 | @COND_USE_GUI_0@PORTNAME = base |
153 | @COND_USE_GUI_1@PORTNAME = $(TOOLKIT_LOWERCASE)$(TOOLKIT_VERSION) | |
fcf61db4 VS |
154 | @COND_BUILD_DEBUG@DEBUGFLAG = on |
155 | @COND_BUILD_RELEASE@DEBUGFLAG = off | |
156 | @COND_WXUSE_LIBPNG_BUILTIN@__INC_PNG_p = -I$(srcdir)/src/png | |
157 | @COND_WXUSE_REGEX_BUILTIN@LIB_REGEX = wxregex$(WXDEBUGFLAG) | |
cbd63f42 VS |
158 | |
159 | ### Targets: ### | |
160 | ||
161 | all: mobile$(EXEEXT) | |
162 | ||
163 | install-strip: install | |
164 | ||
cbd63f42 VS |
165 | install: all |
166 | ||
fcf61db4 VS |
167 | mobile-mobile_rc.o: $(srcdir)/mobile.rc |
168 | $(RESCOMP) -i$< -o$@ --define __WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_2) --include-dir $(top_srcdir)/include $(__INC_TIFF_p_1) $(__INC_JPEG_p_1) $(__INC_PNG_p_1) $(__INC_ZLIB_p_1) $(__INC_ODBC_p_1) $(__INC_REGEX_p_1) --include-dir $(srcdir) $(__DLLFLAG_p_2) | |
169 | ||
170 | mobile$(EXEEXT): mobile-mobile.o $(__mobile___win32rc) | |
171 | $(CXX) -o $@ mobile-mobile.o $(__mobile___win32rc) $(LDFLAGS) -L$(top_builddir)lib $(SAMPLES_RPATH_FLAG) $(LDFLAGS_GUI) $(__WXLIB_MONO_p) $(__WXLIB_CORE_p) $(EXTRALIBS) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) $(__LIB_ZLIB_p) $(__LIB_ODBC_p) $(__LIB_REGEX_p) | |
cbd63f42 VS |
172 | $(__mobile___mac_rezcmd) |
173 | $(__mobile___mac_setfilecmd) | |
174 | ||
fcf61db4 VS |
175 | clean: |
176 | rm -rf ./.deps | |
177 | rm -f -f ./*.o | |
178 | rm -f mobile$(EXEEXT) | |
179 | ||
49b0a3aa VS |
180 | distclean: clean |
181 | rm -f configure config.cache config.log config.status | |
182 | rm -f bk-deps shared-ld-sh | |
183 | ||
fcf61db4 VS |
184 | mobile-mobile.o: $(srcdir)/mobile.cpp |
185 | $(CXXC) -c -o $@ $(MOBILE_CXXFLAGS) $< | |
cbd63f42 VS |
186 | |
187 | uninstall: | |
188 | ||
189 | ||
190 | # Include dependency info, if present: | |
49b0a3aa | 191 | @IF_GNU_MAKE@-include .deps/*.d |
cbd63f42 VS |
192 | |
193 | .PHONY: all |