projects
/
apple
/
icu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ICU-57165.0.1.tar.gz
[apple/icu.git]
/
icuSources
/
layoutex
/
Makefile.in
diff --git
a/icuSources/layoutex/Makefile.in
b/icuSources/layoutex/Makefile.in
index dcfee9706f246b2ffdb7d1a4d3768d3302d47ce5..4129a3c8fed89133673c243cce7b9675d9b6489e 100644
(file)
--- a/
icuSources/layoutex/Makefile.in
+++ b/
icuSources/layoutex/Makefile.in
@@
-1,6
+1,6
@@
#******************************************************************************
#
#******************************************************************************
#
-# Copyright (C) 1999-20
05
, International Business Machines
+# Copyright (C) 1999-20
14
, International Business Machines
# Corporation and others. All Rights Reserved.
#
#******************************************************************************
# Corporation and others. All Rights Reserved.
#
#******************************************************************************
@@
-49,21
+49,30
@@
ALL_TARGETS = $(TARGET) $(ALL_SO_TARGETS) $(BATCH_TARGET)
DYNAMICCPPFLAGS = $(SHAREDLIBCPPFLAGS)
DYNAMICCFLAGS = $(SHAREDLIBCFLAGS)
DYNAMICCXXFLAGS = $(SHAREDLIBCXXFLAGS)
DYNAMICCPPFLAGS = $(SHAREDLIBCPPFLAGS)
DYNAMICCFLAGS = $(SHAREDLIBCFLAGS)
DYNAMICCXXFLAGS = $(SHAREDLIBCXXFLAGS)
+CFLAGS += $(LIBCFLAGS)
+CXXFLAGS += $(LIBCXXFLAGS)
-ifneq ($(top_builddir),$(top_srcdir))
-CPPFLAGS += -I$(top_builddir)/common
+
+ifeq ($(USING_ICULEHB),no)
+# cppflags: load .. so that #include <layout/...> works
+ICULE_CFLAGS=-I$(srcdir)/..
+else
+ICULE_CFLAGS=$(ICULEHB_CFLAGS)
endif
endif
-CPPFLAGS += -I$(srcdir) -I$(srcdir)/unicode -I$(srcdir)/.. -I$(top_srcdir)/common $(LIBCPPFLAGS)
+
+CPPFLAGS += -I$(srcdir) -I$(srcdir)/unicode -I$(top_srcdir)/common $(ICULE_CFLAGS) $(LIBCPPFLAGS)
DEFS += -DU_LAYOUTEX_IMPLEMENTATION
LDFLAGS += $(LDFLAGSICULX)
LIBS = $(LIBICUUC) $(LIBICULE) $(DEFAULT_LIBS)
OBJECTS = ParagraphLayout.o \
RunArrays.o \
DEFS += -DU_LAYOUTEX_IMPLEMENTATION
LDFLAGS += $(LDFLAGSICULX)
LIBS = $(LIBICUUC) $(LIBICULE) $(DEFAULT_LIBS)
OBJECTS = ParagraphLayout.o \
RunArrays.o \
-LXUtilities.o
+LXUtilities.o \
+playout.o \
+plruns.o
## Header files to install
## Header files to install
-HEADERS= $(srcdir)/layout/ParagraphLayout.h $(srcdir)/layout/RunArrays.h
+HEADERS= $(srcdir)/layout/ParagraphLayout.h $(srcdir)/layout/RunArrays.h
$(srcdir)/layout/playout.h $(srcdir)/layout/plruns.h
STATIC_OBJECTS = $(OBJECTS:.o=.$(STATIC_O))
STATIC_OBJECTS = $(OBJECTS:.o=.$(STATIC_O))
@@
-74,7
+83,7
@@
DEPS = $(OBJECTS:.o=.d)
## List of phony targets
.PHONY : all all-local install install-local clean clean-local \
distclean distclean-local install-library install-headers dist \
## List of phony targets
.PHONY : all all-local install install-local clean clean-local \
distclean distclean-local install-library install-headers dist \
-dist-local check check-local
+dist-local check check-local
check-exhaustive
## Clear suffix list
.SUFFIXES :
## Clear suffix list
.SUFFIXES :
@@
-87,9
+96,15
@@
distclean : distclean-local
dist: dist-local
check: all check-local
dist: dist-local
check: all check-local
+check-exhaustive: check
+
all-local: $(ALL_TARGETS)
install-local: install-headers install-library
all-local: $(ALL_TARGETS)
install-local: install-headers install-library
+ifneq ($(ICULE_CFLAGS),)
+ @echo "Installing icu-lx.pc"
+ $(MAKE) ALL_PKGCONFIG_SUFFIX=lx -C .. install-pkgconfig
+endif
install-library: all-local
$(MKINSTALLDIRS) $(DESTDIR)$(libdir)
install-library: all-local
$(MKINSTALLDIRS) $(DESTDIR)$(libdir)
@@
-104,7
+119,6
@@
ifneq ($(FINAL_SO_TARGET),$(MIDDLE_SO_TARGET))
cd $(DESTDIR)$(libdir) && $(RM) $(notdir $(MIDDLE_SO_TARGET)) && ln -s $(notdir $(FINAL_SO_TARGET)) $(notdir $(MIDDLE_SO_TARGET))
endif
endif
cd $(DESTDIR)$(libdir) && $(RM) $(notdir $(MIDDLE_SO_TARGET)) && ln -s $(notdir $(FINAL_SO_TARGET)) $(notdir $(MIDDLE_SO_TARGET))
endif
endif
-endif
ifneq ($(IMPORT_LIB_EXT),)
$(INSTALL-L) $(FINAL_IMPORT_LIB) $(DESTDIR)$(libdir)
ifneq ($(IMPORT_LIB),$(FINAL_IMPORT_LIB))
ifneq ($(IMPORT_LIB_EXT),)
$(INSTALL-L) $(FINAL_IMPORT_LIB) $(DESTDIR)$(libdir)
ifneq ($(IMPORT_LIB),$(FINAL_IMPORT_LIB))
@@
-114,6
+128,7
@@
ifneq ($(MIDDLE_IMPORT_LIB),$(FINAL_IMPORT_LIB))
cd $(DESTDIR)$(libdir) && $(RM) $(notdir $(MIDDLE_IMPORT_LIB)) && ln -s $(notdir $(FINAL_IMPORT_LIB)) $(notdir $(MIDDLE_IMPORT_LIB))
endif
endif
cd $(DESTDIR)$(libdir) && $(RM) $(notdir $(MIDDLE_IMPORT_LIB)) && ln -s $(notdir $(FINAL_IMPORT_LIB)) $(notdir $(MIDDLE_IMPORT_LIB))
endif
endif
+endif
install-headers:
$(MKINSTALLDIRS) $(DESTDIR)$(includedir)/layout
install-headers:
$(MKINSTALLDIRS) $(DESTDIR)$(includedir)/layout
@@
-138,13
+153,19
@@
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
ifneq ($(ENABLE_STATIC),)
&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
ifneq ($(ENABLE_STATIC),)
-$(TARGET): $(TARGET)($(STATIC_OBJECTS))
+$(TARGET): $(STATIC_OBJECTS)
+ $(AR) $(ARFLAGS) $(AR_OUTOPT)$@ $^
$(RANLIB) $@
endif
ifneq ($(ENABLE_SHARED),)
$(SHARED_OBJECT): $(OBJECTS) $(SO_VERSION_DATA)
$(SHLIB.cc) $(LD_SONAME) $(OUTOPT)$@ $^ $(LIBS)
$(RANLIB) $@
endif
ifneq ($(ENABLE_SHARED),)
$(SHARED_OBJECT): $(OBJECTS) $(SO_VERSION_DATA)
$(SHLIB.cc) $(LD_SONAME) $(OUTOPT)$@ $^ $(LIBS)
+ifeq ($(ENABLE_RPATH),YES)
+ifneq ($(wildcard $(libdir)/$(MIDDLE_SO_TARGET)),)
+ $(warning RPATH warning: --enable-rpath means test programs may use existing $(libdir)/$(MIDDLE_SO_TARGET))
+endif
+endif
ifeq ($(OS390BATCH),1)
$(BATCH_TARGET):$(OBJECTS)
ifeq ($(OS390BATCH),1)
$(BATCH_TARGET):$(OBJECTS)