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