You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
140 lines
4.0 KiB
140 lines
4.0 KiB
# ---------------------------------------------------------------------------
|
|
!if !$d(BCB)
|
|
BCB = $(MAKEDIR)\..
|
|
!endif
|
|
# ---------------------------------------------------------------------------
|
|
TARGETPATH=..\..\..\..\..\Build\Win32\BCC5
|
|
PROJECT = $(TARGETPATH)\ThreadTest.exe
|
|
OBJFILES = $(TARGETPATH)\obj\ThreadTest.obj
|
|
RESFILES =
|
|
MAINSOURCE = ThreadTest.cpp
|
|
RESDEPEN = $(RESFILES)
|
|
LIBFILES = $(TARGETPATH)\xerces-bor_$(XERCESVER).lib
|
|
IDLFILES =
|
|
IDLGENFILES =
|
|
LIBRARIES =
|
|
SPARELIBS =
|
|
DEFFILE =
|
|
# ---------------------------------------------------------------------------
|
|
PATHCPP = ..\..\..\..\..\tests\src\ThreadTest
|
|
PATHASM = .;
|
|
PATHPAS = .;
|
|
PATHRC = .;
|
|
USERDEFINES = _DEBUG;;XERCES_NO_CONFIGURE_SUPPORT
|
|
SYSDEFINES = _NO_VCL;NO_STRICT;_VIS_NOLIB;_RTLDLL
|
|
INCLUDEPATH = ..\..\..\..\..\tests\src\ThreadTest;..\..\..\..\..\src
|
|
LIBPATH =
|
|
WARNINGS=
|
|
# ---------------------------------------------------------------------------
|
|
CFLAG1 = -Od -w -Tkh30000 -X- -r- -a8 -4 -b -k -y -v -vi- -c -tWM -tWC
|
|
IDLCFLAGS = -src_suffix cpp -boa
|
|
PFLAGS = -N2$(TARGETPATH)\obj \
|
|
-N0$(TARGETPATH)\obj -$YD -$W -$O- -v -JPHN -M
|
|
RFLAGS =
|
|
AFLAGS = /mx /w2 /zd
|
|
LFLAGS = -I$(TARGETPATH)\obj -ap -Tpe -x -Gn -v
|
|
# ---------------------------------------------------------------------------
|
|
ALLOBJ = c0x32.obj $(OBJFILES)
|
|
ALLRES = $(RESFILES)
|
|
ALLLIB = $(LIBFILES) import32.lib cw32mti.lib
|
|
# ---------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
# ---------------------------------------------------------------------------
|
|
# MAKE SECTION
|
|
# ---------------------------------------------------------------------------
|
|
# This section of the project file is not used by the BCB IDE. It is for
|
|
# the benefit of building from the command-line using the MAKE utility.
|
|
# ---------------------------------------------------------------------------
|
|
|
|
.autodepend
|
|
# ---------------------------------------------------------------------------
|
|
!if "$(USERDEFINES)" != ""
|
|
AUSERDEFINES = -d$(USERDEFINES:;= -d)
|
|
!else
|
|
AUSERDEFINES =
|
|
!endif
|
|
|
|
!if !$d(BCC32)
|
|
BCC32 = bcc32
|
|
!endif
|
|
|
|
!if !$d(CPP32)
|
|
CPP32 = cpp32
|
|
!endif
|
|
|
|
!if !$d(DCC32)
|
|
DCC32 = dcc32
|
|
!endif
|
|
|
|
!if !$d(TASM32)
|
|
TASM32 = tasm32
|
|
!endif
|
|
|
|
!if !$d(LINKER)
|
|
LINKER = ilink32
|
|
!endif
|
|
|
|
!if !$d(BRCC32)
|
|
BRCC32 = brcc32
|
|
!endif
|
|
|
|
|
|
# ---------------------------------------------------------------------------
|
|
!if $d(PATHCPP)
|
|
.PATH.CPP = $(PATHCPP)
|
|
.PATH.C = $(PATHCPP)
|
|
!endif
|
|
|
|
!if $d(PATHPAS)
|
|
.PATH.PAS = $(PATHPAS)
|
|
!endif
|
|
|
|
!if $d(PATHASM)
|
|
.PATH.ASM = $(PATHASM)
|
|
!endif
|
|
|
|
!if $d(PATHRC)
|
|
.PATH.RC = $(PATHRC)
|
|
!endif
|
|
# ---------------------------------------------------------------------------
|
|
$(PROJECT): $(IDLGENFILES) $(OBJFILES) $(RESDEPEN) $(DEFFILE)
|
|
$(BCB)\BIN\$(LINKER) @&&!
|
|
$(LFLAGS) -L$(LIBPATH) +
|
|
$(ALLOBJ), +
|
|
$(PROJECT),, +
|
|
$(ALLLIB), +
|
|
$(DEFFILE), +
|
|
$(ALLRES)
|
|
!
|
|
# ---------------------------------------------------------------------------
|
|
.pas.hpp:
|
|
$(BCB)\BIN\$(DCC32) $(PFLAGS) -U$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -O$(INCLUDEPATH) --BCB {$< }
|
|
|
|
.pas.obj:
|
|
$(BCB)\BIN\$(DCC32) $(PFLAGS) -U$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -O$(INCLUDEPATH) --BCB {$< }
|
|
|
|
.cpp.obj:
|
|
$(BCB)\BIN\$(BCC32) $(CFLAG1) $(WARNINGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -n$(@D) {$< }
|
|
|
|
.c.obj:
|
|
$(BCB)\BIN\$(BCC32) $(CFLAG1) $(WARNINGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -n$(@D) {$< }
|
|
|
|
.c.i:
|
|
$(BCB)\BIN\$(CPP32) $(CFLAG1) $(WARNINGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -n. {$< }
|
|
|
|
.cpp.i:
|
|
$(BCB)\BIN\$(CPP32) $(CFLAG1) $(WARNINGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -n. {$< }
|
|
|
|
.asm.obj:
|
|
$(BCB)\BIN\$(TASM32) $(AFLAGS) -i$(INCLUDEPATH:;= -i) $(AUSERDEFINES) -d$(SYSDEFINES:;= -d) $<, $@
|
|
|
|
.rc.res:
|
|
$(BCB)\BIN\$(BRCC32) $(RFLAGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -fo$@ $<
|
|
# ---------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|