summaryrefslogtreecommitdiff
path: root/include/makeinclude/make_flags.bor
blob: c3beb76356f1b3050ad0ea543f8eac4b2d57230b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
#
# $Id$
#
# Makefile flags for recursive invocations of make
#

!ifdef DEBUG
DEBUG_FLAG = -DDEBUG
!endif

!ifdef STATIC
STATIC_FLAG = -DSTATIC
!endif

!ifdef PASCAL
PASCAL_FLAG = -DPASCAL
!if $(BCBVER) != 4
!ifndef FORCE_PASCAL
!message
!message -------------------------------------------------------------
!message The PASCAL build configuration is *not* required for use with
!message Borland C++Builder 5 or 6.
!message
!message Since both VCL and non-VCL applications share a common run-
!message time library (i.e. cc3250mt.dll), you can simply link your
!message VCL code with a non-PASCAL build of the ACE+TAO libraries.
!message
!message If you still really want to build a PASCAL configuration, add
!message -DFORCE_PASCAL to your make command.
!message -------------------------------------------------------------
!message
!error Aborting build
!else
PASCAL_FLAG = -DPASCAL -DFORCE_PASCAL
!endif
!endif
!endif

!ifdef CODEGUARD
CODEGUARD_FLAG = -DCODEGUARD
!endif

!ifdef INSTALL_DIR
INSTALL_DIR_FLAG = -DINSTALL_DIR=$(INSTALL_DIR)
!endif

!ifdef UNICODE
UNICODE_FLAG = -DUNICODE
!endif

!ifdef NO_FULL_PATH
NO_FULL_PATH_FLAG = -DNO_FULL_PATH
!endif

MAKE_FLAGS = $(DEBUG_FLAG) $(STATIC_FLAG) $(PASCAL_FLAG) $(UNICODE_FLAG) \
       $(CODEGUARD_FLAG) $(INSTALL_DIR_FLAG) $(NO_FULL_PATH_FLAG)