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