X-Git-Url: https://git.saurik.com/apple/icu.git/blobdiff_plain/b25be06635768807f8f693286fa73bb2297bb06c..4388f060552cc537e71e957d32f35e9d75a61233:/icuSources/tools/toolutil/Makefile.in diff --git a/icuSources/tools/toolutil/Makefile.in b/icuSources/tools/toolutil/Makefile.in index ac171084..ffec2b4d 100644 --- a/icuSources/tools/toolutil/Makefile.in +++ b/icuSources/tools/toolutil/Makefile.in @@ -1,6 +1,6 @@ #****************************************************************************** # -# Copyright (C) 1999-2010, International Business Machines +# Copyright (C) 1999-2011, International Business Machines # Corporation and others. All Rights Reserved. # #****************************************************************************** @@ -43,18 +43,21 @@ DYNAMICCXXFLAGS = $(SHAREDLIBCXXFLAGS) CFLAGS += $(LIBCFLAGS) CXXFLAGS += $(LIBCXXFLAGS) -ifneq ($(top_builddir),$(top_srcdir)) -CPPFLAGS += -I$(top_builddir)/common -endif CPPFLAGS += -I$(top_srcdir)/common -I$(top_srcdir)/i18n $(LIBCPPFLAGS) + +# from icuinfo +CPPFLAGS+= "-DU_BUILD=\"@build@\"" "-DU_HOST=\"@host@\"" "-DU_CC=\"@CC@\"" "-DU_CXX=\"@CXX@\"" + + DEFS += -DU_TOOLUTIL_IMPLEMENTATION LDFLAGS += $(LDFLAGSICUTOOLUTIL) LIBS = $(LIBICUI18N) $(LIBICUUC) $(DEFAULT_LIBS) OBJECTS = filestrm.o package.o pkgitems.o swapimpl.o toolutil.o unewdata.o \ +denseranges.o \ ucm.o ucmstate.o uoptions.o uparse.o \ ucbuf.o xmlparser.o writesrc.o \ -pkg_icu.o pkg_genc.o pkg_gencmn.o flagparser.o filetools.o \ +pkg_icu.o pkg_genc.o pkg_gencmn.o ppucd.o flagparser.o filetools.o \ udbgutil.o dbgutil.o ucln_tu.o STATIC_OBJECTS = $(OBJECTS:.o=.$(STATIC_O)) @@ -131,6 +134,11 @@ endif ifneq ($(ENABLE_SHARED),) $(SHARED_OBJECT): $(OBJECTS) $(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 endif ifeq (,$(MAKECMDGOALS))