summaryrefslogtreecommitdiff
path: root/include/makeinclude/decorator.bor
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2002-03-11 11:32:28 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2002-03-11 11:32:28 +0000
commitb1c0957edb47afeed9ee446d8cb58d1744af124a (patch)
treedb1153db76c68638ed547dfa213b4e561e8dc631 /include/makeinclude/decorator.bor
parent448e64fcb5cadf7deb540f8a9a1d73cefe7cb458 (diff)
downloadATCD-b1c0957edb47afeed9ee446d8cb58d1744af124a.tar.gz
ChangeLogTag: Mon Mar 11 12:28:12 2002 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'include/makeinclude/decorator.bor')
-rw-r--r--include/makeinclude/decorator.bor26
1 files changed, 16 insertions, 10 deletions
diff --git a/include/makeinclude/decorator.bor b/include/makeinclude/decorator.bor
index 0b20bcbdeb5..5083017b2f8 100644
--- a/include/makeinclude/decorator.bor
+++ b/include/makeinclude/decorator.bor
@@ -1,18 +1,19 @@
#
# Creates a suffix for decorating output file names
#
-# Inputs:
-# ~~~~~~~
+# Inputs:
+# ~~~~~~~
# DEBUG - defined if building a debug library/executable
-# STATIC - defined if building a static library
+# STATIC - defined if building a static library
# PASCAL - defined if linking against cp32*
+# UNICODE - defined if building a unicode version
#
# Outputs:
# ~~~~~~~~
# LIB_DECORATOR - suffix to be added to library output file name
# EXE_DECORATOR - suffix to be added to executable output file name
-#
-
+#
+
DECO_PREFIX=
# If you want decoration for Borland, set this to something like "B"
@@ -27,22 +28,27 @@ DECO_PREFIX=_
DECO_PREFIX=_
PASCAL_DECO=p
!endif
-
+
!ifdef STATIC
DECO_PREFIX=_
STATIC_DECO=s
!endif
-
+
!ifdef DEBUG
DECO_PREFIX=_
DEBUG_DECO=d
!endif
-
-LIB_DECORATOR=$(DECO_PREFIX)$(BORLAND_DECO)$(PASCAL_DECO)$(STATIC_DECO)$(DEBUG_DECO)
+
+!ifdef UNICODE
+DECO_PREFIX=_
+UNICODE_DECO=u
+!endif
+
+LIB_DECORATOR=$(DECO_PREFIX)$(BORLAND_DECO)$(PASCAL_DECO)$(STATIC_DECO)$(UNICODE_DECO)$(DEBUG_DECO)
!ifdef NO_EXE_DECORATION
EXE_DECORATOR=
!else
-EXE_DECORATOR=$(DECO_PREFIX)$(BORLAND_DECO)$(PASCAL_DECO)$(STATIC_DECO)$(DEBUG_DECO)
+EXE_DECORATOR=$(DECO_PREFIX)$(BORLAND_DECO)$(PASCAL_DECO)$(STATIC_DECO)$(UNICODE_DECO)$(DEBUG_DECO)
!endif