mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-14 09:21:03 +00:00
ICU-3 do not use @ENABLE_SHARED@ it won't get substituted.
X-SVN-Rev: 2545
This commit is contained in:
parent
32cdc29d7d
commit
324d161aa8
1 changed files with 4 additions and 6 deletions
|
@ -8,18 +8,16 @@ GEN_DEPS.c= $(CC) -E -MM $(DEFS) $(CPPFLAGS)
|
|||
GEN_DEPS.cc= $(CXX) -E -MM $(DEFS) $(CPPFLAGS)
|
||||
|
||||
## Flags for position independent code
|
||||
ifneq (@ENABLE_SHARED@,)
|
||||
PICFLAGS = -fPIC
|
||||
PICCPPFLAGS = -DPIC
|
||||
endif
|
||||
|
||||
## Commands to compile
|
||||
COMPILE.c= $(CC) $(PICFLAGS) $(PICCPPFLAGS) $(DEFS) $(CPPFLAGS) $(CFLAGS) -c
|
||||
COMPILE.cc= $(CXX) $(PICFLAGS) $(PICCPPFLAGS) $(DEFS) $(CPPFLAGS) $(CXXFLAGS) -c
|
||||
COMPILE.c= $(CC) $(DEFS) $(CPPFLAGS) $(CFLAGS) -c
|
||||
COMPILE.cc= $(CXX) $(DEFS) $(CPPFLAGS) $(CXXFLAGS) -c
|
||||
|
||||
## Commands to link
|
||||
LINK.c= $(CC) $(PICFLAGS) $(DEFS) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS)
|
||||
LINK.cc= $(CXX) $(PICFLAGS) $(DEFS) $(CPPFLAGS) $(CXXFLAGS) $(LDFLAGS)
|
||||
LINK.c= $(CC) $(DEFS) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS)
|
||||
LINK.cc= $(CXX) $(DEFS) $(CPPFLAGS) $(CXXFLAGS) $(LDFLAGS)
|
||||
|
||||
## Commands to make a shared library
|
||||
SHLIB.c= $(CC) $(DEFS) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -shared
|
||||
|
|
Loading…
Add table
Reference in a new issue