remove ODBC and DBgrid libraries
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49352 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -70,7 +70,6 @@
|
||||
#define TEST_MIME
|
||||
#define TEST_MODULE
|
||||
#define TEST_PATHLIST
|
||||
#define TEST_ODBC
|
||||
#define TEST_PRINTF
|
||||
#define TEST_REGCONF
|
||||
#define TEST_REGEX
|
||||
@@ -1659,26 +1658,6 @@ static void TestRegExInteractive()
|
||||
|
||||
#endif // TEST_REGEX
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// database
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
#if !wxUSE_ODBC
|
||||
#undef TEST_ODBC
|
||||
#endif
|
||||
|
||||
#ifdef TEST_ODBC
|
||||
|
||||
#include "wx/db.h"
|
||||
|
||||
static void TestDbOpen()
|
||||
{
|
||||
HENV henv;
|
||||
wxDb db(henv);
|
||||
}
|
||||
|
||||
#endif // TEST_ODBC
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// printf() tests
|
||||
// ----------------------------------------------------------------------------
|
||||
@@ -4435,10 +4414,6 @@ int main(int argc, char **argv)
|
||||
TestPathList();
|
||||
#endif // TEST_PATHLIST
|
||||
|
||||
#ifdef TEST_ODBC
|
||||
TestDbOpen();
|
||||
#endif // TEST_ODBC
|
||||
|
||||
#ifdef TEST_PRINTF
|
||||
TestPrintf();
|
||||
#endif // TEST_PRINTF
|
||||
|
@@ -1,220 +0,0 @@
|
||||
# =========================================================================
|
||||
# This makefile was generated by
|
||||
# Bakefile 0.2.2 (http://bakefile.sourceforge.net)
|
||||
# Do not modify, all changes will be overwritten!
|
||||
# =========================================================================
|
||||
|
||||
|
||||
@MAKE_SET@
|
||||
|
||||
prefix = @prefix@
|
||||
exec_prefix = @exec_prefix@
|
||||
INSTALL = @INSTALL@
|
||||
EXEEXT = @EXEEXT@
|
||||
WINDRES = @WINDRES@
|
||||
REZ = @REZ@
|
||||
SETFILE = @SETFILE@
|
||||
NM = @NM@
|
||||
BK_DEPS = @BK_DEPS@
|
||||
srcdir = @srcdir@
|
||||
top_srcdir = @top_srcdir@
|
||||
LIBS = @LIBS@
|
||||
LDFLAGS_GUI = @LDFLAGS_GUI@
|
||||
CXX = @CXX@
|
||||
CXXFLAGS = @CXXFLAGS@
|
||||
CPPFLAGS = @CPPFLAGS@
|
||||
LDFLAGS = @LDFLAGS@
|
||||
WX_LIB_FLAVOUR = @WX_LIB_FLAVOUR@
|
||||
TOOLKIT = @TOOLKIT@
|
||||
TOOLKIT_LOWERCASE = @TOOLKIT_LOWERCASE@
|
||||
TOOLKIT_VERSION = @TOOLKIT_VERSION@
|
||||
TOOLCHAIN_FULLNAME = @TOOLCHAIN_FULLNAME@
|
||||
EXTRALIBS = @EXTRALIBS@
|
||||
EXTRALIBS_XML = @EXTRALIBS_XML@
|
||||
EXTRALIBS_HTML = @EXTRALIBS_HTML@
|
||||
EXTRALIBS_ODBC = @EXTRALIBS_ODBC@
|
||||
EXTRALIBS_GUI = @EXTRALIBS_GUI@
|
||||
EXTRALIBS_SDL = @EXTRALIBS_SDL@
|
||||
CXXWARNINGS = @CXXWARNINGS@
|
||||
HOST_SUFFIX = @HOST_SUFFIX@
|
||||
SAMPLES_RPATH_FLAG = @SAMPLES_RPATH_FLAG@
|
||||
SAMPLES_RPATH_POSTLINK = @SAMPLES_RPATH_POSTLINK@
|
||||
wx_top_builddir = @wx_top_builddir@
|
||||
|
||||
### Variables: ###
|
||||
|
||||
DESTDIR =
|
||||
WX_RELEASE = 2.9
|
||||
WX_VERSION = $(WX_RELEASE).0
|
||||
LIBDIRNAME = $(wx_top_builddir)/lib
|
||||
DBTEST_CXXFLAGS = -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) \
|
||||
$(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) \
|
||||
-I$(srcdir) $(__DLLFLAG_p) -I$(srcdir)/../../samples $(CXXWARNINGS) \
|
||||
$(CPPFLAGS) $(CXXFLAGS)
|
||||
DBTEST_OBJECTS = \
|
||||
$(__dbtest_os2_lib_res) \
|
||||
dbtest_dbtest.o \
|
||||
dbtest_listdb.o \
|
||||
$(__dbtest___win32rc)
|
||||
|
||||
### Conditionally set variables: ###
|
||||
|
||||
@COND_DEPS_TRACKING_0@CXXC = $(CXX)
|
||||
@COND_DEPS_TRACKING_1@CXXC = $(BK_DEPS) $(CXX)
|
||||
@COND_USE_PLUGINS_0@PLUGIN_ADV_EXTRALIBS = $(EXTRALIBS_SDL)
|
||||
@COND_USE_GUI_0@PORTNAME = base
|
||||
@COND_USE_GUI_1@PORTNAME = $(TOOLKIT_LOWERCASE)$(TOOLKIT_VERSION)
|
||||
@COND_TOOLKIT_MAC@WXBASEPORT = _carbon
|
||||
@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@WXDEBUGFLAG = d
|
||||
@COND_DEBUG_FLAG_1@WXDEBUGFLAG = d
|
||||
@COND_UNICODE_1@WXUNICODEFLAG = u
|
||||
@COND_WXUNIV_1@WXUNIVNAME = univ
|
||||
@COND_MONOLITHIC_0@EXTRALIBS_FOR_BASE = $(EXTRALIBS)
|
||||
@COND_MONOLITHIC_1@EXTRALIBS_FOR_BASE = $(EXTRALIBS) $(EXTRALIBS_GUI)
|
||||
@COND_MONOLITHIC_0@EXTRALIBS_FOR_GUI = $(EXTRALIBS_GUI)
|
||||
@COND_MONOLITHIC_1@EXTRALIBS_FOR_GUI =
|
||||
@COND_USE_ODBC_1@__dbtest___depname = dbtest$(EXEEXT)
|
||||
@COND_PLATFORM_MAC_1@__dbtest___mac_setfilecmd = \
|
||||
@COND_PLATFORM_MAC_1@ $(SETFILE) -a C dbtest$(EXEEXT)
|
||||
@COND_PLATFORM_MAC_1@__dbtest___mac_rezcmd = $(__MACOSX_RESOURCES_p_1)
|
||||
@COND_WXUNIV_1@__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
|
||||
@COND_WXUNIV_1@__WXUNIV_DEFINE_p_1 = -d __WXUNIVERSAL__
|
||||
@COND_WXUNIV_1@__WXUNIV_DEFINE_p_2 = --define __WXUNIVERSAL__
|
||||
@COND_USE_EXCEPTIONS_0@__EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS
|
||||
@COND_USE_EXCEPTIONS_0@__EXCEPTIONS_DEFINE_p_1 = -d wxNO_EXCEPTIONS
|
||||
@COND_USE_EXCEPTIONS_0@__EXCEPTIONS_DEFINE_p_2 = --define wxNO_EXCEPTIONS
|
||||
@COND_USE_RTTI_0@__RTTI_DEFINE_p = -DwxNO_RTTI
|
||||
@COND_USE_RTTI_0@__RTTI_DEFINE_p_1 = -d wxNO_RTTI
|
||||
@COND_USE_RTTI_0@__RTTI_DEFINE_p_2 = --define wxNO_RTTI
|
||||
@COND_USE_THREADS_0@__THREAD_DEFINE_p = -DwxNO_THREADS
|
||||
@COND_USE_THREADS_0@__THREAD_DEFINE_p_1 = -d wxNO_THREADS
|
||||
@COND_USE_THREADS_0@__THREAD_DEFINE_p_2 = --define wxNO_THREADS
|
||||
@COND_SHARED_1@__DLLFLAG_p = -DWXUSINGDLL
|
||||
@COND_SHARED_1@__DLLFLAG_p_1 = -d WXUSINGDLL
|
||||
@COND_SHARED_1@__DLLFLAG_p_2 = --define WXUSINGDLL
|
||||
COND_PLATFORM_OS2_1___dbtest___os2_emxbindcmd = $(NM) dbtest$(EXEEXT) | if grep \
|
||||
-q pmwin.763 ; then emxbind -ep dbtest$(EXEEXT) ; fi
|
||||
@COND_PLATFORM_OS2_1@__dbtest___os2_emxbindcmd = $(COND_PLATFORM_OS2_1___dbtest___os2_emxbindcmd)
|
||||
@COND_TOOLKIT_MSW@__RCDEFDIR_p = -i \
|
||||
@COND_TOOLKIT_MSW@ $(LIBDIRNAME)/wx/include/$(TOOLCHAIN_FULLNAME)
|
||||
@COND_TOOLKIT_MSW@__RCDEFDIR_p_1 = --include-dir \
|
||||
@COND_TOOLKIT_MSW@ $(LIBDIRNAME)/wx/include/$(TOOLCHAIN_FULLNAME)
|
||||
@COND_PLATFORM_OS2_1@__dbtest_os2_lib_res = \
|
||||
@COND_PLATFORM_OS2_1@ $(top_srcdir)/include/wx/os2/wx.res
|
||||
@COND_PLATFORM_MACOSX_1@__dbtest_bundle___depname = dbtest_bundle
|
||||
@COND_TOOLKIT_COCOA@____dbtest_BUNDLE_TGT_REF_DEP = \
|
||||
@COND_TOOLKIT_COCOA@ dbtest.app/Contents/PkgInfo
|
||||
@COND_TOOLKIT_MAC@____dbtest_BUNDLE_TGT_REF_DEP = \
|
||||
@COND_TOOLKIT_MAC@ dbtest.app/Contents/PkgInfo
|
||||
COND_MONOLITHIC_0___WXLIB_DBGRID_p = \
|
||||
-lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_dbgrid-$(WX_RELEASE)$(HOST_SUFFIX)
|
||||
@COND_MONOLITHIC_0@__WXLIB_DBGRID_p = $(COND_MONOLITHIC_0___WXLIB_DBGRID_p)
|
||||
COND_MONOLITHIC_0_USE_ODBC_1___WXLIB_ODBC_p = \
|
||||
-lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_odbc-$(WX_RELEASE)$(HOST_SUFFIX)
|
||||
@COND_MONOLITHIC_0_USE_ODBC_1@__WXLIB_ODBC_p = $(COND_MONOLITHIC_0_USE_ODBC_1___WXLIB_ODBC_p)
|
||||
COND_MONOLITHIC_0___WXLIB_ADV_p = \
|
||||
-lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_adv-$(WX_RELEASE)$(HOST_SUFFIX)
|
||||
@COND_MONOLITHIC_0@__WXLIB_ADV_p = $(COND_MONOLITHIC_0___WXLIB_ADV_p)
|
||||
COND_MONOLITHIC_0___WXLIB_HTML_p = \
|
||||
-lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_html-$(WX_RELEASE)$(HOST_SUFFIX)
|
||||
@COND_MONOLITHIC_0@__WXLIB_HTML_p = $(COND_MONOLITHIC_0___WXLIB_HTML_p)
|
||||
COND_MONOLITHIC_0___WXLIB_XML_p = \
|
||||
-lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_xml-$(WX_RELEASE)$(HOST_SUFFIX)
|
||||
@COND_MONOLITHIC_0@__WXLIB_XML_p = $(COND_MONOLITHIC_0___WXLIB_XML_p)
|
||||
COND_MONOLITHIC_0___WXLIB_CORE_p = \
|
||||
-lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core-$(WX_RELEASE)$(HOST_SUFFIX)
|
||||
@COND_MONOLITHIC_0@__WXLIB_CORE_p = $(COND_MONOLITHIC_0___WXLIB_CORE_p)
|
||||
COND_MONOLITHIC_0___WXLIB_BASE_p = \
|
||||
-lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
|
||||
@COND_MONOLITHIC_0@__WXLIB_BASE_p = $(COND_MONOLITHIC_0___WXLIB_BASE_p)
|
||||
@COND_PLATFORM_WIN32_1@__dbtest___win32rc = dbtest_dbtest_rc.o
|
||||
COND_MONOLITHIC_1___WXLIB_MONO_p = \
|
||||
-lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
|
||||
@COND_MONOLITHIC_1@__WXLIB_MONO_p = $(COND_MONOLITHIC_1___WXLIB_MONO_p)
|
||||
@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@__LIB_TIFF_p \
|
||||
@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@ = \
|
||||
@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@ -lwxtiff$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
|
||||
@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@__LIB_JPEG_p \
|
||||
@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@ = \
|
||||
@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@ -lwxjpeg$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
|
||||
@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@__LIB_PNG_p \
|
||||
@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@ = \
|
||||
@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@ -lwxpng$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
|
||||
@COND_WXUSE_ZLIB_BUILTIN@__LIB_ZLIB_p = \
|
||||
@COND_WXUSE_ZLIB_BUILTIN@ -lwxzlib$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
|
||||
@COND_WXUSE_ODBC_BUILTIN@__LIB_ODBC_p = \
|
||||
@COND_WXUSE_ODBC_BUILTIN@ -lwxodbc$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
|
||||
COND_WXUSE_REGEX_BUILTIN___LIB_REGEX_p = \
|
||||
-lwxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
|
||||
@COND_WXUSE_REGEX_BUILTIN@__LIB_REGEX_p = $(COND_WXUSE_REGEX_BUILTIN___LIB_REGEX_p)
|
||||
@COND_WXUSE_EXPAT_BUILTIN@__LIB_EXPAT_p = \
|
||||
@COND_WXUSE_EXPAT_BUILTIN@ -lwxexpat$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
|
||||
COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_1 = $(REZ) -d __DARWIN__ -t APPL -d \
|
||||
__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_1) $(__EXCEPTIONS_DEFINE_p_1) \
|
||||
$(__RTTI_DEFINE_p_1) $(__THREAD_DEFINE_p_1) -i $(srcdir) $(__DLLFLAG_p_1) -i \
|
||||
$(srcdir)/../../samples $(__RCDEFDIR_p) -i $(top_srcdir)/include -o \
|
||||
dbtest$(EXEEXT) Carbon.r sample.r
|
||||
@COND_TOOLKIT_MAC@__MACOSX_RESOURCES_p_1 = $(COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_1)
|
||||
|
||||
### Targets: ###
|
||||
|
||||
all: $(__dbtest___depname) $(__dbtest_bundle___depname)
|
||||
|
||||
install: all
|
||||
|
||||
uninstall:
|
||||
|
||||
install-strip: install
|
||||
|
||||
clean:
|
||||
rm -rf ./.deps ./.pch
|
||||
rm -f ./*.o
|
||||
rm -f dbtest$(EXEEXT)
|
||||
rm -rf dbtest.app
|
||||
|
||||
distclean: clean
|
||||
rm -f config.cache config.log config.status bk-deps bk-make-pch shared-ld-sh Makefile
|
||||
|
||||
@COND_USE_ODBC_1@dbtest$(EXEEXT): $(DBTEST_OBJECTS) $(__dbtest___win32rc)
|
||||
@COND_USE_ODBC_1@ $(CXX) -o $@ $(DBTEST_OBJECTS) $(LDFLAGS) -L$(LIBDIRNAME) $(LDFLAGS_GUI) $(SAMPLES_RPATH_FLAG) $(LIBS) $(__WXLIB_DBGRID_p) $(__WXLIB_ODBC_p) $(EXTRALIBS_ODBC) $(__WXLIB_ADV_p) $(PLUGIN_ADV_EXTRALIBS) $(__WXLIB_HTML_p) $(EXTRALIBS_HTML) $(__WXLIB_XML_p) $(EXTRALIBS_XML) $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) $(EXTRALIBS_FOR_GUI) $(__LIB_ZLIB_p) $(__LIB_ODBC_p) $(__LIB_REGEX_p) $(__LIB_EXPAT_p) $(EXTRALIBS_FOR_BASE)
|
||||
@COND_USE_ODBC_1@ $(__dbtest___mac_rezcmd)
|
||||
@COND_USE_ODBC_1@ $(__dbtest___mac_setfilecmd)
|
||||
@COND_USE_ODBC_1@ $(__dbtest___os2_emxbindcmd)
|
||||
@COND_USE_ODBC_1@ $(SAMPLES_RPATH_POSTLINK)
|
||||
|
||||
dbtest.app/Contents/PkgInfo: $(__dbtest___depname) $(top_srcdir)/src/mac/carbon/Info.plist.in $(top_srcdir)/src/mac/carbon/wxmac.icns
|
||||
mkdir -p dbtest.app/Contents
|
||||
mkdir -p dbtest.app/Contents/MacOS
|
||||
mkdir -p dbtest.app/Contents/Resources
|
||||
|
||||
|
||||
sed -e "s/IDENTIFIER/`echo $(srcdir) | sed -e 's,\.\./,,g' | sed -e 's,/,.,g'`/" \
|
||||
-e "s/EXECUTABLE/dbtest/" \
|
||||
-e "s/VERSION/$(WX_VERSION)/" \
|
||||
$(top_srcdir)/src/mac/carbon/Info.plist.in >dbtest.app/Contents/Info.plist
|
||||
|
||||
|
||||
echo -n "APPL????" >dbtest.app/Contents/PkgInfo
|
||||
|
||||
|
||||
ln -f dbtest$(EXEEXT) dbtest.app/Contents/MacOS/dbtest
|
||||
|
||||
|
||||
cp -f $(top_srcdir)/src/mac/carbon/wxmac.icns dbtest.app/Contents/Resources/wxmac.icns
|
||||
|
||||
@COND_PLATFORM_MACOSX_1@dbtest_bundle: $(____dbtest_BUNDLE_TGT_REF_DEP)
|
||||
|
||||
dbtest_dbtest.o: $(srcdir)/dbtest.cpp
|
||||
$(CXXC) -c -o $@ $(DBTEST_CXXFLAGS) $(srcdir)/dbtest.cpp
|
||||
|
||||
dbtest_listdb.o: $(srcdir)/listdb.cpp
|
||||
$(CXXC) -c -o $@ $(DBTEST_CXXFLAGS) $(srcdir)/listdb.cpp
|
||||
|
||||
dbtest_dbtest_rc.o: $(srcdir)/dbtest.rc
|
||||
$(WINDRES) -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 $(__RCDEFDIR_p_1) --include-dir $(top_srcdir)/include
|
||||
|
||||
|
||||
# Include dependency info, if present:
|
||||
@IF_GNU_MAKE@-include .deps/*.d
|
||||
|
||||
.PHONY: all install uninstall clean distclean dbtest_bundle
|
@@ -1,24 +0,0 @@
|
||||
<?xml version="1.0" ?>
|
||||
<makefile>
|
||||
|
||||
<include file="../../build/bakefiles/common_samples.bkl"/>
|
||||
|
||||
<if cond="OUT_OF_TREE_MAKEFILES=='1'">
|
||||
<set var="USE_ODBC">1</set>
|
||||
</if>
|
||||
|
||||
<exe id="dbtest"
|
||||
cond="USE_ODBC=='1'"
|
||||
template="wx_sample" template_append="wx_append">
|
||||
<sources>dbtest.cpp listdb.cpp</sources>
|
||||
<wx-lib>dbgrid</wx-lib>
|
||||
<wx-lib>odbc</wx-lib>
|
||||
<wx-lib>adv</wx-lib>
|
||||
<wx-lib>html</wx-lib>
|
||||
<wx-lib>xml</wx-lib>
|
||||
<wx-lib>core</wx-lib>
|
||||
<wx-lib>base</wx-lib>
|
||||
<win32-res>dbtest.rc</win32-res>
|
||||
</exe>
|
||||
|
||||
</makefile>
|
@@ -1,484 +0,0 @@
|
||||
# Microsoft Developer Studio Project File - Name="db" - Package Owner=<4>
|
||||
# Microsoft Developer Studio Generated Build File, Format Version 6.00
|
||||
# ** DO NOT EDIT **
|
||||
|
||||
# TARGTYPE "Win32 (x86) Application" 0x0101
|
||||
|
||||
CFG=dbtest - Win32 Debug
|
||||
!MESSAGE This is not a valid makefile. To build this project using NMAKE,
|
||||
!MESSAGE use the Export Makefile command and run
|
||||
!MESSAGE
|
||||
!MESSAGE NMAKE /f "db.mak".
|
||||
!MESSAGE
|
||||
!MESSAGE You can specify a configuration when running NMAKE
|
||||
!MESSAGE by defining the macro CFG on the command line. For example:
|
||||
!MESSAGE
|
||||
!MESSAGE NMAKE /f "db.mak" CFG="dbtest - Win32 Debug"
|
||||
!MESSAGE
|
||||
!MESSAGE Possible choices for configuration are:
|
||||
!MESSAGE
|
||||
!MESSAGE "dbtest - Win32 DLL Universal Unicode Release" (based on "Win32 (x86) Application")
|
||||
!MESSAGE "dbtest - Win32 DLL Universal Unicode Debug" (based on "Win32 (x86) Application")
|
||||
!MESSAGE "dbtest - Win32 DLL Universal Release" (based on "Win32 (x86) Application")
|
||||
!MESSAGE "dbtest - Win32 DLL Universal Debug" (based on "Win32 (x86) Application")
|
||||
!MESSAGE "dbtest - Win32 DLL Unicode Release" (based on "Win32 (x86) Application")
|
||||
!MESSAGE "dbtest - Win32 DLL Unicode Debug" (based on "Win32 (x86) Application")
|
||||
!MESSAGE "dbtest - Win32 DLL Release" (based on "Win32 (x86) Application")
|
||||
!MESSAGE "dbtest - Win32 DLL Debug" (based on "Win32 (x86) Application")
|
||||
!MESSAGE "dbtest - Win32 Universal Unicode Release" (based on "Win32 (x86) Application")
|
||||
!MESSAGE "dbtest - Win32 Universal Unicode Debug" (based on "Win32 (x86) Application")
|
||||
!MESSAGE "dbtest - Win32 Universal Release" (based on "Win32 (x86) Application")
|
||||
!MESSAGE "dbtest - Win32 Universal Debug" (based on "Win32 (x86) Application")
|
||||
!MESSAGE "dbtest - Win32 Unicode Release" (based on "Win32 (x86) Application")
|
||||
!MESSAGE "dbtest - Win32 Unicode Debug" (based on "Win32 (x86) Application")
|
||||
!MESSAGE "dbtest - Win32 Release" (based on "Win32 (x86) Application")
|
||||
!MESSAGE "dbtest - Win32 Debug" (based on "Win32 (x86) Application")
|
||||
!MESSAGE
|
||||
|
||||
# Begin Project
|
||||
# PROP AllowPerConfigDependencies 0
|
||||
# PROP Scc_ProjName ""
|
||||
# PROP Scc_LocalPath ""
|
||||
CPP=cl.exe
|
||||
MTL=midl.exe
|
||||
RSC=rc.exe
|
||||
|
||||
!IF "$(CFG)" == "dbtest - Win32 DLL Universal Unicode Release"
|
||||
|
||||
# PROP BASE Use_MFC 0
|
||||
# PROP BASE Use_Debug_Libraries 0
|
||||
# PROP BASE Output_Dir "vc_mswunivudll"
|
||||
# PROP BASE Intermediate_Dir "vc_mswunivudll\dbtest"
|
||||
# PROP BASE Target_Dir ""
|
||||
# PROP Use_MFC 0
|
||||
# PROP Use_Debug_Libraries 0
|
||||
# PROP Output_Dir "vc_mswunivudll"
|
||||
# PROP Intermediate_Dir "vc_mswunivudll\dbtest"
|
||||
# PROP Target_Dir ""
|
||||
# ADD BASE CPP /nologo /FD /MD /Fdvc_mswunivudll\dbtest.pdb /O2 /GR /EHsc /I ".\..\..\lib\vc_dll\mswunivu" /I ".\..\..\include" /W4 /I "." /I ".\..\..\samples" /D "WIN32" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "_UNICODE" /D "WXUSINGDLL" /D "_WINDOWS" /D "NOPCH" /c
|
||||
# ADD CPP /nologo /FD /MD /Fdvc_mswunivudll\dbtest.pdb /O2 /GR /EHsc /I ".\..\..\lib\vc_dll\mswunivu" /I ".\..\..\include" /W4 /I "." /I ".\..\..\samples" /D "WIN32" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "_UNICODE" /D "WXUSINGDLL" /D "_WINDOWS" /D "NOPCH" /c
|
||||
# ADD BASE MTL /nologo /D "WIN32" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "_UNICODE" /D "WXUSINGDLL" /D "_WINDOWS" /D "NOPCH" /mktyplib203 /win32
|
||||
# ADD MTL /nologo /D "WIN32" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "_UNICODE" /D "WXUSINGDLL" /D "_WINDOWS" /D "NOPCH" /mktyplib203 /win32
|
||||
# ADD BASE RSC /l 0x409 /d "__WXMSW__" /d "__WXUNIVERSAL__" /d "_UNICODE" /i ".\..\..\lib\vc_dll\mswunivu" /i ".\..\..\include" /i "." /d "WXUSINGDLL" /d "_WINDOWS" /i ".\..\..\samples" /d NOPCH
|
||||
# ADD RSC /l 0x409 /d "__WXMSW__" /d "__WXUNIVERSAL__" /d "_UNICODE" /i ".\..\..\lib\vc_dll\mswunivu" /i ".\..\..\include" /i "." /d "WXUSINGDLL" /d "_WINDOWS" /i ".\..\..\samples" /d NOPCH
|
||||
BSC32=bscmake.exe
|
||||
# ADD BASE BSC32 /nologo
|
||||
# ADD BSC32 /nologo
|
||||
LINK32=link.exe
|
||||
# ADD BASE LINK32 wxmswuniv29u_dbgrid.lib wxbase29u_odbc.lib wxmswuniv29u_adv.lib wxmswuniv29u_html.lib wxbase29u_xml.lib wxmswuniv29u_core.lib wxbase29u.lib wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregexu.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib /nologo /machine:i386 /out:"vc_mswunivudll\dbtest.exe" /libpath:".\..\..\lib\vc_dll" /subsystem:windows
|
||||
# ADD LINK32 wxmswuniv29u_dbgrid.lib wxbase29u_odbc.lib wxmswuniv29u_adv.lib wxmswuniv29u_html.lib wxbase29u_xml.lib wxmswuniv29u_core.lib wxbase29u.lib wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregexu.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib /nologo /machine:i386 /out:"vc_mswunivudll\dbtest.exe" /libpath:".\..\..\lib\vc_dll" /subsystem:windows
|
||||
|
||||
!ELSEIF "$(CFG)" == "dbtest - Win32 DLL Universal Unicode Debug"
|
||||
|
||||
# PROP BASE Use_MFC 0
|
||||
# PROP BASE Use_Debug_Libraries 1
|
||||
# PROP BASE Output_Dir "vc_mswunivuddll"
|
||||
# PROP BASE Intermediate_Dir "vc_mswunivuddll\dbtest"
|
||||
# PROP BASE Target_Dir ""
|
||||
# PROP Use_MFC 0
|
||||
# PROP Use_Debug_Libraries 1
|
||||
# PROP Output_Dir "vc_mswunivuddll"
|
||||
# PROP Intermediate_Dir "vc_mswunivuddll\dbtest"
|
||||
# PROP Target_Dir ""
|
||||
# ADD BASE CPP /nologo /FD /MDd /Zi /Gm /GZ /Fdvc_mswunivuddll\dbtest.pdb /Od /GR /EHsc /I ".\..\..\lib\vc_dll\mswunivud" /I ".\..\..\include" /W4 /I "." /I ".\..\..\samples" /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D "_UNICODE" /D "WXUSINGDLL" /D "_WINDOWS" /D "NOPCH" /c
|
||||
# ADD CPP /nologo /FD /MDd /Zi /Gm /GZ /Fdvc_mswunivuddll\dbtest.pdb /Od /GR /EHsc /I ".\..\..\lib\vc_dll\mswunivud" /I ".\..\..\include" /W4 /I "." /I ".\..\..\samples" /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D "_UNICODE" /D "WXUSINGDLL" /D "_WINDOWS" /D "NOPCH" /c
|
||||
# ADD BASE MTL /nologo /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D "_UNICODE" /D "WXUSINGDLL" /D "_WINDOWS" /D "NOPCH" /mktyplib203 /win32
|
||||
# ADD MTL /nologo /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D "_UNICODE" /D "WXUSINGDLL" /D "_WINDOWS" /D "NOPCH" /mktyplib203 /win32
|
||||
# ADD BASE RSC /l 0x409 /d "_DEBUG" /d "__WXMSW__" /d "__WXUNIVERSAL__" /d "__WXDEBUG__" /d "_UNICODE" /i ".\..\..\lib\vc_dll\mswunivud" /i ".\..\..\include" /i "." /d "WXUSINGDLL" /d "_WINDOWS" /i ".\..\..\samples" /d NOPCH
|
||||
# ADD RSC /l 0x409 /d "_DEBUG" /d "__WXMSW__" /d "__WXUNIVERSAL__" /d "__WXDEBUG__" /d "_UNICODE" /i ".\..\..\lib\vc_dll\mswunivud" /i ".\..\..\include" /i "." /d "WXUSINGDLL" /d "_WINDOWS" /i ".\..\..\samples" /d NOPCH
|
||||
BSC32=bscmake.exe
|
||||
# ADD BASE BSC32 /nologo
|
||||
# ADD BSC32 /nologo
|
||||
LINK32=link.exe
|
||||
# ADD BASE LINK32 wxmswuniv29ud_dbgrid.lib wxbase29ud_odbc.lib wxmswuniv29ud_adv.lib wxmswuniv29ud_html.lib wxbase29ud_xml.lib wxmswuniv29ud_core.lib wxbase29ud.lib wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexud.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib /nologo /machine:i386 /out:"vc_mswunivuddll\dbtest.exe" /debug /libpath:".\..\..\lib\vc_dll" /subsystem:windows
|
||||
# ADD LINK32 wxmswuniv29ud_dbgrid.lib wxbase29ud_odbc.lib wxmswuniv29ud_adv.lib wxmswuniv29ud_html.lib wxbase29ud_xml.lib wxmswuniv29ud_core.lib wxbase29ud.lib wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexud.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib /nologo /machine:i386 /out:"vc_mswunivuddll\dbtest.exe" /debug /libpath:".\..\..\lib\vc_dll" /subsystem:windows
|
||||
|
||||
!ELSEIF "$(CFG)" == "dbtest - Win32 DLL Universal Release"
|
||||
|
||||
# PROP BASE Use_MFC 0
|
||||
# PROP BASE Use_Debug_Libraries 0
|
||||
# PROP BASE Output_Dir "vc_mswunivdll"
|
||||
# PROP BASE Intermediate_Dir "vc_mswunivdll\dbtest"
|
||||
# PROP BASE Target_Dir ""
|
||||
# PROP Use_MFC 0
|
||||
# PROP Use_Debug_Libraries 0
|
||||
# PROP Output_Dir "vc_mswunivdll"
|
||||
# PROP Intermediate_Dir "vc_mswunivdll\dbtest"
|
||||
# PROP Target_Dir ""
|
||||
# ADD BASE CPP /nologo /FD /MD /Fdvc_mswunivdll\dbtest.pdb /O2 /GR /EHsc /I ".\..\..\lib\vc_dll\mswuniv" /I ".\..\..\include" /W4 /I "." /I ".\..\..\samples" /D "WIN32" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "WXUSINGDLL" /D "_WINDOWS" /D "NOPCH" /c
|
||||
# ADD CPP /nologo /FD /MD /Fdvc_mswunivdll\dbtest.pdb /O2 /GR /EHsc /I ".\..\..\lib\vc_dll\mswuniv" /I ".\..\..\include" /W4 /I "." /I ".\..\..\samples" /D "WIN32" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "WXUSINGDLL" /D "_WINDOWS" /D "NOPCH" /c
|
||||
# ADD BASE MTL /nologo /D "WIN32" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "WXUSINGDLL" /D "_WINDOWS" /D "NOPCH" /mktyplib203 /win32
|
||||
# ADD MTL /nologo /D "WIN32" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "WXUSINGDLL" /D "_WINDOWS" /D "NOPCH" /mktyplib203 /win32
|
||||
# ADD BASE RSC /l 0x409 /d "__WXMSW__" /d "__WXUNIVERSAL__" /i ".\..\..\lib\vc_dll\mswuniv" /i ".\..\..\include" /i "." /d "WXUSINGDLL" /d "_WINDOWS" /i ".\..\..\samples" /d NOPCH
|
||||
# ADD RSC /l 0x409 /d "__WXMSW__" /d "__WXUNIVERSAL__" /i ".\..\..\lib\vc_dll\mswuniv" /i ".\..\..\include" /i "." /d "WXUSINGDLL" /d "_WINDOWS" /i ".\..\..\samples" /d NOPCH
|
||||
BSC32=bscmake.exe
|
||||
# ADD BASE BSC32 /nologo
|
||||
# ADD BSC32 /nologo
|
||||
LINK32=link.exe
|
||||
# ADD BASE LINK32 wxmswuniv29_dbgrid.lib wxbase29_odbc.lib wxmswuniv29_adv.lib wxmswuniv29_html.lib wxbase29_xml.lib wxmswuniv29_core.lib wxbase29.lib wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregex.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib /nologo /machine:i386 /out:"vc_mswunivdll\dbtest.exe" /libpath:".\..\..\lib\vc_dll" /subsystem:windows
|
||||
# ADD LINK32 wxmswuniv29_dbgrid.lib wxbase29_odbc.lib wxmswuniv29_adv.lib wxmswuniv29_html.lib wxbase29_xml.lib wxmswuniv29_core.lib wxbase29.lib wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregex.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib /nologo /machine:i386 /out:"vc_mswunivdll\dbtest.exe" /libpath:".\..\..\lib\vc_dll" /subsystem:windows
|
||||
|
||||
!ELSEIF "$(CFG)" == "dbtest - Win32 DLL Universal Debug"
|
||||
|
||||
# PROP BASE Use_MFC 0
|
||||
# PROP BASE Use_Debug_Libraries 1
|
||||
# PROP BASE Output_Dir "vc_mswunivddll"
|
||||
# PROP BASE Intermediate_Dir "vc_mswunivddll\dbtest"
|
||||
# PROP BASE Target_Dir ""
|
||||
# PROP Use_MFC 0
|
||||
# PROP Use_Debug_Libraries 1
|
||||
# PROP Output_Dir "vc_mswunivddll"
|
||||
# PROP Intermediate_Dir "vc_mswunivddll\dbtest"
|
||||
# PROP Target_Dir ""
|
||||
# ADD BASE CPP /nologo /FD /MDd /Zi /Gm /GZ /Fdvc_mswunivddll\dbtest.pdb /Od /GR /EHsc /I ".\..\..\lib\vc_dll\mswunivd" /I ".\..\..\include" /W4 /I "." /I ".\..\..\samples" /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D "WXUSINGDLL" /D "_WINDOWS" /D "NOPCH" /c
|
||||
# ADD CPP /nologo /FD /MDd /Zi /Gm /GZ /Fdvc_mswunivddll\dbtest.pdb /Od /GR /EHsc /I ".\..\..\lib\vc_dll\mswunivd" /I ".\..\..\include" /W4 /I "." /I ".\..\..\samples" /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D "WXUSINGDLL" /D "_WINDOWS" /D "NOPCH" /c
|
||||
# ADD BASE MTL /nologo /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D "WXUSINGDLL" /D "_WINDOWS" /D "NOPCH" /mktyplib203 /win32
|
||||
# ADD MTL /nologo /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D "WXUSINGDLL" /D "_WINDOWS" /D "NOPCH" /mktyplib203 /win32
|
||||
# ADD BASE RSC /l 0x409 /d "_DEBUG" /d "__WXMSW__" /d "__WXUNIVERSAL__" /d "__WXDEBUG__" /i ".\..\..\lib\vc_dll\mswunivd" /i ".\..\..\include" /i "." /d "WXUSINGDLL" /d "_WINDOWS" /i ".\..\..\samples" /d NOPCH
|
||||
# ADD RSC /l 0x409 /d "_DEBUG" /d "__WXMSW__" /d "__WXUNIVERSAL__" /d "__WXDEBUG__" /i ".\..\..\lib\vc_dll\mswunivd" /i ".\..\..\include" /i "." /d "WXUSINGDLL" /d "_WINDOWS" /i ".\..\..\samples" /d NOPCH
|
||||
BSC32=bscmake.exe
|
||||
# ADD BASE BSC32 /nologo
|
||||
# ADD BSC32 /nologo
|
||||
LINK32=link.exe
|
||||
# ADD BASE LINK32 wxmswuniv29d_dbgrid.lib wxbase29d_odbc.lib wxmswuniv29d_adv.lib wxmswuniv29d_html.lib wxbase29d_xml.lib wxmswuniv29d_core.lib wxbase29d.lib wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexd.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib /nologo /machine:i386 /out:"vc_mswunivddll\dbtest.exe" /debug /libpath:".\..\..\lib\vc_dll" /subsystem:windows
|
||||
# ADD LINK32 wxmswuniv29d_dbgrid.lib wxbase29d_odbc.lib wxmswuniv29d_adv.lib wxmswuniv29d_html.lib wxbase29d_xml.lib wxmswuniv29d_core.lib wxbase29d.lib wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexd.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib /nologo /machine:i386 /out:"vc_mswunivddll\dbtest.exe" /debug /libpath:".\..\..\lib\vc_dll" /subsystem:windows
|
||||
|
||||
!ELSEIF "$(CFG)" == "dbtest - Win32 DLL Unicode Release"
|
||||
|
||||
# PROP BASE Use_MFC 0
|
||||
# PROP BASE Use_Debug_Libraries 0
|
||||
# PROP BASE Output_Dir "vc_mswudll"
|
||||
# PROP BASE Intermediate_Dir "vc_mswudll\dbtest"
|
||||
# PROP BASE Target_Dir ""
|
||||
# PROP Use_MFC 0
|
||||
# PROP Use_Debug_Libraries 0
|
||||
# PROP Output_Dir "vc_mswudll"
|
||||
# PROP Intermediate_Dir "vc_mswudll\dbtest"
|
||||
# PROP Target_Dir ""
|
||||
# ADD BASE CPP /nologo /FD /MD /Fdvc_mswudll\dbtest.pdb /O2 /GR /EHsc /I ".\..\..\lib\vc_dll\mswu" /I ".\..\..\include" /W4 /I "." /I ".\..\..\samples" /D "WIN32" /D "__WXMSW__" /D "_UNICODE" /D "WXUSINGDLL" /D "_WINDOWS" /D "NOPCH" /c
|
||||
# ADD CPP /nologo /FD /MD /Fdvc_mswudll\dbtest.pdb /O2 /GR /EHsc /I ".\..\..\lib\vc_dll\mswu" /I ".\..\..\include" /W4 /I "." /I ".\..\..\samples" /D "WIN32" /D "__WXMSW__" /D "_UNICODE" /D "WXUSINGDLL" /D "_WINDOWS" /D "NOPCH" /c
|
||||
# ADD BASE MTL /nologo /D "WIN32" /D "__WXMSW__" /D "_UNICODE" /D "WXUSINGDLL" /D "_WINDOWS" /D "NOPCH" /mktyplib203 /win32
|
||||
# ADD MTL /nologo /D "WIN32" /D "__WXMSW__" /D "_UNICODE" /D "WXUSINGDLL" /D "_WINDOWS" /D "NOPCH" /mktyplib203 /win32
|
||||
# ADD BASE RSC /l 0x409 /d "__WXMSW__" /d "_UNICODE" /i ".\..\..\lib\vc_dll\mswu" /i ".\..\..\include" /i "." /d "WXUSINGDLL" /d "_WINDOWS" /i ".\..\..\samples" /d NOPCH
|
||||
# ADD RSC /l 0x409 /d "__WXMSW__" /d "_UNICODE" /i ".\..\..\lib\vc_dll\mswu" /i ".\..\..\include" /i "." /d "WXUSINGDLL" /d "_WINDOWS" /i ".\..\..\samples" /d NOPCH
|
||||
BSC32=bscmake.exe
|
||||
# ADD BASE BSC32 /nologo
|
||||
# ADD BSC32 /nologo
|
||||
LINK32=link.exe
|
||||
# ADD BASE LINK32 wxmsw29u_dbgrid.lib wxbase29u_odbc.lib wxmsw29u_adv.lib wxmsw29u_html.lib wxbase29u_xml.lib wxmsw29u_core.lib wxbase29u.lib wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregexu.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib /nologo /machine:i386 /out:"vc_mswudll\dbtest.exe" /libpath:".\..\..\lib\vc_dll" /subsystem:windows
|
||||
# ADD LINK32 wxmsw29u_dbgrid.lib wxbase29u_odbc.lib wxmsw29u_adv.lib wxmsw29u_html.lib wxbase29u_xml.lib wxmsw29u_core.lib wxbase29u.lib wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregexu.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib /nologo /machine:i386 /out:"vc_mswudll\dbtest.exe" /libpath:".\..\..\lib\vc_dll" /subsystem:windows
|
||||
|
||||
!ELSEIF "$(CFG)" == "dbtest - Win32 DLL Unicode Debug"
|
||||
|
||||
# PROP BASE Use_MFC 0
|
||||
# PROP BASE Use_Debug_Libraries 1
|
||||
# PROP BASE Output_Dir "vc_mswuddll"
|
||||
# PROP BASE Intermediate_Dir "vc_mswuddll\dbtest"
|
||||
# PROP BASE Target_Dir ""
|
||||
# PROP Use_MFC 0
|
||||
# PROP Use_Debug_Libraries 1
|
||||
# PROP Output_Dir "vc_mswuddll"
|
||||
# PROP Intermediate_Dir "vc_mswuddll\dbtest"
|
||||
# PROP Target_Dir ""
|
||||
# ADD BASE CPP /nologo /FD /MDd /Zi /Gm /GZ /Fdvc_mswuddll\dbtest.pdb /Od /GR /EHsc /I ".\..\..\lib\vc_dll\mswud" /I ".\..\..\include" /W4 /I "." /I ".\..\..\samples" /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D "_UNICODE" /D "WXUSINGDLL" /D "_WINDOWS" /D "NOPCH" /c
|
||||
# ADD CPP /nologo /FD /MDd /Zi /Gm /GZ /Fdvc_mswuddll\dbtest.pdb /Od /GR /EHsc /I ".\..\..\lib\vc_dll\mswud" /I ".\..\..\include" /W4 /I "." /I ".\..\..\samples" /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D "_UNICODE" /D "WXUSINGDLL" /D "_WINDOWS" /D "NOPCH" /c
|
||||
# ADD BASE MTL /nologo /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D "_UNICODE" /D "WXUSINGDLL" /D "_WINDOWS" /D "NOPCH" /mktyplib203 /win32
|
||||
# ADD MTL /nologo /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D "_UNICODE" /D "WXUSINGDLL" /D "_WINDOWS" /D "NOPCH" /mktyplib203 /win32
|
||||
# ADD BASE RSC /l 0x409 /d "_DEBUG" /d "__WXMSW__" /d "__WXDEBUG__" /d "_UNICODE" /i ".\..\..\lib\vc_dll\mswud" /i ".\..\..\include" /i "." /d "WXUSINGDLL" /d "_WINDOWS" /i ".\..\..\samples" /d NOPCH
|
||||
# ADD RSC /l 0x409 /d "_DEBUG" /d "__WXMSW__" /d "__WXDEBUG__" /d "_UNICODE" /i ".\..\..\lib\vc_dll\mswud" /i ".\..\..\include" /i "." /d "WXUSINGDLL" /d "_WINDOWS" /i ".\..\..\samples" /d NOPCH
|
||||
BSC32=bscmake.exe
|
||||
# ADD BASE BSC32 /nologo
|
||||
# ADD BSC32 /nologo
|
||||
LINK32=link.exe
|
||||
# ADD BASE LINK32 wxmsw29ud_dbgrid.lib wxbase29ud_odbc.lib wxmsw29ud_adv.lib wxmsw29ud_html.lib wxbase29ud_xml.lib wxmsw29ud_core.lib wxbase29ud.lib wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexud.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib /nologo /machine:i386 /out:"vc_mswuddll\dbtest.exe" /debug /libpath:".\..\..\lib\vc_dll" /subsystem:windows
|
||||
# ADD LINK32 wxmsw29ud_dbgrid.lib wxbase29ud_odbc.lib wxmsw29ud_adv.lib wxmsw29ud_html.lib wxbase29ud_xml.lib wxmsw29ud_core.lib wxbase29ud.lib wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexud.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib /nologo /machine:i386 /out:"vc_mswuddll\dbtest.exe" /debug /libpath:".\..\..\lib\vc_dll" /subsystem:windows
|
||||
|
||||
!ELSEIF "$(CFG)" == "dbtest - Win32 DLL Release"
|
||||
|
||||
# PROP BASE Use_MFC 0
|
||||
# PROP BASE Use_Debug_Libraries 0
|
||||
# PROP BASE Output_Dir "vc_mswdll"
|
||||
# PROP BASE Intermediate_Dir "vc_mswdll\dbtest"
|
||||
# PROP BASE Target_Dir ""
|
||||
# PROP Use_MFC 0
|
||||
# PROP Use_Debug_Libraries 0
|
||||
# PROP Output_Dir "vc_mswdll"
|
||||
# PROP Intermediate_Dir "vc_mswdll\dbtest"
|
||||
# PROP Target_Dir ""
|
||||
# ADD BASE CPP /nologo /FD /MD /Fdvc_mswdll\dbtest.pdb /O2 /GR /EHsc /I ".\..\..\lib\vc_dll\msw" /I ".\..\..\include" /W4 /I "." /I ".\..\..\samples" /D "WIN32" /D "__WXMSW__" /D "WXUSINGDLL" /D "_WINDOWS" /D "NOPCH" /c
|
||||
# ADD CPP /nologo /FD /MD /Fdvc_mswdll\dbtest.pdb /O2 /GR /EHsc /I ".\..\..\lib\vc_dll\msw" /I ".\..\..\include" /W4 /I "." /I ".\..\..\samples" /D "WIN32" /D "__WXMSW__" /D "WXUSINGDLL" /D "_WINDOWS" /D "NOPCH" /c
|
||||
# ADD BASE MTL /nologo /D "WIN32" /D "__WXMSW__" /D "WXUSINGDLL" /D "_WINDOWS" /D "NOPCH" /mktyplib203 /win32
|
||||
# ADD MTL /nologo /D "WIN32" /D "__WXMSW__" /D "WXUSINGDLL" /D "_WINDOWS" /D "NOPCH" /mktyplib203 /win32
|
||||
# ADD BASE RSC /l 0x409 /d "__WXMSW__" /i ".\..\..\lib\vc_dll\msw" /i ".\..\..\include" /i "." /d "WXUSINGDLL" /d "_WINDOWS" /i ".\..\..\samples" /d NOPCH
|
||||
# ADD RSC /l 0x409 /d "__WXMSW__" /i ".\..\..\lib\vc_dll\msw" /i ".\..\..\include" /i "." /d "WXUSINGDLL" /d "_WINDOWS" /i ".\..\..\samples" /d NOPCH
|
||||
BSC32=bscmake.exe
|
||||
# ADD BASE BSC32 /nologo
|
||||
# ADD BSC32 /nologo
|
||||
LINK32=link.exe
|
||||
# ADD BASE LINK32 wxmsw29_dbgrid.lib wxbase29_odbc.lib wxmsw29_adv.lib wxmsw29_html.lib wxbase29_xml.lib wxmsw29_core.lib wxbase29.lib wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregex.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib /nologo /machine:i386 /out:"vc_mswdll\dbtest.exe" /libpath:".\..\..\lib\vc_dll" /subsystem:windows
|
||||
# ADD LINK32 wxmsw29_dbgrid.lib wxbase29_odbc.lib wxmsw29_adv.lib wxmsw29_html.lib wxbase29_xml.lib wxmsw29_core.lib wxbase29.lib wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregex.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib /nologo /machine:i386 /out:"vc_mswdll\dbtest.exe" /libpath:".\..\..\lib\vc_dll" /subsystem:windows
|
||||
|
||||
!ELSEIF "$(CFG)" == "dbtest - Win32 DLL Debug"
|
||||
|
||||
# PROP BASE Use_MFC 0
|
||||
# PROP BASE Use_Debug_Libraries 1
|
||||
# PROP BASE Output_Dir "vc_mswddll"
|
||||
# PROP BASE Intermediate_Dir "vc_mswddll\dbtest"
|
||||
# PROP BASE Target_Dir ""
|
||||
# PROP Use_MFC 0
|
||||
# PROP Use_Debug_Libraries 1
|
||||
# PROP Output_Dir "vc_mswddll"
|
||||
# PROP Intermediate_Dir "vc_mswddll\dbtest"
|
||||
# PROP Target_Dir ""
|
||||
# ADD BASE CPP /nologo /FD /MDd /Zi /Gm /GZ /Fdvc_mswddll\dbtest.pdb /Od /GR /EHsc /I ".\..\..\lib\vc_dll\mswd" /I ".\..\..\include" /W4 /I "." /I ".\..\..\samples" /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D "WXUSINGDLL" /D "_WINDOWS" /D "NOPCH" /c
|
||||
# ADD CPP /nologo /FD /MDd /Zi /Gm /GZ /Fdvc_mswddll\dbtest.pdb /Od /GR /EHsc /I ".\..\..\lib\vc_dll\mswd" /I ".\..\..\include" /W4 /I "." /I ".\..\..\samples" /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D "WXUSINGDLL" /D "_WINDOWS" /D "NOPCH" /c
|
||||
# ADD BASE MTL /nologo /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D "WXUSINGDLL" /D "_WINDOWS" /D "NOPCH" /mktyplib203 /win32
|
||||
# ADD MTL /nologo /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D "WXUSINGDLL" /D "_WINDOWS" /D "NOPCH" /mktyplib203 /win32
|
||||
# ADD BASE RSC /l 0x409 /d "_DEBUG" /d "__WXMSW__" /d "__WXDEBUG__" /i ".\..\..\lib\vc_dll\mswd" /i ".\..\..\include" /i "." /d "WXUSINGDLL" /d "_WINDOWS" /i ".\..\..\samples" /d NOPCH
|
||||
# ADD RSC /l 0x409 /d "_DEBUG" /d "__WXMSW__" /d "__WXDEBUG__" /i ".\..\..\lib\vc_dll\mswd" /i ".\..\..\include" /i "." /d "WXUSINGDLL" /d "_WINDOWS" /i ".\..\..\samples" /d NOPCH
|
||||
BSC32=bscmake.exe
|
||||
# ADD BASE BSC32 /nologo
|
||||
# ADD BSC32 /nologo
|
||||
LINK32=link.exe
|
||||
# ADD BASE LINK32 wxmsw29d_dbgrid.lib wxbase29d_odbc.lib wxmsw29d_adv.lib wxmsw29d_html.lib wxbase29d_xml.lib wxmsw29d_core.lib wxbase29d.lib wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexd.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib /nologo /machine:i386 /out:"vc_mswddll\dbtest.exe" /debug /libpath:".\..\..\lib\vc_dll" /subsystem:windows
|
||||
# ADD LINK32 wxmsw29d_dbgrid.lib wxbase29d_odbc.lib wxmsw29d_adv.lib wxmsw29d_html.lib wxbase29d_xml.lib wxmsw29d_core.lib wxbase29d.lib wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexd.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib /nologo /machine:i386 /out:"vc_mswddll\dbtest.exe" /debug /libpath:".\..\..\lib\vc_dll" /subsystem:windows
|
||||
|
||||
!ELSEIF "$(CFG)" == "dbtest - Win32 Universal Unicode Release"
|
||||
|
||||
# PROP BASE Use_MFC 0
|
||||
# PROP BASE Use_Debug_Libraries 0
|
||||
# PROP BASE Output_Dir "vc_mswunivu"
|
||||
# PROP BASE Intermediate_Dir "vc_mswunivu\dbtest"
|
||||
# PROP BASE Target_Dir ""
|
||||
# PROP Use_MFC 0
|
||||
# PROP Use_Debug_Libraries 0
|
||||
# PROP Output_Dir "vc_mswunivu"
|
||||
# PROP Intermediate_Dir "vc_mswunivu\dbtest"
|
||||
# PROP Target_Dir ""
|
||||
# ADD BASE CPP /nologo /FD /MD /Fdvc_mswunivu\dbtest.pdb /O2 /GR /EHsc /I ".\..\..\lib\vc_lib\mswunivu" /I ".\..\..\include" /W4 /I "." /I ".\..\..\samples" /D "WIN32" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "_UNICODE" /D "_WINDOWS" /D "NOPCH" /c
|
||||
# ADD CPP /nologo /FD /MD /Fdvc_mswunivu\dbtest.pdb /O2 /GR /EHsc /I ".\..\..\lib\vc_lib\mswunivu" /I ".\..\..\include" /W4 /I "." /I ".\..\..\samples" /D "WIN32" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "_UNICODE" /D "_WINDOWS" /D "NOPCH" /c
|
||||
# ADD BASE MTL /nologo /D "WIN32" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "_UNICODE" /D "_WINDOWS" /D "NOPCH" /mktyplib203 /win32
|
||||
# ADD MTL /nologo /D "WIN32" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "_UNICODE" /D "_WINDOWS" /D "NOPCH" /mktyplib203 /win32
|
||||
# ADD BASE RSC /l 0x409 /d "__WXMSW__" /d "__WXUNIVERSAL__" /d "_UNICODE" /i ".\..\..\lib\vc_lib\mswunivu" /i ".\..\..\include" /i "." /d "_WINDOWS" /i ".\..\..\samples" /d NOPCH
|
||||
# ADD RSC /l 0x409 /d "__WXMSW__" /d "__WXUNIVERSAL__" /d "_UNICODE" /i ".\..\..\lib\vc_lib\mswunivu" /i ".\..\..\include" /i "." /d "_WINDOWS" /i ".\..\..\samples" /d NOPCH
|
||||
BSC32=bscmake.exe
|
||||
# ADD BASE BSC32 /nologo
|
||||
# ADD BSC32 /nologo
|
||||
LINK32=link.exe
|
||||
# ADD BASE LINK32 wxmswuniv29u_dbgrid.lib wxbase29u_odbc.lib wxmswuniv29u_adv.lib wxmswuniv29u_html.lib wxbase29u_xml.lib wxmswuniv29u_core.lib wxbase29u.lib wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregexu.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib /nologo /machine:i386 /out:"vc_mswunivu\dbtest.exe" /libpath:".\..\..\lib\vc_lib" /subsystem:windows
|
||||
# ADD LINK32 wxmswuniv29u_dbgrid.lib wxbase29u_odbc.lib wxmswuniv29u_adv.lib wxmswuniv29u_html.lib wxbase29u_xml.lib wxmswuniv29u_core.lib wxbase29u.lib wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregexu.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib /nologo /machine:i386 /out:"vc_mswunivu\dbtest.exe" /libpath:".\..\..\lib\vc_lib" /subsystem:windows
|
||||
|
||||
!ELSEIF "$(CFG)" == "dbtest - Win32 Universal Unicode Debug"
|
||||
|
||||
# PROP BASE Use_MFC 0
|
||||
# PROP BASE Use_Debug_Libraries 1
|
||||
# PROP BASE Output_Dir "vc_mswunivud"
|
||||
# PROP BASE Intermediate_Dir "vc_mswunivud\dbtest"
|
||||
# PROP BASE Target_Dir ""
|
||||
# PROP Use_MFC 0
|
||||
# PROP Use_Debug_Libraries 1
|
||||
# PROP Output_Dir "vc_mswunivud"
|
||||
# PROP Intermediate_Dir "vc_mswunivud\dbtest"
|
||||
# PROP Target_Dir ""
|
||||
# ADD BASE CPP /nologo /FD /MDd /Zi /Gm /GZ /Fdvc_mswunivud\dbtest.pdb /Od /GR /EHsc /I ".\..\..\lib\vc_lib\mswunivud" /I ".\..\..\include" /W4 /I "." /I ".\..\..\samples" /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D "_UNICODE" /D "_WINDOWS" /D "NOPCH" /c
|
||||
# ADD CPP /nologo /FD /MDd /Zi /Gm /GZ /Fdvc_mswunivud\dbtest.pdb /Od /GR /EHsc /I ".\..\..\lib\vc_lib\mswunivud" /I ".\..\..\include" /W4 /I "." /I ".\..\..\samples" /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D "_UNICODE" /D "_WINDOWS" /D "NOPCH" /c
|
||||
# ADD BASE MTL /nologo /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D "_UNICODE" /D "_WINDOWS" /D "NOPCH" /mktyplib203 /win32
|
||||
# ADD MTL /nologo /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D "_UNICODE" /D "_WINDOWS" /D "NOPCH" /mktyplib203 /win32
|
||||
# ADD BASE RSC /l 0x409 /d "_DEBUG" /d "__WXMSW__" /d "__WXUNIVERSAL__" /d "__WXDEBUG__" /d "_UNICODE" /i ".\..\..\lib\vc_lib\mswunivud" /i ".\..\..\include" /i "." /d "_WINDOWS" /i ".\..\..\samples" /d NOPCH
|
||||
# ADD RSC /l 0x409 /d "_DEBUG" /d "__WXMSW__" /d "__WXUNIVERSAL__" /d "__WXDEBUG__" /d "_UNICODE" /i ".\..\..\lib\vc_lib\mswunivud" /i ".\..\..\include" /i "." /d "_WINDOWS" /i ".\..\..\samples" /d NOPCH
|
||||
BSC32=bscmake.exe
|
||||
# ADD BASE BSC32 /nologo
|
||||
# ADD BSC32 /nologo
|
||||
LINK32=link.exe
|
||||
# ADD BASE LINK32 wxmswuniv29ud_dbgrid.lib wxbase29ud_odbc.lib wxmswuniv29ud_adv.lib wxmswuniv29ud_html.lib wxbase29ud_xml.lib wxmswuniv29ud_core.lib wxbase29ud.lib wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexud.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib /nologo /machine:i386 /out:"vc_mswunivud\dbtest.exe" /debug /libpath:".\..\..\lib\vc_lib" /subsystem:windows
|
||||
# ADD LINK32 wxmswuniv29ud_dbgrid.lib wxbase29ud_odbc.lib wxmswuniv29ud_adv.lib wxmswuniv29ud_html.lib wxbase29ud_xml.lib wxmswuniv29ud_core.lib wxbase29ud.lib wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexud.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib /nologo /machine:i386 /out:"vc_mswunivud\dbtest.exe" /debug /libpath:".\..\..\lib\vc_lib" /subsystem:windows
|
||||
|
||||
!ELSEIF "$(CFG)" == "dbtest - Win32 Universal Release"
|
||||
|
||||
# PROP BASE Use_MFC 0
|
||||
# PROP BASE Use_Debug_Libraries 0
|
||||
# PROP BASE Output_Dir "vc_mswuniv"
|
||||
# PROP BASE Intermediate_Dir "vc_mswuniv\dbtest"
|
||||
# PROP BASE Target_Dir ""
|
||||
# PROP Use_MFC 0
|
||||
# PROP Use_Debug_Libraries 0
|
||||
# PROP Output_Dir "vc_mswuniv"
|
||||
# PROP Intermediate_Dir "vc_mswuniv\dbtest"
|
||||
# PROP Target_Dir ""
|
||||
# ADD BASE CPP /nologo /FD /MD /Fdvc_mswuniv\dbtest.pdb /O2 /GR /EHsc /I ".\..\..\lib\vc_lib\mswuniv" /I ".\..\..\include" /W4 /I "." /I ".\..\..\samples" /D "WIN32" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "_WINDOWS" /D "NOPCH" /c
|
||||
# ADD CPP /nologo /FD /MD /Fdvc_mswuniv\dbtest.pdb /O2 /GR /EHsc /I ".\..\..\lib\vc_lib\mswuniv" /I ".\..\..\include" /W4 /I "." /I ".\..\..\samples" /D "WIN32" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "_WINDOWS" /D "NOPCH" /c
|
||||
# ADD BASE MTL /nologo /D "WIN32" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "_WINDOWS" /D "NOPCH" /mktyplib203 /win32
|
||||
# ADD MTL /nologo /D "WIN32" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "_WINDOWS" /D "NOPCH" /mktyplib203 /win32
|
||||
# ADD BASE RSC /l 0x409 /d "__WXMSW__" /d "__WXUNIVERSAL__" /i ".\..\..\lib\vc_lib\mswuniv" /i ".\..\..\include" /i "." /d "_WINDOWS" /i ".\..\..\samples" /d NOPCH
|
||||
# ADD RSC /l 0x409 /d "__WXMSW__" /d "__WXUNIVERSAL__" /i ".\..\..\lib\vc_lib\mswuniv" /i ".\..\..\include" /i "." /d "_WINDOWS" /i ".\..\..\samples" /d NOPCH
|
||||
BSC32=bscmake.exe
|
||||
# ADD BASE BSC32 /nologo
|
||||
# ADD BSC32 /nologo
|
||||
LINK32=link.exe
|
||||
# ADD BASE LINK32 wxmswuniv29_dbgrid.lib wxbase29_odbc.lib wxmswuniv29_adv.lib wxmswuniv29_html.lib wxbase29_xml.lib wxmswuniv29_core.lib wxbase29.lib wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregex.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib /nologo /machine:i386 /out:"vc_mswuniv\dbtest.exe" /libpath:".\..\..\lib\vc_lib" /subsystem:windows
|
||||
# ADD LINK32 wxmswuniv29_dbgrid.lib wxbase29_odbc.lib wxmswuniv29_adv.lib wxmswuniv29_html.lib wxbase29_xml.lib wxmswuniv29_core.lib wxbase29.lib wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregex.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib /nologo /machine:i386 /out:"vc_mswuniv\dbtest.exe" /libpath:".\..\..\lib\vc_lib" /subsystem:windows
|
||||
|
||||
!ELSEIF "$(CFG)" == "dbtest - Win32 Universal Debug"
|
||||
|
||||
# PROP BASE Use_MFC 0
|
||||
# PROP BASE Use_Debug_Libraries 1
|
||||
# PROP BASE Output_Dir "vc_mswunivd"
|
||||
# PROP BASE Intermediate_Dir "vc_mswunivd\dbtest"
|
||||
# PROP BASE Target_Dir ""
|
||||
# PROP Use_MFC 0
|
||||
# PROP Use_Debug_Libraries 1
|
||||
# PROP Output_Dir "vc_mswunivd"
|
||||
# PROP Intermediate_Dir "vc_mswunivd\dbtest"
|
||||
# PROP Target_Dir ""
|
||||
# ADD BASE CPP /nologo /FD /MDd /Zi /Gm /GZ /Fdvc_mswunivd\dbtest.pdb /Od /GR /EHsc /I ".\..\..\lib\vc_lib\mswunivd" /I ".\..\..\include" /W4 /I "." /I ".\..\..\samples" /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D "_WINDOWS" /D "NOPCH" /c
|
||||
# ADD CPP /nologo /FD /MDd /Zi /Gm /GZ /Fdvc_mswunivd\dbtest.pdb /Od /GR /EHsc /I ".\..\..\lib\vc_lib\mswunivd" /I ".\..\..\include" /W4 /I "." /I ".\..\..\samples" /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D "_WINDOWS" /D "NOPCH" /c
|
||||
# ADD BASE MTL /nologo /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D "_WINDOWS" /D "NOPCH" /mktyplib203 /win32
|
||||
# ADD MTL /nologo /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D "_WINDOWS" /D "NOPCH" /mktyplib203 /win32
|
||||
# ADD BASE RSC /l 0x409 /d "_DEBUG" /d "__WXMSW__" /d "__WXUNIVERSAL__" /d "__WXDEBUG__" /i ".\..\..\lib\vc_lib\mswunivd" /i ".\..\..\include" /i "." /d "_WINDOWS" /i ".\..\..\samples" /d NOPCH
|
||||
# ADD RSC /l 0x409 /d "_DEBUG" /d "__WXMSW__" /d "__WXUNIVERSAL__" /d "__WXDEBUG__" /i ".\..\..\lib\vc_lib\mswunivd" /i ".\..\..\include" /i "." /d "_WINDOWS" /i ".\..\..\samples" /d NOPCH
|
||||
BSC32=bscmake.exe
|
||||
# ADD BASE BSC32 /nologo
|
||||
# ADD BSC32 /nologo
|
||||
LINK32=link.exe
|
||||
# ADD BASE LINK32 wxmswuniv29d_dbgrid.lib wxbase29d_odbc.lib wxmswuniv29d_adv.lib wxmswuniv29d_html.lib wxbase29d_xml.lib wxmswuniv29d_core.lib wxbase29d.lib wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexd.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib /nologo /machine:i386 /out:"vc_mswunivd\dbtest.exe" /debug /libpath:".\..\..\lib\vc_lib" /subsystem:windows
|
||||
# ADD LINK32 wxmswuniv29d_dbgrid.lib wxbase29d_odbc.lib wxmswuniv29d_adv.lib wxmswuniv29d_html.lib wxbase29d_xml.lib wxmswuniv29d_core.lib wxbase29d.lib wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexd.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib /nologo /machine:i386 /out:"vc_mswunivd\dbtest.exe" /debug /libpath:".\..\..\lib\vc_lib" /subsystem:windows
|
||||
|
||||
!ELSEIF "$(CFG)" == "dbtest - Win32 Unicode Release"
|
||||
|
||||
# PROP BASE Use_MFC 0
|
||||
# PROP BASE Use_Debug_Libraries 0
|
||||
# PROP BASE Output_Dir "vc_mswu"
|
||||
# PROP BASE Intermediate_Dir "vc_mswu\dbtest"
|
||||
# PROP BASE Target_Dir ""
|
||||
# PROP Use_MFC 0
|
||||
# PROP Use_Debug_Libraries 0
|
||||
# PROP Output_Dir "vc_mswu"
|
||||
# PROP Intermediate_Dir "vc_mswu\dbtest"
|
||||
# PROP Target_Dir ""
|
||||
# ADD BASE CPP /nologo /FD /MD /Fdvc_mswu\dbtest.pdb /O2 /GR /EHsc /I ".\..\..\lib\vc_lib\mswu" /I ".\..\..\include" /W4 /I "." /I ".\..\..\samples" /D "WIN32" /D "__WXMSW__" /D "_UNICODE" /D "_WINDOWS" /D "NOPCH" /c
|
||||
# ADD CPP /nologo /FD /MD /Fdvc_mswu\dbtest.pdb /O2 /GR /EHsc /I ".\..\..\lib\vc_lib\mswu" /I ".\..\..\include" /W4 /I "." /I ".\..\..\samples" /D "WIN32" /D "__WXMSW__" /D "_UNICODE" /D "_WINDOWS" /D "NOPCH" /c
|
||||
# ADD BASE MTL /nologo /D "WIN32" /D "__WXMSW__" /D "_UNICODE" /D "_WINDOWS" /D "NOPCH" /mktyplib203 /win32
|
||||
# ADD MTL /nologo /D "WIN32" /D "__WXMSW__" /D "_UNICODE" /D "_WINDOWS" /D "NOPCH" /mktyplib203 /win32
|
||||
# ADD BASE RSC /l 0x409 /d "__WXMSW__" /d "_UNICODE" /i ".\..\..\lib\vc_lib\mswu" /i ".\..\..\include" /i "." /d "_WINDOWS" /i ".\..\..\samples" /d NOPCH
|
||||
# ADD RSC /l 0x409 /d "__WXMSW__" /d "_UNICODE" /i ".\..\..\lib\vc_lib\mswu" /i ".\..\..\include" /i "." /d "_WINDOWS" /i ".\..\..\samples" /d NOPCH
|
||||
BSC32=bscmake.exe
|
||||
# ADD BASE BSC32 /nologo
|
||||
# ADD BSC32 /nologo
|
||||
LINK32=link.exe
|
||||
# ADD BASE LINK32 wxmsw29u_dbgrid.lib wxbase29u_odbc.lib wxmsw29u_adv.lib wxmsw29u_html.lib wxbase29u_xml.lib wxmsw29u_core.lib wxbase29u.lib wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregexu.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib /nologo /machine:i386 /out:"vc_mswu\dbtest.exe" /libpath:".\..\..\lib\vc_lib" /subsystem:windows
|
||||
# ADD LINK32 wxmsw29u_dbgrid.lib wxbase29u_odbc.lib wxmsw29u_adv.lib wxmsw29u_html.lib wxbase29u_xml.lib wxmsw29u_core.lib wxbase29u.lib wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregexu.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib /nologo /machine:i386 /out:"vc_mswu\dbtest.exe" /libpath:".\..\..\lib\vc_lib" /subsystem:windows
|
||||
|
||||
!ELSEIF "$(CFG)" == "dbtest - Win32 Unicode Debug"
|
||||
|
||||
# PROP BASE Use_MFC 0
|
||||
# PROP BASE Use_Debug_Libraries 1
|
||||
# PROP BASE Output_Dir "vc_mswud"
|
||||
# PROP BASE Intermediate_Dir "vc_mswud\dbtest"
|
||||
# PROP BASE Target_Dir ""
|
||||
# PROP Use_MFC 0
|
||||
# PROP Use_Debug_Libraries 1
|
||||
# PROP Output_Dir "vc_mswud"
|
||||
# PROP Intermediate_Dir "vc_mswud\dbtest"
|
||||
# PROP Target_Dir ""
|
||||
# ADD BASE CPP /nologo /FD /MDd /Zi /Gm /GZ /Fdvc_mswud\dbtest.pdb /Od /GR /EHsc /I ".\..\..\lib\vc_lib\mswud" /I ".\..\..\include" /W4 /I "." /I ".\..\..\samples" /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D "_UNICODE" /D "_WINDOWS" /D "NOPCH" /c
|
||||
# ADD CPP /nologo /FD /MDd /Zi /Gm /GZ /Fdvc_mswud\dbtest.pdb /Od /GR /EHsc /I ".\..\..\lib\vc_lib\mswud" /I ".\..\..\include" /W4 /I "." /I ".\..\..\samples" /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D "_UNICODE" /D "_WINDOWS" /D "NOPCH" /c
|
||||
# ADD BASE MTL /nologo /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D "_UNICODE" /D "_WINDOWS" /D "NOPCH" /mktyplib203 /win32
|
||||
# ADD MTL /nologo /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D "_UNICODE" /D "_WINDOWS" /D "NOPCH" /mktyplib203 /win32
|
||||
# ADD BASE RSC /l 0x409 /d "_DEBUG" /d "__WXMSW__" /d "__WXDEBUG__" /d "_UNICODE" /i ".\..\..\lib\vc_lib\mswud" /i ".\..\..\include" /i "." /d "_WINDOWS" /i ".\..\..\samples" /d NOPCH
|
||||
# ADD RSC /l 0x409 /d "_DEBUG" /d "__WXMSW__" /d "__WXDEBUG__" /d "_UNICODE" /i ".\..\..\lib\vc_lib\mswud" /i ".\..\..\include" /i "." /d "_WINDOWS" /i ".\..\..\samples" /d NOPCH
|
||||
BSC32=bscmake.exe
|
||||
# ADD BASE BSC32 /nologo
|
||||
# ADD BSC32 /nologo
|
||||
LINK32=link.exe
|
||||
# ADD BASE LINK32 wxmsw29ud_dbgrid.lib wxbase29ud_odbc.lib wxmsw29ud_adv.lib wxmsw29ud_html.lib wxbase29ud_xml.lib wxmsw29ud_core.lib wxbase29ud.lib wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexud.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib /nologo /machine:i386 /out:"vc_mswud\dbtest.exe" /debug /libpath:".\..\..\lib\vc_lib" /subsystem:windows
|
||||
# ADD LINK32 wxmsw29ud_dbgrid.lib wxbase29ud_odbc.lib wxmsw29ud_adv.lib wxmsw29ud_html.lib wxbase29ud_xml.lib wxmsw29ud_core.lib wxbase29ud.lib wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexud.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib /nologo /machine:i386 /out:"vc_mswud\dbtest.exe" /debug /libpath:".\..\..\lib\vc_lib" /subsystem:windows
|
||||
|
||||
!ELSEIF "$(CFG)" == "dbtest - Win32 Release"
|
||||
|
||||
# PROP BASE Use_MFC 0
|
||||
# PROP BASE Use_Debug_Libraries 0
|
||||
# PROP BASE Output_Dir "vc_msw"
|
||||
# PROP BASE Intermediate_Dir "vc_msw\dbtest"
|
||||
# PROP BASE Target_Dir ""
|
||||
# PROP Use_MFC 0
|
||||
# PROP Use_Debug_Libraries 0
|
||||
# PROP Output_Dir "vc_msw"
|
||||
# PROP Intermediate_Dir "vc_msw\dbtest"
|
||||
# PROP Target_Dir ""
|
||||
# ADD BASE CPP /nologo /FD /MD /Fdvc_msw\dbtest.pdb /O2 /GR /EHsc /I ".\..\..\lib\vc_lib\msw" /I ".\..\..\include" /W4 /I "." /I ".\..\..\samples" /D "WIN32" /D "__WXMSW__" /D "_WINDOWS" /D "NOPCH" /c
|
||||
# ADD CPP /nologo /FD /MD /Fdvc_msw\dbtest.pdb /O2 /GR /EHsc /I ".\..\..\lib\vc_lib\msw" /I ".\..\..\include" /W4 /I "." /I ".\..\..\samples" /D "WIN32" /D "__WXMSW__" /D "_WINDOWS" /D "NOPCH" /c
|
||||
# ADD BASE MTL /nologo /D "WIN32" /D "__WXMSW__" /D "_WINDOWS" /D "NOPCH" /mktyplib203 /win32
|
||||
# ADD MTL /nologo /D "WIN32" /D "__WXMSW__" /D "_WINDOWS" /D "NOPCH" /mktyplib203 /win32
|
||||
# ADD BASE RSC /l 0x409 /d "__WXMSW__" /i ".\..\..\lib\vc_lib\msw" /i ".\..\..\include" /i "." /d "_WINDOWS" /i ".\..\..\samples" /d NOPCH
|
||||
# ADD RSC /l 0x409 /d "__WXMSW__" /i ".\..\..\lib\vc_lib\msw" /i ".\..\..\include" /i "." /d "_WINDOWS" /i ".\..\..\samples" /d NOPCH
|
||||
BSC32=bscmake.exe
|
||||
# ADD BASE BSC32 /nologo
|
||||
# ADD BSC32 /nologo
|
||||
LINK32=link.exe
|
||||
# ADD BASE LINK32 wxmsw29_dbgrid.lib wxbase29_odbc.lib wxmsw29_adv.lib wxmsw29_html.lib wxbase29_xml.lib wxmsw29_core.lib wxbase29.lib wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregex.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib /nologo /machine:i386 /out:"vc_msw\dbtest.exe" /libpath:".\..\..\lib\vc_lib" /subsystem:windows
|
||||
# ADD LINK32 wxmsw29_dbgrid.lib wxbase29_odbc.lib wxmsw29_adv.lib wxmsw29_html.lib wxbase29_xml.lib wxmsw29_core.lib wxbase29.lib wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregex.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib /nologo /machine:i386 /out:"vc_msw\dbtest.exe" /libpath:".\..\..\lib\vc_lib" /subsystem:windows
|
||||
|
||||
!ELSEIF "$(CFG)" == "dbtest - Win32 Debug"
|
||||
|
||||
# PROP BASE Use_MFC 0
|
||||
# PROP BASE Use_Debug_Libraries 1
|
||||
# PROP BASE Output_Dir "vc_mswd"
|
||||
# PROP BASE Intermediate_Dir "vc_mswd\dbtest"
|
||||
# PROP BASE Target_Dir ""
|
||||
# PROP Use_MFC 0
|
||||
# PROP Use_Debug_Libraries 1
|
||||
# PROP Output_Dir "vc_mswd"
|
||||
# PROP Intermediate_Dir "vc_mswd\dbtest"
|
||||
# PROP Target_Dir ""
|
||||
# ADD BASE CPP /nologo /FD /MDd /Zi /Gm /GZ /Fdvc_mswd\dbtest.pdb /Od /GR /EHsc /I ".\..\..\lib\vc_lib\mswd" /I ".\..\..\include" /W4 /I "." /I ".\..\..\samples" /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D "_WINDOWS" /D "NOPCH" /c
|
||||
# ADD CPP /nologo /FD /MDd /Zi /Gm /GZ /Fdvc_mswd\dbtest.pdb /Od /GR /EHsc /I ".\..\..\lib\vc_lib\mswd" /I ".\..\..\include" /W4 /I "." /I ".\..\..\samples" /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D "_WINDOWS" /D "NOPCH" /c
|
||||
# ADD BASE MTL /nologo /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D "_WINDOWS" /D "NOPCH" /mktyplib203 /win32
|
||||
# ADD MTL /nologo /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D "_WINDOWS" /D "NOPCH" /mktyplib203 /win32
|
||||
# ADD BASE RSC /l 0x409 /d "_DEBUG" /d "__WXMSW__" /d "__WXDEBUG__" /i ".\..\..\lib\vc_lib\mswd" /i ".\..\..\include" /i "." /d "_WINDOWS" /i ".\..\..\samples" /d NOPCH
|
||||
# ADD RSC /l 0x409 /d "_DEBUG" /d "__WXMSW__" /d "__WXDEBUG__" /i ".\..\..\lib\vc_lib\mswd" /i ".\..\..\include" /i "." /d "_WINDOWS" /i ".\..\..\samples" /d NOPCH
|
||||
BSC32=bscmake.exe
|
||||
# ADD BASE BSC32 /nologo
|
||||
# ADD BSC32 /nologo
|
||||
LINK32=link.exe
|
||||
# ADD BASE LINK32 wxmsw29d_dbgrid.lib wxbase29d_odbc.lib wxmsw29d_adv.lib wxmsw29d_html.lib wxbase29d_xml.lib wxmsw29d_core.lib wxbase29d.lib wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexd.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib /nologo /machine:i386 /out:"vc_mswd\dbtest.exe" /debug /libpath:".\..\..\lib\vc_lib" /subsystem:windows
|
||||
# ADD LINK32 wxmsw29d_dbgrid.lib wxbase29d_odbc.lib wxmsw29d_adv.lib wxmsw29d_html.lib wxbase29d_xml.lib wxmsw29d_core.lib wxbase29d.lib wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexd.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib /nologo /machine:i386 /out:"vc_mswd\dbtest.exe" /debug /libpath:".\..\..\lib\vc_lib" /subsystem:windows
|
||||
|
||||
!ENDIF
|
||||
|
||||
# Begin Target
|
||||
|
||||
# Name "dbtest - Win32 DLL Universal Unicode Release"
|
||||
# Name "dbtest - Win32 DLL Universal Unicode Debug"
|
||||
# Name "dbtest - Win32 DLL Universal Release"
|
||||
# Name "dbtest - Win32 DLL Universal Debug"
|
||||
# Name "dbtest - Win32 DLL Unicode Release"
|
||||
# Name "dbtest - Win32 DLL Unicode Debug"
|
||||
# Name "dbtest - Win32 DLL Release"
|
||||
# Name "dbtest - Win32 DLL Debug"
|
||||
# Name "dbtest - Win32 Universal Unicode Release"
|
||||
# Name "dbtest - Win32 Universal Unicode Debug"
|
||||
# Name "dbtest - Win32 Universal Release"
|
||||
# Name "dbtest - Win32 Universal Debug"
|
||||
# Name "dbtest - Win32 Unicode Release"
|
||||
# Name "dbtest - Win32 Unicode Debug"
|
||||
# Name "dbtest - Win32 Release"
|
||||
# Name "dbtest - Win32 Debug"
|
||||
# Begin Group "Source Files"
|
||||
|
||||
# PROP Default_Filter ""
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\dbtest.cpp
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\dbtest.rc
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\listdb.cpp
|
||||
# End Source File
|
||||
# End Group
|
||||
# End Target
|
||||
# End Project
|
||||
|
@@ -1,48 +0,0 @@
|
||||
/* XPM */
|
||||
static char * db_xpm[] = {
|
||||
/* width height ncolors chars_per_pixel */
|
||||
"32 32 10 1",
|
||||
/* colors */
|
||||
" s None c None",
|
||||
". c #000000",
|
||||
"+ c #800000",
|
||||
"@ c #008000",
|
||||
"# c #808000",
|
||||
"$ c #c0c0c0",
|
||||
"% c #808080",
|
||||
"& c #ffff00",
|
||||
"* c #0000ff",
|
||||
"= c #ffffff",
|
||||
/* pixels */
|
||||
" ",
|
||||
" .............................. ",
|
||||
" .****************************. ",
|
||||
" .*==$=$==$====***************. ",
|
||||
" .****************************. ",
|
||||
" .............................. ",
|
||||
" .%%%%%%%%%%%%%%%%%%%%%%%%%%%%. ",
|
||||
" .%+++%===%===%===%===%===%===. ",
|
||||
" .%+++%===%===%===%===%===%===. ",
|
||||
" .%$$&&&$$$$$$$$$$$$$$$$$$$$$$. ",
|
||||
" .%===&&&&&===%===%===%===%===. ",
|
||||
" .%===%=&&&&&=%===%===%===%===. ",
|
||||
" .%$$$$$$&&&&&&$$$$$$$$$$$$$$$. ",
|
||||
" .%===%===&&&=&&&&%===%===%===. ",
|
||||
" .%===%===%&&&&=&&&&==%.....==. ",
|
||||
" .%$$$$$$$$$$&&&&$&&&&.#####.$. ",
|
||||
" .%===%===%===&&&&%=&.###.###.. ",
|
||||
" .%===%===%===%&=&&&=@.#####... ",
|
||||
" .%$$$$$$$$$$$$$&$&&&@.......@. ",
|
||||
" .%===%===%===%==&&=&.###.###.. ",
|
||||
" .%===%===%===%===%&=@.#####.@. ",
|
||||
" .%$$$$$$$$$$$$$$$$$&@.......@. ",
|
||||
" .%===%===%===%===%==.###.###.. ",
|
||||
" .%===%===%===%===%===.#####.=. ",
|
||||
" .%$$$$$$$$$$$$$$$$$$$$.....$$. ",
|
||||
" .%===%===%===%===%===%===%===. ",
|
||||
" .%===%===%===%===%===%===%===. ",
|
||||
" .%$$$$$$$$$$$$$$$$$$$$$$$$$$$. ",
|
||||
" .%===%===%===%===%===%===%===. ",
|
||||
" .%%%%%%%%%%%%%%%%%%%%%%%%%%%%. ",
|
||||
" .............................. ",
|
||||
" "};
|
3727
samples/db/dbM5.xml
3727
samples/db/dbM5.xml
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -1,696 +0,0 @@
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// Name: dbtest.h
|
||||
// Purpose: wxWidgets database demo app
|
||||
// Author: George Tasker
|
||||
// Modified by:
|
||||
// Created: 1998
|
||||
// RCS-ID: $Id$
|
||||
// Copyright: (c) 1998 Remstar International, Inc.
|
||||
// Licence: wxWindows licence
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#include "wx/string.h"
|
||||
#include "wx/dbtable.h"
|
||||
|
||||
enum DialogModes {mView,mCreate,mEdit,mSearch};
|
||||
|
||||
// ID for the menu quit command
|
||||
#define FILE_CREATE_ID 100
|
||||
#define FILE_RECREATE_TABLE 110
|
||||
#define FILE_RECREATE_INDEXES 120
|
||||
|
||||
#if wxUSE_GRID
|
||||
#define FILE_DBGRID_TABLE 130
|
||||
#endif
|
||||
#define FILE_EXIT wxID_EXIT
|
||||
#define EDIT_PARAMETERS 200
|
||||
#define HELP_ABOUT wxID_ABOUT
|
||||
|
||||
// this seems to be missing, Robert Roebling (?)
|
||||
#ifndef MAX_PATH
|
||||
#if defined(__WXMAC__)
|
||||
#define MAX_PATH 260 /* max. length of full pathname */
|
||||
#else /* _MAC */
|
||||
#define MAX_PATH 256 /* max. length of full pathname */
|
||||
#endif
|
||||
#endif
|
||||
|
||||
// Name of the table to be created/opened
|
||||
const wxString CONTACT_TABLE_NAME = wxT("CONTACTS");
|
||||
|
||||
#define wxODBC_BLOB_SUPPORT
|
||||
|
||||
|
||||
// Number of columns in the CONTACT table
|
||||
#ifdef wxODBC_BLOB_SUPPORT
|
||||
const int CONTACT_NO_COLS = 14; // 0-13
|
||||
const int MAX_PICTURE_SIZE = 128000; // in bytes
|
||||
#else
|
||||
const int CONTACT_NO_COLS = 12; // 0-11
|
||||
#endif
|
||||
|
||||
const wxString PARAM_FILENAME = wxT("dbtest.cfg");
|
||||
|
||||
enum Language {langENGLISH, langFRENCH, langGERMAN, langSPANISH, langOTHER};
|
||||
|
||||
// Forward class declarations
|
||||
class CeditorDlg;
|
||||
class CparameterDlg;
|
||||
|
||||
|
||||
// Used for displaying many of the database capabilites
|
||||
// and usage statistics on a database connection
|
||||
void DisplayDbDiagnostics(wxDb *pDb);
|
||||
|
||||
|
||||
//
|
||||
// This class contains the actual data members that are used for transferring
|
||||
// data back and forth from the database to the program.
|
||||
//
|
||||
// NOTE: The object described in this class is just for example purposes, and has no
|
||||
// real meaning other than to show each type of field being used by the database
|
||||
//
|
||||
class CstructContact : public wxObject
|
||||
{
|
||||
public:
|
||||
wxChar Name[50+1]; // Contact's name
|
||||
wxChar Addr1[50+1];
|
||||
wxChar Addr2[50+1];
|
||||
wxChar City[25+1];
|
||||
wxChar State[25+1];
|
||||
wxChar PostalCode[15+1];
|
||||
wxChar Country[20+1];
|
||||
TIMESTAMP_STRUCT JoinDate; // Date on which this person joined the wxWidgets project
|
||||
Language NativeLanguage; // Enumerated type indicating person's native language
|
||||
ULONG BlobSize;
|
||||
wxChar Picture[MAX_PICTURE_SIZE];
|
||||
bool IsDeveloper; // Is this person a developer for wxWidgets, or just a subscriber
|
||||
UCHAR Contributions; // Something to show off an integer field
|
||||
ULONG LinesOfCode; // Something to show off a 'long' field
|
||||
}; // CstructContact
|
||||
|
||||
|
||||
//
|
||||
// The Ccontact class derives from wxDbTable, so we have access to all
|
||||
// of the database table functions and the local memory variables that
|
||||
// the database classes will store the data into (and read the data from)
|
||||
// all combined in this one class.
|
||||
//
|
||||
class Ccontact : public wxDbTable, public CstructContact
|
||||
{
|
||||
private:
|
||||
// Used to keep track of whether this class had a wxDb instance
|
||||
// passed in to it or not. If an existing wxDb instance was not
|
||||
// passed in at Ccontact creation time, then when the Ccontact
|
||||
// instance is deleted, the connection will be freed as Ccontact
|
||||
// created its own connection when it was created.
|
||||
bool freeDbConn;
|
||||
|
||||
// Calls wxDbTable::SetColDefs() once for each column that is
|
||||
// to be associated with some member variable for use with
|
||||
// this database object.
|
||||
void SetupColumns();
|
||||
|
||||
public:
|
||||
// Used in places where we need to construct a WHERE clause to
|
||||
// be passed to the SetWhereClause() function. From example,
|
||||
// where building the WHERE clause requires using ::Printf()
|
||||
// to build the string.
|
||||
wxString whereStr;
|
||||
|
||||
// WHERE string returned from the query dialog
|
||||
wxString qryWhereStr;
|
||||
|
||||
Ccontact(wxDb *pwxDb=NULL);
|
||||
~Ccontact();
|
||||
|
||||
void Initialize();
|
||||
|
||||
// Contains all the index definitions and calls to wxDbTable::CreateIndex()
|
||||
// required to create all the indexes we wish to define for this table.
|
||||
bool CreateIndexes(bool recreate);
|
||||
|
||||
// Since we do not wish to have duplicate code blocks all over our program
|
||||
// for a common query/fetch that we will need to do in many places, we
|
||||
// include this member function that does it all for us in one place.
|
||||
bool FetchByName(const wxString &name);
|
||||
|
||||
}; // Ccontact class definition
|
||||
|
||||
|
||||
typedef struct Cparameters
|
||||
{
|
||||
wxChar ODBCSource[SQL_MAX_DSN_LENGTH+1];
|
||||
wxChar UserName[SQL_MAX_USER_NAME_LEN+1];
|
||||
wxChar Password[SQL_MAX_AUTHSTR_LEN+1];
|
||||
wxChar DirPath[MAX_PATH+1];
|
||||
} Cparameters;
|
||||
|
||||
|
||||
// Define a new frame type
|
||||
class DatabaseDemoFrame: public wxFrame
|
||||
{
|
||||
private:
|
||||
CeditorDlg *pEditorDlg;
|
||||
CparameterDlg *pParamDlg;
|
||||
|
||||
public:
|
||||
DatabaseDemoFrame(wxFrame *frame, const wxString& title, const wxPoint& pos, const wxSize& sz);
|
||||
~DatabaseDemoFrame();
|
||||
|
||||
void OnCloseWindow(wxCloseEvent& event);
|
||||
void OnCreate(wxCommandEvent& event);
|
||||
void OnRecreateTable(wxCommandEvent& event);
|
||||
void OnRecreateIndexes(wxCommandEvent& event);
|
||||
void OnExit(wxCommandEvent& event);
|
||||
void OnEditParameters(wxCommandEvent& event);
|
||||
void OnAbout(wxCommandEvent& event);
|
||||
#if wxUSE_GRID
|
||||
void OnDbGridTable( wxCommandEvent& );
|
||||
#endif
|
||||
void CreateDataTable(bool recreate);
|
||||
void BuildEditorDialog();
|
||||
void BuildParameterDialog(wxWindow *parent);
|
||||
|
||||
DECLARE_EVENT_TABLE()
|
||||
}; // DatabaseDemoFrame
|
||||
|
||||
|
||||
#if wxUSE_GRID
|
||||
|
||||
// *************************** DBGridFrame ***************************
|
||||
|
||||
class DbGridFrame : public wxFrame
|
||||
{
|
||||
public:
|
||||
bool initialized;
|
||||
|
||||
DbGridFrame(wxWindow *parent);
|
||||
|
||||
void OnCloseWindow(wxCloseEvent& event);
|
||||
bool Initialize();
|
||||
|
||||
DECLARE_EVENT_TABLE()
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
// Define a new application type
|
||||
class DatabaseDemoApp: public wxApp
|
||||
{
|
||||
public:
|
||||
// These are the parameters that are stored in the "PARAM_FILENAME" file
|
||||
// that are read in at startup of the program that indicate the connection
|
||||
// parameters to be used for connecting to the ODBC data source.
|
||||
Cparameters params;
|
||||
|
||||
// Pointer to the main frame used by the App
|
||||
DatabaseDemoFrame *DemoFrame;
|
||||
|
||||
// Pointer to the main database connection used in the program. This
|
||||
// pointer would normally be used for doing things as database lookups
|
||||
// for user login names and passwords, getting workstation settings, etc.
|
||||
//
|
||||
// ---> IMPORTANT <---
|
||||
//
|
||||
// For each database object created which uses this wxDb pointer
|
||||
// connection to the database, when a CommitTrans() or RollBackTrans()
|
||||
// will commit or rollback EVERY object which uses this wxDb pointer.
|
||||
//
|
||||
// To allow each table object (those derived from wxDbTable) to be
|
||||
// individually committed or rolled back, you MUST use a different
|
||||
// instance of wxDb in the constructor of the table. Doing so creates
|
||||
// more overhead, and will use more database connections (some DBs have
|
||||
// connection limits...), so use connections sparringly.
|
||||
//
|
||||
// It is recommended that one "main" database connection be created for
|
||||
// the entire program to use for READ-ONLY database accesses, but for each
|
||||
// table object which will do a CommitTrans() or RollbackTrans() that a
|
||||
// new wxDb object be created and used for it.
|
||||
wxDb *READONLY_DB;
|
||||
|
||||
// Contains the ODBC connection information used by
|
||||
// all database connections
|
||||
wxDbConnectInf *DbConnectInf;
|
||||
|
||||
bool OnInit();
|
||||
|
||||
// Read/Write ODBC connection parameters to the "PARAM_FILENAME" file
|
||||
bool ReadParamFile(Cparameters ¶ms);
|
||||
bool WriteParamFile(Cparameters ¶ms);
|
||||
|
||||
void CreateDataTable(bool recreate);
|
||||
|
||||
// Pointer to the wxDbTable instance that is used to manipulate
|
||||
// the data in memory and in the database
|
||||
Ccontact *Contact;
|
||||
|
||||
}; // DatabaseDemoApp
|
||||
|
||||
|
||||
DECLARE_APP(DatabaseDemoApp)
|
||||
|
||||
|
||||
// *************************** CeditorDlg ***************************
|
||||
|
||||
class CeditorDlg : public wxPanel
|
||||
{
|
||||
private:
|
||||
// Used to indicate whether all of the widget pointers (defined
|
||||
// below) have been initialized to point to the memory for
|
||||
// the named widget. Used as a safeguard from using the widget
|
||||
// before it has been initialized.
|
||||
bool widgetPtrsSet;
|
||||
|
||||
// Used when the EDIT button has been pressed to maintain the
|
||||
// original name that was displayed in the editor before the
|
||||
// EDIT button was pressed, so that if CANCEL is pressed, a
|
||||
// FetchByName() can be done to retrieve the original data
|
||||
// to repopulate the dialog.
|
||||
wxString saveName;
|
||||
|
||||
// Pointers to all widgets on the dialog
|
||||
wxButton *pCreateBtn, *pEditBtn, *pDeleteBtn, *pCopyBtn, *pSaveBtn, *pCancelBtn;
|
||||
wxButton *pPrevBtn, *pNextBtn, *pQueryBtn, *pResetBtn, *pDoneBtn, *pHelpBtn;
|
||||
wxButton *pNameListBtn;
|
||||
wxButton *pCatalogBtn, *pDataTypesBtn, *pDbDiagsBtn;
|
||||
wxTextCtrl *pNameTxt, *pAddress1Txt, *pAddress2Txt,*pCityTxt, *pStateTxt, *pCountryTxt,*pPostalCodeTxt;
|
||||
wxStaticText *pNameMsg, *pAddress1Msg, *pAddress2Msg,*pCityMsg, *pStateMsg, *pCountryMsg,*pPostalCodeMsg;
|
||||
wxTextCtrl *pJoinDateTxt,*pContribTxt, *pLinesTxt;
|
||||
wxStaticText *pJoinDateMsg,*pContribMsg, *pLinesMsg;
|
||||
wxRadioBox *pDeveloperRadio;
|
||||
wxChoice *pNativeLangChoice;
|
||||
wxStaticText *pNativeLangMsg;
|
||||
#ifdef wxODBC_BLOB_SUPPORT
|
||||
wxStaticText *pPictureMsg, *pPictSizeMsg;
|
||||
wxButton *pChooseImageBtn, *pShowImageBtn;
|
||||
wxTextCtrl *pPictSizeTxt;
|
||||
#endif
|
||||
|
||||
public:
|
||||
// Indicates if the editor dialog has been initialized yet (used to
|
||||
// help trap if the Initialize() function failed to load all required
|
||||
// resources or not.
|
||||
bool initialized;
|
||||
|
||||
enum DialogModes mode;
|
||||
|
||||
CeditorDlg(wxWindow *parent);
|
||||
|
||||
void OnCloseWindow(wxCloseEvent& event);
|
||||
void OnButton( wxCommandEvent &event );
|
||||
void OnCommand(wxWindow& win, wxCommandEvent& event);
|
||||
void OnActivate(bool) {}; // necessary for hot keys
|
||||
|
||||
bool Initialize();
|
||||
|
||||
#ifdef wxODBC_BLOB_SUPPORT
|
||||
// Methods for reading image file into current table, and
|
||||
// also displaying the image.
|
||||
void OnSelectPict();
|
||||
void OnShowImage();
|
||||
#endif
|
||||
|
||||
// Sets wxStaticText fields to be editable or not depending
|
||||
// on the current value of 'mode'
|
||||
void FieldsEditable();
|
||||
|
||||
// Sets the editor mode, determining what state widgets
|
||||
// on the dialog are to be in based on the operation
|
||||
// being performed.
|
||||
void SetMode(enum DialogModes m);
|
||||
|
||||
// Update/Retrieve data from the widgets on the dialog
|
||||
bool PutData();
|
||||
bool GetData();
|
||||
|
||||
// Inserts/updates the database with the current data
|
||||
// retrieved from the editor dialog
|
||||
bool Save();
|
||||
|
||||
// Database functions for changing the data that is to
|
||||
// be displayed on the dialog. GetNextRec()/GetPrevRec()
|
||||
// provide database independent methods that do not require
|
||||
// backward scrolling cursors to obtain the record that
|
||||
// is prior to the current record in the search sequence.
|
||||
bool GetNextRec();
|
||||
bool GetPrevRec();
|
||||
bool GetRec(const wxString &whereStr);
|
||||
|
||||
DECLARE_EVENT_TABLE()
|
||||
}; // CeditorDlg
|
||||
|
||||
#define EDITOR_DIALOG 199
|
||||
|
||||
// Editor dialog control ids
|
||||
#define EDITOR_DIALOG_FN_GROUP 200
|
||||
#define EDITOR_DIALOG_SEARCH_GROUP 201
|
||||
#define EDITOR_DIALOG_CREATE 202
|
||||
#define EDITOR_DIALOG_EDIT 203
|
||||
#define EDITOR_DIALOG_DELETE 204
|
||||
#define EDITOR_DIALOG_COPY 205
|
||||
#define EDITOR_DIALOG_SAVE 206
|
||||
#define EDITOR_DIALOG_CANCEL 207
|
||||
#define EDITOR_DIALOG_PREV 208
|
||||
#define EDITOR_DIALOG_NEXT 209
|
||||
#define EDITOR_DIALOG_QUERY 211
|
||||
#define EDITOR_DIALOG_RESET 212
|
||||
#define EDITOR_DIALOG_NAME_MSG 213
|
||||
#define EDITOR_DIALOG_NAME_TEXT 214
|
||||
#define EDITOR_DIALOG_LOOKUP 215
|
||||
#define EDITOR_DIALOG_ADDRESS1_MSG 216
|
||||
#define EDITOR_DIALOG_ADDRESS1_TEXT 217
|
||||
#define EDITOR_DIALOG_ADDRESS2_MSG 218
|
||||
#define EDITOR_DIALOG_ADDRESS2_TEXT 219
|
||||
#define EDITOR_DIALOG_CITY_MSG 220
|
||||
#define EDITOR_DIALOG_CITY_TEXT 221
|
||||
#define EDITOR_DIALOG_COUNTRY_MSG 222
|
||||
#define EDITOR_DIALOG_COUNTRY_TEXT 223
|
||||
#define EDITOR_DIALOG_POSTAL_MSG 224
|
||||
#define EDITOR_DIALOG_POSTAL_TEXT 225
|
||||
#define EDITOR_DIALOG_LANG_MSG 226
|
||||
#define EDITOR_DIALOG_LANG_CHOICE 227
|
||||
#define EDITOR_DIALOG_DATE_MSG 228
|
||||
#define EDITOR_DIALOG_DATE_TEXT 229
|
||||
#define EDITOR_DIALOG_CONTRIB_MSG 230
|
||||
#define EDITOR_DIALOG_CONTRIB_TEXT 231
|
||||
#define EDITOR_DIALOG_LINES_MSG 232
|
||||
#define EDITOR_DIALOG_LINES_TEXT 233
|
||||
#define EDITOR_DIALOG_STATE_MSG 234
|
||||
#define EDITOR_DIALOG_STATE_TEXT 235
|
||||
#define EDITOR_DIALOG_DEVELOPER 236
|
||||
#define EDITOR_DIALOG_JOIN_MSG 237
|
||||
#define EDITOR_DIALOG_JOIN_TEXT 238
|
||||
#define EDITOR_DIALOG_CATALOG 240
|
||||
#define EDITOR_DIALOG_DATATYPES 250
|
||||
#define EDITOR_DIALOG_DB_DIAGS 260
|
||||
#ifdef wxODBC_BLOB_SUPPORT
|
||||
#define EDITOR_DIALOG_PIC_MSG 270
|
||||
#define EDITOR_DIALOG_PICSIZE_MSG 271
|
||||
#define EDITOR_DIALOG_PIC_BROWSE 272
|
||||
#define EDITOR_DIALOG_PIC_SHOW 273
|
||||
#define EDITOR_DIALOG_PIC_SIZE_TEXT 274
|
||||
#endif
|
||||
|
||||
// *************************** CparameterDlg ***************************
|
||||
|
||||
class CparameterDlg : public wxDialog
|
||||
{
|
||||
private:
|
||||
// Used to indicate whether all of the widget pointers (defined
|
||||
// below) have been initialized to point to the memory for
|
||||
// the named widget. Used as a safeguard from using the widget
|
||||
// before it has been initialized.
|
||||
bool widgetPtrsSet;
|
||||
|
||||
enum DialogModes mode;
|
||||
|
||||
// Have the parameters been saved yet, or do they
|
||||
// need to be saved to update the params on disk
|
||||
bool saved;
|
||||
|
||||
// Original params
|
||||
Cparameters savedParamSettings;
|
||||
|
||||
// Pointers to all widgets on the dialog
|
||||
wxStaticText *pParamODBCSourceMsg;
|
||||
wxListBox *pParamODBCSourceList;
|
||||
wxStaticText *pParamUserNameMsg, *pParamPasswordMsg, *pParamDirPathMsg;
|
||||
wxTextCtrl *pParamUserNameTxt, *pParamPasswordTxt, *pParamDirPathTxt;
|
||||
wxButton *pParamSaveBtn, *pParamCancelBtn;
|
||||
|
||||
public:
|
||||
CparameterDlg(wxWindow *parent);
|
||||
|
||||
void OnCloseWindow(wxCloseEvent& event);
|
||||
void OnButton( wxCommandEvent &event );
|
||||
void OnCommand(wxWindow& win, wxCommandEvent& event);
|
||||
void OnActivate(bool) {}; // necessary for hot keys
|
||||
|
||||
// Update/Retrieve data from the widgets on the dialog
|
||||
bool PutData();
|
||||
bool GetData();
|
||||
|
||||
// Stores the defined parameter for connecting to the selected ODBC
|
||||
// data source to the config file name in "PARAM_FILENAME"
|
||||
bool Save();
|
||||
|
||||
// Populates the 'pParamODBCSourceList' listbox with the names of all
|
||||
// ODBC datasource defined for use at the current workstation
|
||||
void FillDataSourceList();
|
||||
|
||||
DECLARE_EVENT_TABLE()
|
||||
}; // CparameterDlg
|
||||
|
||||
#define PARAMETER_DIALOG 400
|
||||
|
||||
// Parameter dialog control ids
|
||||
#define PARAMETER_DIALOG_SOURCE_MSG 401
|
||||
#define PARAMETER_DIALOG_SOURCE_LISTBOX 402
|
||||
#define PARAMETER_DIALOG_NAME_MSG 403
|
||||
#define PARAMETER_DIALOG_NAME_TEXT 404
|
||||
#define PARAMETER_DIALOG_PASSWORD_MSG 405
|
||||
#define PARAMETER_DIALOG_PASSWORD_TEXT 406
|
||||
#define PARAMETER_DIALOG_DIRPATH_MSG 407
|
||||
#define PARAMETER_DIALOG_DIRPATH_TEXT 408
|
||||
#define PARAMETER_DIALOG_SAVE 409
|
||||
#define PARAMETER_DIALOG_CANCEL 410
|
||||
|
||||
// *************************** CqueryDlg ***************************
|
||||
|
||||
|
||||
// QUERY DIALOG
|
||||
enum qryOp
|
||||
{
|
||||
qryOpEQ,
|
||||
qryOpLT,
|
||||
qryOpGT,
|
||||
qryOpLE,
|
||||
qryOpGE,
|
||||
qryOpBEGINS,
|
||||
qryOpCONTAINS,
|
||||
qryOpLIKE,
|
||||
qryOpBETWEEN
|
||||
};
|
||||
|
||||
|
||||
// Query strings
|
||||
wxString const & langQRY_EQ = wxT("column = column | value");
|
||||
const wxString & langQRY_LT = wxT("column < column | value");
|
||||
const wxString & langQRY_GT = wxT("column > column | value");
|
||||
const wxString & langQRY_LE = wxT("column <= column | value");
|
||||
const wxString & langQRY_GE = wxT("column >= column | value");
|
||||
const wxString & langQRY_BEGINS = wxT("columns that BEGIN with the string entered");
|
||||
const wxString & langQRY_CONTAINS = wxT("columns that CONTAIN the string entered");
|
||||
const wxString & langQRY_LIKE = wxT("% matches 0 or more of any char; _ matches 1 char");
|
||||
const wxString & langQRY_BETWEEN = wxT("column BETWEEN value AND value");
|
||||
|
||||
|
||||
class CqueryDlg : public wxDialog
|
||||
{
|
||||
private:
|
||||
wxDbColInf *colInf; // Column inf. returned by db->GetColumns()
|
||||
wxDbTable *dbTable; // generic wxDbTable object for attaching to the table to query
|
||||
wxChar *masterTableName; // Name of the table that 'dbTable' will be associated with
|
||||
wxString pWhere; // A pointer to the storage for the resulting where clause
|
||||
wxDb *pDB;
|
||||
|
||||
public:
|
||||
// Used to indicate whether all of the widget pointers (defined
|
||||
// below) have been initialized to point to the memory for
|
||||
// the named widget. Used as a safeguard from using the widget
|
||||
// before it has been initialized.
|
||||
bool widgetPtrsSet;
|
||||
|
||||
// Widget pointers
|
||||
wxStaticText *pQueryCol1Msg;
|
||||
wxChoice *pQueryCol1Choice;
|
||||
wxStaticText *pQueryNotMsg;
|
||||
wxCheckBox *pQueryNotCheck;
|
||||
wxStaticText *pQueryOperatorMsg;
|
||||
wxChoice *pQueryOperatorChoice;
|
||||
wxStaticText *pQueryCol2Msg;
|
||||
wxChoice *pQueryCol2Choice;
|
||||
wxStaticText *pQueryValue1Msg;
|
||||
wxTextCtrl *pQueryValue1Txt;
|
||||
wxStaticText *pQueryValue2Msg;
|
||||
wxTextCtrl *pQueryValue2Txt;
|
||||
wxStaticText *pQuerySqlWhereMsg;
|
||||
wxTextCtrl *pQuerySqlWhereMtxt;
|
||||
wxButton *pQueryAddBtn;
|
||||
wxButton *pQueryAndBtn;
|
||||
wxButton *pQueryOrBtn;
|
||||
wxButton *pQueryLParenBtn;
|
||||
wxButton *pQueryRParenBtn;
|
||||
wxButton *pQueryDoneBtn;
|
||||
wxButton *pQueryClearBtn;
|
||||
wxButton *pQueryCountBtn;
|
||||
wxButton *pQueryHelpBtn;
|
||||
wxStaticBox *pQueryHintGrp;
|
||||
wxStaticText *pQueryHintMsg;
|
||||
|
||||
wxTextCtrl *pFocusTxt;
|
||||
|
||||
CqueryDlg(wxWindow *parent, wxDb *pDb, wxChar *tblName[], const wxString &pWhereArg);
|
||||
~CqueryDlg();
|
||||
|
||||
void OnButton( wxCommandEvent &event );
|
||||
void OnCommand(wxWindow& win, wxCommandEvent& event);
|
||||
void OnCloseWindow(wxCloseEvent& event);
|
||||
void OnActivate(bool) {}; // necessary for hot keys
|
||||
|
||||
void AppendToWhere(wxChar *s);
|
||||
void ProcessAddBtn();
|
||||
void ProcessCountBtn();
|
||||
bool ValidateWhereClause();
|
||||
|
||||
DECLARE_EVENT_TABLE()
|
||||
}; // CqueryDlg
|
||||
|
||||
#define QUERY_DIALOG 300
|
||||
|
||||
// Parameter dialog control ids
|
||||
#define QUERY_DIALOG_COL_MSG 301
|
||||
#define QUERY_DIALOG_COL_CHOICE 302
|
||||
#define QUERY_DIALOG_NOT_MSG 303
|
||||
#define QUERY_DIALOG_NOT_CHECKBOX 304
|
||||
#define QUERY_DIALOG_OP_MSG 305
|
||||
#define QUERY_DIALOG_OP_CHOICE 306
|
||||
#define QUERY_DIALOG_COL2_MSG 307
|
||||
#define QUERY_DIALOG_COL2_CHOICE 308
|
||||
#define QUERY_DIALOG_WHERE_MSG 309
|
||||
#define QUERY_DIALOG_WHERE_TEXT 310
|
||||
#define QUERY_DIALOG_ADD 311
|
||||
#define QUERY_DIALOG_AND 312
|
||||
#define QUERY_DIALOG_OR 313
|
||||
#define QUERY_DIALOG_LPAREN 314
|
||||
#define QUERY_DIALOG_RPAREN 315
|
||||
#define QUERY_DIALOG_DONE 316
|
||||
#define QUERY_DIALOG_CLEAR 317
|
||||
#define QUERY_DIALOG_COUNT 318
|
||||
#define QUERY_DIALOG_VALUE1_MSG 319
|
||||
#define QUERY_DIALOG_VALUE1_TEXT 320
|
||||
#define QUERY_DIALOG_VALUE2_MSG 321
|
||||
#define QUERY_DIALOG_VALUE2_TEXT 322
|
||||
#define QUERY_DIALOG_HINT_GROUP 323
|
||||
#define QUERY_DIALOG_HINT_MSG 324
|
||||
|
||||
#ifdef wxODBC_BLOB_SUPPORT
|
||||
|
||||
class CimageDlg : public wxDialog
|
||||
{
|
||||
public:
|
||||
CimageDlg(wxWindow *parent, wxChar *pImageData, off_t iSize);
|
||||
~CimageDlg();
|
||||
|
||||
void OnCloseWindow(wxCloseEvent &event);
|
||||
|
||||
private:
|
||||
wxStaticBitmap *m_pDisplayBmp;
|
||||
wxBitmap *m_pBmp;
|
||||
wxImage *m_pImage;
|
||||
|
||||
protected:
|
||||
|
||||
|
||||
DECLARE_EVENT_TABLE()
|
||||
}; // CimageDlg
|
||||
|
||||
#define IMAGE_DIALOG 400
|
||||
|
||||
#define IMAGE_DIALOG_STATIC_BMP 401
|
||||
|
||||
#endif
|
||||
|
||||
wxChar * const langNO = wxT("No");
|
||||
wxChar * const langYES = wxT("Yes");
|
||||
wxChar * const langDBINF_DB_NAME = wxT("Database Name = ");
|
||||
wxChar * const langDBINF_DB_VER = wxT("Database Version = ");
|
||||
wxChar * const langDBINF_DRIVER_NAME = wxT("Driver Name = ");
|
||||
wxChar * const langDBINF_DRIVER_ODBC_VER = wxT("Driver ODBC Version = ");
|
||||
wxChar * const langDBINF_DRIVER_MGR_ODBC_VER = wxT("Driver Manager ODBC Version = ");
|
||||
wxChar * const langDBINF_DRIVER_VER = wxT("Driver Version = ");
|
||||
wxChar * const langDBINF_SERVER_NAME = wxT("Server Name = ");
|
||||
wxChar * const langDBINF_FILENAME = wxT("Filename = ");
|
||||
wxChar * const langDBINF_OUTER_JOINS = wxT("Outer Joins = ");
|
||||
wxChar * const langDBINF_STORED_PROC = wxT("Stored Procedures = ");
|
||||
wxChar * const langDBINF_MAX_HDBC = wxT("Max # of Db connections = ");
|
||||
wxChar * const langDBINF_MAX_HSTMT = wxT("Max # of cursors (per db connection) = ");
|
||||
wxChar * const langDBINF_UNLIMITED = wxT("Unlimited or Unknown");
|
||||
wxChar * const langDBINF_API_LVL = wxT("ODBC API conformance level = ");
|
||||
wxChar * const langDBINF_CLI_LVL = wxT("Client (SAG) conformance level = ");
|
||||
wxChar * const langDBINF_SQL_LVL = wxT("SQL conformance level = ");
|
||||
wxChar * const langDBINF_COMMIT_BEHAVIOR = wxT("Commit Behavior = ");
|
||||
wxChar * const langDBINF_ROLLBACK_BEHAVIOR = wxT("Rollback Behavior = ");
|
||||
wxChar * const langDBINF_SUPP_NOT_NULL = wxT("Support NOT NULL clause = ");
|
||||
wxChar * const langDBINF_SUPP_IEF = wxT("Support IEF = ");
|
||||
wxChar * const langDBINF_TXN_ISOLATION = wxT("Transaction Isolation Level (default) = ");
|
||||
wxChar * const langDBINF_TXN_ISOLATION_CURR = wxT("Transaction Isolation Level (current) = ");
|
||||
wxChar * const langDBINF_TXN_ISOLATION_OPTS = wxT("Transaction Isolation Options Available = ");
|
||||
wxChar * const langDBINF_FETCH_DIRS = wxT("Fetch Directions = ");
|
||||
wxChar * const langDBINF_LOCK_TYPES = wxT("Lock Types (SQLSetPos) = ");
|
||||
wxChar * const langDBINF_POS_OPERS = wxT("Position Operations (SQLSetPos) = ");
|
||||
wxChar * const langDBINF_POS_STMTS = wxT("Position Statements = ");
|
||||
wxChar * const langDBINF_SCROLL_CONCURR = wxT("Concurrency Options (scrollable cursors) = ");
|
||||
wxChar * const langDBINF_SCROLL_OPTS = wxT("Scroll Options (scrollable cursors) = ");
|
||||
wxChar * const langDBINF_STATIC_SENS = wxT("Static Sensitivity = ");
|
||||
wxChar * const langDBINF_TXN_CAPABLE = wxT("Transaction Support = ");
|
||||
wxChar * const langDBINF_LOGIN_TIMEOUT = wxT("Login Timeout = ");
|
||||
wxChar * const langDBINF_NONE = wxT("None");
|
||||
wxChar * const langDBINF_LEVEL1 = wxT("Level 1");
|
||||
wxChar * const langDBINF_LEVEL2 = wxT("Level 2");
|
||||
wxChar * const langDBINF_NOT_COMPLIANT = wxT("Not Compliant");
|
||||
wxChar * const langDBINF_COMPLIANT = wxT("Compliant");
|
||||
wxChar * const langDBINF_MIN_GRAMMAR = wxT("Minimum Grammer");
|
||||
wxChar * const langDBINF_CORE_GRAMMAR = wxT("Core Grammer");
|
||||
wxChar * const langDBINF_EXT_GRAMMAR = wxT("Extended Grammer");
|
||||
wxChar * const langDBINF_DELETE_CURSORS = wxT("Delete cursors");
|
||||
wxChar * const langDBINF_CLOSE_CURSORS = wxT("Close cursors");
|
||||
wxChar * const langDBINF_PRESERVE_CURSORS = wxT("Preserve cursors");
|
||||
wxChar * const langDBINF_READ_UNCOMMITTED = wxT("Read Uncommitted");
|
||||
wxChar * const langDBINF_READ_COMMITTED = wxT("Read Committed");
|
||||
wxChar * const langDBINF_REPEATABLE_READ = wxT("Repeatable Read");
|
||||
wxChar * const langDBINF_SERIALIZABLE = wxT("Serializable");
|
||||
wxChar * const langDBINF_VERSIONING = wxT("Versioning");
|
||||
wxChar * const langDBINF_NEXT = wxT("Next");
|
||||
wxChar * const langDBINF_PREV = wxT("Prev");
|
||||
wxChar * const langDBINF_FIRST = wxT("First");
|
||||
wxChar * const langDBINF_LAST = wxT("Last");
|
||||
wxChar * const langDBINF_ABSOLUTE = wxT("Absolute");
|
||||
wxChar * const langDBINF_RELATIVE = wxT("Relative");
|
||||
wxChar * const langDBINF_RESUME = wxT("Resume");
|
||||
wxChar * const langDBINF_BOOKMARK = wxT("Bookmark");
|
||||
wxChar * const langDBINF_NO_CHANGE = wxT("No Change");
|
||||
wxChar * const langDBINF_EXCLUSIVE = wxT("Exclusive");
|
||||
wxChar * const langDBINF_UNLOCK = wxT("Unlock");
|
||||
wxChar * const langDBINF_POSITION = wxT("Position");
|
||||
wxChar * const langDBINF_REFRESH = wxT("Refresh");
|
||||
wxChar * const langDBINF_UPD = wxT("Upd");
|
||||
wxChar * const langDBINF_DEL = wxT("Del");
|
||||
wxChar * const langDBINF_ADD = wxT("Add");
|
||||
wxChar * const langDBINF_POS_DEL = wxT("Pos Delete");
|
||||
wxChar * const langDBINF_POS_UPD = wxT("Pos Update");
|
||||
wxChar * const langDBINF_SELECT_FOR_UPD = wxT("Select For Update");
|
||||
wxChar * const langDBINF_READ_ONLY = wxT("Read Only");
|
||||
wxChar * const langDBINF_LOCK = wxT("Lock");
|
||||
wxChar * const langDBINF_OPT_ROWVER = wxT("Opt. Rowver");
|
||||
wxChar * const langDBINF_OPT_VALUES = wxT("Opt. Values");
|
||||
wxChar * const langDBINF_FWD_ONLY = wxT("Fwd Only");
|
||||
wxChar * const langDBINF_STATIC = wxT("Static");
|
||||
wxChar * const langDBINF_KEYSET_DRIVEN = wxT("Keyset Driven");
|
||||
wxChar * const langDBINF_DYNAMIC = wxT("Dynamic");
|
||||
wxChar * const langDBINF_MIXED = wxT("Mixed");
|
||||
wxChar * const langDBINF_ADDITIONS = wxT("Additions");
|
||||
wxChar * const langDBINF_DELETIONS = wxT("Deletions");
|
||||
wxChar * const langDBINF_UPDATES = wxT("Updates");
|
||||
wxChar * const langDBINF_DML_ONLY = wxT("DML Only");
|
||||
wxChar * const langDBINF_DDL_COMMIT = wxT("DDL Commit");
|
||||
wxChar * const langDBINF_DDL_IGNORE = wxT("DDL Ignore");
|
||||
wxChar * const langDBINF_DDL_AND_DML = wxT("DDL and DML");
|
||||
wxChar * const langDBINF_ORACLE_BANNER = wxT(">>> ORACLE STATISTICS AND TUNING INFORMATION <<<");
|
||||
wxChar * const langDBINF_DB_BLOCK_GETS = wxT("DB block gets");
|
||||
wxChar * const langDBINF_CONSISTENT_GETS = wxT("Consistent gets");
|
||||
wxChar * const langDBINF_PHYSICAL_READS = wxT("Physical reads");
|
||||
wxChar * const langDBINF_CACHE_HIT_RATIO = wxT("Cache hit ratio");
|
||||
wxChar * const langDBINF_TABLESPACE_IO = wxT("TABLESPACE I/O LEVELS");
|
||||
wxChar * const langDBINF_PHYSICAL_WRITES = wxT("Physical writes");
|
Binary file not shown.
Before Width: | Height: | Size: 766 B |
@@ -1,3 +0,0 @@
|
||||
db_icon ICON "dbtest.ico"
|
||||
#include "wx/msw/wx.rc"
|
||||
|
@@ -1,48 +0,0 @@
|
||||
#*****************************************************************************
|
||||
# *
|
||||
# Make file for VMS *
|
||||
# Author : J.Jansen (joukj@hrem.stm.tudelft.nl) *
|
||||
# Date : 31 October 2001 *
|
||||
# *
|
||||
#*****************************************************************************
|
||||
.first
|
||||
define wx [--.include.wx]
|
||||
|
||||
.ifdef __WXMOTIF__
|
||||
CXX_DEFINE = /define=(__WXMOTIF__=1)/name=(as_is,short)\
|
||||
/assume=(nostdnew,noglobal_array_new)
|
||||
.else
|
||||
.ifdef __WXGTK__
|
||||
CXX_DEFINE = /define=(__WXGTK__=1)/float=ieee/name=(as_is,short)/ieee=denorm\
|
||||
/assume=(nostdnew,noglobal_array_new)
|
||||
.else
|
||||
CXX_DEFINE =
|
||||
.endif
|
||||
.endif
|
||||
|
||||
.suffixes : .cpp
|
||||
|
||||
.cpp.obj :
|
||||
cxx $(CXXFLAGS)$(CXX_DEFINE) $(MMS$TARGET_NAME).cpp
|
||||
|
||||
all :
|
||||
.ifdef __WXMOTIF__
|
||||
$(MMS)$(MMSQUALIFIERS) dbtest.exe
|
||||
.else
|
||||
.ifdef __WXGTK__
|
||||
$(MMS)$(MMSQUALIFIERS) dbtest_gtk.exe
|
||||
.endif
|
||||
.endif
|
||||
|
||||
.ifdef __WXMOTIF__
|
||||
dbtest.exe : dbtest.obj,listdb.obj
|
||||
cxxlink dbtest,listdb,[--.lib]vms/opt
|
||||
.else
|
||||
.ifdef __WXGTK__
|
||||
dbtest_gtk.exe : dbtest.obj,listdb.obj
|
||||
cxxlink/exec=dbtest_gtk.exe dbtest,listdb,[--.lib]vms_gtk/opt
|
||||
.endif
|
||||
.endif
|
||||
|
||||
dbtest.obj : dbtest.cpp
|
||||
listdb.obj : listdb.cpp
|
@@ -1,518 +0,0 @@
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// Name: listdb.cpp
|
||||
// Purpose: Data table lookup listbox code
|
||||
// Author: George Tasker/Doug Card
|
||||
// Modified by:
|
||||
// Created: 1996
|
||||
// RCS-ID: $Id$
|
||||
// Copyright: (c) 1996 Remstar International, Inc.
|
||||
// Licence: wxWindows licence
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
/*
|
||||
// SYNOPSIS START
|
||||
|
||||
Member functions for the classes defined in LISTDB.H
|
||||
|
||||
This class is used to present a generic ListBox lookup window for
|
||||
use with any of the object creation/selection choice widgets. This
|
||||
dialog window will present a (possibly) scrolling list of values
|
||||
that come from a data table source. Based on the object type passed
|
||||
in the constructor, a ListBox is built to present the user with a
|
||||
single selection listbox.
|
||||
|
||||
The string selected from the list box is stored in the Global variable
|
||||
"ListDB_Selection", and will remain set until another interation of this
|
||||
routine is called.
|
||||
|
||||
For each object (database) type that is to be used, an overridden
|
||||
constructor should be written to appropriately link to the proper
|
||||
data table/object for building the list.
|
||||
|
||||
The data table record access is all handled through the routines
|
||||
in this module, interfacing with the methods defined in wxDbTable.
|
||||
|
||||
All objects which use data table access must be initialized and
|
||||
have opened the table prior to passing them in the dialog
|
||||
constructor, and the 'where' query should already have been set
|
||||
and performed before creating this dialog instance.
|
||||
|
||||
// SYNOPSIS STOP
|
||||
*/
|
||||
|
||||
#include "wx/wxprec.h"
|
||||
|
||||
#ifdef __BORLANDC__
|
||||
#pragma hdrstop
|
||||
#endif //__BORLANDC__
|
||||
|
||||
#ifndef WX_PRECOMP
|
||||
#include "wx/wx.h"
|
||||
#endif //WX_PRECOMP
|
||||
|
||||
#include "wx/dbtable.h"
|
||||
|
||||
extern wxDbList WXDLLEXPORT *PtrBegDbList; /* from db.cpp, used in getting back error results from db connections */
|
||||
|
||||
#include "listdb.h"
|
||||
//#include "dbtest.h"
|
||||
|
||||
// Used for passing the selected listbox selection back to the calling
|
||||
// routine. This variable must be declared as 'extern' in the calling
|
||||
// source module
|
||||
wxChar ListDB_Selection[LOOKUP_COL_LEN+1];
|
||||
|
||||
// If the listbox contains two columns of data, the second column is
|
||||
// returned in this variable.
|
||||
wxChar ListDB_Selection2[LOOKUP_COL_LEN+1];
|
||||
|
||||
// Constants
|
||||
const int LISTDB_NO_SPACES_BETWEEN_COLS = 3;
|
||||
|
||||
|
||||
extern wxApp *DatabaseDemoApp;
|
||||
|
||||
|
||||
/*
|
||||
* This function will return the exact string(s) from the database engine
|
||||
* indicating all error conditions which have just occurred during the
|
||||
* last call to the database engine.
|
||||
*
|
||||
* This demo uses the returned string by displaying it in a wxMessageBox. The
|
||||
* formatting therefore is not the greatest, but this is just a demo, not a
|
||||
* finished product. :-) gt
|
||||
*
|
||||
* NOTE: The value returned by this function is for temporary use only and
|
||||
* should be copied for long term use
|
||||
*/
|
||||
wxString GetExtendedDBErrorMsg2(wxDb *pDb, wxChar *ErrFile, int ErrLine)
|
||||
{
|
||||
static wxString msg;
|
||||
msg = wxT("");
|
||||
|
||||
wxString tStr;
|
||||
|
||||
if (ErrFile || ErrLine)
|
||||
{
|
||||
msg += wxT("File: ");
|
||||
msg += ErrFile;
|
||||
msg += wxT(" Line: ");
|
||||
tStr.Printf(wxT("%d"),ErrLine);
|
||||
msg += tStr.c_str();
|
||||
msg += wxT("\n");
|
||||
}
|
||||
|
||||
msg.Append (wxT("\nODBC errors:\n"));
|
||||
msg += wxT("\n");
|
||||
|
||||
// Display errors for this connection
|
||||
int i;
|
||||
for (i = 0; i < DB_MAX_ERROR_HISTORY; i++)
|
||||
{
|
||||
if (pDb->errorList[i])
|
||||
{
|
||||
msg.Append(pDb->errorList[i]);
|
||||
if (wxStrcmp(pDb->errorList[i],wxT("")) != 0)
|
||||
msg.Append(wxT("\n"));
|
||||
// Clear the errmsg buffer so the next error will not
|
||||
// end up showing the previous error that have occurred
|
||||
wxStrcpy(pDb->errorList[i],wxT(""));
|
||||
}
|
||||
}
|
||||
msg += wxT("\n");
|
||||
|
||||
return msg;
|
||||
} // GetExtendedDBErrorMsg
|
||||
|
||||
|
||||
// Clookup constructor
|
||||
Clookup::Clookup(wxString tblName, wxString colName, wxDb *pDb, const wxString &defDir)
|
||||
: wxDbTable(pDb, tblName, 1, (const wxString &)wxEmptyString, !wxDB_QUERY_ONLY,
|
||||
defDir)
|
||||
{
|
||||
|
||||
SetColDefs (0, colName, DB_DATA_TYPE_VARCHAR, lookupCol, SQL_C_WXCHAR, LOOKUP_COL_LEN+1, false, false);
|
||||
|
||||
} // Clookup()
|
||||
|
||||
|
||||
// Clookup2 constructor
|
||||
Clookup2::Clookup2(wxString tblName, wxString colName1, wxString colName2,
|
||||
wxDb *pDb, const wxString &defDir)
|
||||
: wxDbTable(pDb, tblName, (UWORD)(1 + (wxStrlen(colName2) > 0)), (const wxString &)wxEmptyString,
|
||||
!wxDB_QUERY_ONLY, defDir)
|
||||
{
|
||||
wxASSERT(pDb);
|
||||
wxASSERT(tblName);
|
||||
wxASSERT(colName1);
|
||||
wxASSERT(colName2);
|
||||
|
||||
int i = 0;
|
||||
|
||||
SetColDefs ((UWORD)i, colName1, DB_DATA_TYPE_VARCHAR, lookupCol1, SQL_C_WXCHAR, LOOKUP_COL_LEN+1, false, false);
|
||||
|
||||
if (wxStrlen(colName2) > 0)
|
||||
SetColDefs ((UWORD)(++i), colName2, DB_DATA_TYPE_VARCHAR, lookupCol2, SQL_C_WXCHAR, LOOKUP_COL_LEN+1, false, false);
|
||||
|
||||
} // Clookup2()
|
||||
|
||||
|
||||
BEGIN_EVENT_TABLE(ClookUpDlg, wxDialog)
|
||||
EVT_BUTTON(LOOKUP_DIALOG_OK, ClookUpDlg::OnButton)
|
||||
EVT_BUTTON(LOOKUP_DIALOG_CANCEL, ClookUpDlg::OnButton)
|
||||
EVT_CLOSE(ClookUpDlg::OnClose)
|
||||
EVT_LISTBOX_DCLICK(LOOKUP_DIALOG_SELECT, ClookUpDlg::OnDClick)
|
||||
END_EVENT_TABLE()
|
||||
|
||||
|
||||
// This is a generic lookup constructor that will work with any table and any column
|
||||
ClookUpDlg::ClookUpDlg(wxWindow *parent, const wxString &windowTitle, const wxString &tableName,
|
||||
const wxString &colName, const wxString &where, const wxString &orderBy,
|
||||
wxDb *pDb, const wxString &defDir)
|
||||
: wxDialog (parent, LOOKUP_DIALOG, wxT("Select..."), wxDefaultPosition, wxSize(400, 290))
|
||||
{
|
||||
wxBeginBusyCursor();
|
||||
|
||||
wxStrcpy(ListDB_Selection,wxT(""));
|
||||
widgetPtrsSet = false;
|
||||
lookup = 0;
|
||||
lookup2 = 0;
|
||||
noDisplayCols = 1;
|
||||
col1Len = 0;
|
||||
|
||||
pLookUpSelectList = new wxListBox(this, LOOKUP_DIALOG_SELECT, wxPoint( 5, 15), wxSize(384, 195), 0, 0, wxLB_SINGLE|wxLB_ALWAYS_SB, wxDefaultValidator, wxT("LookUpSelectList"));
|
||||
pLookUpOkBtn = new wxButton(this, LOOKUP_DIALOG_OK, wxT("&Ok"), wxPoint(113, 222), wxSize( 70, 35), 0, wxDefaultValidator, wxT("LookUpOkBtn"));
|
||||
pLookUpCancelBtn = new wxButton(this, LOOKUP_DIALOG_CANCEL, wxT("C&ancel"), wxPoint(212, 222), wxSize( 70, 35), 0, wxDefaultValidator, wxT("LookUpCancelBtn"));
|
||||
|
||||
widgetPtrsSet = true;
|
||||
|
||||
// Query the lookup table and display the result set
|
||||
lookup = new Clookup(tableName, colName, pDb, defDir);
|
||||
if (!lookup)
|
||||
{
|
||||
wxMessageBox(wxT("Error allocating memory for 'Clookup' object."),wxT("Error..."));
|
||||
Close();
|
||||
return;
|
||||
}
|
||||
|
||||
if (!lookup->Open())
|
||||
{
|
||||
wxString tStr;
|
||||
tStr.Printf(wxT("Unable to open the table '%s'."), tableName.c_str());
|
||||
wxMessageBox(wxDbLogExtendedErrorMsg(tStr.c_str(),lookup->GetDb(),__TFILE__,__LINE__),
|
||||
wxT("ODBC Error..."),wxOK | wxICON_EXCLAMATION);
|
||||
|
||||
Close();
|
||||
return;
|
||||
}
|
||||
|
||||
lookup->SetOrderByClause(orderBy);
|
||||
lookup->SetWhereClause(where);
|
||||
if (!lookup->Query())
|
||||
{
|
||||
wxString tStr;
|
||||
tStr = wxT("ODBC error during Query()\n\n");
|
||||
wxMessageBox(wxDbLogExtendedErrorMsg(tStr.c_str(),lookup->GetDb(),__TFILE__,__LINE__),
|
||||
wxT("ODBC Error..."),wxOK | wxICON_EXCLAMATION);
|
||||
|
||||
Close();
|
||||
return;
|
||||
}
|
||||
|
||||
// Fill in the list box from the query result set
|
||||
while (lookup->GetNext())
|
||||
pLookUpSelectList->Append(lookup->lookupCol);
|
||||
|
||||
// Make the OK activate by pressing Enter
|
||||
if (pLookUpSelectList->GetCount())
|
||||
{
|
||||
pLookUpSelectList->SetSelection(0);
|
||||
pLookUpOkBtn->SetDefault();
|
||||
}
|
||||
else
|
||||
{
|
||||
pLookUpCancelBtn->SetDefault();
|
||||
pLookUpOkBtn->Enable(false);
|
||||
}
|
||||
|
||||
// Display the dialog window
|
||||
SetTitle(windowTitle);
|
||||
Centre(wxBOTH);
|
||||
wxEndBusyCursor();
|
||||
ShowModal();
|
||||
|
||||
} // Generic lookup constructor
|
||||
|
||||
|
||||
//
|
||||
// This is a generic lookup constructor that will work with any table and any column.
|
||||
// It extends the capabilites of the lookup dialog in the following ways:
|
||||
//
|
||||
// 1) 2 columns rather than one
|
||||
// 2) The ability to select DISTINCT column values
|
||||
//
|
||||
// Only set distinctValues equal to true if necessary. In many cases, the constraints
|
||||
// of the index(es) will enforce this uniqueness. Selecting DISTINCT does require
|
||||
// overhead by the database to ensure that all values returned are distinct. Therefore,
|
||||
// use this ONLY when you need it.
|
||||
//
|
||||
// For complicated queries, you can pass in the sql select statement. This would be
|
||||
// necessary if joins are involved since by default both columns must come from the
|
||||
// same table.
|
||||
//
|
||||
// If you do query by sql statement, you must pass in the maximum length of column1,
|
||||
// since it cannot be derived when you query using your own sql statement.
|
||||
//
|
||||
// The optional database connection can be used if you'd like the lookup class
|
||||
// to use a database pointer other than wxGetApp().READONLY_DB. This is necessary if
|
||||
// records are being saved, but not committed to the db, yet should be included
|
||||
// in the lookup window.
|
||||
//
|
||||
ClookUpDlg::ClookUpDlg(wxWindow *parent, const wxString &windowTitle, const wxString &tableName,
|
||||
const wxString &dispCol1, const wxString &dispCol2,
|
||||
const wxString &where, const wxString &orderBy,
|
||||
wxDb *pDb, const wxString &defDir, bool distinctValues,
|
||||
const wxString &selectStmt, int maxLenCol1, bool allowOk)
|
||||
: wxDialog (parent, LOOKUP_DIALOG, wxT("Select..."), wxDefaultPosition, wxSize(400, 290))
|
||||
{
|
||||
wxBeginBusyCursor();
|
||||
|
||||
wxStrcpy(ListDB_Selection,wxT(""));
|
||||
wxStrcpy(ListDB_Selection2,wxT(""));
|
||||
widgetPtrsSet = false;
|
||||
lookup = 0;
|
||||
lookup2 = 0;
|
||||
|
||||
noDisplayCols = (dispCol2.Length() == 0 ? 1 : 2);
|
||||
col1Len = 0;
|
||||
|
||||
wxFont fixedFont(12, wxMODERN, wxNORMAL, wxNORMAL);
|
||||
|
||||
// this is done with fixed font so that the second column (if any) will be left
|
||||
// justified in the second column
|
||||
pLookUpSelectList = new wxListBox(this, LOOKUP_DIALOG_SELECT, wxPoint(5, 15), wxSize(384, 195), 0, 0, wxLB_SINGLE|wxLB_ALWAYS_SB, wxDefaultValidator, wxT("LookUpSelectList"));
|
||||
|
||||
pLookUpSelectList->SetFont(fixedFont);
|
||||
|
||||
pLookUpOkBtn = new wxButton(this, LOOKUP_DIALOG_OK, wxT("&Ok"), wxPoint(113, 222), wxSize(70, 35), 0, wxDefaultValidator, wxT("LookUpOkBtn"));
|
||||
pLookUpCancelBtn = new wxButton(this, LOOKUP_DIALOG_CANCEL, wxT("C&ancel"), wxPoint(212, 222), wxSize(70, 35), 0, wxDefaultValidator, wxT("LookUpCancelBtn"));
|
||||
|
||||
widgetPtrsSet = true;
|
||||
|
||||
// Query the lookup table and display the result set
|
||||
lookup2 = new Clookup2(tableName, dispCol1, dispCol2, pDb, defDir);
|
||||
if (!lookup2)
|
||||
{
|
||||
wxMessageBox(wxT("Error allocating memory for 'Clookup2' object."),wxT("Error..."));
|
||||
Close();
|
||||
return;
|
||||
}
|
||||
|
||||
if (!lookup2->Open())
|
||||
{
|
||||
wxString tStr;
|
||||
tStr.Printf(wxT("Unable to open the table '%s'."),tableName.c_str());
|
||||
tStr += GetExtendedDBErrorMsg2(pDb,__TFILE__,__LINE__);
|
||||
wxMessageBox(tStr,wxT("ODBC Error..."));
|
||||
Close();
|
||||
return;
|
||||
}
|
||||
|
||||
// If displaying 2 columns, determine the maximum length of column1
|
||||
int maxColLen;
|
||||
if (maxLenCol1 > 0)
|
||||
maxColLen = col1Len = maxLenCol1; // user passed in max col length for column 1
|
||||
else
|
||||
{
|
||||
// NOTE: Some databases (Firebird/Interbase) cannot handle the "fn" and "MAX()" functions
|
||||
|
||||
maxColLen = LOOKUP_COL_LEN;
|
||||
if (wxStrlen(dispCol2))
|
||||
{
|
||||
wxString q = wxT("SELECT MAX({fn LENGTH(");
|
||||
q += dispCol1;
|
||||
q += wxT(")}), NULL");
|
||||
q += wxT(" FROM ");
|
||||
q += tableName;
|
||||
if (wxStrlen(where))
|
||||
{
|
||||
q += wxT(" WHERE ");
|
||||
q += where;
|
||||
}
|
||||
if (!lookup2->QueryBySqlStmt(q))
|
||||
{
|
||||
wxString tStr;
|
||||
tStr = wxT("ODBC error during QueryBySqlStmt()\n\n");
|
||||
wxMessageBox(wxDbLogExtendedErrorMsg(tStr.c_str(),lookup2->GetDb(),__TFILE__,__LINE__),
|
||||
wxT("ODBC Error..."),wxOK | wxICON_EXCLAMATION);
|
||||
|
||||
Close();
|
||||
return;
|
||||
}
|
||||
if (lookup2->GetNext())
|
||||
maxColLen = col1Len = wxAtoi(lookup2->lookupCol1);
|
||||
else
|
||||
{
|
||||
wxString tStr;
|
||||
tStr = wxT("ODBC error during GetNext()\n\n");
|
||||
wxMessageBox(wxDbLogExtendedErrorMsg(tStr.c_str(),lookup2->GetDb(),__TFILE__,__LINE__),
|
||||
wxT("ODBC Error..."),wxOK | wxICON_EXCLAMATION);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Query the actual record set
|
||||
if ( (const char*) selectStmt && wxStrlen(selectStmt)) // Query by sql stmt passed in
|
||||
{
|
||||
if (!lookup2->QueryBySqlStmt(selectStmt))
|
||||
{
|
||||
wxString tStr;
|
||||
tStr = wxT("ODBC error during QueryBySqlStmt()\n\n");
|
||||
wxMessageBox(wxDbLogExtendedErrorMsg(tStr.c_str(),lookup2->GetDb(),__TFILE__,__LINE__),
|
||||
wxT("ODBC Error..."),wxOK | wxICON_EXCLAMATION);
|
||||
|
||||
Close();
|
||||
return;
|
||||
}
|
||||
}
|
||||
else // Query using where and order by clauses
|
||||
{
|
||||
lookup2->SetOrderByClause(orderBy);
|
||||
lookup2->SetWhereClause(where);
|
||||
if (!lookup2->Query(false, distinctValues))
|
||||
{
|
||||
wxString tStr;
|
||||
tStr = wxT("ODBC error during Query()\n\n");
|
||||
wxMessageBox(wxDbLogExtendedErrorMsg(tStr.c_str(),lookup2->GetDb(),__TFILE__,__LINE__),
|
||||
wxT("ODBC Error..."),wxOK | wxICON_EXCLAMATION);
|
||||
|
||||
Close();
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
// Fill in the list box from the query result set
|
||||
wxString s;
|
||||
while (lookup2->GetNext())
|
||||
{
|
||||
s = lookup2->lookupCol1;
|
||||
if (wxStrlen(dispCol2)) // Append the optional column 2
|
||||
{
|
||||
s.Append(wxT(' '), (maxColLen + LISTDB_NO_SPACES_BETWEEN_COLS - wxStrlen(lookup2->lookupCol1)));
|
||||
s.Append(lookup2->lookupCol2);
|
||||
}
|
||||
pLookUpSelectList->Append(s);
|
||||
}
|
||||
|
||||
// Make the OK activate by pressing Enter
|
||||
if (pLookUpSelectList->GetCount())
|
||||
{
|
||||
pLookUpSelectList->SetSelection(0);
|
||||
pLookUpOkBtn->SetDefault();
|
||||
}
|
||||
else
|
||||
{
|
||||
pLookUpCancelBtn->SetDefault();
|
||||
pLookUpOkBtn->Enable(false);
|
||||
}
|
||||
|
||||
pLookUpOkBtn->Enable(allowOk);
|
||||
|
||||
// Display the dialog window
|
||||
SetTitle(windowTitle);
|
||||
Centre(wxBOTH);
|
||||
wxEndBusyCursor();
|
||||
ShowModal();
|
||||
|
||||
} // Generic lookup constructor 2
|
||||
|
||||
|
||||
void ClookUpDlg::OnClose(wxCloseEvent& event)
|
||||
{
|
||||
widgetPtrsSet = false;
|
||||
GetParent()->Enable(true);
|
||||
|
||||
if (lookup)
|
||||
delete lookup;
|
||||
if (lookup2)
|
||||
delete lookup2;
|
||||
|
||||
SetReturnCode(1);
|
||||
|
||||
while (wxIsBusy()) wxEndBusyCursor();
|
||||
event.Skip();
|
||||
|
||||
// return true;
|
||||
|
||||
} // ClookUpDlg::OnClose
|
||||
|
||||
|
||||
void ClookUpDlg::OnDClick( wxCommandEvent &event )
|
||||
{
|
||||
wxWindow *win = (wxWindow*) event.GetEventObject();
|
||||
OnCommand( *win, event );
|
||||
}
|
||||
|
||||
|
||||
void ClookUpDlg::OnButton( wxCommandEvent &event )
|
||||
{
|
||||
wxWindow *win = (wxWindow*) event.GetEventObject();
|
||||
OnCommand( *win, event );
|
||||
}
|
||||
|
||||
|
||||
void ClookUpDlg::OnCommand(wxWindow& win, wxCommandEvent& WXUNUSED(event))
|
||||
{
|
||||
wxString widgetName = win.GetName();
|
||||
|
||||
if (widgetPtrsSet)
|
||||
{
|
||||
bool doubleclick = false;
|
||||
// Double click
|
||||
if (widgetName == pLookUpSelectList->GetName())
|
||||
{
|
||||
doubleclick = true;
|
||||
} // Double click
|
||||
|
||||
// OK Button
|
||||
if (widgetName == pLookUpOkBtn->GetName() || doubleclick)
|
||||
{
|
||||
if (pLookUpSelectList->GetSelection() != -1)
|
||||
{
|
||||
if (noDisplayCols == 1)
|
||||
wxStrcpy (ListDB_Selection, pLookUpSelectList->GetStringSelection());
|
||||
else // 2 display columns
|
||||
{
|
||||
wxString s = pLookUpSelectList->GetStringSelection();
|
||||
// Column 1
|
||||
s = s.SubString(0, col1Len-1);
|
||||
s = s.Strip();
|
||||
wxStrcpy(ListDB_Selection, s);
|
||||
// Column 2
|
||||
s = pLookUpSelectList->GetStringSelection();
|
||||
s = s.Mid(col1Len + LISTDB_NO_SPACES_BETWEEN_COLS);
|
||||
s = s.Strip();
|
||||
wxStrcpy(ListDB_Selection2, s);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
wxStrcpy(ListDB_Selection,wxT(""));
|
||||
wxStrcpy(ListDB_Selection2,wxT(""));
|
||||
}
|
||||
Close();
|
||||
} // OK Button
|
||||
|
||||
// Cancel Button
|
||||
if (widgetName == pLookUpCancelBtn->GetName())
|
||||
{
|
||||
wxStrcpy (ListDB_Selection,wxT(""));
|
||||
wxStrcpy (ListDB_Selection2,wxT(""));
|
||||
Close();
|
||||
} // Cancel Button
|
||||
|
||||
}
|
||||
|
||||
} // ClookUpDlg::OnCommand
|
||||
|
||||
// *********************************** listdb.cpp **********************************
|
@@ -1,131 +0,0 @@
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// Name: listdb.h
|
||||
// Purpose: wxWidgets database demo app
|
||||
// Author: George Tasker
|
||||
// Modified by:
|
||||
// Created: 1996
|
||||
// RCS-ID: $Id$
|
||||
// Copyright: (c) 1996 Remstar International, Inc.
|
||||
// Licence: wxWindows licence
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
/*
|
||||
Contains dialog class for creating a data table lookup listbox
|
||||
*/
|
||||
|
||||
#ifndef LISTDB_DOT_H
|
||||
#define LISTDB_DOT_H
|
||||
|
||||
|
||||
#include "wx/dbtable.h"
|
||||
|
||||
const int LOOKUP_COL_LEN = 250;
|
||||
|
||||
// Clookup class
|
||||
class Clookup : public wxDbTable
|
||||
{
|
||||
public:
|
||||
|
||||
wxChar lookupCol[LOOKUP_COL_LEN+1];
|
||||
|
||||
Clookup(wxString tblName, wxString colName, wxDb *pDb, const wxString &defDir=wxT(""));
|
||||
|
||||
}; // Clookup
|
||||
|
||||
|
||||
// Clookup2 class
|
||||
class Clookup2 : public wxDbTable
|
||||
{
|
||||
public:
|
||||
|
||||
wxChar lookupCol1[LOOKUP_COL_LEN+1];
|
||||
wxChar lookupCol2[LOOKUP_COL_LEN+1];
|
||||
|
||||
Clookup2(wxString tblName, wxString colName1, wxString colName2, wxDb *pDb, const wxString &defDir=wxT(""));
|
||||
|
||||
}; // Clookup2
|
||||
|
||||
|
||||
// ClookUpDlg class
|
||||
class ClookUpDlg : public wxDialog
|
||||
{
|
||||
private:
|
||||
bool widgetPtrsSet;
|
||||
int currentCursor;
|
||||
Clookup *lookup;
|
||||
Clookup2 *lookup2;
|
||||
int noDisplayCols;
|
||||
int col1Len;
|
||||
|
||||
wxListBox *pLookUpSelectList;
|
||||
wxButton *pLookUpOkBtn;
|
||||
wxButton *pLookUpCancelBtn;
|
||||
|
||||
public:
|
||||
|
||||
// This is a generic lookup constructor that will work with any table and any column
|
||||
ClookUpDlg(wxWindow *parent,
|
||||
const wxString &windowTitle,
|
||||
const wxString &tableName,
|
||||
const wxString &colName,
|
||||
const wxString &where,
|
||||
const wxString &orderBy,
|
||||
wxDb *pDb,
|
||||
const wxString &defDir);
|
||||
|
||||
//
|
||||
// This is a generic lookup constructor that will work with any table and any column.
|
||||
// It extends the capabilites of the lookup dialog in the following ways:
|
||||
//
|
||||
// 1) 2 columns rather than one
|
||||
// 2) The ability to select DISTINCT column values
|
||||
//
|
||||
// Only set distinctValues equal to true if necessary. In many cases, the constraints
|
||||
// of the index(es) will enforce this uniqueness. Selecting DISTINCT does require
|
||||
// overhead by the database to ensure that all values returned are distinct. Therefore,
|
||||
// use this ONLY when you need it.
|
||||
//
|
||||
// For complicated queries, you can pass in the sql select statement. This would be
|
||||
// necessary if joins are involved since by default both columns must come from the
|
||||
// same table.
|
||||
//
|
||||
// If you do query by sql statement, you must pass in the maximum length of column1,
|
||||
// since it cannot be derived when you query using your own sql statement.
|
||||
//
|
||||
// The optional database connection can be used if you'd like the lookup class
|
||||
// to use a database pointer other than the READONLY_DB of the app. This is necessary
|
||||
// if records are being saved, but not committed to the db, yet should be included
|
||||
// in the lookup window.
|
||||
//
|
||||
ClookUpDlg(wxWindow *parent,
|
||||
const wxString &windowTitle,
|
||||
const wxString &tableName,
|
||||
const wxString &dispCol1, // Must have at least 1 display column
|
||||
const wxString &dispCol2, // Optional
|
||||
const wxString &where,
|
||||
const wxString &orderBy,
|
||||
wxDb *pDb, // Database connection pointer
|
||||
const wxString &defDir,
|
||||
bool distinctValues, // e.g. SELECT DISTINCT ...
|
||||
const wxString &selectStmt = wxEmptyString, // If you wish to query by SQLstmt (complicated lookups)
|
||||
int maxLenCol1 = 0, // Mandatory if querying by SQLstmt
|
||||
bool allowOk = true); // is the OK button enabled
|
||||
|
||||
void OnButton(wxCommandEvent &event);
|
||||
void OnCommand(wxWindow& win, wxCommandEvent& event);
|
||||
void OnClose(wxCloseEvent& event);
|
||||
void OnActivate(bool) {}; // necessary for hot keys
|
||||
void OnDClick(wxCommandEvent &event);
|
||||
|
||||
DECLARE_EVENT_TABLE()
|
||||
}; // class ClookUpDlg
|
||||
|
||||
#define LOOKUP_DIALOG 500
|
||||
|
||||
#define LOOKUP_DIALOG_SELECT 501
|
||||
#define LOOKUP_DIALOG_OK 502
|
||||
#define LOOKUP_DIALOG_CANCEL 503
|
||||
|
||||
#endif // LISTDB_DOT_H
|
||||
|
||||
// ************************************ listdb.h *********************************
|
@@ -1,264 +0,0 @@
|
||||
# =========================================================================
|
||||
# This makefile was generated by
|
||||
# Bakefile 0.2.2 (http://bakefile.sourceforge.net)
|
||||
# Do not modify, all changes will be overwritten!
|
||||
# =========================================================================
|
||||
|
||||
.autodepend
|
||||
|
||||
!ifndef BCCDIR
|
||||
!ifndef MAKEDIR
|
||||
!error Your Borland compiler does not define MAKEDIR. Please define the BCCDIR variable, e.g. BCCDIR=d:\bc4
|
||||
!endif
|
||||
BCCDIR = $(MAKEDIR)\..
|
||||
!endif
|
||||
|
||||
!include ../../build/msw/config.bcc
|
||||
|
||||
# -------------------------------------------------------------------------
|
||||
# Do not modify the rest of this file!
|
||||
# -------------------------------------------------------------------------
|
||||
|
||||
### Variables: ###
|
||||
|
||||
WX_RELEASE_NODOT = 29
|
||||
COMPILER_PREFIX = bcc
|
||||
OBJS = \
|
||||
$(COMPILER_PREFIX)_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
|
||||
LIBDIRNAME = .\..\..\lib\$(COMPILER_PREFIX)_$(LIBTYPE_SUFFIX)$(CFG)
|
||||
SETUPHDIR = \
|
||||
$(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
|
||||
DBTEST_CXXFLAGS = $(__RUNTIME_LIBS_7) -I$(BCCDIR)\include $(__DEBUGINFO) \
|
||||
$(__OPTIMIZEFLAG_2) $(__THREADSFLAG_6) -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
|
||||
$(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
|
||||
$(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \
|
||||
$(__GFXCTX_DEFINE_p) -I$(SETUPHDIR) -I.\..\..\include -I. $(__DLLFLAG_p) \
|
||||
-I.\..\..\samples -DNOPCH $(CPPFLAGS) $(CXXFLAGS)
|
||||
DBTEST_OBJECTS = \
|
||||
$(OBJS)\dbtest_dbtest.obj \
|
||||
$(OBJS)\dbtest_listdb.obj
|
||||
|
||||
### Conditionally set variables: ###
|
||||
|
||||
!if "$(USE_GUI)" == "0"
|
||||
PORTNAME = base
|
||||
!endif
|
||||
!if "$(USE_GUI)" == "1"
|
||||
PORTNAME = msw
|
||||
!endif
|
||||
!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
|
||||
WXDEBUGFLAG = d
|
||||
!endif
|
||||
!if "$(DEBUG_FLAG)" == "1"
|
||||
WXDEBUGFLAG = d
|
||||
!endif
|
||||
!if "$(UNICODE)" == "1"
|
||||
WXUNICODEFLAG = u
|
||||
!endif
|
||||
!if "$(WXUNIV)" == "1"
|
||||
WXUNIVNAME = univ
|
||||
!endif
|
||||
!if "$(SHARED)" == "1"
|
||||
WXDLLFLAG = dll
|
||||
!endif
|
||||
!if "$(SHARED)" == "0"
|
||||
LIBTYPE_SUFFIX = lib
|
||||
!endif
|
||||
!if "$(SHARED)" == "1"
|
||||
LIBTYPE_SUFFIX = dll
|
||||
!endif
|
||||
!if "$(MONOLITHIC)" == "0"
|
||||
EXTRALIBS_FOR_BASE =
|
||||
!endif
|
||||
!if "$(MONOLITHIC)" == "1"
|
||||
EXTRALIBS_FOR_BASE =
|
||||
!endif
|
||||
!if "$(USE_ODBC)" == "1"
|
||||
__dbtest___depname = $(OBJS)\dbtest.exe
|
||||
!endif
|
||||
!if "$(BUILD)" == "debug"
|
||||
__OPTIMIZEFLAG_2 = -Od
|
||||
!endif
|
||||
!if "$(BUILD)" == "release"
|
||||
__OPTIMIZEFLAG_2 = -O2
|
||||
!endif
|
||||
!if "$(USE_THREADS)" == "0"
|
||||
__THREADSFLAG_5 =
|
||||
!endif
|
||||
!if "$(USE_THREADS)" == "1"
|
||||
__THREADSFLAG_5 = mt
|
||||
!endif
|
||||
!if "$(USE_THREADS)" == "0"
|
||||
__THREADSFLAG_6 =
|
||||
!endif
|
||||
!if "$(USE_THREADS)" == "1"
|
||||
__THREADSFLAG_6 = -tWM
|
||||
!endif
|
||||
!if "$(RUNTIME_LIBS)" == "dynamic"
|
||||
__RUNTIME_LIBS_7 = -tWR
|
||||
!endif
|
||||
!if "$(RUNTIME_LIBS)" == "static"
|
||||
__RUNTIME_LIBS_7 =
|
||||
!endif
|
||||
!if "$(RUNTIME_LIBS)" == "dynamic"
|
||||
__RUNTIME_LIBS_8 = i
|
||||
!endif
|
||||
!if "$(RUNTIME_LIBS)" == "static"
|
||||
__RUNTIME_LIBS_8 =
|
||||
!endif
|
||||
!if "$(WXUNIV)" == "1"
|
||||
__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
|
||||
!endif
|
||||
!if "$(WXUNIV)" == "1"
|
||||
__WXUNIV_DEFINE_p_1 = -d__WXUNIVERSAL__
|
||||
!endif
|
||||
!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
|
||||
__DEBUG_DEFINE_p = -D__WXDEBUG__
|
||||
!endif
|
||||
!if "$(DEBUG_FLAG)" == "1"
|
||||
__DEBUG_DEFINE_p = -D__WXDEBUG__
|
||||
!endif
|
||||
!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
|
||||
__DEBUG_DEFINE_p_1 = -d__WXDEBUG__
|
||||
!endif
|
||||
!if "$(DEBUG_FLAG)" == "1"
|
||||
__DEBUG_DEFINE_p_1 = -d__WXDEBUG__
|
||||
!endif
|
||||
!if "$(USE_EXCEPTIONS)" == "0"
|
||||
__EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS
|
||||
!endif
|
||||
!if "$(USE_EXCEPTIONS)" == "0"
|
||||
__EXCEPTIONS_DEFINE_p_1 = -dwxNO_EXCEPTIONS
|
||||
!endif
|
||||
!if "$(USE_RTTI)" == "0"
|
||||
__RTTI_DEFINE_p = -DwxNO_RTTI
|
||||
!endif
|
||||
!if "$(USE_RTTI)" == "0"
|
||||
__RTTI_DEFINE_p_1 = -dwxNO_RTTI
|
||||
!endif
|
||||
!if "$(USE_THREADS)" == "0"
|
||||
__THREAD_DEFINE_p = -DwxNO_THREADS
|
||||
!endif
|
||||
!if "$(USE_THREADS)" == "0"
|
||||
__THREAD_DEFINE_p_1 = -dwxNO_THREADS
|
||||
!endif
|
||||
!if "$(UNICODE)" == "1"
|
||||
__UNICODE_DEFINE_p = -D_UNICODE
|
||||
!endif
|
||||
!if "$(UNICODE)" == "1"
|
||||
__UNICODE_DEFINE_p_1 = -d_UNICODE
|
||||
!endif
|
||||
!if "$(MSLU)" == "1"
|
||||
__MSLU_DEFINE_p = -DwxUSE_UNICODE_MSLU=1
|
||||
!endif
|
||||
!if "$(MSLU)" == "1"
|
||||
__MSLU_DEFINE_p_1 = -dwxUSE_UNICODE_MSLU=1
|
||||
!endif
|
||||
!if "$(USE_GDIPLUS)" == "1"
|
||||
__GFXCTX_DEFINE_p = -DwxUSE_GRAPHICS_CONTEXT=1
|
||||
!endif
|
||||
!if "$(USE_GDIPLUS)" == "1"
|
||||
__GFXCTX_DEFINE_p_1 = -dwxUSE_GRAPHICS_CONTEXT=1
|
||||
!endif
|
||||
!if "$(SHARED)" == "1"
|
||||
__DLLFLAG_p = -DWXUSINGDLL
|
||||
!endif
|
||||
!if "$(SHARED)" == "1"
|
||||
__DLLFLAG_p_1 = -dWXUSINGDLL
|
||||
!endif
|
||||
!if "$(MONOLITHIC)" == "0"
|
||||
__WXLIB_DBGRID_p = \
|
||||
wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_dbgrid.lib
|
||||
!endif
|
||||
!if "$(MONOLITHIC)" == "0" && "$(USE_ODBC)" == "1"
|
||||
__WXLIB_ODBC_p = \
|
||||
wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_odbc.lib
|
||||
!endif
|
||||
!if "$(MONOLITHIC)" == "0"
|
||||
__WXLIB_ADV_p = \
|
||||
wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_adv.lib
|
||||
!endif
|
||||
!if "$(MONOLITHIC)" == "0"
|
||||
__WXLIB_HTML_p = \
|
||||
wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_html.lib
|
||||
!endif
|
||||
!if "$(MONOLITHIC)" == "0"
|
||||
__WXLIB_XML_p = \
|
||||
wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_xml.lib
|
||||
!endif
|
||||
!if "$(MONOLITHIC)" == "0"
|
||||
__WXLIB_CORE_p = \
|
||||
wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
|
||||
!endif
|
||||
!if "$(MONOLITHIC)" == "0"
|
||||
__WXLIB_BASE_p = \
|
||||
wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
|
||||
!endif
|
||||
!if "$(MONOLITHIC)" == "1"
|
||||
__WXLIB_MONO_p = \
|
||||
wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
|
||||
!endif
|
||||
!if "$(USE_GUI)" == "1"
|
||||
__LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
|
||||
!endif
|
||||
!if "$(USE_GUI)" == "1"
|
||||
__LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
|
||||
!endif
|
||||
!if "$(USE_GUI)" == "1"
|
||||
__LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
|
||||
!endif
|
||||
!if "$(MSLU)" == "1"
|
||||
__UNICOWS_LIB_p = unicows.lib
|
||||
!endif
|
||||
!if "$(USE_GDIPLUS)" == "1"
|
||||
__GDIPLUS_LIB_p = gdiplus.lib
|
||||
!endif
|
||||
!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
|
||||
__DEBUGINFO = -v
|
||||
!endif
|
||||
!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
|
||||
__DEBUGINFO = -v-
|
||||
!endif
|
||||
!if "$(DEBUG_INFO)" == "0"
|
||||
__DEBUGINFO = -v-
|
||||
!endif
|
||||
!if "$(DEBUG_INFO)" == "1"
|
||||
__DEBUGINFO = -v
|
||||
!endif
|
||||
|
||||
|
||||
all: $(OBJS)
|
||||
$(OBJS):
|
||||
-if not exist $(OBJS) mkdir $(OBJS)
|
||||
|
||||
### Targets: ###
|
||||
|
||||
all: $(__dbtest___depname)
|
||||
|
||||
clean:
|
||||
-if exist $(OBJS)\*.obj del $(OBJS)\*.obj
|
||||
-if exist $(OBJS)\*.res del $(OBJS)\*.res
|
||||
-if exist $(OBJS)\*.csm del $(OBJS)\*.csm
|
||||
-if exist $(OBJS)\dbtest.exe del $(OBJS)\dbtest.exe
|
||||
-if exist $(OBJS)\dbtest.tds del $(OBJS)\dbtest.tds
|
||||
-if exist $(OBJS)\dbtest.ilc del $(OBJS)\dbtest.ilc
|
||||
-if exist $(OBJS)\dbtest.ild del $(OBJS)\dbtest.ild
|
||||
-if exist $(OBJS)\dbtest.ilf del $(OBJS)\dbtest.ilf
|
||||
-if exist $(OBJS)\dbtest.ils del $(OBJS)\dbtest.ils
|
||||
|
||||
!if "$(USE_ODBC)" == "1"
|
||||
$(OBJS)\dbtest.exe: $(DBTEST_OBJECTS) $(OBJS)\dbtest_dbtest.res
|
||||
ilink32 -Tpe -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) -aa @&&|
|
||||
c0w32.obj $(DBTEST_OBJECTS),$@,, $(__WXLIB_DBGRID_p) $(__WXLIB_ODBC_p) $(__WXLIB_ADV_p) $(__WXLIB_HTML_p) $(__WXLIB_XML_p) $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib $(EXTRALIBS_FOR_BASE) $(__UNICOWS_LIB_p) $(__GDIPLUS_LIB_p) ole2w32.lib oleacc.lib odbc32.lib import32.lib cw32$(__THREADSFLAG_5)$(__RUNTIME_LIBS_8).lib,, $(OBJS)\dbtest_dbtest.res
|
||||
|
|
||||
!endif
|
||||
|
||||
$(OBJS)\dbtest_dbtest.obj: .\dbtest.cpp
|
||||
$(CXX) -q -c -P -o$@ $(DBTEST_CXXFLAGS) $**
|
||||
|
||||
$(OBJS)\dbtest_listdb.obj: .\listdb.cpp
|
||||
$(CXX) -q -c -P -o$@ $(DBTEST_CXXFLAGS) $**
|
||||
|
||||
$(OBJS)\dbtest_dbtest.res: .\dbtest.rc
|
||||
brcc32 -32 -r -fo$@ -i$(BCCDIR)\include -d__WXMSW__ $(__WXUNIV_DEFINE_p_1) $(__DEBUG_DEFINE_p_1) $(__EXCEPTIONS_DEFINE_p_1) $(__RTTI_DEFINE_p_1) $(__THREAD_DEFINE_p_1) $(__UNICODE_DEFINE_p_1) $(__MSLU_DEFINE_p_1) $(__GFXCTX_DEFINE_p_1) -i$(SETUPHDIR) -i.\..\..\include -i. $(__DLLFLAG_p_1) -i.\..\..\samples -dNOPCH $**
|
||||
|
@@ -1,264 +0,0 @@
|
||||
# =========================================================================
|
||||
# This makefile was generated by
|
||||
# Bakefile 0.2.2 (http://bakefile.sourceforge.net)
|
||||
# Do not modify, all changes will be overwritten!
|
||||
# =========================================================================
|
||||
|
||||
include ../../build/msw/config.gcc
|
||||
|
||||
# -------------------------------------------------------------------------
|
||||
# Do not modify the rest of this file!
|
||||
# -------------------------------------------------------------------------
|
||||
|
||||
### Variables: ###
|
||||
|
||||
CPPDEPS = -MT$@ -MF$@.d -MD
|
||||
WX_RELEASE_NODOT = 29
|
||||
COMPILER_PREFIX = gcc
|
||||
OBJS = \
|
||||
$(COMPILER_PREFIX)_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
|
||||
LIBDIRNAME = .\..\..\lib\$(COMPILER_PREFIX)_$(LIBTYPE_SUFFIX)$(CFG)
|
||||
SETUPHDIR = \
|
||||
$(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
|
||||
DBTEST_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG_2) $(__THREADSFLAG) \
|
||||
$(GCCFLAGS) -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
|
||||
$(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
|
||||
$(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \
|
||||
$(__GFXCTX_DEFINE_p) -I$(SETUPHDIR) -I.\..\..\include -W -Wall -I. \
|
||||
$(__DLLFLAG_p) -I.\..\..\samples -DNOPCH $(__RTTIFLAG_5) \
|
||||
$(__EXCEPTIONSFLAG_6) -Wno-ctor-dtor-privacy $(CPPFLAGS) $(CXXFLAGS)
|
||||
DBTEST_OBJECTS = \
|
||||
$(OBJS)\dbtest_dbtest.o \
|
||||
$(OBJS)\dbtest_listdb.o \
|
||||
$(OBJS)\dbtest_dbtest_rc.o
|
||||
|
||||
### Conditionally set variables: ###
|
||||
|
||||
ifeq ($(GCC_VERSION),2.95)
|
||||
GCCFLAGS = -fvtable-thunks
|
||||
endif
|
||||
ifeq ($(USE_GUI),0)
|
||||
PORTNAME = base
|
||||
endif
|
||||
ifeq ($(USE_GUI),1)
|
||||
PORTNAME = msw
|
||||
endif
|
||||
ifeq ($(BUILD),debug)
|
||||
ifeq ($(DEBUG_FLAG),default)
|
||||
WXDEBUGFLAG = d
|
||||
endif
|
||||
endif
|
||||
ifeq ($(DEBUG_FLAG),1)
|
||||
WXDEBUGFLAG = d
|
||||
endif
|
||||
ifeq ($(UNICODE),1)
|
||||
WXUNICODEFLAG = u
|
||||
endif
|
||||
ifeq ($(WXUNIV),1)
|
||||
WXUNIVNAME = univ
|
||||
endif
|
||||
ifeq ($(SHARED),1)
|
||||
WXDLLFLAG = dll
|
||||
endif
|
||||
ifeq ($(SHARED),0)
|
||||
LIBTYPE_SUFFIX = lib
|
||||
endif
|
||||
ifeq ($(SHARED),1)
|
||||
LIBTYPE_SUFFIX = dll
|
||||
endif
|
||||
ifeq ($(MONOLITHIC),0)
|
||||
EXTRALIBS_FOR_BASE =
|
||||
endif
|
||||
ifeq ($(MONOLITHIC),1)
|
||||
EXTRALIBS_FOR_BASE =
|
||||
endif
|
||||
ifeq ($(USE_ODBC),1)
|
||||
__dbtest___depname = $(OBJS)\dbtest.exe
|
||||
endif
|
||||
ifeq ($(BUILD),debug)
|
||||
__OPTIMIZEFLAG_2 = -O0
|
||||
endif
|
||||
ifeq ($(BUILD),release)
|
||||
__OPTIMIZEFLAG_2 = -O2
|
||||
endif
|
||||
ifeq ($(USE_RTTI),0)
|
||||
__RTTIFLAG_5 = -fno-rtti
|
||||
endif
|
||||
ifeq ($(USE_RTTI),1)
|
||||
__RTTIFLAG_5 =
|
||||
endif
|
||||
ifeq ($(USE_EXCEPTIONS),0)
|
||||
__EXCEPTIONSFLAG_6 = -fno-exceptions
|
||||
endif
|
||||
ifeq ($(USE_EXCEPTIONS),1)
|
||||
__EXCEPTIONSFLAG_6 =
|
||||
endif
|
||||
ifeq ($(WXUNIV),1)
|
||||
__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
|
||||
endif
|
||||
ifeq ($(WXUNIV),1)
|
||||
__WXUNIV_DEFINE_p_1 = --define __WXUNIVERSAL__
|
||||
endif
|
||||
ifeq ($(BUILD),debug)
|
||||
ifeq ($(DEBUG_FLAG),default)
|
||||
__DEBUG_DEFINE_p = -D__WXDEBUG__
|
||||
endif
|
||||
endif
|
||||
ifeq ($(DEBUG_FLAG),1)
|
||||
__DEBUG_DEFINE_p = -D__WXDEBUG__
|
||||
endif
|
||||
ifeq ($(BUILD),debug)
|
||||
ifeq ($(DEBUG_FLAG),default)
|
||||
__DEBUG_DEFINE_p_1 = --define __WXDEBUG__
|
||||
endif
|
||||
endif
|
||||
ifeq ($(DEBUG_FLAG),1)
|
||||
__DEBUG_DEFINE_p_1 = --define __WXDEBUG__
|
||||
endif
|
||||
ifeq ($(USE_EXCEPTIONS),0)
|
||||
__EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS
|
||||
endif
|
||||
ifeq ($(USE_EXCEPTIONS),0)
|
||||
__EXCEPTIONS_DEFINE_p_1 = --define wxNO_EXCEPTIONS
|
||||
endif
|
||||
ifeq ($(USE_RTTI),0)
|
||||
__RTTI_DEFINE_p = -DwxNO_RTTI
|
||||
endif
|
||||
ifeq ($(USE_RTTI),0)
|
||||
__RTTI_DEFINE_p_1 = --define wxNO_RTTI
|
||||
endif
|
||||
ifeq ($(USE_THREADS),0)
|
||||
__THREAD_DEFINE_p = -DwxNO_THREADS
|
||||
endif
|
||||
ifeq ($(USE_THREADS),0)
|
||||
__THREAD_DEFINE_p_1 = --define wxNO_THREADS
|
||||
endif
|
||||
ifeq ($(UNICODE),1)
|
||||
__UNICODE_DEFINE_p = -D_UNICODE
|
||||
endif
|
||||
ifeq ($(UNICODE),1)
|
||||
__UNICODE_DEFINE_p_1 = --define _UNICODE
|
||||
endif
|
||||
ifeq ($(MSLU),1)
|
||||
__MSLU_DEFINE_p = -DwxUSE_UNICODE_MSLU=1
|
||||
endif
|
||||
ifeq ($(MSLU),1)
|
||||
__MSLU_DEFINE_p_1 = --define wxUSE_UNICODE_MSLU=1
|
||||
endif
|
||||
ifeq ($(USE_GDIPLUS),1)
|
||||
__GFXCTX_DEFINE_p = -DwxUSE_GRAPHICS_CONTEXT=1
|
||||
endif
|
||||
ifeq ($(USE_GDIPLUS),1)
|
||||
__GFXCTX_DEFINE_p_1 = --define wxUSE_GRAPHICS_CONTEXT=1
|
||||
endif
|
||||
ifeq ($(SHARED),1)
|
||||
__DLLFLAG_p = -DWXUSINGDLL
|
||||
endif
|
||||
ifeq ($(SHARED),1)
|
||||
__DLLFLAG_p_1 = --define WXUSINGDLL
|
||||
endif
|
||||
ifeq ($(MONOLITHIC),0)
|
||||
__WXLIB_DBGRID_p = \
|
||||
-lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_dbgrid
|
||||
endif
|
||||
ifeq ($(MONOLITHIC),0)
|
||||
ifeq ($(USE_ODBC),1)
|
||||
__WXLIB_ODBC_p = \
|
||||
-lwxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_odbc
|
||||
endif
|
||||
endif
|
||||
ifeq ($(MONOLITHIC),0)
|
||||
__WXLIB_ADV_p = \
|
||||
-lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_adv
|
||||
endif
|
||||
ifeq ($(MONOLITHIC),0)
|
||||
__WXLIB_HTML_p = \
|
||||
-lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_html
|
||||
endif
|
||||
ifeq ($(MONOLITHIC),0)
|
||||
__WXLIB_XML_p = \
|
||||
-lwxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_xml
|
||||
endif
|
||||
ifeq ($(MONOLITHIC),0)
|
||||
__WXLIB_CORE_p = \
|
||||
-lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core
|
||||
endif
|
||||
ifeq ($(MONOLITHIC),0)
|
||||
__WXLIB_BASE_p = \
|
||||
-lwxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
|
||||
endif
|
||||
ifeq ($(MONOLITHIC),1)
|
||||
__WXLIB_MONO_p = \
|
||||
-lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
|
||||
endif
|
||||
ifeq ($(USE_GUI),1)
|
||||
__LIB_TIFF_p = -lwxtiff$(WXDEBUGFLAG)
|
||||
endif
|
||||
ifeq ($(USE_GUI),1)
|
||||
__LIB_JPEG_p = -lwxjpeg$(WXDEBUGFLAG)
|
||||
endif
|
||||
ifeq ($(USE_GUI),1)
|
||||
__LIB_PNG_p = -lwxpng$(WXDEBUGFLAG)
|
||||
endif
|
||||
ifeq ($(MSLU),1)
|
||||
__UNICOWS_LIB_p = -lunicows
|
||||
endif
|
||||
ifeq ($(USE_GDIPLUS),1)
|
||||
__GDIPLUS_LIB_p = -lgdiplus
|
||||
endif
|
||||
ifeq ($(BUILD),debug)
|
||||
ifeq ($(DEBUG_INFO),default)
|
||||
__DEBUGINFO = -g
|
||||
endif
|
||||
endif
|
||||
ifeq ($(BUILD),release)
|
||||
ifeq ($(DEBUG_INFO),default)
|
||||
__DEBUGINFO =
|
||||
endif
|
||||
endif
|
||||
ifeq ($(DEBUG_INFO),0)
|
||||
__DEBUGINFO =
|
||||
endif
|
||||
ifeq ($(DEBUG_INFO),1)
|
||||
__DEBUGINFO = -g
|
||||
endif
|
||||
ifeq ($(USE_THREADS),0)
|
||||
__THREADSFLAG =
|
||||
endif
|
||||
ifeq ($(USE_THREADS),1)
|
||||
__THREADSFLAG = -mthreads
|
||||
endif
|
||||
|
||||
|
||||
all: $(OBJS)
|
||||
$(OBJS):
|
||||
-if not exist $(OBJS) mkdir $(OBJS)
|
||||
|
||||
### Targets: ###
|
||||
|
||||
all: $(__dbtest___depname)
|
||||
|
||||
clean:
|
||||
-if exist $(OBJS)\*.o del $(OBJS)\*.o
|
||||
-if exist $(OBJS)\*.d del $(OBJS)\*.d
|
||||
-if exist $(OBJS)\dbtest.exe del $(OBJS)\dbtest.exe
|
||||
|
||||
ifeq ($(USE_ODBC),1)
|
||||
$(OBJS)\dbtest.exe: $(DBTEST_OBJECTS) $(OBJS)\dbtest_dbtest_rc.o
|
||||
$(CXX) -o $@ $(DBTEST_OBJECTS) $(LDFLAGS) $(__DEBUGINFO) $(__THREADSFLAG) -L$(LIBDIRNAME) -Wl,--subsystem,windows -mwindows $(__WXLIB_DBGRID_p) $(__WXLIB_ODBC_p) $(__WXLIB_ADV_p) $(__WXLIB_HTML_p) $(__WXLIB_XML_p) $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) -lwxzlib$(WXDEBUGFLAG) -lwxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG) -lwxexpat$(WXDEBUGFLAG) $(EXTRALIBS_FOR_BASE) $(__UNICOWS_LIB_p) $(__GDIPLUS_LIB_p) -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32 -lodbc32
|
||||
endif
|
||||
|
||||
$(OBJS)\dbtest_dbtest.o: ./dbtest.cpp
|
||||
$(CXX) -c -o $@ $(DBTEST_CXXFLAGS) $(CPPDEPS) $<
|
||||
|
||||
$(OBJS)\dbtest_listdb.o: ./listdb.cpp
|
||||
$(CXX) -c -o $@ $(DBTEST_CXXFLAGS) $(CPPDEPS) $<
|
||||
|
||||
$(OBJS)\dbtest_dbtest_rc.o: ./dbtest.rc
|
||||
windres --use-temp-file -i$< -o$@ --define __WXMSW__ $(__WXUNIV_DEFINE_p_1) $(__DEBUG_DEFINE_p_1) $(__EXCEPTIONS_DEFINE_p_1) $(__RTTI_DEFINE_p_1) $(__THREAD_DEFINE_p_1) $(__UNICODE_DEFINE_p_1) $(__MSLU_DEFINE_p_1) $(__GFXCTX_DEFINE_p_1) --include-dir $(SETUPHDIR) --include-dir ./../../include --include-dir . $(__DLLFLAG_p_1) --include-dir ./../../samples --define NOPCH
|
||||
|
||||
.PHONY: all clean
|
||||
|
||||
|
||||
# Dependencies tracking:
|
||||
-include $(OBJS)/*.d
|
@@ -1,114 +0,0 @@
|
||||
# =========================================================================
|
||||
# This makefile was generated by
|
||||
# Bakefile 0.2.2 (http://bakefile.sourceforge.net)
|
||||
# Do not modify, all changes will be overwritten!
|
||||
# =========================================================================
|
||||
|
||||
|
||||
|
||||
# -------------------------------------------------------------------------
|
||||
# These are configurable options:
|
||||
# -------------------------------------------------------------------------
|
||||
|
||||
# C++ compiler
|
||||
CXX := g++
|
||||
|
||||
# Standard flags for C++
|
||||
CXXFLAGS :=
|
||||
|
||||
# Standard preprocessor flags (common for CC and CXX)
|
||||
CPPFLAGS :=
|
||||
|
||||
# Standard linker flags
|
||||
LDFLAGS :=
|
||||
|
||||
# Location and arguments of wx-config script
|
||||
WX_CONFIG := wx-config
|
||||
|
||||
# Port of the wx library to build against [gtk1,gtk2,msw,x11,motif,mgl,mac,dfb]
|
||||
WX_PORT := $(shell $(WX_CONFIG) --selected-config | cut -d '-' -f 1)
|
||||
|
||||
# Use DLL build of wx library to use? [0,1]
|
||||
WX_SHARED := $(shell if test -z `$(WX_CONFIG) --selected-config | cut -d '-' -f 5`; then echo 1; else echo 0; fi)
|
||||
|
||||
# Compile Unicode build of wxWidgets? [0,1]
|
||||
WX_UNICODE := $(shell $(WX_CONFIG) --selected-config | cut -d '-' -f 2 | sed 's/unicode/1/;s/ansi/0/')
|
||||
|
||||
# Use debug build of wxWidgets (define __WXDEBUG__)? [0,1]
|
||||
WX_DEBUG := $(shell $(WX_CONFIG) --selected-config | cut -d '-' -f 3 | sed 's/debug/1/;s/release/0/')
|
||||
|
||||
# Version of the wx library to build against.
|
||||
WX_VERSION := $(shell $(WX_CONFIG) --selected-config | sed -e 's/.*-\([0-9]*\)\.\([0-9]*\)$$/\1\2/')
|
||||
|
||||
|
||||
|
||||
# -------------------------------------------------------------------------
|
||||
# Do not modify the rest of this file!
|
||||
# -------------------------------------------------------------------------
|
||||
|
||||
### Variables: ###
|
||||
|
||||
CPPDEPS = -MT$@ -MF`echo $@ | sed -e 's,\.o$$,.d,'` -MD
|
||||
WX_VERSION_MAJOR = $(shell echo $(WX_VERSION) | cut -c1,1)
|
||||
WX_VERSION_MINOR = $(shell echo $(WX_VERSION) | cut -c2,2)
|
||||
WX_CONFIG_FLAGS = $(WX_CONFIG_DEBUG_FLAG) $(WX_CONFIG_UNICODE_FLAG) \
|
||||
$(WX_CONFIG_SHARED_FLAG) --toolkit=$(WX_PORT) \
|
||||
--version=$(WX_VERSION_MAJOR).$(WX_VERSION_MINOR)
|
||||
DBTEST_CXXFLAGS = -I. `$(WX_CONFIG) --cxxflags $(WX_CONFIG_FLAGS)` $(CPPFLAGS) \
|
||||
$(CXXFLAGS)
|
||||
DBTEST_OBJECTS = \
|
||||
dbtest_dbtest.o \
|
||||
dbtest_listdb.o
|
||||
|
||||
### Conditionally set variables: ###
|
||||
|
||||
ifeq ($(WX_DEBUG),0)
|
||||
WX_CONFIG_DEBUG_FLAG = --debug=no
|
||||
endif
|
||||
ifeq ($(WX_DEBUG),1)
|
||||
WX_CONFIG_DEBUG_FLAG = --debug=yes
|
||||
endif
|
||||
ifeq ($(WX_UNICODE),0)
|
||||
WX_CONFIG_UNICODE_FLAG = --unicode=no
|
||||
endif
|
||||
ifeq ($(WX_UNICODE),1)
|
||||
WX_CONFIG_UNICODE_FLAG = --unicode=yes
|
||||
endif
|
||||
ifeq ($(WX_SHARED),0)
|
||||
WX_CONFIG_SHARED_FLAG = --static=yes
|
||||
endif
|
||||
ifeq ($(WX_SHARED),1)
|
||||
WX_CONFIG_SHARED_FLAG = --static=no
|
||||
endif
|
||||
|
||||
|
||||
### Targets: ###
|
||||
|
||||
all: test_for_selected_wxbuild dbtest
|
||||
|
||||
install: all
|
||||
|
||||
uninstall:
|
||||
|
||||
clean:
|
||||
rm -f ./*.o
|
||||
rm -f ./*.d
|
||||
rm -f dbtest
|
||||
|
||||
test_for_selected_wxbuild:
|
||||
@$(WX_CONFIG) $(WX_CONFIG_FLAGS)
|
||||
|
||||
dbtest: $(DBTEST_OBJECTS)
|
||||
$(CXX) -o $@ $(DBTEST_OBJECTS) $(LDFLAGS) `$(WX_CONFIG) $(WX_CONFIG_FLAGS) --libs dbgrid,odbc,adv,html,xml,core,base`
|
||||
|
||||
dbtest_dbtest.o: ./dbtest.cpp
|
||||
$(CXX) -c -o $@ $(DBTEST_CXXFLAGS) $(CPPDEPS) $<
|
||||
|
||||
dbtest_listdb.o: ./listdb.cpp
|
||||
$(CXX) -c -o $@ $(DBTEST_CXXFLAGS) $(CPPDEPS) $<
|
||||
|
||||
.PHONY: all install uninstall clean
|
||||
|
||||
|
||||
# Dependencies tracking:
|
||||
-include ./*.d
|
@@ -1,340 +0,0 @@
|
||||
# =========================================================================
|
||||
# This makefile was generated by
|
||||
# Bakefile 0.2.2 (http://bakefile.sourceforge.net)
|
||||
# Do not modify, all changes will be overwritten!
|
||||
# =========================================================================
|
||||
|
||||
!include <../../build/msw/config.vc>
|
||||
|
||||
# -------------------------------------------------------------------------
|
||||
# Do not modify the rest of this file!
|
||||
# -------------------------------------------------------------------------
|
||||
|
||||
### Variables: ###
|
||||
|
||||
WX_RELEASE_NODOT = 29
|
||||
COMPILER_PREFIX = vc
|
||||
OBJS = \
|
||||
$(COMPILER_PREFIX)_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)$(DIR_SUFFIX_CPU)
|
||||
LIBDIRNAME = \
|
||||
.\..\..\lib\$(COMPILER_PREFIX)$(DIR_SUFFIX_CPU)_$(LIBTYPE_SUFFIX)$(CFG)
|
||||
SETUPHDIR = \
|
||||
$(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
|
||||
DBTEST_CXXFLAGS = /M$(__RUNTIME_LIBS_8)$(__DEBUGRUNTIME_3) /DWIN32 \
|
||||
$(__DEBUGINFO_0) /Fd$(OBJS)\dbtest.pdb $(____DEBUGRUNTIME_2_p) \
|
||||
$(__OPTIMIZEFLAG_4) $(__NO_VC_CRTDBG_p) /D__WXMSW__ $(__WXUNIV_DEFINE_p) \
|
||||
$(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
|
||||
$(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \
|
||||
$(__GFXCTX_DEFINE_p) /I$(SETUPHDIR) /I.\..\..\include /W4 /I. $(__DLLFLAG_p) \
|
||||
/D_WINDOWS /I.\..\..\samples /DNOPCH $(__RTTIFLAG_9) $(__EXCEPTIONSFLAG_10) \
|
||||
$(CPPFLAGS) $(CXXFLAGS)
|
||||
DBTEST_OBJECTS = \
|
||||
$(OBJS)\dbtest_dbtest.obj \
|
||||
$(OBJS)\dbtest_listdb.obj \
|
||||
$(OBJS)\dbtest_dbtest.res
|
||||
|
||||
### Conditionally set variables: ###
|
||||
|
||||
!if "$(USE_GUI)" == "0"
|
||||
PORTNAME = base
|
||||
!endif
|
||||
!if "$(USE_GUI)" == "1"
|
||||
PORTNAME = msw
|
||||
!endif
|
||||
!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
|
||||
WXDEBUGFLAG = d
|
||||
!endif
|
||||
!if "$(DEBUG_FLAG)" == "1"
|
||||
WXDEBUGFLAG = d
|
||||
!endif
|
||||
!if "$(UNICODE)" == "1"
|
||||
WXUNICODEFLAG = u
|
||||
!endif
|
||||
!if "$(WXUNIV)" == "1"
|
||||
WXUNIVNAME = univ
|
||||
!endif
|
||||
!if "$(TARGET_CPU)" == "amd64"
|
||||
DIR_SUFFIX_CPU = _amd64
|
||||
!endif
|
||||
!if "$(TARGET_CPU)" == "amd64"
|
||||
DIR_SUFFIX_CPU = _amd64
|
||||
!endif
|
||||
!if "$(TARGET_CPU)" == "ia64"
|
||||
DIR_SUFFIX_CPU = _ia64
|
||||
!endif
|
||||
!if "$(TARGET_CPU)" == "ia64"
|
||||
DIR_SUFFIX_CPU = _ia64
|
||||
!endif
|
||||
!if "$(SHARED)" == "1"
|
||||
WXDLLFLAG = dll
|
||||
!endif
|
||||
!if "$(SHARED)" == "0"
|
||||
LIBTYPE_SUFFIX = lib
|
||||
!endif
|
||||
!if "$(SHARED)" == "1"
|
||||
LIBTYPE_SUFFIX = dll
|
||||
!endif
|
||||
!if "$(TARGET_CPU)" == "amd64"
|
||||
LINK_TARGET_CPU = /MACHINE:AMD64
|
||||
!endif
|
||||
!if "$(TARGET_CPU)" == "amd64"
|
||||
LINK_TARGET_CPU = /MACHINE:AMD64
|
||||
!endif
|
||||
!if "$(TARGET_CPU)" == "ia64"
|
||||
LINK_TARGET_CPU = /MACHINE:IA64
|
||||
!endif
|
||||
!if "$(TARGET_CPU)" == "ia64"
|
||||
LINK_TARGET_CPU = /MACHINE:IA64
|
||||
!endif
|
||||
!if "$(MONOLITHIC)" == "0"
|
||||
EXTRALIBS_FOR_BASE =
|
||||
!endif
|
||||
!if "$(MONOLITHIC)" == "1"
|
||||
EXTRALIBS_FOR_BASE =
|
||||
!endif
|
||||
!if "$(USE_ODBC)" == "1"
|
||||
__dbtest___depname = $(OBJS)\dbtest.exe
|
||||
!endif
|
||||
!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
|
||||
__DEBUGINFO_0 = /Zi
|
||||
!endif
|
||||
!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
|
||||
__DEBUGINFO_0 =
|
||||
!endif
|
||||
!if "$(DEBUG_INFO)" == "0"
|
||||
__DEBUGINFO_0 =
|
||||
!endif
|
||||
!if "$(DEBUG_INFO)" == "1"
|
||||
__DEBUGINFO_0 = /Zi
|
||||
!endif
|
||||
!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
|
||||
__DEBUGINFO_1 = /DEBUG
|
||||
!endif
|
||||
!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
|
||||
__DEBUGINFO_1 =
|
||||
!endif
|
||||
!if "$(DEBUG_INFO)" == "0"
|
||||
__DEBUGINFO_1 =
|
||||
!endif
|
||||
!if "$(DEBUG_INFO)" == "1"
|
||||
__DEBUGINFO_1 = /DEBUG
|
||||
!endif
|
||||
!if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
|
||||
____DEBUGRUNTIME_2_p = /D_DEBUG
|
||||
!endif
|
||||
!if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
|
||||
____DEBUGRUNTIME_2_p =
|
||||
!endif
|
||||
!if "$(DEBUG_RUNTIME_LIBS)" == "0"
|
||||
____DEBUGRUNTIME_2_p =
|
||||
!endif
|
||||
!if "$(DEBUG_RUNTIME_LIBS)" == "1"
|
||||
____DEBUGRUNTIME_2_p = /D_DEBUG
|
||||
!endif
|
||||
!if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
|
||||
____DEBUGRUNTIME_2_p_1 = /d _DEBUG
|
||||
!endif
|
||||
!if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
|
||||
____DEBUGRUNTIME_2_p_1 =
|
||||
!endif
|
||||
!if "$(DEBUG_RUNTIME_LIBS)" == "0"
|
||||
____DEBUGRUNTIME_2_p_1 =
|
||||
!endif
|
||||
!if "$(DEBUG_RUNTIME_LIBS)" == "1"
|
||||
____DEBUGRUNTIME_2_p_1 = /d _DEBUG
|
||||
!endif
|
||||
!if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
|
||||
__DEBUGRUNTIME_3 = d
|
||||
!endif
|
||||
!if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
|
||||
__DEBUGRUNTIME_3 =
|
||||
!endif
|
||||
!if "$(DEBUG_RUNTIME_LIBS)" == "0"
|
||||
__DEBUGRUNTIME_3 =
|
||||
!endif
|
||||
!if "$(DEBUG_RUNTIME_LIBS)" == "1"
|
||||
__DEBUGRUNTIME_3 = d
|
||||
!endif
|
||||
!if "$(BUILD)" == "debug"
|
||||
__OPTIMIZEFLAG_4 = /Od
|
||||
!endif
|
||||
!if "$(BUILD)" == "release"
|
||||
__OPTIMIZEFLAG_4 = /O2
|
||||
!endif
|
||||
!if "$(USE_THREADS)" == "0"
|
||||
__THREADSFLAG_7 = L
|
||||
!endif
|
||||
!if "$(USE_THREADS)" == "1"
|
||||
__THREADSFLAG_7 = T
|
||||
!endif
|
||||
!if "$(RUNTIME_LIBS)" == "dynamic"
|
||||
__RUNTIME_LIBS_8 = D
|
||||
!endif
|
||||
!if "$(RUNTIME_LIBS)" == "static"
|
||||
__RUNTIME_LIBS_8 = $(__THREADSFLAG_7)
|
||||
!endif
|
||||
!if "$(USE_RTTI)" == "0"
|
||||
__RTTIFLAG_9 =
|
||||
!endif
|
||||
!if "$(USE_RTTI)" == "1"
|
||||
__RTTIFLAG_9 = /GR
|
||||
!endif
|
||||
!if "$(USE_EXCEPTIONS)" == "0"
|
||||
__EXCEPTIONSFLAG_10 =
|
||||
!endif
|
||||
!if "$(USE_EXCEPTIONS)" == "1"
|
||||
__EXCEPTIONSFLAG_10 = /EHsc
|
||||
!endif
|
||||
!if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
|
||||
__NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
|
||||
!endif
|
||||
!if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
|
||||
__NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
|
||||
!endif
|
||||
!if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
|
||||
__NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__
|
||||
!endif
|
||||
!if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
|
||||
__NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__
|
||||
!endif
|
||||
!if "$(WXUNIV)" == "1"
|
||||
__WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
|
||||
!endif
|
||||
!if "$(WXUNIV)" == "1"
|
||||
__WXUNIV_DEFINE_p_1 = /d __WXUNIVERSAL__
|
||||
!endif
|
||||
!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
|
||||
__DEBUG_DEFINE_p = /D__WXDEBUG__
|
||||
!endif
|
||||
!if "$(DEBUG_FLAG)" == "1"
|
||||
__DEBUG_DEFINE_p = /D__WXDEBUG__
|
||||
!endif
|
||||
!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
|
||||
__DEBUG_DEFINE_p_1 = /d __WXDEBUG__
|
||||
!endif
|
||||
!if "$(DEBUG_FLAG)" == "1"
|
||||
__DEBUG_DEFINE_p_1 = /d __WXDEBUG__
|
||||
!endif
|
||||
!if "$(USE_EXCEPTIONS)" == "0"
|
||||
__EXCEPTIONS_DEFINE_p = /DwxNO_EXCEPTIONS
|
||||
!endif
|
||||
!if "$(USE_EXCEPTIONS)" == "0"
|
||||
__EXCEPTIONS_DEFINE_p_1 = /d wxNO_EXCEPTIONS
|
||||
!endif
|
||||
!if "$(USE_RTTI)" == "0"
|
||||
__RTTI_DEFINE_p = /DwxNO_RTTI
|
||||
!endif
|
||||
!if "$(USE_RTTI)" == "0"
|
||||
__RTTI_DEFINE_p_1 = /d wxNO_RTTI
|
||||
!endif
|
||||
!if "$(USE_THREADS)" == "0"
|
||||
__THREAD_DEFINE_p = /DwxNO_THREADS
|
||||
!endif
|
||||
!if "$(USE_THREADS)" == "0"
|
||||
__THREAD_DEFINE_p_1 = /d wxNO_THREADS
|
||||
!endif
|
||||
!if "$(UNICODE)" == "1"
|
||||
__UNICODE_DEFINE_p = /D_UNICODE
|
||||
!endif
|
||||
!if "$(UNICODE)" == "1"
|
||||
__UNICODE_DEFINE_p_1 = /d _UNICODE
|
||||
!endif
|
||||
!if "$(MSLU)" == "1"
|
||||
__MSLU_DEFINE_p = /DwxUSE_UNICODE_MSLU=1
|
||||
!endif
|
||||
!if "$(MSLU)" == "1"
|
||||
__MSLU_DEFINE_p_1 = /d wxUSE_UNICODE_MSLU=1
|
||||
!endif
|
||||
!if "$(USE_GDIPLUS)" == "1"
|
||||
__GFXCTX_DEFINE_p = /DwxUSE_GRAPHICS_CONTEXT=1
|
||||
!endif
|
||||
!if "$(USE_GDIPLUS)" == "1"
|
||||
__GFXCTX_DEFINE_p_1 = /d wxUSE_GRAPHICS_CONTEXT=1
|
||||
!endif
|
||||
!if "$(SHARED)" == "1"
|
||||
__DLLFLAG_p = /DWXUSINGDLL
|
||||
!endif
|
||||
!if "$(SHARED)" == "1"
|
||||
__DLLFLAG_p_1 = /d WXUSINGDLL
|
||||
!endif
|
||||
!if "$(MONOLITHIC)" == "0"
|
||||
__WXLIB_DBGRID_p = \
|
||||
wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_dbgrid.lib
|
||||
!endif
|
||||
!if "$(MONOLITHIC)" == "0" && "$(USE_ODBC)" == "1"
|
||||
__WXLIB_ODBC_p = \
|
||||
wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_odbc.lib
|
||||
!endif
|
||||
!if "$(MONOLITHIC)" == "0"
|
||||
__WXLIB_ADV_p = \
|
||||
wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_adv.lib
|
||||
!endif
|
||||
!if "$(MONOLITHIC)" == "0"
|
||||
__WXLIB_HTML_p = \
|
||||
wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_html.lib
|
||||
!endif
|
||||
!if "$(MONOLITHIC)" == "0"
|
||||
__WXLIB_XML_p = \
|
||||
wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_xml.lib
|
||||
!endif
|
||||
!if "$(MONOLITHIC)" == "0"
|
||||
__WXLIB_CORE_p = \
|
||||
wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
|
||||
!endif
|
||||
!if "$(MONOLITHIC)" == "0"
|
||||
__WXLIB_BASE_p = \
|
||||
wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
|
||||
!endif
|
||||
!if "$(MONOLITHIC)" == "1"
|
||||
__WXLIB_MONO_p = \
|
||||
wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
|
||||
!endif
|
||||
!if "$(USE_GUI)" == "1"
|
||||
__LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
|
||||
!endif
|
||||
!if "$(USE_GUI)" == "1"
|
||||
__LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
|
||||
!endif
|
||||
!if "$(USE_GUI)" == "1"
|
||||
__LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
|
||||
!endif
|
||||
!if "$(MSLU)" == "1"
|
||||
__UNICOWS_LIB_p = unicows.lib
|
||||
!endif
|
||||
!if "$(USE_GDIPLUS)" == "1"
|
||||
__GDIPLUS_LIB_p = gdiplus.lib
|
||||
!endif
|
||||
|
||||
|
||||
all: $(OBJS)
|
||||
$(OBJS):
|
||||
-if not exist $(OBJS) mkdir $(OBJS)
|
||||
|
||||
### Targets: ###
|
||||
|
||||
all: $(__dbtest___depname)
|
||||
|
||||
clean:
|
||||
-if exist $(OBJS)\*.obj del $(OBJS)\*.obj
|
||||
-if exist $(OBJS)\*.res del $(OBJS)\*.res
|
||||
-if exist $(OBJS)\*.pch del $(OBJS)\*.pch
|
||||
-if exist $(OBJS)\dbtest.exe del $(OBJS)\dbtest.exe
|
||||
-if exist $(OBJS)\dbtest.ilk del $(OBJS)\dbtest.ilk
|
||||
-if exist $(OBJS)\dbtest.pdb del $(OBJS)\dbtest.pdb
|
||||
|
||||
!if "$(USE_ODBC)" == "1"
|
||||
$(OBJS)\dbtest.exe: $(DBTEST_OBJECTS) $(OBJS)\dbtest_dbtest.res
|
||||
link /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_1) $(LINK_TARGET_CPU) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:WINDOWS @<<
|
||||
$(DBTEST_OBJECTS) $(__WXLIB_DBGRID_p) $(__WXLIB_ODBC_p) $(__WXLIB_ADV_p) $(__WXLIB_HTML_p) $(__WXLIB_XML_p) $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib $(EXTRALIBS_FOR_BASE) $(__UNICOWS_LIB_p) $(__GDIPLUS_LIB_p) kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib
|
||||
<<
|
||||
!endif
|
||||
|
||||
$(OBJS)\dbtest_dbtest.obj: .\dbtest.cpp
|
||||
$(CXX) /c /nologo /TP /Fo$@ $(DBTEST_CXXFLAGS) $**
|
||||
|
||||
$(OBJS)\dbtest_listdb.obj: .\listdb.cpp
|
||||
$(CXX) /c /nologo /TP /Fo$@ $(DBTEST_CXXFLAGS) $**
|
||||
|
||||
$(OBJS)\dbtest_dbtest.res: .\dbtest.rc
|
||||
rc /fo$@ /d WIN32 $(____DEBUGRUNTIME_2_p_1) $(__NO_VC_CRTDBG_p_1) /d __WXMSW__ $(__WXUNIV_DEFINE_p_1) $(__DEBUG_DEFINE_p_1) $(__EXCEPTIONS_DEFINE_p_1) $(__RTTI_DEFINE_p_1) $(__THREAD_DEFINE_p_1) $(__UNICODE_DEFINE_p_1) $(__MSLU_DEFINE_p_1) $(__GFXCTX_DEFINE_p_1) /i $(SETUPHDIR) /i .\..\..\include /i . $(__DLLFLAG_p_1) /d _WINDOWS /i .\..\..\samples /d NOPCH $**
|
||||
|
@@ -1,300 +0,0 @@
|
||||
# =========================================================================
|
||||
# This makefile was generated by
|
||||
# Bakefile 0.2.2 (http://bakefile.sourceforge.net)
|
||||
# Do not modify, all changes will be overwritten!
|
||||
# =========================================================================
|
||||
|
||||
!include ../../build/msw/config.wat
|
||||
|
||||
# -------------------------------------------------------------------------
|
||||
# Do not modify the rest of this file!
|
||||
# -------------------------------------------------------------------------
|
||||
|
||||
# Speed up compilation a bit:
|
||||
!ifdef __LOADDLL__
|
||||
! loaddll wcc wccd
|
||||
! loaddll wccaxp wccdaxp
|
||||
! loaddll wcc386 wccd386
|
||||
! loaddll wpp wppdi86
|
||||
! loaddll wppaxp wppdaxp
|
||||
! loaddll wpp386 wppd386
|
||||
! loaddll wlink wlink
|
||||
! loaddll wlib wlibd
|
||||
!endif
|
||||
|
||||
# We need these variables in some bakefile-made rules:
|
||||
WATCOM_CWD = $+ $(%cdrive):$(%cwd) $-
|
||||
|
||||
### Conditionally set variables: ###
|
||||
|
||||
PORTNAME =
|
||||
!ifeq USE_GUI 0
|
||||
PORTNAME = base
|
||||
!endif
|
||||
!ifeq USE_GUI 1
|
||||
PORTNAME = msw
|
||||
!endif
|
||||
WXDEBUGFLAG =
|
||||
!ifeq BUILD debug
|
||||
!ifeq DEBUG_FLAG default
|
||||
WXDEBUGFLAG = d
|
||||
!endif
|
||||
!endif
|
||||
!ifeq DEBUG_FLAG 1
|
||||
WXDEBUGFLAG = d
|
||||
!endif
|
||||
WXUNICODEFLAG =
|
||||
!ifeq UNICODE 1
|
||||
WXUNICODEFLAG = u
|
||||
!endif
|
||||
WXUNIVNAME =
|
||||
!ifeq WXUNIV 1
|
||||
WXUNIVNAME = univ
|
||||
!endif
|
||||
WXDLLFLAG =
|
||||
!ifeq SHARED 1
|
||||
WXDLLFLAG = dll
|
||||
!endif
|
||||
LIBTYPE_SUFFIX =
|
||||
!ifeq SHARED 0
|
||||
LIBTYPE_SUFFIX = lib
|
||||
!endif
|
||||
!ifeq SHARED 1
|
||||
LIBTYPE_SUFFIX = dll
|
||||
!endif
|
||||
EXTRALIBS_FOR_BASE =
|
||||
!ifeq MONOLITHIC 0
|
||||
EXTRALIBS_FOR_BASE =
|
||||
!endif
|
||||
!ifeq MONOLITHIC 1
|
||||
EXTRALIBS_FOR_BASE =
|
||||
!endif
|
||||
__dbtest___depname =
|
||||
!ifeq USE_ODBC 1
|
||||
__dbtest___depname = $(OBJS)\dbtest.exe
|
||||
!endif
|
||||
__DEBUGINFO_0 =
|
||||
!ifeq BUILD debug
|
||||
!ifeq DEBUG_INFO default
|
||||
__DEBUGINFO_0 = -d2
|
||||
!endif
|
||||
!endif
|
||||
!ifeq BUILD release
|
||||
!ifeq DEBUG_INFO default
|
||||
__DEBUGINFO_0 = -d0
|
||||
!endif
|
||||
!endif
|
||||
!ifeq DEBUG_INFO 0
|
||||
__DEBUGINFO_0 = -d0
|
||||
!endif
|
||||
!ifeq DEBUG_INFO 1
|
||||
__DEBUGINFO_0 = -d2
|
||||
!endif
|
||||
__DEBUGINFO_1 =
|
||||
!ifeq BUILD debug
|
||||
!ifeq DEBUG_INFO default
|
||||
__DEBUGINFO_1 = debug all
|
||||
!endif
|
||||
!endif
|
||||
!ifeq BUILD release
|
||||
!ifeq DEBUG_INFO default
|
||||
__DEBUGINFO_1 =
|
||||
!endif
|
||||
!endif
|
||||
!ifeq DEBUG_INFO 0
|
||||
__DEBUGINFO_1 =
|
||||
!endif
|
||||
!ifeq DEBUG_INFO 1
|
||||
__DEBUGINFO_1 = debug all
|
||||
!endif
|
||||
__OPTIMIZEFLAG_2 =
|
||||
!ifeq BUILD debug
|
||||
__OPTIMIZEFLAG_2 = -od
|
||||
!endif
|
||||
!ifeq BUILD release
|
||||
__OPTIMIZEFLAG_2 = -ot -ox
|
||||
!endif
|
||||
__THREADSFLAG_5 =
|
||||
!ifeq USE_THREADS 0
|
||||
__THREADSFLAG_5 =
|
||||
!endif
|
||||
!ifeq USE_THREADS 1
|
||||
__THREADSFLAG_5 = -bm
|
||||
!endif
|
||||
__RUNTIME_LIBS_6 =
|
||||
!ifeq RUNTIME_LIBS dynamic
|
||||
__RUNTIME_LIBS_6 = -br
|
||||
!endif
|
||||
!ifeq RUNTIME_LIBS static
|
||||
__RUNTIME_LIBS_6 =
|
||||
!endif
|
||||
__RTTIFLAG_7 =
|
||||
!ifeq USE_RTTI 0
|
||||
__RTTIFLAG_7 =
|
||||
!endif
|
||||
!ifeq USE_RTTI 1
|
||||
__RTTIFLAG_7 = -xr
|
||||
!endif
|
||||
__EXCEPTIONSFLAG_8 =
|
||||
!ifeq USE_EXCEPTIONS 0
|
||||
__EXCEPTIONSFLAG_8 =
|
||||
!endif
|
||||
!ifeq USE_EXCEPTIONS 1
|
||||
__EXCEPTIONSFLAG_8 = -xs
|
||||
!endif
|
||||
__WXLIB_DBGRID_p =
|
||||
!ifeq MONOLITHIC 0
|
||||
__WXLIB_DBGRID_p = &
|
||||
wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_dbgrid.lib
|
||||
!endif
|
||||
__WXLIB_ODBC_p =
|
||||
!ifeq MONOLITHIC 0
|
||||
!ifeq USE_ODBC 1
|
||||
__WXLIB_ODBC_p = &
|
||||
wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_odbc.lib
|
||||
!endif
|
||||
!endif
|
||||
__WXLIB_ADV_p =
|
||||
!ifeq MONOLITHIC 0
|
||||
__WXLIB_ADV_p = &
|
||||
wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_adv.lib
|
||||
!endif
|
||||
__WXLIB_HTML_p =
|
||||
!ifeq MONOLITHIC 0
|
||||
__WXLIB_HTML_p = &
|
||||
wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_html.lib
|
||||
!endif
|
||||
__WXLIB_XML_p =
|
||||
!ifeq MONOLITHIC 0
|
||||
__WXLIB_XML_p = &
|
||||
wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_xml.lib
|
||||
!endif
|
||||
__WXLIB_CORE_p =
|
||||
!ifeq MONOLITHIC 0
|
||||
__WXLIB_CORE_p = &
|
||||
wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
|
||||
!endif
|
||||
__WXLIB_BASE_p =
|
||||
!ifeq MONOLITHIC 0
|
||||
__WXLIB_BASE_p = &
|
||||
wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
|
||||
!endif
|
||||
__WXLIB_MONO_p =
|
||||
!ifeq MONOLITHIC 1
|
||||
__WXLIB_MONO_p = &
|
||||
wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
|
||||
!endif
|
||||
__LIB_TIFF_p =
|
||||
!ifeq USE_GUI 1
|
||||
__LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
|
||||
!endif
|
||||
__LIB_JPEG_p =
|
||||
!ifeq USE_GUI 1
|
||||
__LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
|
||||
!endif
|
||||
__LIB_PNG_p =
|
||||
!ifeq USE_GUI 1
|
||||
__LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
|
||||
!endif
|
||||
__GDIPLUS_LIB_p =
|
||||
!ifeq USE_GDIPLUS 1
|
||||
__GDIPLUS_LIB_p = gdiplus.lib
|
||||
!endif
|
||||
__WXUNIV_DEFINE_p =
|
||||
!ifeq WXUNIV 1
|
||||
__WXUNIV_DEFINE_p = -d__WXUNIVERSAL__
|
||||
!endif
|
||||
__DEBUG_DEFINE_p =
|
||||
!ifeq BUILD debug
|
||||
!ifeq DEBUG_FLAG default
|
||||
__DEBUG_DEFINE_p = -d__WXDEBUG__
|
||||
!endif
|
||||
!endif
|
||||
!ifeq DEBUG_FLAG 1
|
||||
__DEBUG_DEFINE_p = -d__WXDEBUG__
|
||||
!endif
|
||||
__EXCEPTIONS_DEFINE_p =
|
||||
!ifeq USE_EXCEPTIONS 0
|
||||
__EXCEPTIONS_DEFINE_p = -dwxNO_EXCEPTIONS
|
||||
!endif
|
||||
__RTTI_DEFINE_p =
|
||||
!ifeq USE_RTTI 0
|
||||
__RTTI_DEFINE_p = -dwxNO_RTTI
|
||||
!endif
|
||||
__THREAD_DEFINE_p =
|
||||
!ifeq USE_THREADS 0
|
||||
__THREAD_DEFINE_p = -dwxNO_THREADS
|
||||
!endif
|
||||
__UNICODE_DEFINE_p =
|
||||
!ifeq UNICODE 1
|
||||
__UNICODE_DEFINE_p = -d_UNICODE
|
||||
!endif
|
||||
__GFXCTX_DEFINE_p =
|
||||
!ifeq USE_GDIPLUS 1
|
||||
__GFXCTX_DEFINE_p = -dwxUSE_GRAPHICS_CONTEXT=1
|
||||
!endif
|
||||
__DLLFLAG_p =
|
||||
!ifeq SHARED 1
|
||||
__DLLFLAG_p = -dWXUSINGDLL
|
||||
!endif
|
||||
|
||||
### Variables: ###
|
||||
|
||||
WX_RELEASE_NODOT = 29
|
||||
COMPILER_PREFIX = wat
|
||||
OBJS = &
|
||||
$(COMPILER_PREFIX)_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
|
||||
LIBDIRNAME = .\..\..\lib\$(COMPILER_PREFIX)_$(LIBTYPE_SUFFIX)$(CFG)
|
||||
SETUPHDIR = &
|
||||
$(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
|
||||
DBTEST_CXXFLAGS = $(__DEBUGINFO_0) $(__OPTIMIZEFLAG_2) $(__THREADSFLAG_5) &
|
||||
$(__RUNTIME_LIBS_6) -d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) &
|
||||
$(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) &
|
||||
$(__UNICODE_DEFINE_p) $(__GFXCTX_DEFINE_p) -i=$(SETUPHDIR) &
|
||||
-i=.\..\..\include -wx -wcd=549 -wcd=656 -wcd=657 -wcd=667 -i=. $(__DLLFLAG_p) &
|
||||
-i=.\..\..\samples -dNOPCH $(__RTTIFLAG_7) $(__EXCEPTIONSFLAG_8) $(CPPFLAGS) &
|
||||
$(CXXFLAGS)
|
||||
DBTEST_OBJECTS = &
|
||||
$(OBJS)\dbtest_dbtest.obj &
|
||||
$(OBJS)\dbtest_listdb.obj
|
||||
|
||||
|
||||
all : $(OBJS)
|
||||
$(OBJS) :
|
||||
-if not exist $(OBJS) mkdir $(OBJS)
|
||||
|
||||
### Targets: ###
|
||||
|
||||
all : .SYMBOLIC $(__dbtest___depname)
|
||||
|
||||
clean : .SYMBOLIC
|
||||
-if exist $(OBJS)\*.obj del $(OBJS)\*.obj
|
||||
-if exist $(OBJS)\*.res del $(OBJS)\*.res
|
||||
-if exist $(OBJS)\*.lbc del $(OBJS)\*.lbc
|
||||
-if exist $(OBJS)\*.ilk del $(OBJS)\*.ilk
|
||||
-if exist $(OBJS)\*.pch del $(OBJS)\*.pch
|
||||
-if exist $(OBJS)\dbtest.exe del $(OBJS)\dbtest.exe
|
||||
|
||||
!ifeq USE_ODBC 1
|
||||
$(OBJS)\dbtest.exe : $(DBTEST_OBJECTS) $(OBJS)\dbtest_dbtest.res
|
||||
@%create $(OBJS)\dbtest.lbc
|
||||
@%append $(OBJS)\dbtest.lbc option quiet
|
||||
@%append $(OBJS)\dbtest.lbc name $^@
|
||||
@%append $(OBJS)\dbtest.lbc option caseexact
|
||||
@%append $(OBJS)\dbtest.lbc $(LDFLAGS) $(__DEBUGINFO_1) libpath $(LIBDIRNAME) system nt_win ref '_WinMain@16'
|
||||
@for %i in ($(DBTEST_OBJECTS)) do @%append $(OBJS)\dbtest.lbc file %i
|
||||
@for %i in ( $(__WXLIB_DBGRID_p) $(__WXLIB_ODBC_p) $(__WXLIB_ADV_p) $(__WXLIB_HTML_p) $(__WXLIB_XML_p) $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib $(EXTRALIBS_FOR_BASE) $(__GDIPLUS_LIB_p) kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib) do @%append $(OBJS)\dbtest.lbc library %i
|
||||
@%append $(OBJS)\dbtest.lbc option resource=$(OBJS)\dbtest_dbtest.res
|
||||
@for %i in () do @%append $(OBJS)\dbtest.lbc option stack=%i
|
||||
wlink @$(OBJS)\dbtest.lbc
|
||||
!endif
|
||||
|
||||
$(OBJS)\dbtest_dbtest.obj : .AUTODEPEND .\dbtest.cpp
|
||||
$(CXX) -bt=nt -zq -fo=$^@ $(DBTEST_CXXFLAGS) $<
|
||||
|
||||
$(OBJS)\dbtest_listdb.obj : .AUTODEPEND .\listdb.cpp
|
||||
$(CXX) -bt=nt -zq -fo=$^@ $(DBTEST_CXXFLAGS) $<
|
||||
|
||||
$(OBJS)\dbtest_dbtest.res : .AUTODEPEND .\dbtest.rc
|
||||
wrc -q -ad -bt=nt -r -fo=$^@ -d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__GFXCTX_DEFINE_p) -i=$(SETUPHDIR) -i=.\..\..\include -i=. $(__DLLFLAG_p) -i=.\..\..\samples -dNOPCH $<
|
||||
|
Reference in New Issue
Block a user