ICU-597 Added macro separator when declaring a macro as a compiler option
X-SVN-Rev: 4870
This commit is contained in:
parent
6fa79625ba
commit
7ba6beb7ae
@ -3,7 +3,7 @@
|
||||
## Copyright (c) 1999-2001, International Business Machines Corporation and
|
||||
## others. All Rights Reserved.
|
||||
##
|
||||
## $Id: mh-os400,v 1.12 2001/03/21 20:31:13 weiv Exp $
|
||||
## $Id: mh-os400,v 1.13 2001/06/01 18:15:03 grhoten Exp $
|
||||
|
||||
GEN_DEPS.c= $(CC1) -E -M $(DEFS) $(CPPFLAGS)
|
||||
GEN_DEPS.cc= $(CXX1) -E -M $(DEFS) $(CPPFLAGS)
|
||||
@ -12,6 +12,10 @@ GEN_DEPS.cc= $(CXX1) -E -M $(DEFS) $(CPPFLAGS)
|
||||
COMPILE.c= $(CC) $(DEFS) -DOS400 -D_MULTI_THREADED $(CPPFLAGS) $(CFLAGS) -c
|
||||
COMPILE.cc= $(CXX) $(DEFS) -DOS400 -D_MULTI_THREADED $(CPPFLAGS) $(CXXFLAGS) -c
|
||||
|
||||
## Special macro separator for compiling C++
|
||||
## e.g. -D'U_SRCDATADIR=$(MACRO_SEPARATOR)"$(top_srcdir)/../data/"'
|
||||
MACRO_SEPARATOR=\x40
|
||||
|
||||
## Commands to link
|
||||
## We need to use the C++ linker, even when linking C programs, since
|
||||
## our libraries contain C++ code (C++ static init not called)
|
||||
|
@ -23,7 +23,7 @@ CLEANFILES = *~ $(DEPS)
|
||||
TARGET = intltest
|
||||
|
||||
DEFS = @DEFS@
|
||||
CPPFLAGS = @CPPFLAGS@ -I$(top_builddir)/common -I$(top_srcdir)/common -I$(top_srcdir)/i18n -I$(top_srcdir)/tools/toolutil -D'U_SRCDATADIR="$(top_srcdir)/../data/"'
|
||||
CPPFLAGS = @CPPFLAGS@ -I$(top_builddir)/common -I$(top_srcdir)/common -I$(top_srcdir)/i18n -I$(top_srcdir)/tools/toolutil -D'U_SRCDATADIR=$(MACRO_SEPARATOR)"$(top_srcdir)/../data/"'
|
||||
CFLAGS = @CFLAGS@
|
||||
CXXFLAGS = @CXXFLAGS@
|
||||
LDFLAGS = @LDFLAGS@ \
|
||||
|
Loading…
Reference in New Issue
Block a user