2004-03-03 17:56:16 -05:00
|
|
|
# =========================================================================
|
|
|
|
# This makefile was generated by
|
2005-03-23 08:05:13 -05:00
|
|
|
# Bakefile 0.1.8 (http://bakefile.sourceforge.net)
|
2004-03-03 17:56:16 -05:00
|
|
|
# Do not modify, all changes will be overwritten!
|
|
|
|
# =========================================================================
|
|
|
|
|
|
|
|
!include <../build/msw/config.vc>
|
|
|
|
|
|
|
|
# -------------------------------------------------------------------------
|
|
|
|
# Do not modify the rest of this file!
|
|
|
|
# -------------------------------------------------------------------------
|
|
|
|
|
|
|
|
### Variables: ###
|
|
|
|
|
2005-04-11 11:50:13 -04:00
|
|
|
WX_RELEASE_NODOT = 26
|
2004-03-03 17:56:16 -05:00
|
|
|
OBJS = \
|
|
|
|
vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
|
2005-02-08 11:10:29 -05:00
|
|
|
LIBDIRNAME = .\..\lib\vc_$(LIBTYPE_SUFFIX)$(CFG)
|
2004-03-03 17:56:16 -05:00
|
|
|
SETUPHDIR = \
|
|
|
|
$(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
|
2005-04-17 08:58:24 -04:00
|
|
|
TEST_CXXFLAGS = /M$(__RUNTIME_LIBS_8)$(__DEBUGRUNTIME) /DWIN32 $(__DEBUGINFO) \
|
|
|
|
/Fd$(OBJS)\test.pdb $(____DEBUGRUNTIME) $(__OPTIMIZEFLAG) \
|
|
|
|
$(__NO_VC_CRTDBG_p) /D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
|
|
|
|
$(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) \
|
|
|
|
$(__UNICODE_DEFINE_p) /I.\..\include /I$(SETUPHDIR) /W4 /I. $(__DLLFLAG_p) \
|
|
|
|
/D_CONSOLE /DwxUSE_GUI=0 $(CPPUNIT_CFLAGS) $(__RTTIFLAG) $(__EXCEPTIONSFLAG) \
|
|
|
|
/Yu"testprec.h" /Fp"$(OBJS)\testprec_test.pch" $(CPPFLAGS) $(CXXFLAGS)
|
2004-03-03 17:56:16 -05:00
|
|
|
TEST_OBJECTS = \
|
2004-11-22 00:00:19 -05:00
|
|
|
$(OBJS)\test_dummy.obj \
|
2004-03-03 17:56:16 -05:00
|
|
|
$(OBJS)\test_test.obj \
|
2004-11-22 00:00:19 -05:00
|
|
|
$(OBJS)\test_archivetest.obj \
|
2005-02-10 09:06:08 -05:00
|
|
|
$(OBJS)\test_ziptest.obj \
|
2004-10-27 18:47:26 -04:00
|
|
|
$(OBJS)\test_arrays.obj \
|
2004-11-07 19:17:00 -05:00
|
|
|
$(OBJS)\test_datetimetest.obj \
|
|
|
|
$(OBJS)\test_fileconftest.obj \
|
2005-02-12 16:53:51 -05:00
|
|
|
$(OBJS)\test_filekind.obj \
|
2004-11-07 19:17:00 -05:00
|
|
|
$(OBJS)\test_filenametest.obj \
|
|
|
|
$(OBJS)\test_filesystest.obj \
|
|
|
|
$(OBJS)\test_fontmaptest.obj \
|
|
|
|
$(OBJS)\test_formatconvertertest.obj \
|
2004-05-22 13:52:44 -04:00
|
|
|
$(OBJS)\test_hashes.obj \
|
2004-12-08 17:39:22 -05:00
|
|
|
$(OBJS)\test_lists.obj \
|
2004-11-07 19:17:00 -05:00
|
|
|
$(OBJS)\test_longlongtest.obj \
|
|
|
|
$(OBJS)\test_mbconvtest.obj \
|
|
|
|
$(OBJS)\test_regextest.obj \
|
|
|
|
$(OBJS)\test_wxregextest.obj \
|
2004-04-20 14:55:09 -04:00
|
|
|
$(OBJS)\test_strings.obj \
|
2004-05-21 03:59:14 -04:00
|
|
|
$(OBJS)\test_stdstrings.obj \
|
2004-04-30 16:26:14 -04:00
|
|
|
$(OBJS)\test_unicode.obj \
|
2004-06-03 15:48:31 -04:00
|
|
|
$(OBJS)\test_crt.obj \
|
2004-04-18 15:26:20 -04:00
|
|
|
$(OBJS)\test_bstream.obj \
|
2004-12-08 17:39:22 -05:00
|
|
|
$(OBJS)\test_datastreamtest.obj \
|
2004-04-18 15:26:20 -04:00
|
|
|
$(OBJS)\test_ffilestream.obj \
|
|
|
|
$(OBJS)\test_filestream.obj \
|
2005-02-08 11:10:29 -05:00
|
|
|
$(OBJS)\test_largefile.obj \
|
2004-04-18 15:26:20 -04:00
|
|
|
$(OBJS)\test_memstream.obj \
|
2004-09-27 02:53:08 -04:00
|
|
|
$(OBJS)\test_sstream.obj \
|
2005-03-13 11:20:51 -05:00
|
|
|
$(OBJS)\test_tempfile.obj \
|
2004-11-22 00:00:19 -05:00
|
|
|
$(OBJS)\test_textstreamtest.obj \
|
2004-06-19 10:01:44 -04:00
|
|
|
$(OBJS)\test_zlibstream.obj \
|
2004-10-27 18:47:26 -04:00
|
|
|
$(OBJS)\test_uris.obj
|
2005-04-17 08:58:24 -04:00
|
|
|
TEST_GUI_CXXFLAGS = /M$(__RUNTIME_LIBS_23)$(__DEBUGRUNTIME) /DWIN32 \
|
|
|
|
$(__DEBUGINFO) /Fd$(OBJS)\test_gui.pdb $(____DEBUGRUNTIME) \
|
2004-12-12 07:35:45 -05:00
|
|
|
$(__OPTIMIZEFLAG) $(__NO_VC_CRTDBG_p) /D__WXMSW__ $(__WXUNIV_DEFINE_p) \
|
2005-03-23 08:05:13 -05:00
|
|
|
$(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
|
|
|
|
$(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) /I.\..\include /I$(SETUPHDIR) /W4 \
|
2004-12-12 14:25:46 -05:00
|
|
|
/I. $(__DLLFLAG_p) /I.\..\samples /DNOPCH $(CPPUNIT_CFLAGS) /D_CONSOLE \
|
2005-03-13 11:20:51 -05:00
|
|
|
$(__RTTIFLAG) $(__EXCEPTIONSFLAG) /Yu"testprec.h" \
|
2004-12-12 07:35:45 -05:00
|
|
|
/Fp"$(OBJS)\testprec_test_gui.pch" $(CPPFLAGS) $(CXXFLAGS)
|
|
|
|
TEST_GUI_OBJECTS = \
|
|
|
|
$(OBJS)\test_gui_sample.res \
|
|
|
|
$(OBJS)\test_gui_dummy.obj \
|
2004-12-12 14:25:46 -05:00
|
|
|
$(OBJS)\test_gui_test.obj \
|
2005-02-08 11:10:29 -05:00
|
|
|
$(OBJS)\test_gui_rect.obj \
|
|
|
|
$(OBJS)\test_gui_size.obj \
|
|
|
|
$(OBJS)\test_gui_point.obj
|
2004-03-03 17:56:16 -05:00
|
|
|
|
|
|
|
### 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
|
2005-02-08 11:10:29 -05:00
|
|
|
!if "$(SHARED)" == "0"
|
|
|
|
LIBTYPE_SUFFIX = lib
|
|
|
|
!endif
|
|
|
|
!if "$(SHARED)" == "1"
|
|
|
|
LIBTYPE_SUFFIX = dll
|
|
|
|
!endif
|
2004-10-27 18:47:26 -04:00
|
|
|
!if "$(MONOLITHIC)" == "0"
|
|
|
|
EXTRALIBS_FOR_BASE =
|
|
|
|
!endif
|
|
|
|
!if "$(MONOLITHIC)" == "1"
|
|
|
|
EXTRALIBS_FOR_BASE =
|
|
|
|
!endif
|
2005-03-13 11:20:51 -05:00
|
|
|
!if "$(RUNTIME_LIBS)" == "dynamic"
|
2005-03-23 08:05:13 -05:00
|
|
|
__RUNTIME_LIBS_8 = D
|
2005-03-13 11:20:51 -05:00
|
|
|
!endif
|
|
|
|
!if "$(RUNTIME_LIBS)" == "static"
|
2005-03-23 08:05:13 -05:00
|
|
|
__RUNTIME_LIBS_8 = $(__THREADSFLAG)
|
2005-03-13 11:20:51 -05:00
|
|
|
!endif
|
2004-12-12 07:35:45 -05:00
|
|
|
!if "$(MONOLITHIC)" == "0"
|
|
|
|
__WXLIB_NET_p = \
|
|
|
|
wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_net.lib
|
|
|
|
!endif
|
|
|
|
!if "$(USE_GUI)" == "1"
|
|
|
|
__test_gui___depname = $(OBJS)\test_gui.exe
|
|
|
|
!endif
|
2005-04-17 08:58:24 -04:00
|
|
|
!if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
|
|
|
|
____DEBUGRUNTIME_17_p_1 = /d _DEBUG
|
2004-12-12 07:35:45 -05:00
|
|
|
!endif
|
2005-04-17 08:58:24 -04:00
|
|
|
!if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
|
|
|
|
____DEBUGRUNTIME_17_p_1 =
|
2004-12-12 07:35:45 -05:00
|
|
|
!endif
|
|
|
|
!if "$(DEBUG_RUNTIME_LIBS)" == "0"
|
2005-03-23 08:05:13 -05:00
|
|
|
____DEBUGRUNTIME_17_p_1 =
|
2004-12-12 07:35:45 -05:00
|
|
|
!endif
|
|
|
|
!if "$(DEBUG_RUNTIME_LIBS)" == "1"
|
2005-03-23 08:05:13 -05:00
|
|
|
____DEBUGRUNTIME_17_p_1 = /d _DEBUG
|
2004-12-12 07:35:45 -05:00
|
|
|
!endif
|
2005-03-13 11:20:51 -05:00
|
|
|
!if "$(RUNTIME_LIBS)" == "dynamic"
|
2005-03-23 08:05:13 -05:00
|
|
|
__RUNTIME_LIBS_23 = D
|
2005-03-13 11:20:51 -05:00
|
|
|
!endif
|
|
|
|
!if "$(RUNTIME_LIBS)" == "static"
|
2005-03-23 08:05:13 -05:00
|
|
|
__RUNTIME_LIBS_23 = $(__THREADSFLAG)
|
2005-03-13 11:20:51 -05:00
|
|
|
!endif
|
2004-12-12 07:35:45 -05:00
|
|
|
!if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
|
|
|
|
__NO_VC_CRTDBG_p_3 = /d __NO_VC_CRTDBG__
|
|
|
|
!endif
|
|
|
|
!if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
|
|
|
|
__NO_VC_CRTDBG_p_3 = /d __NO_VC_CRTDBG__
|
|
|
|
!endif
|
|
|
|
!if "$(WXUNIV)" == "1"
|
|
|
|
__WXUNIV_DEFINE_p_3 = /d __WXUNIVERSAL__
|
|
|
|
!endif
|
|
|
|
!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
|
|
|
|
__DEBUG_DEFINE_p_3 = /d __WXDEBUG__
|
|
|
|
!endif
|
|
|
|
!if "$(DEBUG_FLAG)" == "1"
|
|
|
|
__DEBUG_DEFINE_p_3 = /d __WXDEBUG__
|
|
|
|
!endif
|
2005-03-23 08:05:13 -05:00
|
|
|
!if "$(USE_EXCEPTIONS)" == "0"
|
|
|
|
__EXCEPTIONS_DEFINE_p_3 = /d wxNO_EXCEPTIONS
|
|
|
|
!endif
|
|
|
|
!if "$(USE_RTTI)" == "0"
|
|
|
|
__RTTI_DEFINE_p_3 = /d wxNO_RTTI
|
|
|
|
!endif
|
|
|
|
!if "$(USE_THREADS)" == "0"
|
|
|
|
__THREAD_DEFINE_p_3 = /d wxNO_THREADS
|
|
|
|
!endif
|
2004-12-12 07:35:45 -05:00
|
|
|
!if "$(UNICODE)" == "1"
|
|
|
|
__UNICODE_DEFINE_p_3 = /d _UNICODE
|
|
|
|
!endif
|
|
|
|
!if "$(SHARED)" == "1"
|
|
|
|
__DLLFLAG_p_3 = /d WXUSINGDLL
|
|
|
|
!endif
|
|
|
|
!if "$(MONOLITHIC)" == "0"
|
|
|
|
__WXLIB_CORE_p = \
|
|
|
|
wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
|
2004-03-03 17:56:16 -05:00
|
|
|
!endif
|
|
|
|
!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
|
2004-12-12 07:35:45 -05:00
|
|
|
__DEBUGINFO = /Zi
|
2004-03-03 17:56:16 -05:00
|
|
|
!endif
|
|
|
|
!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
|
2004-12-12 07:35:45 -05:00
|
|
|
__DEBUGINFO =
|
2004-03-03 17:56:16 -05:00
|
|
|
!endif
|
|
|
|
!if "$(DEBUG_INFO)" == "0"
|
2004-12-12 07:35:45 -05:00
|
|
|
__DEBUGINFO =
|
2004-03-03 17:56:16 -05:00
|
|
|
!endif
|
|
|
|
!if "$(DEBUG_INFO)" == "1"
|
2004-12-12 07:35:45 -05:00
|
|
|
__DEBUGINFO = /Zi
|
2004-03-03 17:56:16 -05:00
|
|
|
!endif
|
2004-12-12 07:35:45 -05:00
|
|
|
!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
|
|
|
|
__DEBUGINFO_1 = /DEBUG
|
2004-03-03 17:56:16 -05:00
|
|
|
!endif
|
2004-12-12 07:35:45 -05:00
|
|
|
!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
|
|
|
|
__DEBUGINFO_1 =
|
2004-03-03 17:56:16 -05:00
|
|
|
!endif
|
2004-12-12 07:35:45 -05:00
|
|
|
!if "$(DEBUG_INFO)" == "0"
|
|
|
|
__DEBUGINFO_1 =
|
|
|
|
!endif
|
|
|
|
!if "$(DEBUG_INFO)" == "1"
|
|
|
|
__DEBUGINFO_1 = /DEBUG
|
2004-03-03 17:56:16 -05:00
|
|
|
!endif
|
2005-04-17 08:58:24 -04:00
|
|
|
!if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
|
|
|
|
____DEBUGRUNTIME = /D_DEBUG
|
2004-03-03 17:56:16 -05:00
|
|
|
!endif
|
2005-04-17 08:58:24 -04:00
|
|
|
!if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
|
|
|
|
____DEBUGRUNTIME =
|
2004-03-03 17:56:16 -05:00
|
|
|
!endif
|
2005-04-17 08:58:24 -04:00
|
|
|
!if "$(DEBUG_RUNTIME_LIBS)" == "0"
|
|
|
|
____DEBUGRUNTIME =
|
2004-03-03 17:56:16 -05:00
|
|
|
!endif
|
2005-04-17 08:58:24 -04:00
|
|
|
!if "$(DEBUG_RUNTIME_LIBS)" == "1"
|
|
|
|
____DEBUGRUNTIME = /D_DEBUG
|
2004-12-12 07:35:45 -05:00
|
|
|
!endif
|
2005-04-17 08:58:24 -04:00
|
|
|
!if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
|
|
|
|
__DEBUGRUNTIME = d
|
2004-12-12 07:35:45 -05:00
|
|
|
!endif
|
2005-04-17 08:58:24 -04:00
|
|
|
!if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
|
|
|
|
__DEBUGRUNTIME =
|
2004-12-12 07:35:45 -05:00
|
|
|
!endif
|
2005-04-17 08:58:24 -04:00
|
|
|
!if "$(DEBUG_RUNTIME_LIBS)" == "0"
|
|
|
|
__DEBUGRUNTIME =
|
2004-12-12 07:35:45 -05:00
|
|
|
!endif
|
2005-04-17 08:58:24 -04:00
|
|
|
!if "$(DEBUG_RUNTIME_LIBS)" == "1"
|
|
|
|
__DEBUGRUNTIME = d
|
2004-03-03 17:56:16 -05:00
|
|
|
!endif
|
|
|
|
!if "$(BUILD)" == "debug"
|
2004-12-12 07:35:45 -05:00
|
|
|
__OPTIMIZEFLAG = /Od
|
2004-03-03 17:56:16 -05:00
|
|
|
!endif
|
|
|
|
!if "$(BUILD)" == "release"
|
2004-12-12 07:35:45 -05:00
|
|
|
__OPTIMIZEFLAG = /O2
|
2004-03-03 17:56:16 -05:00
|
|
|
!endif
|
2005-03-13 11:20:51 -05:00
|
|
|
!if "$(USE_THREADS)" == "0"
|
|
|
|
__THREADSFLAG = L
|
2004-03-03 17:56:16 -05:00
|
|
|
!endif
|
2005-03-13 11:20:51 -05:00
|
|
|
!if "$(USE_THREADS)" == "1"
|
|
|
|
__THREADSFLAG = T
|
2004-03-03 17:56:16 -05:00
|
|
|
!endif
|
2005-03-13 11:20:51 -05:00
|
|
|
!if "$(USE_RTTI)" == "0"
|
|
|
|
__RTTIFLAG =
|
2004-03-03 17:56:16 -05:00
|
|
|
!endif
|
2005-03-13 11:20:51 -05:00
|
|
|
!if "$(USE_RTTI)" == "1"
|
|
|
|
__RTTIFLAG = /GR
|
2004-03-03 17:56:16 -05:00
|
|
|
!endif
|
|
|
|
!if "$(USE_EXCEPTIONS)" == "0"
|
2005-03-13 11:20:51 -05:00
|
|
|
__EXCEPTIONSFLAG =
|
2004-03-03 17:56:16 -05:00
|
|
|
!endif
|
|
|
|
!if "$(USE_EXCEPTIONS)" == "1"
|
2005-03-23 08:05:13 -05:00
|
|
|
__EXCEPTIONSFLAG = /EHsc
|
2004-03-03 17:56:16 -05:00
|
|
|
!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 "$(WXUNIV)" == "1"
|
|
|
|
__WXUNIV_DEFINE_p = /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
|
2005-03-23 08:05:13 -05:00
|
|
|
!if "$(USE_EXCEPTIONS)" == "0"
|
|
|
|
__EXCEPTIONS_DEFINE_p = /DwxNO_EXCEPTIONS
|
|
|
|
!endif
|
|
|
|
!if "$(USE_RTTI)" == "0"
|
|
|
|
__RTTI_DEFINE_p = /DwxNO_RTTI
|
|
|
|
!endif
|
|
|
|
!if "$(USE_THREADS)" == "0"
|
|
|
|
__THREAD_DEFINE_p = /DwxNO_THREADS
|
|
|
|
!endif
|
2004-03-03 17:56:16 -05:00
|
|
|
!if "$(UNICODE)" == "1"
|
|
|
|
__UNICODE_DEFINE_p = /D_UNICODE
|
|
|
|
!endif
|
2004-12-12 07:35:45 -05:00
|
|
|
!if "$(SHARED)" == "1"
|
|
|
|
__DLLFLAG_p = /DWXUSINGDLL
|
2004-11-07 19:17:00 -05:00
|
|
|
!endif
|
|
|
|
!if "$(MONOLITHIC)" == "0"
|
2004-09-27 02:53:08 -04:00
|
|
|
__WXLIB_BASE_p = \
|
|
|
|
wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
|
2004-03-03 17:56:16 -05:00
|
|
|
!endif
|
|
|
|
!if "$(MONOLITHIC)" == "1"
|
|
|
|
__WXLIB_MONO_p = \
|
2004-09-27 02:53:08 -04:00
|
|
|
wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
|
2004-03-03 17:56:16 -05:00
|
|
|
!endif
|
|
|
|
!if "$(USE_GUI)" == "1"
|
2004-10-08 07:20:24 -04:00
|
|
|
__LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
|
2004-03-03 17:56:16 -05:00
|
|
|
!endif
|
|
|
|
!if "$(USE_GUI)" == "1"
|
2004-10-08 07:20:24 -04:00
|
|
|
__LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
|
2004-03-03 17:56:16 -05:00
|
|
|
!endif
|
|
|
|
!if "$(USE_GUI)" == "1"
|
2004-10-08 07:20:24 -04:00
|
|
|
__LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
|
2004-03-03 17:56:16 -05:00
|
|
|
!endif
|
|
|
|
!if "$(MSLU)" == "1"
|
|
|
|
__UNICOWS_LIB_p = unicows.lib
|
|
|
|
!endif
|
|
|
|
|
|
|
|
|
|
|
|
all: $(OBJS)
|
|
|
|
$(OBJS):
|
|
|
|
-if not exist $(OBJS) mkdir $(OBJS)
|
|
|
|
|
|
|
|
### Targets: ###
|
|
|
|
|
2004-12-12 07:35:45 -05:00
|
|
|
all: $(OBJS)\test.exe $(__test_gui___depname) data
|
2004-03-03 17:56:16 -05:00
|
|
|
|
|
|
|
clean:
|
|
|
|
-if exist $(OBJS)\*.obj del $(OBJS)\*.obj
|
|
|
|
-if exist $(OBJS)\*.res del $(OBJS)\*.res
|
2005-02-08 11:10:29 -05:00
|
|
|
-if exist $(OBJS)\*.pch del $(OBJS)\*.pch
|
2004-03-03 17:56:16 -05:00
|
|
|
-if exist $(OBJS)\test.exe del $(OBJS)\test.exe
|
|
|
|
-if exist $(OBJS)\test.ilk del $(OBJS)\test.ilk
|
|
|
|
-if exist $(OBJS)\test.pdb del $(OBJS)\test.pdb
|
2004-12-12 07:35:45 -05:00
|
|
|
-if exist $(OBJS)\test_gui.exe del $(OBJS)\test_gui.exe
|
|
|
|
-if exist $(OBJS)\test_gui.ilk del $(OBJS)\test_gui.ilk
|
|
|
|
-if exist $(OBJS)\test_gui.pdb del $(OBJS)\test_gui.pdb
|
2004-03-03 17:56:16 -05:00
|
|
|
|
2004-11-22 00:00:19 -05:00
|
|
|
$(OBJS)\test.exe: $(OBJS)\test_dummy.obj $(TEST_OBJECTS)
|
2004-03-03 17:56:16 -05:00
|
|
|
link /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_1) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:CONSOLE $(CPPUNIT_LIBS) @<<
|
2004-11-07 19:17:00 -05:00
|
|
|
$(TEST_OBJECTS) $(__WXLIB_NET_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) 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 oleacc.lib odbc32.lib
|
2004-03-03 17:56:16 -05:00
|
|
|
<<
|
|
|
|
|
2004-12-12 07:35:45 -05:00
|
|
|
!if "$(USE_GUI)" == "1"
|
|
|
|
$(OBJS)\test_gui.exe: $(OBJS)\test_gui_dummy.obj $(TEST_GUI_OBJECTS) $(OBJS)\test_gui_sample.res
|
2004-12-12 14:25:46 -05:00
|
|
|
link /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_1) /LIBPATH:$(LIBDIRNAME) $(CPPUNIT_LIBS) /SUBSYSTEM:CONSOLE @<<
|
2004-12-12 07:35:45 -05:00
|
|
|
$(TEST_GUI_OBJECTS) $(__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) 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 oleacc.lib odbc32.lib
|
|
|
|
<<
|
|
|
|
!endif
|
|
|
|
|
2004-04-30 16:26:14 -04:00
|
|
|
data:
|
|
|
|
if not exist $(OBJS) mkdir $(OBJS)
|
|
|
|
for %f in (testdata.fc) do if not exist $(OBJS)\%f copy .\%f $(OBJS)
|
|
|
|
|
2004-11-22 00:00:19 -05:00
|
|
|
$(OBJS)\test_dummy.obj: .\dummy.cpp
|
|
|
|
$(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) /Yctestprec.h $**
|
|
|
|
|
2004-03-03 17:56:16 -05:00
|
|
|
$(OBJS)\test_test.obj: .\test.cpp
|
|
|
|
$(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) $**
|
|
|
|
|
2004-11-22 00:00:19 -05:00
|
|
|
$(OBJS)\test_archivetest.obj: .\archive\archivetest.cpp
|
|
|
|
$(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) $**
|
|
|
|
|
2005-02-10 09:06:08 -05:00
|
|
|
$(OBJS)\test_ziptest.obj: .\archive\ziptest.cpp
|
|
|
|
$(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) $**
|
|
|
|
|
2004-10-27 18:47:26 -04:00
|
|
|
$(OBJS)\test_arrays.obj: .\arrays\arrays.cpp
|
2004-03-05 18:14:23 -05:00
|
|
|
$(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) $**
|
2004-03-28 15:44:26 -05:00
|
|
|
|
2004-11-07 19:17:00 -05:00
|
|
|
$(OBJS)\test_datetimetest.obj: .\datetime\datetimetest.cpp
|
2004-04-21 16:17:18 -04:00
|
|
|
$(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) $**
|
|
|
|
|
2004-11-07 19:17:00 -05:00
|
|
|
$(OBJS)\test_fileconftest.obj: .\fileconf\fileconftest.cpp
|
2004-10-07 18:35:53 -04:00
|
|
|
$(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) $**
|
|
|
|
|
2005-02-12 16:53:51 -05:00
|
|
|
$(OBJS)\test_filekind.obj: .\filekind\filekind.cpp
|
2004-08-02 03:34:01 -04:00
|
|
|
$(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) $**
|
|
|
|
|
2005-02-12 16:53:51 -05:00
|
|
|
$(OBJS)\test_filenametest.obj: .\filename\filenametest.cpp
|
2004-03-28 15:44:26 -05:00
|
|
|
$(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) $**
|
2005-02-11 07:39:03 -05:00
|
|
|
|
2005-02-12 16:53:51 -05:00
|
|
|
$(OBJS)\test_filesystest.obj: .\filesys\filesystest.cpp
|
2005-02-11 07:39:03 -05:00
|
|
|
$(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) $**
|
2004-04-01 16:10:33 -05:00
|
|
|
|
2004-11-07 19:17:00 -05:00
|
|
|
$(OBJS)\test_fontmaptest.obj: .\fontmap\fontmaptest.cpp
|
2004-10-27 18:47:26 -04:00
|
|
|
$(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) $**
|
|
|
|
|
2004-11-07 19:17:00 -05:00
|
|
|
$(OBJS)\test_formatconvertertest.obj: .\formatconverter\formatconvertertest.cpp
|
2004-04-01 16:10:33 -05:00
|
|
|
$(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) $**
|
2004-04-06 08:15:27 -04:00
|
|
|
|
2004-05-22 13:52:44 -04:00
|
|
|
$(OBJS)\test_hashes.obj: .\hashes\hashes.cpp
|
|
|
|
$(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) $**
|
|
|
|
|
2004-12-08 17:39:22 -05:00
|
|
|
$(OBJS)\test_lists.obj: .\lists\lists.cpp
|
|
|
|
$(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) $**
|
|
|
|
|
2004-11-07 19:17:00 -05:00
|
|
|
$(OBJS)\test_longlongtest.obj: .\longlong\longlongtest.cpp
|
2004-04-06 08:15:27 -04:00
|
|
|
$(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) $**
|
2004-04-18 15:26:20 -04:00
|
|
|
|
2004-11-07 19:17:00 -05:00
|
|
|
$(OBJS)\test_mbconvtest.obj: .\mbconv\mbconvtest.cpp
|
2004-10-27 18:47:26 -04:00
|
|
|
$(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) $**
|
|
|
|
|
2004-11-07 19:17:00 -05:00
|
|
|
$(OBJS)\test_regextest.obj: .\regex\regextest.cpp
|
2004-10-27 18:47:26 -04:00
|
|
|
$(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) $**
|
|
|
|
|
2004-11-07 19:17:00 -05:00
|
|
|
$(OBJS)\test_wxregextest.obj: .\regex\wxregextest.cpp
|
2004-10-27 18:47:26 -04:00
|
|
|
$(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) $**
|
|
|
|
|
2004-04-20 14:55:09 -04:00
|
|
|
$(OBJS)\test_strings.obj: .\strings\strings.cpp
|
|
|
|
$(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) $**
|
|
|
|
|
2004-05-21 03:59:14 -04:00
|
|
|
$(OBJS)\test_stdstrings.obj: .\strings\stdstrings.cpp
|
|
|
|
$(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) $**
|
|
|
|
|
2004-04-30 16:26:14 -04:00
|
|
|
$(OBJS)\test_unicode.obj: .\strings\unicode.cpp
|
|
|
|
$(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) $**
|
|
|
|
|
2004-06-03 15:48:31 -04:00
|
|
|
$(OBJS)\test_crt.obj: .\strings\crt.cpp
|
|
|
|
$(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) $**
|
|
|
|
|
2004-04-18 15:26:20 -04:00
|
|
|
$(OBJS)\test_bstream.obj: .\streams\bstream.cpp
|
|
|
|
$(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) $**
|
|
|
|
|
2004-12-08 17:39:22 -05:00
|
|
|
$(OBJS)\test_datastreamtest.obj: .\streams\datastreamtest.cpp
|
|
|
|
$(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) $**
|
|
|
|
|
2004-04-18 15:26:20 -04:00
|
|
|
$(OBJS)\test_ffilestream.obj: .\streams\ffilestream.cpp
|
|
|
|
$(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) $**
|
|
|
|
|
|
|
|
$(OBJS)\test_filestream.obj: .\streams\filestream.cpp
|
|
|
|
$(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) $**
|
|
|
|
|
2005-02-08 11:10:29 -05:00
|
|
|
$(OBJS)\test_largefile.obj: .\streams\largefile.cpp
|
|
|
|
$(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) $**
|
|
|
|
|
2004-04-18 15:26:20 -04:00
|
|
|
$(OBJS)\test_memstream.obj: .\streams\memstream.cpp
|
|
|
|
$(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) $**
|
|
|
|
|
2004-09-27 02:53:08 -04:00
|
|
|
$(OBJS)\test_sstream.obj: .\streams\sstream.cpp
|
|
|
|
$(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) $**
|
|
|
|
|
2005-03-13 11:20:51 -05:00
|
|
|
$(OBJS)\test_tempfile.obj: .\streams\tempfile.cpp
|
|
|
|
$(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) $**
|
|
|
|
|
2004-11-22 00:00:19 -05:00
|
|
|
$(OBJS)\test_textstreamtest.obj: .\streams\textstreamtest.cpp
|
|
|
|
$(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) $**
|
|
|
|
|
2004-04-18 15:26:20 -04:00
|
|
|
$(OBJS)\test_zlibstream.obj: .\streams\zlibstream.cpp
|
|
|
|
$(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) $**
|
2004-06-19 10:01:44 -04:00
|
|
|
|
2004-10-27 18:47:26 -04:00
|
|
|
$(OBJS)\test_uris.obj: .\uris\uris.cpp
|
2004-06-24 04:05:50 -04:00
|
|
|
$(CXX) /c /nologo /TP /Fo$@ $(TEST_CXXFLAGS) $**
|
2004-12-12 07:35:45 -05:00
|
|
|
|
|
|
|
$(OBJS)\test_gui_sample.res: .\..\samples\sample.rc
|
2005-03-23 08:05:13 -05:00
|
|
|
rc /fo$@ /d WIN32 $(____DEBUGRUNTIME_17_p_1) $(__NO_VC_CRTDBG_p_3) /d __WXMSW__ $(__WXUNIV_DEFINE_p_3) $(__DEBUG_DEFINE_p_3) $(__EXCEPTIONS_DEFINE_p_3) $(__RTTI_DEFINE_p_3) $(__THREAD_DEFINE_p_3) $(__UNICODE_DEFINE_p_3) /i .\..\include /i $(SETUPHDIR) /i . $(__DLLFLAG_p_3) /i .\..\samples $**
|
2004-12-12 07:35:45 -05:00
|
|
|
|
|
|
|
$(OBJS)\test_gui_dummy.obj: .\dummy.cpp
|
|
|
|
$(CXX) /c /nologo /TP /Fo$@ $(TEST_GUI_CXXFLAGS) /Yctestprec.h $**
|
|
|
|
|
|
|
|
$(OBJS)\test_gui_test.obj: .\test.cpp
|
|
|
|
$(CXX) /c /nologo /TP /Fo$@ $(TEST_GUI_CXXFLAGS) $**
|
2004-12-12 14:25:46 -05:00
|
|
|
|
|
|
|
$(OBJS)\test_gui_rect.obj: .\geometry\rect.cpp
|
|
|
|
$(CXX) /c /nologo /TP /Fo$@ $(TEST_GUI_CXXFLAGS) $**
|
2005-02-08 11:10:29 -05:00
|
|
|
|
|
|
|
$(OBJS)\test_gui_size.obj: .\geometry\size.cpp
|
|
|
|
$(CXX) /c /nologo /TP /Fo$@ $(TEST_GUI_CXXFLAGS) $**
|
|
|
|
|
|
|
|
$(OBJS)\test_gui_point.obj: .\geometry\point.cpp
|
|
|
|
$(CXX) /c /nologo /TP /Fo$@ $(TEST_GUI_CXXFLAGS) $**
|
|
|
|
|