1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/os/ossrv/genericopenlibs/cppstdlib/stl/test/eh/bcb.mak Fri Jun 15 03:10:57 2012 +0200
1.3 @@ -0,0 +1,78 @@
1.4 +# ---------------------------------------------------------------------------
1.5 +BCC32=bcc32
1.6 +CPP32=cpp32
1.7 +
1.8 +!if !$d(BCB)
1.9 +BCB = $(MAKEDIR)\..
1.10 +!endif
1.11 +
1.12 +# ---------------------------------------------------------------------------
1.13 +# IDE SECTION
1.14 +# ---------------------------------------------------------------------------
1.15 +# The following section of the project makefile is managed by the BCB IDE.
1.16 +# It is recommended to use the IDE to change any of the values in this
1.17 +# section.
1.18 +# ---------------------------------------------------------------------------
1.19 +
1.20 +# ---------------------------------------------------------------------------
1.21 +PROJECT = eh_test.exe
1.22 +OBJFILES = TestClass.obj \
1.23 + nc_alloc.obj \
1.24 + random_number.obj \
1.25 + test_algo.obj \
1.26 + test_algobase.obj \
1.27 + test_bit_vector.obj \
1.28 + test_bitset.obj \
1.29 + test_deque.obj \
1.30 + test_hash_map.obj \
1.31 + test_hash_set.obj \
1.32 + test_list.obj \
1.33 + test_map.obj \
1.34 + test_rope.obj \
1.35 + test_set.obj \
1.36 + test_slist.obj \
1.37 + test_string.obj \
1.38 + test_valarray.obj \
1.39 + test_vector.obj main.obj
1.40 +
1.41 +# ---------------------------------------------------------------------------
1.42 +PATHCPP = .;
1.43 +PATHPAS = .;
1.44 +PATHASM = .;
1.45 +PATHRC = .;
1.46 +
1.47 +# USERDEFINES = _STLP_NO_OWN_IOSTREAMS
1.48 +
1.49 +USERDEFINES = _DEBUG
1.50 +
1.51 +SYSDEFINES = _RTLDLL;NO_STRICT;USEPACKAGES
1.52 +# SYSDEFINES = NO_STRICT;USEPACKAGES
1.53 + # ---------------------------------------------------------------------------
1.54 +CFLAG1 = -w- -jb -j1 -I.;..\..\stlport;$(BCB)\include; -Od -v -N -x -xp -tWC -D$(SYSDEFINES);$(USERDEFINES)
1.55 +
1.56 +LDFLAGS = -L..\..\lib;$(BCB)\..\lib cw32i.lib stlp.4.5.lib
1.57 +
1.58 +.autodepend
1.59 +# ---------------------------------------------------------------------------
1.60 +
1.61 +all : $(PROJECT)
1.62 + cd ..\..\lib
1.63 + ..\test\eh\eh_test.exe -s 100
1.64 +
1.65 +$(PROJECT) : $(OBJFILES)
1.66 + $(BCC32) -e$(PROJECT) $(CFLAG1) $(LDFLAGS) $(OBJFILES)
1.67 +
1.68 +clean:
1.69 + del *.obj *.exe *.core *.tds
1.70 +
1.71 +# ---------------------------------------------------------------------------
1.72 +.cpp.obj:
1.73 + $(BCC32) $(CFLAG1) -n$(@D) -c $<
1.74 +
1.75 +.cpp.exe:
1.76 + $(BCC32) $(CFLAG1) $(LDFLAGS) -n$(@D) $<
1.77 +
1.78 +.cpp.i:
1.79 + $(CPP32) $(CFLAG1) -n. -Sr -Ss -Sd {$< }
1.80 +# ---------------------------------------------------------------------------
1.81 +