]>
Commit | Line | Data |
---|---|---|
cbd63f42 VS |
1 | # ========================================================================= |
2 | # This makefile was generated by | |
bdc408c4 | 3 | # Bakefile 0.1.1 (http://bakefile.sourceforge.net) |
cbd63f42 VS |
4 | # Do not modify, all changes will be overwritten! |
5 | # ========================================================================= | |
6 | ||
7 | ||
8 | @MAKE_SET@ | |
9 | ||
3af038c0 VS |
10 | prefix = @prefix@ |
11 | exec_prefix = @exec_prefix@ | |
b1169abb | 12 | INSTALL = @INSTALL@ |
cbd63f42 | 13 | CPPFLAGS = @CPPFLAGS@ |
6f628073 | 14 | CXX = @CXX@ |
cbd63f42 | 15 | CXXFLAGS = @CXXFLAGS@ |
b328fad3 | 16 | EXEEXT = @EXEEXT@ |
cbd63f42 | 17 | EXTRALIBS = @EXTRALIBS@ |
6c974d0b | 18 | EXTRALIBS_GUI = @EXTRALIBS_GUI@ |
250700e4 | 19 | HOST_SUFFIX = @HOST_SUFFIX@ |
fcf61db4 | 20 | LDFLAGS = @LDFLAGS@ |
fcf61db4 | 21 | LDFLAGS_GUI = @LDFLAGS_GUI@ |
ec08d395 | 22 | NM = @NM@ |
6f628073 VS |
23 | RESCOMP = @RESCOMP@ |
24 | SAMPLES_RPATH_FLAG = @SAMPLES_RPATH_FLAG@ | |
ab892b95 | 25 | SAMPLES_RPATH_POSTLINK = @SAMPLES_RPATH_POSTLINK@ |
6f628073 | 26 | SETFILE = @SETFILE@ |
250700e4 | 27 | TOOLCHAIN_NAME = @TOOLCHAIN_NAME@ |
6f628073 | 28 | TOOLKIT = @TOOLKIT@ |
cbd63f42 | 29 | TOOLKIT_LOWERCASE = @TOOLKIT_LOWERCASE@ |
fcf61db4 | 30 | TOOLKIT_VERSION = @TOOLKIT_VERSION@ |
6f628073 | 31 | srcdir = @srcdir@ |
cbd63f42 | 32 | top_builddir = @top_builddir@ |
6f628073 | 33 | top_srcdir = @top_srcdir@ |
cbd63f42 | 34 | |
fcf61db4 VS |
35 | ### Variables: ### |
36 | ||
b71531ad | 37 | DESTDIR = |
25a73439 | 38 | LIBDIRNAME = $(top_builddir)lib |
e1a098d1 | 39 | WIDGETS_CXXFLAGS = -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) \ |
75a0a7b7 | 40 | -I$(top_srcdir)/include -I$(srcdir) $(__DLLFLAG_p) \ |
e1a098d1 | 41 | -I$(srcdir)/../../samples $(CPPFLAGS) $(CXXFLAGS) |
25a73439 | 42 | WIDGETS_OBJECTS = \ |
a4ad36cd | 43 | $(__widgets_os2_lib_res) \ |
25a73439 | 44 | widgets_button.o \ |
8941fa88 | 45 | widgets_checkbox.o \ |
25a73439 VS |
46 | widgets_combobox.o \ |
47 | widgets_gauge.o \ | |
48 | widgets_listbox.o \ | |
49 | widgets_notebook.o \ | |
50 | widgets_radiobox.o \ | |
51 | widgets_slider.o \ | |
52 | widgets_spinbtn.o \ | |
53 | widgets_static.o \ | |
54 | widgets_textctrl.o \ | |
55 | widgets_widgets.o \ | |
56 | $(__widgets___win32rc) | |
ec08d395 | 57 | WX_VERSION = 2.5.1 |
fcf61db4 | 58 | |
cbd63f42 VS |
59 | ### Conditionally set variables: ### |
60 | ||
b328fad3 VS |
61 | @COND_DEPS_TRACKING_0@CXXC = $(CXX) |
62 | @COND_DEPS_TRACKING_1@CXXC = $(top_builddir)./bk-deps $(CXX) | |
6f628073 VS |
63 | @COND_USE_GUI_0@PORTNAME = base |
64 | @COND_USE_GUI_1@PORTNAME = $(TOOLKIT_LOWERCASE)$(TOOLKIT_VERSION) | |
b1169abb | 65 | @COND_TOOLKIT_MAC@WXBASEPORT = _carbon |
25a73439 VS |
66 | @COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@WXDEBUGFLAG = d |
67 | @COND_DEBUG_FLAG_1@WXDEBUGFLAG = d | |
6f628073 | 68 | @COND_UNICODE_1@WXUNICODEFLAG = u |
fcf61db4 | 69 | @COND_WXUNIV_1@WXUNIVNAME = univ |
6f628073 | 70 | @COND_SHARED_1@__DLLFLAG_p = -DWXUSINGDLL |
fcf61db4 | 71 | @COND_SHARED_1@__DLLFLAG_p_1 = -d WXUSINGDLL |
fcf61db4 | 72 | @COND_SHARED_1@__DLLFLAG_p_2 = --define WXUSINGDLL |
bdc408c4 VS |
73 | @COND_WXUSE_EXPAT_BUILTIN@__LIB_EXPAT_p = \ |
74 | @COND_WXUSE_EXPAT_BUILTIN@ -lwxexpat$(WXDEBUGFLAG)$(HOST_SUFFIX) | |
25a73439 VS |
75 | @COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@__LIB_JPEG_p \ |
76 | @COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@ = \ | |
77 | @COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@ -lwxjpeg$(WXDEBUGFLAG)$(HOST_SUFFIX) | |
250700e4 RD |
78 | @COND_WXUSE_ODBC_BUILTIN@__LIB_ODBC_p = \ |
79 | @COND_WXUSE_ODBC_BUILTIN@ -lwxodbc$(WXDEBUGFLAG)$(HOST_SUFFIX) | |
25a73439 VS |
80 | @COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@__LIB_PNG_p \ |
81 | @COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@ = \ | |
82 | @COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@ -lwxpng$(WXDEBUGFLAG)$(HOST_SUFFIX) | |
250700e4 RD |
83 | @COND_WXUSE_REGEX_BUILTIN@__LIB_REGEX_p = \ |
84 | @COND_WXUSE_REGEX_BUILTIN@ -lwxregex$(WXDEBUGFLAG)$(HOST_SUFFIX) | |
25a73439 VS |
85 | @COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@__LIB_TIFF_p \ |
86 | @COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@ = \ | |
87 | @COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@ -lwxtiff$(WXDEBUGFLAG)$(HOST_SUFFIX) | |
250700e4 RD |
88 | @COND_WXUSE_ZLIB_BUILTIN@__LIB_ZLIB_p = \ |
89 | @COND_WXUSE_ZLIB_BUILTIN@ -lwxzlib$(WXDEBUGFLAG)$(HOST_SUFFIX) | |
25a73439 | 90 | COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_1 = $(RESCOMP) -d __DARWIN__ -t APPL -d \ |
75a0a7b7 | 91 | __WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_1) -i $(top_srcdir)/include -i $(srcdir) \ |
b328fad3 | 92 | $(__DLLFLAG_p_1) -i $(srcdir)/../../samples -o widgets$(EXEEXT) Carbon.r \ |
ec08d395 | 93 | $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).1.r sample.r |
25a73439 | 94 | @COND_TOOLKIT_MAC@__MACOSX_RESOURCES_p_1 = $(COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_1) |
250700e4 RD |
95 | @COND_MONOLITHIC_0@__WXLIB_BASE_p = \ |
96 | @COND_MONOLITHIC_0@ -lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)-2.5$(HOST_SUFFIX) | |
25a73439 VS |
97 | COND_MONOLITHIC_0___WXLIB_CORE_p = \ |
98 | -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core-2.5$(HOST_SUFFIX) | |
99 | @COND_MONOLITHIC_0@__WXLIB_CORE_p = $(COND_MONOLITHIC_0___WXLIB_CORE_p) | |
100 | COND_MONOLITHIC_1___WXLIB_MONO_p = \ | |
101 | -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)-2.5$(HOST_SUFFIX) | |
102 | @COND_MONOLITHIC_1@__WXLIB_MONO_p = $(COND_MONOLITHIC_1___WXLIB_MONO_p) | |
6f628073 | 103 | @COND_WXUNIV_1@__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__ |
9747f85d | 104 | @COND_WXUNIV_1@__WXUNIV_DEFINE_p_1 = -d __WXUNIVERSAL__ |
fcf61db4 | 105 | @COND_WXUNIV_1@__WXUNIV_DEFINE_p_2 = --define __WXUNIVERSAL__ |
6f628073 | 106 | @COND_PLATFORM_MAC_1@__widgets___mac_rezcmd = $(__MACOSX_RESOURCES_p_1) |
b328fad3 VS |
107 | @COND_PLATFORM_MAC_1@__widgets___mac_setfilecmd = \ |
108 | @COND_PLATFORM_MAC_1@ $(SETFILE) -a C widgets$(EXEEXT) | |
ec08d395 JS |
109 | COND_PLATFORM_OS2_1___widgets___os2_emxbindcmd = $(NM) widgets$(EXEEXT) | if \ |
110 | grep -q pmwin.763 ; then emxbind -ep widgets$(EXEEXT) ; fi | |
111 | @COND_PLATFORM_OS2_1@__widgets___os2_emxbindcmd = $(COND_PLATFORM_OS2_1___widgets___os2_emxbindcmd) | |
6f628073 | 112 | @COND_PLATFORM_WIN32_1@__widgets___win32rc = widgets_widgets_rc.o |
ab892b95 | 113 | @COND_PLATFORM_MACOSX_1@__widgets_bundle___depname = widgets_bundle |
a4ad36cd VS |
114 | @COND_PLATFORM_OS2_1@__widgets_os2_lib_res = \ |
115 | @COND_PLATFORM_OS2_1@ $(top_srcdir)/include/wx/os2/wx.res | |
cbd63f42 VS |
116 | |
117 | ### Targets: ### | |
118 | ||
b328fad3 | 119 | all: widgets$(EXEEXT) $(__widgets_bundle___depname) |
cbd63f42 | 120 | |
cbd63f42 | 121 | clean: |
ab892b95 | 122 | rm -rf ./.deps ./.pch |
25a73439 | 123 | rm -f ./*.o |
b328fad3 | 124 | rm -f widgets$(EXEEXT) |
ab892b95 | 125 | rm -rf widgets.app |
cbd63f42 | 126 | |
6f628073 | 127 | distclean: clean |
ab892b95 | 128 | rm -f configure config.cache config.log config.status bk-deps bk-make-pch shared-ld-sh Makefile |
6f628073 | 129 | |
cbd63f42 VS |
130 | install: all |
131 | ||
6f628073 VS |
132 | install-strip: install |
133 | ||
134 | uninstall: | |
fcf61db4 | 135 | |
b328fad3 | 136 | widgets$(EXEEXT): $(WIDGETS_OBJECTS) $(__widgets___win32rc) |
ec08d395 | 137 | $(CXX) -o $@ $(WIDGETS_OBJECTS) $(LDFLAGS) -L$(LIBDIRNAME) $(LDFLAGS_GUI) $(SAMPLES_RPATH_FLAG) $(__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) |
cbd63f42 VS |
138 | $(__widgets___mac_rezcmd) |
139 | $(__widgets___mac_setfilecmd) | |
ec08d395 | 140 | $(__widgets___os2_emxbindcmd) |
ab892b95 VS |
141 | $(SAMPLES_RPATH_POSTLINK) |
142 | ||
ec08d395 | 143 | widgets.app/Contents/PkgInfo: widgets$(EXEEXT) $(top_srcdir)/src/mac/Info.plist.in $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).1.rsrc $(top_srcdir)/src/mac/wxmac.icns |
ab892b95 VS |
144 | mkdir -p widgets.app/Contents |
145 | mkdir -p widgets.app/Contents/MacOS | |
146 | mkdir -p widgets.app/Contents/Resources | |
147 | ||
148 | ||
149 | sed -e "s/IDENTIFIER/`echo $(srcdir) | sed -e 's,\.\./,,g' | sed -e 's,/,.,g'`/" \ | |
150 | -e "s/EXECUTABLE/widgets/" \ | |
75a0a7b7 | 151 | -e "s/VERSION/$(WX_VERSION)/" \ |
ab892b95 VS |
152 | $(top_srcdir)/src/mac/Info.plist.in >widgets.app/Contents/Info.plist |
153 | ||
154 | ||
155 | echo -n "APPL????" >widgets.app/Contents/PkgInfo | |
156 | ||
157 | ||
b328fad3 | 158 | ln -f widgets$(EXEEXT) widgets.app/Contents/MacOS/widgets |
ab892b95 VS |
159 | |
160 | ||
a4ad36cd VS |
161 | ln -sf $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).1.rsrc widgets.app/Contents/Resources/widgets.rsrc |
162 | ln -sf $(top_srcdir)/src/mac/wxmac.icns widgets.app/Contents/Resources/wxmac.icns | |
ab892b95 | 163 | |
1c3a6972 | 164 | @COND_PLATFORM_MACOSX_1@widgets_bundle: widgets.app/Contents/PkgInfo |
cbd63f42 | 165 | |
6f628073 | 166 | widgets_button.o: $(srcdir)/button.cpp |
b328fad3 | 167 | $(CXXC) -c -o $@ $(WIDGETS_CXXFLAGS) $< |
cbd63f42 | 168 | |
8941fa88 VZ |
169 | widgets_checkbox.o: $(srcdir)/checkbox.cpp |
170 | $(CXXC) -c -o $@ $(WIDGETS_CXXFLAGS) $< | |
171 | ||
6f628073 | 172 | widgets_combobox.o: $(srcdir)/combobox.cpp |
b328fad3 | 173 | $(CXXC) -c -o $@ $(WIDGETS_CXXFLAGS) $< |
49b0a3aa | 174 | |
6f628073 | 175 | widgets_gauge.o: $(srcdir)/gauge.cpp |
b328fad3 | 176 | $(CXXC) -c -o $@ $(WIDGETS_CXXFLAGS) $< |
6f628073 VS |
177 | |
178 | widgets_listbox.o: $(srcdir)/listbox.cpp | |
b328fad3 | 179 | $(CXXC) -c -o $@ $(WIDGETS_CXXFLAGS) $< |
6f628073 VS |
180 | |
181 | widgets_notebook.o: $(srcdir)/notebook.cpp | |
b328fad3 | 182 | $(CXXC) -c -o $@ $(WIDGETS_CXXFLAGS) $< |
6f628073 VS |
183 | |
184 | widgets_radiobox.o: $(srcdir)/radiobox.cpp | |
b328fad3 | 185 | $(CXXC) -c -o $@ $(WIDGETS_CXXFLAGS) $< |
6f628073 VS |
186 | |
187 | widgets_slider.o: $(srcdir)/slider.cpp | |
b328fad3 | 188 | $(CXXC) -c -o $@ $(WIDGETS_CXXFLAGS) $< |
6f628073 VS |
189 | |
190 | widgets_spinbtn.o: $(srcdir)/spinbtn.cpp | |
b328fad3 | 191 | $(CXXC) -c -o $@ $(WIDGETS_CXXFLAGS) $< |
6f628073 VS |
192 | |
193 | widgets_static.o: $(srcdir)/static.cpp | |
b328fad3 | 194 | $(CXXC) -c -o $@ $(WIDGETS_CXXFLAGS) $< |
6f628073 VS |
195 | |
196 | widgets_textctrl.o: $(srcdir)/textctrl.cpp | |
b328fad3 | 197 | $(CXXC) -c -o $@ $(WIDGETS_CXXFLAGS) $< |
6f628073 VS |
198 | |
199 | widgets_widgets.o: $(srcdir)/widgets.cpp | |
b328fad3 | 200 | $(CXXC) -c -o $@ $(WIDGETS_CXXFLAGS) $< |
6f628073 VS |
201 | |
202 | widgets_widgets_rc.o: $(srcdir)/widgets.rc | |
ec08d395 | 203 | $(RESCOMP) -i$< -o$@ --define __WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_2) --include-dir $(top_srcdir)/include --include-dir $(srcdir) $(__DLLFLAG_p_2) --include-dir $(srcdir)/../../samples |
cbd63f42 VS |
204 | |
205 | ||
206 | # Include dependency info, if present: | |
49b0a3aa | 207 | @IF_GNU_MAKE@-include .deps/*.d |
cbd63f42 | 208 | |
ab892b95 | 209 | .PHONY: all clean distclean install uninstall widgets_bundle |