]> git.saurik.com Git - wxWidgets.git/blame - samples/dialogs/Makefile.in
remove old CW projects
[wxWidgets.git] / samples / dialogs / Makefile.in
CommitLineData
cbd63f42
VS
1# =========================================================================
2# This makefile was generated by
8c9f8f91 3# Bakefile 0.1.8 (http://bakefile.sourceforge.net)
cbd63f42
VS
4# Do not modify, all changes will be overwritten!
5# =========================================================================
a4294b78 6
549c6f67 7
cbd63f42 8@MAKE_SET@
9c884972 9
3af038c0
VS
10prefix = @prefix@
11exec_prefix = @exec_prefix@
b1169abb 12INSTALL = @INSTALL@
b17c1746
DE
13EXEEXT = @EXEEXT@
14RESCOMP = @RESCOMP@
15SETFILE = @SETFILE@
16NM = @NM@
17srcdir = @srcdir@
18top_srcdir = @top_srcdir@
19top_builddir = @top_builddir@
20LDFLAGS_GUI = @LDFLAGS_GUI@
6f628073 21CXX = @CXX@
cbd63f42 22CXXFLAGS = @CXXFLAGS@
b17c1746
DE
23CPPFLAGS = @CPPFLAGS@
24LDFLAGS = @LDFLAGS@
589e20d0 25WX_LIB_FLAVOUR = @WX_LIB_FLAVOUR@
b17c1746
DE
26TOOLKIT = @TOOLKIT@
27TOOLKIT_LOWERCASE = @TOOLKIT_LOWERCASE@
28TOOLKIT_VERSION = @TOOLKIT_VERSION@
cbd63f42 29EXTRALIBS = @EXTRALIBS@
6c974d0b 30EXTRALIBS_GUI = @EXTRALIBS_GUI@
078c7a59 31EXTRALIBS_SDL = @EXTRALIBS_SDL@
250700e4 32HOST_SUFFIX = @HOST_SUFFIX@
6f628073 33SAMPLES_RPATH_FLAG = @SAMPLES_RPATH_FLAG@
ab892b95 34SAMPLES_RPATH_POSTLINK = @SAMPLES_RPATH_POSTLINK@
a4294b78 35
fcf61db4
VS
36### Variables: ###
37
b71531ad 38DESTDIR =
4818141b
JS
39WX_RELEASE = 2.6
40WX_VERSION = $(WX_RELEASE).0
b17c1746 41LIBDIRNAME = $(top_builddir)lib
8c9f8f91
JS
42DIALOGS_CXXFLAGS = -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) \
43 $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) \
44 -I$(srcdir) $(__DLLFLAG_p) -I$(srcdir)/../../samples $(CPPFLAGS) $(CXXFLAGS)
25a73439 45DIALOGS_OBJECTS = \
a4ad36cd 46 $(__dialogs_os2_lib_res) \
25a73439 47 dialogs_dialogs.o \
9fc97a71 48 $(__GENERIC_DIALOGS_IN_NATIVE_BUILDS_OBJECTS) \
25a73439 49 $(__dialogs___win32rc)
fcf61db4 50
cbd63f42 51### Conditionally set variables: ###
a4294b78 52
b328fad3
VS
53@COND_DEPS_TRACKING_0@CXXC = $(CXX)
54@COND_DEPS_TRACKING_1@CXXC = $(top_builddir)./bk-deps $(CXX)
94acd38e 55@COND_USE_PLUGINS_0@PLUGIN_ADV_EXTRALIBS = $(EXTRALIBS_SDL)
6f628073
VS
56@COND_USE_GUI_0@PORTNAME = base
57@COND_USE_GUI_1@PORTNAME = $(TOOLKIT_LOWERCASE)$(TOOLKIT_VERSION)
b1169abb 58@COND_TOOLKIT_MAC@WXBASEPORT = _carbon
25a73439
VS
59@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@WXDEBUGFLAG = d
60@COND_DEBUG_FLAG_1@WXDEBUGFLAG = d
6f628073 61@COND_UNICODE_1@WXUNICODEFLAG = u
fcf61db4 62@COND_WXUNIV_1@WXUNIVNAME = univ
0e3165d7
DE
63@COND_MONOLITHIC_0@EXTRALIBS_FOR_BASE = $(EXTRALIBS)
64@COND_MONOLITHIC_1@EXTRALIBS_FOR_BASE = $(EXTRALIBS) $(EXTRALIBS_GUI)
65@COND_MONOLITHIC_0@EXTRALIBS_FOR_GUI = $(EXTRALIBS_GUI)
66@COND_MONOLITHIC_1@EXTRALIBS_FOR_GUI =
b17c1746
DE
67@COND_PLATFORM_MAC_1@__dialogs___mac_setfilecmd = \
68@COND_PLATFORM_MAC_1@ $(SETFILE) -a C dialogs$(EXEEXT)
69@COND_PLATFORM_MAC_1@__dialogs___mac_rezcmd = $(__MACOSX_RESOURCES_p_1)
70@COND_WXUNIV_1@__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
71@COND_WXUNIV_1@__WXUNIV_DEFINE_p_1 = -d __WXUNIVERSAL__
72@COND_WXUNIV_1@__WXUNIV_DEFINE_p_2 = --define __WXUNIVERSAL__
8c9f8f91
JS
73@COND_USE_EXCEPTIONS_0@__EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS
74@COND_USE_EXCEPTIONS_0@__EXCEPTIONS_DEFINE_p_1 = -d wxNO_EXCEPTIONS
75@COND_USE_EXCEPTIONS_0@__EXCEPTIONS_DEFINE_p_2 = --define wxNO_EXCEPTIONS
76@COND_USE_RTTI_0@__RTTI_DEFINE_p = -DwxNO_RTTI
77@COND_USE_RTTI_0@__RTTI_DEFINE_p_1 = -d wxNO_RTTI
78@COND_USE_RTTI_0@__RTTI_DEFINE_p_2 = --define wxNO_RTTI
79@COND_USE_THREADS_0@__THREAD_DEFINE_p = -DwxNO_THREADS
80@COND_USE_THREADS_0@__THREAD_DEFINE_p_1 = -d wxNO_THREADS
81@COND_USE_THREADS_0@__THREAD_DEFINE_p_2 = --define wxNO_THREADS
6f628073 82@COND_SHARED_1@__DLLFLAG_p = -DWXUSINGDLL
fcf61db4 83@COND_SHARED_1@__DLLFLAG_p_1 = -d WXUSINGDLL
fcf61db4 84@COND_SHARED_1@__DLLFLAG_p_2 = --define WXUSINGDLL
b17c1746
DE
85COND_PLATFORM_OS2_1___dialogs___os2_emxbindcmd = $(NM) dialogs$(EXEEXT) | if \
86 grep -q pmwin.763 ; then emxbind -ep dialogs$(EXEEXT) ; fi
87@COND_PLATFORM_OS2_1@__dialogs___os2_emxbindcmd = $(COND_PLATFORM_OS2_1___dialogs___os2_emxbindcmd)
88@COND_PLATFORM_OS2_1@__dialogs_os2_lib_res = \
89@COND_PLATFORM_OS2_1@ $(top_srcdir)/include/wx/os2/wx.res
90@COND_PLATFORM_MACOSX_1@__dialogs_bundle___depname = dialogs_bundle
c4839ccf
JS
91@COND_TOOLKIT_COCOA@____dialogs_BUNDLE_TGT_REF_DEP = \
92@COND_TOOLKIT_COCOA@ dialogs.app/Contents/PkgInfo
93@COND_TOOLKIT_MAC@____dialogs_BUNDLE_TGT_REF_DEP = \
94@COND_TOOLKIT_MAC@ dialogs.app/Contents/PkgInfo
9fc97a71 95@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@__GENERIC_DIALOGS_IN_NATIVE_BUILDS_OBJECTS \
ceec2216
RL
96@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@ = dialogs_colrdlgg.o dialogs_dirdlgg.o \
97@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@ dialogs_filedlgg.o dialogs_fontdlgg.o
9fc97a71 98@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@__GENERIC_DIALOGS_IN_NATIVE_BUILDS_OBJECTS \
ceec2216
RL
99@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@ = dialogs_colrdlgg.o dialogs_dirdlgg.o \
100@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@ dialogs_filedlgg.o
9fc97a71 101@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@__GENERIC_DIALOGS_IN_NATIVE_BUILDS_OBJECTS \
ceec2216 102@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@ = dialogs_fontdlgg.o dialogs_filedlgg.o
b17c1746 103COND_MONOLITHIC_0___WXLIB_ADV_p = \
a1bf307a 104 -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_adv-$(WX_RELEASE)$(HOST_SUFFIX)
b17c1746
DE
105@COND_MONOLITHIC_0@__WXLIB_ADV_p = $(COND_MONOLITHIC_0___WXLIB_ADV_p)
106COND_MONOLITHIC_0___WXLIB_CORE_p = \
a1bf307a 107 -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core-$(WX_RELEASE)$(HOST_SUFFIX)
b17c1746 108@COND_MONOLITHIC_0@__WXLIB_CORE_p = $(COND_MONOLITHIC_0___WXLIB_CORE_p)
ceec2216 109COND_MONOLITHIC_0___WXLIB_BASE_p = \
a1bf307a 110 -lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
ceec2216 111@COND_MONOLITHIC_0@__WXLIB_BASE_p = $(COND_MONOLITHIC_0___WXLIB_BASE_p)
b17c1746
DE
112@COND_PLATFORM_WIN32_1@__dialogs___win32rc = dialogs_dialogs_rc.o
113COND_MONOLITHIC_1___WXLIB_MONO_p = \
a1bf307a 114 -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
b17c1746
DE
115@COND_MONOLITHIC_1@__WXLIB_MONO_p = $(COND_MONOLITHIC_1___WXLIB_MONO_p)
116@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@__LIB_TIFF_p \
117@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@ = \
ceec2216 118@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@ -lwxtiff$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
25a73439
VS
119@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@__LIB_JPEG_p \
120@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@ = \
ceec2216 121@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@ -lwxjpeg$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
25a73439
VS
122@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@__LIB_PNG_p \
123@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@ = \
ceec2216 124@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@ -lwxpng$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
250700e4 125@COND_WXUSE_ZLIB_BUILTIN@__LIB_ZLIB_p = \
ceec2216 126@COND_WXUSE_ZLIB_BUILTIN@ -lwxzlib$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
b17c1746 127@COND_WXUSE_ODBC_BUILTIN@__LIB_ODBC_p = \
7714864e 128@COND_WXUSE_ODBC_BUILTIN@ -lwxodbc$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
ceec2216
RL
129COND_WXUSE_REGEX_BUILTIN___LIB_REGEX_p = \
130 -lwxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
131@COND_WXUSE_REGEX_BUILTIN@__LIB_REGEX_p = $(COND_WXUSE_REGEX_BUILTIN___LIB_REGEX_p)
b17c1746 132@COND_WXUSE_EXPAT_BUILTIN@__LIB_EXPAT_p = \
ceec2216 133@COND_WXUSE_EXPAT_BUILTIN@ -lwxexpat$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
25a73439 134COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_1 = $(RESCOMP) -d __DARWIN__ -t APPL -d \
8c9f8f91
JS
135 __WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_1) $(__EXCEPTIONS_DEFINE_p_1) \
136 $(__RTTI_DEFINE_p_1) $(__THREAD_DEFINE_p_1) -i $(srcdir) $(__DLLFLAG_p_1) -i \
c3255f5f 137 $(srcdir)/../../samples -i $(top_srcdir)/include -o dialogs$(EXEEXT) Carbon.r \
d391f667 138 sample.r
25a73439 139@COND_TOOLKIT_MAC@__MACOSX_RESOURCES_p_1 = $(COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_1)
a4294b78 140
cbd63f42
VS
141### Targets: ###
142
b328fad3 143all: dialogs$(EXEEXT) $(__dialogs_bundle___depname) data
cbd63f42 144
b17c1746
DE
145install: all
146
147uninstall:
148
149install-strip: install
150
cbd63f42 151clean:
ab892b95 152 rm -rf ./.deps ./.pch
25a73439 153 rm -f ./*.o
b328fad3 154 rm -f dialogs$(EXEEXT)
ab892b95 155 rm -rf dialogs.app
cbd63f42 156
b17c1746 157distclean: clean
b14abf14 158 rm -f config.cache config.log config.status bk-deps bk-make-pch shared-ld-sh Makefile
cbd63f42 159
b328fad3 160dialogs$(EXEEXT): $(DIALOGS_OBJECTS) $(__dialogs___win32rc)
0e3165d7 161 $(CXX) -o $@ $(DIALOGS_OBJECTS) $(LDFLAGS) -L$(LIBDIRNAME) $(LDFLAGS_GUI) $(SAMPLES_RPATH_FLAG) $(__WXLIB_ADV_p) $(PLUGIN_ADV_EXTRALIBS) $(__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_FOR_BASE) $(EXTRALIBS_FOR_GUI)
6f628073
VS
162 $(__dialogs___mac_rezcmd)
163 $(__dialogs___mac_setfilecmd)
ec08d395 164 $(__dialogs___os2_emxbindcmd)
ab892b95
VS
165 $(SAMPLES_RPATH_POSTLINK)
166
d391f667 167dialogs.app/Contents/PkgInfo: dialogs$(EXEEXT) $(top_srcdir)/src/mac/carbon/Info.plist.in $(top_srcdir)/src/mac/carbon/wxmac.icns
ab892b95
VS
168 mkdir -p dialogs.app/Contents
169 mkdir -p dialogs.app/Contents/MacOS
170 mkdir -p dialogs.app/Contents/Resources
171
172
173 sed -e "s/IDENTIFIER/`echo $(srcdir) | sed -e 's,\.\./,,g' | sed -e 's,/,.,g'`/" \
174 -e "s/EXECUTABLE/dialogs/" \
75a0a7b7 175 -e "s/VERSION/$(WX_VERSION)/" \
0b0efa9a 176 $(top_srcdir)/src/mac/carbon/Info.plist.in >dialogs.app/Contents/Info.plist
ab892b95
VS
177
178
179 echo -n "APPL????" >dialogs.app/Contents/PkgInfo
180
181
b328fad3 182 ln -f dialogs$(EXEEXT) dialogs.app/Contents/MacOS/dialogs
ab892b95
VS
183
184
c4839ccf 185 cp -f $(top_srcdir)/src/mac/carbon/wxmac.icns dialogs.app/Contents/Resources/wxmac.icns
ab892b95 186
c4839ccf 187@COND_PLATFORM_MACOSX_1@dialogs_bundle: $(____dialogs_BUNDLE_TGT_REF_DEP)
6f628073 188
b17c1746
DE
189data:
190 @mkdir -p .
191 @for f in tips.txt; do \
a77104ea 192 if test ! -f ./$$f ; \
b14abf14
JS
193 then x=yep ; \
194 else x=`find $(srcdir)/$$f -newer ./$$f -print` ; \
b17c1746 195 fi; \
b14abf14
JS
196 case "$$x" in ?*) \
197 cp -pRf $(srcdir)/$$f . ;; \
198 esac; \
b17c1746
DE
199 done
200
6f628073 201dialogs_dialogs.o: $(srcdir)/dialogs.cpp
b14abf14 202 $(CXXC) -c -o $@ $(DIALOGS_CXXFLAGS) $(srcdir)/dialogs.cpp
6f628073 203
ceec2216 204@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@dialogs_colrdlgg.o: $(srcdir)/../../src/generic/colrdlgg.cpp
b14abf14 205@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@ $(CXXC) -c -o $@ $(DIALOGS_CXXFLAGS) $(srcdir)/../../src/generic/colrdlgg.cpp
63c83961 206
ceec2216 207@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@dialogs_colrdlgg.o: $(srcdir)/../../src/generic/colrdlgg.cpp
b14abf14 208@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@ $(CXXC) -c -o $@ $(DIALOGS_CXXFLAGS) $(srcdir)/../../src/generic/colrdlgg.cpp
63c83961 209
ceec2216 210@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@dialogs_dirdlgg.o: $(srcdir)/../../src/generic/dirdlgg.cpp
b14abf14 211@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@ $(CXXC) -c -o $@ $(DIALOGS_CXXFLAGS) $(srcdir)/../../src/generic/dirdlgg.cpp
63c83961 212
ceec2216 213@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@dialogs_dirdlgg.o: $(srcdir)/../../src/generic/dirdlgg.cpp
b14abf14 214@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@ $(CXXC) -c -o $@ $(DIALOGS_CXXFLAGS) $(srcdir)/../../src/generic/dirdlgg.cpp
63c83961 215
ceec2216 216@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@dialogs_filedlgg.o: $(srcdir)/../../src/generic/filedlgg.cpp
b14abf14 217@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@ $(CXXC) -c -o $@ $(DIALOGS_CXXFLAGS) $(srcdir)/../../src/generic/filedlgg.cpp
695fe764 218
ceec2216 219@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@dialogs_filedlgg.o: $(srcdir)/../../src/generic/filedlgg.cpp
b14abf14 220@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@ $(CXXC) -c -o $@ $(DIALOGS_CXXFLAGS) $(srcdir)/../../src/generic/filedlgg.cpp
695fe764 221
ceec2216 222@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@dialogs_filedlgg.o: $(srcdir)/../../src/generic/filedlgg.cpp
b14abf14 223@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@ $(CXXC) -c -o $@ $(DIALOGS_CXXFLAGS) $(srcdir)/../../src/generic/filedlgg.cpp
695fe764 224
ceec2216 225@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@dialogs_fontdlgg.o: $(srcdir)/../../src/generic/fontdlgg.cpp
b14abf14 226@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@ $(CXXC) -c -o $@ $(DIALOGS_CXXFLAGS) $(srcdir)/../../src/generic/fontdlgg.cpp
63c83961 227
ceec2216 228@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@dialogs_fontdlgg.o: $(srcdir)/../../src/generic/fontdlgg.cpp
b14abf14 229@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@ $(CXXC) -c -o $@ $(DIALOGS_CXXFLAGS) $(srcdir)/../../src/generic/fontdlgg.cpp
63c83961 230
6f628073 231dialogs_dialogs_rc.o: $(srcdir)/dialogs.rc
8c9f8f91 232 $(RESCOMP) -i$< -o$@ --define __WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_2) $(__EXCEPTIONS_DEFINE_p_2) $(__RTTI_DEFINE_p_2) $(__THREAD_DEFINE_p_2) --include-dir $(srcdir) $(__DLLFLAG_p_2) --include-dir $(srcdir)/../../samples --include-dir $(top_srcdir)/include
6f628073 233
cbd63f42
VS
234
235# Include dependency info, if present:
49b0a3aa 236@IF_GNU_MAKE@-include .deps/*.d
cbd63f42 237
b17c1746 238.PHONY: all install uninstall clean distclean dialogs_bundle data