]> git.saurik.com Git - wxWidgets.git/blame - samples/db/Makefile.in
Fixed compile error (seen on OS/2).
[wxWidgets.git] / samples / db / 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# =========================================================================
79144b8a 6
108106cf 7
cbd63f42 8@MAKE_SET@
108106cf 9
3af038c0
VS
10prefix = @prefix@
11exec_prefix = @exec_prefix@
b1169abb 12INSTALL = @INSTALL@
cbd63f42 13CPPFLAGS = @CPPFLAGS@
3af038c0 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@
3af038c0
VS
22RESCOMP = @RESCOMP@
23SAMPLES_RPATH_FLAG = @SAMPLES_RPATH_FLAG@
ab892b95 24SAMPLES_RPATH_POSTLINK = @SAMPLES_RPATH_POSTLINK@
3af038c0 25SETFILE = @SETFILE@
250700e4 26TOOLCHAIN_NAME = @TOOLCHAIN_NAME@
3af038c0 27TOOLKIT = @TOOLKIT@
cbd63f42 28TOOLKIT_LOWERCASE = @TOOLKIT_LOWERCASE@
fcf61db4 29TOOLKIT_VERSION = @TOOLKIT_VERSION@
3af038c0 30srcdir = @srcdir@
cbd63f42 31top_builddir = @top_builddir@
3af038c0 32top_srcdir = @top_srcdir@
108106cf 33
fcf61db4
VS
34### Variables: ###
35
250700e4 36DBTEST_CXXFLAGS = $(CPPFLAGS) -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) \
75a0a7b7
VS
37 -I$(top_srcdir)/include -I$(srcdir) $(__DLLFLAG_p) \
38 -I$(srcdir)/../../samples $(CXXFLAGS)
076f10e0
VS
39DBTEST_OBJECTS = \
40 dbtest_dbtest.o \
41 dbtest_listdb.o \
42 $(__dbtest___win32rc)
43LIBDIRNAME = $(top_builddir)lib
75a0a7b7 44WX_VERSION = 2.5.0
fcf61db4 45
cbd63f42 46### Conditionally set variables: ###
108106cf 47
b328fad3
VS
48@COND_DEPS_TRACKING_0@CXXC = $(CXX)
49@COND_DEPS_TRACKING_1@CXXC = $(top_builddir)./bk-deps $(CXX)
3af038c0
VS
50@COND_USE_GUI_0@PORTNAME = base
51@COND_USE_GUI_1@PORTNAME = $(TOOLKIT_LOWERCASE)$(TOOLKIT_VERSION)
b1169abb 52@COND_TOOLKIT_MAC@WXBASEPORT = _carbon
076f10e0
VS
53@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@WXDEBUGFLAG = d
54@COND_DEBUG_FLAG_1@WXDEBUGFLAG = d
3af038c0 55@COND_UNICODE_1@WXUNICODEFLAG = u
fcf61db4 56@COND_WXUNIV_1@WXUNIVNAME = univ
3af038c0 57@COND_SHARED_1@__DLLFLAG_p = -DWXUSINGDLL
fcf61db4 58@COND_SHARED_1@__DLLFLAG_p_1 = -d WXUSINGDLL
fcf61db4 59@COND_SHARED_1@__DLLFLAG_p_2 = --define WXUSINGDLL
bdc408c4
VS
60@COND_WXUSE_EXPAT_BUILTIN@__LIB_EXPAT_p = \
61@COND_WXUSE_EXPAT_BUILTIN@ -lwxexpat$(WXDEBUGFLAG)$(HOST_SUFFIX)
076f10e0
VS
62@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@__LIB_JPEG_p \
63@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@ = \
64@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@ -lwxjpeg$(WXDEBUGFLAG)$(HOST_SUFFIX)
250700e4
RD
65@COND_WXUSE_ODBC_BUILTIN@__LIB_ODBC_p = \
66@COND_WXUSE_ODBC_BUILTIN@ -lwxodbc$(WXDEBUGFLAG)$(HOST_SUFFIX)
076f10e0
VS
67@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@__LIB_PNG_p \
68@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@ = \
69@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@ -lwxpng$(WXDEBUGFLAG)$(HOST_SUFFIX)
250700e4
RD
70@COND_WXUSE_REGEX_BUILTIN@__LIB_REGEX_p = \
71@COND_WXUSE_REGEX_BUILTIN@ -lwxregex$(WXDEBUGFLAG)$(HOST_SUFFIX)
076f10e0
VS
72@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@__LIB_TIFF_p \
73@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@ = \
74@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@ -lwxtiff$(WXDEBUGFLAG)$(HOST_SUFFIX)
250700e4
RD
75@COND_WXUSE_ZLIB_BUILTIN@__LIB_ZLIB_p = \
76@COND_WXUSE_ZLIB_BUILTIN@ -lwxzlib$(WXDEBUGFLAG)$(HOST_SUFFIX)
076f10e0 77COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_1 = $(RESCOMP) -d __DARWIN__ -t APPL -d \
75a0a7b7 78 __WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_1) -i $(top_srcdir)/include -i $(srcdir) \
b328fad3 79 $(__DLLFLAG_p_1) -i $(srcdir)/../../samples -o dbtest$(EXEEXT) Carbon.r \
ab892b95 80 $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).0.r sample.r
076f10e0 81@COND_TOOLKIT_MAC@__MACOSX_RESOURCES_p_1 = $(COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_1)
250700e4
RD
82@COND_MONOLITHIC_0@__WXLIB_BASE_p = \
83@COND_MONOLITHIC_0@ -lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)-2.5$(HOST_SUFFIX)
076f10e0
VS
84COND_MONOLITHIC_0___WXLIB_CORE_p = \
85 -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core-2.5$(HOST_SUFFIX)
86@COND_MONOLITHIC_0@__WXLIB_CORE_p = $(COND_MONOLITHIC_0___WXLIB_CORE_p)
87COND_MONOLITHIC_1___WXLIB_MONO_p = \
88 -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)-2.5$(HOST_SUFFIX)
89@COND_MONOLITHIC_1@__WXLIB_MONO_p = $(COND_MONOLITHIC_1___WXLIB_MONO_p)
fd9f42b6
VS
90COND_MONOLITHIC_0___WXLIB_ODBC_p = \
91 -lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_odbc-2.5$(HOST_SUFFIX)
92@COND_MONOLITHIC_0@__WXLIB_ODBC_p = $(COND_MONOLITHIC_0___WXLIB_ODBC_p)
3af038c0 93@COND_WXUNIV_1@__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
9747f85d 94@COND_WXUNIV_1@__WXUNIV_DEFINE_p_1 = -d __WXUNIVERSAL__
fcf61db4 95@COND_WXUNIV_1@__WXUNIV_DEFINE_p_2 = --define __WXUNIVERSAL__
3af038c0 96@COND_PLATFORM_MAC_1@__dbtest___mac_rezcmd = $(__MACOSX_RESOURCES_p_1)
b328fad3
VS
97@COND_PLATFORM_MAC_1@__dbtest___mac_setfilecmd = \
98@COND_PLATFORM_MAC_1@ $(SETFILE) -a C dbtest$(EXEEXT)
3af038c0 99@COND_PLATFORM_WIN32_1@__dbtest___win32rc = dbtest_dbtest_rc.o
ab892b95 100@COND_PLATFORM_MACOSX_1@__dbtest_bundle___depname = dbtest_bundle
cbd63f42
VS
101
102### Targets: ###
103
b328fad3 104all: dbtest$(EXEEXT) $(__dbtest_bundle___depname)
cbd63f42 105
cbd63f42 106clean:
ab892b95 107 rm -rf ./.deps ./.pch
076f10e0 108 rm -f ./*.o
b328fad3 109 rm -f dbtest$(EXEEXT)
ab892b95 110 rm -rf dbtest.app
cbd63f42 111
b328fad3 112dbtest$(EXEEXT): $(DBTEST_OBJECTS) $(__dbtest___win32rc)
fd9f42b6 113 $(CXX) -o $@ $(DBTEST_OBJECTS) $(LDFLAGS) -L$(LIBDIRNAME) $(LDFLAGS_GUI) $(SAMPLES_RPATH_FLAG) $(__WXLIB_ODBC_p) $(__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
114 $(__dbtest___mac_rezcmd)
115 $(__dbtest___mac_setfilecmd)
ab892b95
VS
116 $(SAMPLES_RPATH_POSTLINK)
117
b328fad3 118dbtest.app/Contents: dbtest$(EXEEXT) $(top_srcdir)/src/mac/Info.plist.in $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).0.rsrc $(top_srcdir)/src/mac/wxmac.icns
ab892b95
VS
119 mkdir -p dbtest.app/Contents
120 mkdir -p dbtest.app/Contents/MacOS
121 mkdir -p dbtest.app/Contents/Resources
122
123
124 sed -e "s/IDENTIFIER/`echo $(srcdir) | sed -e 's,\.\./,,g' | sed -e 's,/,.,g'`/" \
125 -e "s/EXECUTABLE/dbtest/" \
75a0a7b7 126 -e "s/VERSION/$(WX_VERSION)/" \
ab892b95
VS
127 $(top_srcdir)/src/mac/Info.plist.in >dbtest.app/Contents/Info.plist
128
129
130 echo -n "APPL????" >dbtest.app/Contents/PkgInfo
131
132
b328fad3 133 ln -f dbtest$(EXEEXT) dbtest.app/Contents/MacOS/dbtest
ab892b95
VS
134
135
136 ln -f $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).0.rsrc dbtest.app/Contents/Resources/dbtest.rsrc
137 ln -f $(top_srcdir)/src/mac/wxmac.icns dbtest.app/Contents/Resources/wxmac.icns
138
139@COND_PLATFORM_MACOSX_1@dbtest_bundle: dbtest.app/Contents
cbd63f42 140
3af038c0 141dbtest_dbtest.o: $(srcdir)/dbtest.cpp
b328fad3 142 $(CXXC) -c -o $@ $(DBTEST_CXXFLAGS) $<
3af038c0
VS
143
144dbtest_dbtest_rc.o: $(srcdir)/dbtest.rc
75a0a7b7 145 $(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
3af038c0
VS
146
147dbtest_listdb.o: $(srcdir)/listdb.cpp
b328fad3 148 $(CXXC) -c -o $@ $(DBTEST_CXXFLAGS) $<
3af038c0 149
49b0a3aa 150distclean: clean
ab892b95 151 rm -f configure config.cache config.log config.status bk-deps bk-make-pch shared-ld-sh Makefile
49b0a3aa 152
3af038c0 153install: all
cbd63f42 154
3af038c0 155install-strip: install
cbd63f42
VS
156
157uninstall:
158
159
160# Include dependency info, if present:
49b0a3aa 161@IF_GNU_MAKE@-include .deps/*.d
cbd63f42 162
ab892b95 163.PHONY: all clean dbtest_bundle distclean install uninstall