X-Git-Url: https://git.saurik.com/apple/icu.git/blobdiff_plain/4388f060552cc537e71e957d32f35e9d75a61233..1a147d096ae81f4c8262f7bfc56bd19fc2dee932:/icuSources/layoutex/Makefile.in diff --git a/icuSources/layoutex/Makefile.in b/icuSources/layoutex/Makefile.in index b23e7dbd..b9cabac2 100644 --- a/icuSources/layoutex/Makefile.in +++ b/icuSources/layoutex/Makefile.in @@ -1,6 +1,8 @@ +# Copyright (C) 2016 and later: Unicode, Inc. and others. +# License & terms of use: http://www.unicode.org/copyright.html #****************************************************************************** # -# Copyright (C) 1999-2011, International Business Machines +# Copyright (C) 1999-2014, International Business Machines # Corporation and others. All Rights Reserved. # #****************************************************************************** @@ -52,7 +54,15 @@ DYNAMICCXXFLAGS = $(SHAREDLIBCXXFLAGS) CFLAGS += $(LIBCFLAGS) CXXFLAGS += $(LIBCXXFLAGS) -CPPFLAGS += -I$(srcdir) -I$(srcdir)/unicode -I$(srcdir)/.. -I$(top_srcdir)/common $(LIBCPPFLAGS) + +ifeq ($(USING_ICULEHB),no) +# cppflags: load .. so that #include works +ICULE_CFLAGS=-I$(srcdir)/.. +else +ICULE_CFLAGS=$(ICULEHB_CFLAGS) +endif + +CPPFLAGS += -I$(srcdir) -I$(srcdir)/unicode -I$(top_srcdir)/common $(ICULE_CFLAGS) $(LIBCPPFLAGS) DEFS += -DU_LAYOUTEX_IMPLEMENTATION LDFLAGS += $(LDFLAGSICULX) LIBS = $(LIBICUUC) $(LIBICULE) $(DEFAULT_LIBS) @@ -93,6 +103,10 @@ check-exhaustive: check 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)