2004-03-03 17:56:16 -05:00
|
|
|
# =========================================================================
|
|
|
|
# This makefile was generated by
|
2007-03-17 06:26:10 -04:00
|
|
|
# Bakefile 0.2.2 (http://bakefile.sourceforge.net)
|
2004-03-03 17:56:16 -05:00
|
|
|
# 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: ###
|
|
|
|
|
2007-02-06 21:14:45 -05:00
|
|
|
WX_RELEASE_NODOT = 29
|
2004-03-03 17:56:16 -05:00
|
|
|
OBJS = \
|
|
|
|
bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
|
2005-02-08 11:10:29 -05:00
|
|
|
LIBDIRNAME = .\..\lib\bcc_$(LIBTYPE_SUFFIX)$(CFG)
|
2004-03-03 17:56:16 -05:00
|
|
|
SETUPHDIR = \
|
|
|
|
$(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
|
2004-12-12 07:35:45 -05:00
|
|
|
TEST_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
|
2006-09-17 04:06:09 -04:00
|
|
|
$(__OPTIMIZEFLAG) $(__THREADSFLAG_1) -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
|
2005-03-23 08:05:13 -05:00
|
|
|
$(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
|
2005-08-03 12:10:12 -04:00
|
|
|
$(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \
|
2006-10-08 21:20:56 -04:00
|
|
|
$(__GFXCTX_DEFINE_p) -I$(SETUPHDIR) -I.\..\include -I. $(__DLLFLAG_p) \
|
|
|
|
-DwxUSE_GUI=0 $(CPPUNIT_CFLAGS) -Hu -H=$(OBJS)\testprec_test.csm $(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 \
|
2006-10-27 06:11:46 -04:00
|
|
|
$(OBJS)\test_tartest.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 \
|
2006-04-05 11:07:06 -04:00
|
|
|
$(OBJS)\test_convautotest.obj \
|
2004-11-07 19:17:00 -05:00
|
|
|
$(OBJS)\test_mbconvtest.obj \
|
|
|
|
$(OBJS)\test_regextest.obj \
|
|
|
|
$(OBJS)\test_wxregextest.obj \
|
2005-07-28 08:48:14 -04:00
|
|
|
$(OBJS)\test_scopeguardtest.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 \
|
2005-12-21 19:11:26 -05:00
|
|
|
$(OBJS)\test_tokenizer.obj \
|
2007-03-17 06:26:10 -04:00
|
|
|
$(OBJS)\test_unichar.obj \
|
2004-04-30 16:26:14 -04:00
|
|
|
$(OBJS)\test_unicode.obj \
|
2007-03-17 06:26:10 -04:00
|
|
|
$(OBJS)\test_vararg.obj \
|
2004-06-03 15:48:31 -04:00
|
|
|
$(OBJS)\test_crt.obj \
|
2006-06-29 03:16:39 -04:00
|
|
|
$(OBJS)\test_vsnprintf.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 \
|
2006-10-23 17:58:35 -04:00
|
|
|
$(OBJS)\test_fileback.obj \
|
2004-04-18 15:26:20 -04:00
|
|
|
$(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 \
|
2006-04-05 11:07:06 -04:00
|
|
|
$(OBJS)\test_textfiletest.obj \
|
2004-10-27 18:47:26 -04:00
|
|
|
$(OBJS)\test_uris.obj
|
2004-12-12 07:35:45 -05:00
|
|
|
TEST_GUI_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
|
2006-09-17 04:06:09 -04:00
|
|
|
$(__OPTIMIZEFLAG) $(__THREADSFLAG_1) -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
|
2005-03-23 08:05:13 -05:00
|
|
|
$(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
|
2005-08-03 12:10:12 -04:00
|
|
|
$(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \
|
2006-10-08 21:20:56 -04:00
|
|
|
$(__GFXCTX_DEFINE_p) -I$(SETUPHDIR) -I.\..\include -I. $(__DLLFLAG_p) \
|
|
|
|
-I.\..\samples -DNOPCH $(CPPUNIT_CFLAGS) -Hu \
|
|
|
|
-H=$(OBJS)\testprec_test_gui.csm $(CPPFLAGS) $(CXXFLAGS)
|
2004-12-12 07:35:45 -05:00
|
|
|
TEST_GUI_OBJECTS = \
|
|
|
|
$(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
|
2006-09-17 04:06:09 -04:00
|
|
|
PRINTFBENCH_CXXFLAGS = $(__RUNTIME_LIBS) -I$(BCCDIR)\include $(__DEBUGINFO) \
|
|
|
|
$(__OPTIMIZEFLAG) $(__THREADSFLAG_1) -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
|
|
|
|
$(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
|
|
|
|
$(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \
|
2006-10-08 21:20:56 -04:00
|
|
|
$(__GFXCTX_DEFINE_p) -I$(SETUPHDIR) -I.\..\include -I. $(__DLLFLAG_p) \
|
|
|
|
-DwxUSE_GUI=0 $(CPPUNIT_CFLAGS) -Hu -H=$(OBJS)\testprec_printfbench.csm \
|
|
|
|
$(CPPFLAGS) $(CXXFLAGS)
|
2006-09-17 04:06:09 -04:00
|
|
|
PRINTFBENCH_OBJECTS = \
|
|
|
|
$(OBJS)\printfbench_dummy.obj \
|
|
|
|
$(OBJS)\printfbench_printfbench.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
|
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
|
|
|
|
!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 = -dwxNO_EXCEPTIONS
|
|
|
|
!endif
|
|
|
|
!if "$(USE_RTTI)" == "0"
|
|
|
|
__RTTI_DEFINE_p_3 = -dwxNO_RTTI
|
|
|
|
!endif
|
|
|
|
!if "$(USE_THREADS)" == "0"
|
|
|
|
__THREAD_DEFINE_p_3 = -dwxNO_THREADS
|
|
|
|
!endif
|
2004-12-12 07:35:45 -05:00
|
|
|
!if "$(UNICODE)" == "1"
|
|
|
|
__UNICODE_DEFINE_p_3 = -d_UNICODE
|
|
|
|
!endif
|
2005-08-03 12:10:12 -04:00
|
|
|
!if "$(MSLU)" == "1"
|
|
|
|
__MSLU_DEFINE_p_3 = -dwxUSE_UNICODE_MSLU=1
|
|
|
|
!endif
|
2006-10-08 21:20:56 -04:00
|
|
|
!if "$(USE_GDIPLUS)" == "1"
|
|
|
|
__GFXCTX_DEFINE_p_3 = -dwxUSE_GRAPHICS_CONTEXT=1
|
|
|
|
!endif
|
2004-12-12 07:35:45 -05:00
|
|
|
!if "$(SHARED)" == "1"
|
|
|
|
__DLLFLAG_p_3 = -dWXUSINGDLL
|
|
|
|
!endif
|
|
|
|
!if "$(MONOLITHIC)" == "0"
|
|
|
|
__WXLIB_CORE_p = \
|
|
|
|
wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
|
|
|
|
!endif
|
2006-06-29 03:16:39 -04:00
|
|
|
!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
|
2004-03-03 17:56:16 -05:00
|
|
|
!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 =
|
|
|
|
!endif
|
|
|
|
!if "$(USE_THREADS)" == "1"
|
|
|
|
__THREADSFLAG = mt
|
|
|
|
!endif
|
|
|
|
!if "$(USE_THREADS)" == "0"
|
2006-09-17 04:06:09 -04:00
|
|
|
__THREADSFLAG_1 =
|
2005-03-13 11:20:51 -05:00
|
|
|
!endif
|
|
|
|
!if "$(USE_THREADS)" == "1"
|
2006-09-17 04:06:09 -04:00
|
|
|
__THREADSFLAG_1 = -tWM
|
2005-03-13 11:20:51 -05:00
|
|
|
!endif
|
2004-03-03 17:56:16 -05:00
|
|
|
!if "$(RUNTIME_LIBS)" == "dynamic"
|
2004-12-12 07:35:45 -05:00
|
|
|
__RUNTIME_LIBS = -tWR
|
2004-03-03 17:56:16 -05:00
|
|
|
!endif
|
|
|
|
!if "$(RUNTIME_LIBS)" == "static"
|
2004-12-12 07:35:45 -05:00
|
|
|
__RUNTIME_LIBS =
|
2004-03-03 17:56:16 -05:00
|
|
|
!endif
|
|
|
|
!if "$(RUNTIME_LIBS)" == "dynamic"
|
2006-09-17 04:06:09 -04:00
|
|
|
__RUNTIME_LIBS_1 = i
|
2004-03-03 17:56:16 -05:00
|
|
|
!endif
|
|
|
|
!if "$(RUNTIME_LIBS)" == "static"
|
2006-09-17 04:06:09 -04:00
|
|
|
__RUNTIME_LIBS_1 =
|
2004-03-03 17:56:16 -05:00
|
|
|
!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
|
2005-08-03 12:10:12 -04:00
|
|
|
!if "$(MSLU)" == "1"
|
|
|
|
__MSLU_DEFINE_p = -DwxUSE_UNICODE_MSLU=1
|
|
|
|
!endif
|
2006-10-08 21:20:56 -04:00
|
|
|
!if "$(USE_GDIPLUS)" == "1"
|
|
|
|
__GFXCTX_DEFINE_p = -DwxUSE_GRAPHICS_CONTEXT=1
|
|
|
|
!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 "$(MSLU)" == "1"
|
|
|
|
__UNICOWS_LIB_p = unicows.lib
|
|
|
|
!endif
|
2006-10-08 21:20:56 -04:00
|
|
|
!if "$(USE_GDIPLUS)" == "1"
|
|
|
|
__GDIPLUS_LIB_p = gdiplus.lib
|
|
|
|
!endif
|
2004-03-03 17:56:16 -05:00
|
|
|
!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: ###
|
|
|
|
|
2006-09-17 04:06:09 -04:00
|
|
|
all: $(OBJS)\test.exe $(__test_gui___depname) data $(OBJS)\printfbench.exe
|
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)\*.csm del $(OBJS)\*.csm
|
2004-03-03 17:56:16 -05:00
|
|
|
-if exist $(OBJS)\test.exe del $(OBJS)\test.exe
|
|
|
|
-if exist $(OBJS)\test.tds del $(OBJS)\test.tds
|
|
|
|
-if exist $(OBJS)\test.ilc del $(OBJS)\test.ilc
|
|
|
|
-if exist $(OBJS)\test.ild del $(OBJS)\test.ild
|
|
|
|
-if exist $(OBJS)\test.ilf del $(OBJS)\test.ilf
|
|
|
|
-if exist $(OBJS)\test.ils del $(OBJS)\test.ils
|
2004-12-12 07:35:45 -05:00
|
|
|
-if exist $(OBJS)\test_gui.exe del $(OBJS)\test_gui.exe
|
|
|
|
-if exist $(OBJS)\test_gui.tds del $(OBJS)\test_gui.tds
|
|
|
|
-if exist $(OBJS)\test_gui.ilc del $(OBJS)\test_gui.ilc
|
|
|
|
-if exist $(OBJS)\test_gui.ild del $(OBJS)\test_gui.ild
|
|
|
|
-if exist $(OBJS)\test_gui.ilf del $(OBJS)\test_gui.ilf
|
|
|
|
-if exist $(OBJS)\test_gui.ils del $(OBJS)\test_gui.ils
|
2006-09-17 04:06:09 -04:00
|
|
|
-if exist $(OBJS)\printfbench.exe del $(OBJS)\printfbench.exe
|
|
|
|
-if exist $(OBJS)\printfbench.tds del $(OBJS)\printfbench.tds
|
|
|
|
-if exist $(OBJS)\printfbench.ilc del $(OBJS)\printfbench.ilc
|
|
|
|
-if exist $(OBJS)\printfbench.ild del $(OBJS)\printfbench.ild
|
|
|
|
-if exist $(OBJS)\printfbench.ilf del $(OBJS)\printfbench.ilf
|
|
|
|
-if exist $(OBJS)\printfbench.ils del $(OBJS)\printfbench.ils
|
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
|
|
|
ilink32 -Tpe -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) -ap $(CPPUNIT_LIBS) @&&|
|
2006-10-08 21:20:56 -04:00
|
|
|
c0x32.obj $(TEST_OBJECTS),$@,, $(__WXLIB_NET_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_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)$(__RUNTIME_LIBS_1).lib,,
|
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
|
|
|
ilink32 -Tpe -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) $(CPPUNIT_LIBS) -ap @&&|
|
2006-10-08 21:20:56 -04:00
|
|
|
c0x32.obj $(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) $(__GDIPLUS_LIB_p) ole2w32.lib oleacc.lib odbc32.lib import32.lib cw32$(__THREADSFLAG)$(__RUNTIME_LIBS_1).lib,, $(OBJS)\test_gui_sample.res
|
2004-03-03 17:56:16 -05:00
|
|
|
|
|
2004-12-12 07:35:45 -05:00
|
|
|
!endif
|
2004-03-03 17:56:16 -05:00
|
|
|
|
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)
|
|
|
|
|
2006-09-17 04:06:09 -04:00
|
|
|
$(OBJS)\printfbench.exe: $(OBJS)\printfbench_dummy.obj $(PRINTFBENCH_OBJECTS)
|
|
|
|
ilink32 -Tpe -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) -ap $(CPPUNIT_LIBS) @&&|
|
2006-10-08 21:20:56 -04:00
|
|
|
c0x32.obj $(PRINTFBENCH_OBJECTS),$@,, $(__WXLIB_BASE_p) $(__WXLIB_MONO_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)$(__RUNTIME_LIBS_1).lib,,
|
2006-09-17 04:06:09 -04:00
|
|
|
|
|
|
|
|
|
2004-11-22 00:00:19 -05:00
|
|
|
$(OBJS)\test_dummy.obj: .\dummy.cpp
|
|
|
|
$(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) -H $**
|
|
|
|
|
2004-03-03 17:56:16 -05:00
|
|
|
$(OBJS)\test_test.obj: .\test.cpp
|
|
|
|
$(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) $**
|
|
|
|
|
2004-11-22 00:00:19 -05:00
|
|
|
$(OBJS)\test_archivetest.obj: .\archive\archivetest.cpp
|
|
|
|
$(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) $**
|
|
|
|
|
2005-02-10 09:06:08 -05:00
|
|
|
$(OBJS)\test_ziptest.obj: .\archive\ziptest.cpp
|
|
|
|
$(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) $**
|
|
|
|
|
2006-10-27 06:11:46 -04:00
|
|
|
$(OBJS)\test_tartest.obj: .\archive\tartest.cpp
|
|
|
|
$(CXX) -q -c -P -o$@ $(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) -q -c -P -o$@ $(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) -q -c -P -o$@ $(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) -q -c -P -o$@ $(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) -q -c -P -o$@ $(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) -q -c -P -o$@ $(TEST_CXXFLAGS) $**
|
2004-04-01 16:10:33 -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) -q -c -P -o$@ $(TEST_CXXFLAGS) $**
|
|
|
|
|
2004-11-07 19:17:00 -05:00
|
|
|
$(OBJS)\test_fontmaptest.obj: .\fontmap\fontmaptest.cpp
|
2004-10-27 18:47:26 -04:00
|
|
|
$(CXX) -q -c -P -o$@ $(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) -q -c -P -o$@ $(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) -q -c -P -o$@ $(TEST_CXXFLAGS) $**
|
|
|
|
|
2004-12-08 17:39:22 -05:00
|
|
|
$(OBJS)\test_lists.obj: .\lists\lists.cpp
|
|
|
|
$(CXX) -q -c -P -o$@ $(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) -q -c -P -o$@ $(TEST_CXXFLAGS) $**
|
2004-04-18 15:26:20 -04:00
|
|
|
|
2006-04-05 11:07:06 -04:00
|
|
|
$(OBJS)\test_convautotest.obj: .\mbconv\convautotest.cpp
|
|
|
|
$(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) $**
|
|
|
|
|
2004-11-07 19:17:00 -05:00
|
|
|
$(OBJS)\test_mbconvtest.obj: .\mbconv\mbconvtest.cpp
|
2004-10-27 18:47:26 -04:00
|
|
|
$(CXX) -q -c -P -o$@ $(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) -q -c -P -o$@ $(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) -q -c -P -o$@ $(TEST_CXXFLAGS) $**
|
|
|
|
|
2005-07-28 08:48:14 -04:00
|
|
|
$(OBJS)\test_scopeguardtest.obj: .\scopeguard\scopeguardtest.cpp
|
|
|
|
$(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) $**
|
|
|
|
|
2004-04-20 14:55:09 -04:00
|
|
|
$(OBJS)\test_strings.obj: .\strings\strings.cpp
|
|
|
|
$(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) $**
|
|
|
|
|
2004-05-21 03:59:14 -04:00
|
|
|
$(OBJS)\test_stdstrings.obj: .\strings\stdstrings.cpp
|
|
|
|
$(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) $**
|
|
|
|
|
2005-12-21 19:11:26 -05:00
|
|
|
$(OBJS)\test_tokenizer.obj: .\strings\tokenizer.cpp
|
|
|
|
$(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) $**
|
|
|
|
|
2007-03-17 06:26:10 -04:00
|
|
|
$(OBJS)\test_unichar.obj: .\strings\unichar.cpp
|
|
|
|
$(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) $**
|
|
|
|
|
2004-04-30 16:26:14 -04:00
|
|
|
$(OBJS)\test_unicode.obj: .\strings\unicode.cpp
|
|
|
|
$(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) $**
|
|
|
|
|
2007-03-17 06:26:10 -04:00
|
|
|
$(OBJS)\test_vararg.obj: .\strings\vararg.cpp
|
|
|
|
$(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) $**
|
|
|
|
|
2004-06-03 15:48:31 -04:00
|
|
|
$(OBJS)\test_crt.obj: .\strings\crt.cpp
|
|
|
|
$(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) $**
|
|
|
|
|
2006-06-29 03:16:39 -04:00
|
|
|
$(OBJS)\test_vsnprintf.obj: .\strings\vsnprintf.cpp
|
|
|
|
$(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) $**
|
|
|
|
|
2004-04-18 15:26:20 -04:00
|
|
|
$(OBJS)\test_bstream.obj: .\streams\bstream.cpp
|
|
|
|
$(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) $**
|
|
|
|
|
2004-12-08 17:39:22 -05:00
|
|
|
$(OBJS)\test_datastreamtest.obj: .\streams\datastreamtest.cpp
|
|
|
|
$(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) $**
|
|
|
|
|
2004-04-18 15:26:20 -04:00
|
|
|
$(OBJS)\test_ffilestream.obj: .\streams\ffilestream.cpp
|
|
|
|
$(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) $**
|
|
|
|
|
2006-10-23 17:58:35 -04:00
|
|
|
$(OBJS)\test_fileback.obj: .\streams\fileback.cpp
|
|
|
|
$(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) $**
|
|
|
|
|
2004-04-18 15:26:20 -04:00
|
|
|
$(OBJS)\test_filestream.obj: .\streams\filestream.cpp
|
|
|
|
$(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) $**
|
|
|
|
|
2005-02-08 11:10:29 -05:00
|
|
|
$(OBJS)\test_largefile.obj: .\streams\largefile.cpp
|
|
|
|
$(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) $**
|
|
|
|
|
2004-04-18 15:26:20 -04:00
|
|
|
$(OBJS)\test_memstream.obj: .\streams\memstream.cpp
|
|
|
|
$(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) $**
|
|
|
|
|
2004-09-27 02:53:08 -04:00
|
|
|
$(OBJS)\test_sstream.obj: .\streams\sstream.cpp
|
|
|
|
$(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) $**
|
2005-03-13 11:20:51 -05:00
|
|
|
|
|
|
|
$(OBJS)\test_tempfile.obj: .\streams\tempfile.cpp
|
|
|
|
$(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) $**
|
2004-09-27 02:53:08 -04:00
|
|
|
|
2004-11-22 00:00:19 -05:00
|
|
|
$(OBJS)\test_textstreamtest.obj: .\streams\textstreamtest.cpp
|
|
|
|
$(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) $**
|
|
|
|
|
2004-04-18 15:26:20 -04:00
|
|
|
$(OBJS)\test_zlibstream.obj: .\streams\zlibstream.cpp
|
|
|
|
$(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) $**
|
2004-06-19 10:01:44 -04:00
|
|
|
|
2006-04-05 11:07:06 -04:00
|
|
|
$(OBJS)\test_textfiletest.obj: .\textfile\textfiletest.cpp
|
|
|
|
$(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) $**
|
|
|
|
|
2004-10-27 18:47:26 -04:00
|
|
|
$(OBJS)\test_uris.obj: .\uris\uris.cpp
|
2004-06-24 04:05:50 -04:00
|
|
|
$(CXX) -q -c -P -o$@ $(TEST_CXXFLAGS) $**
|
2004-12-12 07:35:45 -05:00
|
|
|
|
|
|
|
$(OBJS)\test_gui_sample.res: .\..\samples\sample.rc
|
2007-03-17 06:26:10 -04:00
|
|
|
brcc32 -32 -r -fo$@ -i$(BCCDIR)\include -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) $(__MSLU_DEFINE_p_3) $(__GFXCTX_DEFINE_p_3) -i$(SETUPHDIR) -i.\..\include -i. $(__DLLFLAG_p_3) -i.\..\samples -dNOPCH $**
|
2004-12-12 07:35:45 -05:00
|
|
|
|
|
|
|
$(OBJS)\test_gui_dummy.obj: .\dummy.cpp
|
|
|
|
$(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) -H $**
|
|
|
|
|
|
|
|
$(OBJS)\test_gui_test.obj: .\test.cpp
|
|
|
|
$(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) $**
|
2004-12-12 14:25:46 -05:00
|
|
|
|
|
|
|
$(OBJS)\test_gui_rect.obj: .\geometry\rect.cpp
|
|
|
|
$(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) $**
|
2005-02-08 11:10:29 -05:00
|
|
|
|
|
|
|
$(OBJS)\test_gui_size.obj: .\geometry\size.cpp
|
|
|
|
$(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) $**
|
|
|
|
|
|
|
|
$(OBJS)\test_gui_point.obj: .\geometry\point.cpp
|
|
|
|
$(CXX) -q -c -P -o$@ $(TEST_GUI_CXXFLAGS) $**
|
|
|
|
|
2006-09-17 04:06:09 -04:00
|
|
|
$(OBJS)\printfbench_dummy.obj: .\dummy.cpp
|
|
|
|
$(CXX) -q -c -P -o$@ $(PRINTFBENCH_CXXFLAGS) -H $**
|
|
|
|
|
|
|
|
$(OBJS)\printfbench_printfbench.obj: .\benchmarks\printfbench.cpp
|
|
|
|
$(CXX) -q -c -P -o$@ $(PRINTFBENCH_CXXFLAGS) $**
|
|
|
|
|