os/ossrv/genericopenlibs/cppstdlib/stl/test/eh/bcb.mak
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
     1 # ---------------------------------------------------------------------------
     2 BCC32=bcc32
     3 CPP32=cpp32
     4 
     5 !if !$d(BCB)
     6 BCB = $(MAKEDIR)\..
     7 !endif
     8 
     9 # ---------------------------------------------------------------------------
    10 # IDE SECTION
    11 # ---------------------------------------------------------------------------
    12 # The following section of the project makefile is managed by the BCB IDE.
    13 # It is recommended to use the IDE to change any of the values in this
    14 # section.
    15 # ---------------------------------------------------------------------------
    16 
    17 # ---------------------------------------------------------------------------
    18 PROJECT = eh_test.exe
    19 OBJFILES = TestClass.obj \
    20   nc_alloc.obj \
    21   random_number.obj \
    22   test_algo.obj \
    23   test_algobase.obj \
    24   test_bit_vector.obj \
    25   test_bitset.obj \
    26   test_deque.obj \
    27   test_hash_map.obj \
    28   test_hash_set.obj \
    29   test_list.obj \
    30   test_map.obj \
    31   test_rope.obj \
    32   test_set.obj \
    33   test_slist.obj \
    34   test_string.obj \
    35   test_valarray.obj \
    36   test_vector.obj main.obj
    37 
    38 # ---------------------------------------------------------------------------
    39 PATHCPP = .;
    40 PATHPAS = .;
    41 PATHASM = .;
    42 PATHRC = .;
    43 
    44 # USERDEFINES = _STLP_NO_OWN_IOSTREAMS
    45 
    46 USERDEFINES = _DEBUG
    47 
    48 SYSDEFINES = _RTLDLL;NO_STRICT;USEPACKAGES
    49 # SYSDEFINES = NO_STRICT;USEPACKAGES
    50  # ---------------------------------------------------------------------------
    51 CFLAG1 = -w- -jb -j1  -I.;..\..\stlport;$(BCB)\include; -Od -v -N -x -xp -tWC -D$(SYSDEFINES);$(USERDEFINES)
    52 
    53 LDFLAGS = -L..\..\lib;$(BCB)\..\lib cw32i.lib stlp.4.5.lib
    54 
    55 .autodepend
    56 # ---------------------------------------------------------------------------
    57 
    58 all : $(PROJECT)
    59         cd ..\..\lib
    60 	..\test\eh\eh_test.exe -s 100
    61 
    62 $(PROJECT) : $(OBJFILES)
    63 	$(BCC32) -e$(PROJECT) $(CFLAG1) $(LDFLAGS) $(OBJFILES)
    64 
    65 clean:
    66 	del *.obj *.exe *.core *.tds
    67 
    68 # ---------------------------------------------------------------------------
    69 .cpp.obj:
    70     $(BCC32) $(CFLAG1) -n$(@D) -c $<
    71 
    72 .cpp.exe:
    73     $(BCC32) $(CFLAG1) $(LDFLAGS) -n$(@D) $<
    74 
    75 .cpp.i:
    76     $(CPP32) $(CFLAG1) -n. -Sr -Ss -Sd {$< }
    77 # ---------------------------------------------------------------------------
    78