intl/icu/source/layoutex/Makefile.in

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/intl/icu/source/layoutex/Makefile.in	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,171 @@
     1.4 +#******************************************************************************
     1.5 +#
     1.6 +#   Copyright (C) 1999-2011, International Business Machines
     1.7 +#   Corporation and others.  All Rights Reserved.
     1.8 +#
     1.9 +#******************************************************************************
    1.10 +## Makefile.in for ICU - layout
    1.11 +
    1.12 +## Source directory information
    1.13 +srcdir = @srcdir@
    1.14 +top_srcdir = @top_srcdir@
    1.15 +
    1.16 +top_builddir = ..
    1.17 +
    1.18 +## All the flags and other definitions are included here.
    1.19 +include $(top_builddir)/icudefs.mk
    1.20 +
    1.21 +## Build directory information
    1.22 +subdir = layoutex
    1.23 +
    1.24 +## Extra files to remove for 'make clean'
    1.25 +CLEANFILES = *~ $(DEPS) $(IMPORT_LIB) $(MIDDLE_IMPORT_LIB) $(FINAL_IMPORT_LIB)
    1.26 +
    1.27 +## Target information
    1.28 +
    1.29 +TARGET_STUBNAME=$(LAYOUTEX_STUBNAME)
    1.30 +
    1.31 +ifneq ($(ENABLE_STATIC),)
    1.32 +TARGET = $(LIBDIR)/$(LIBSICU)$(TARGET_STUBNAME)$(ICULIBSUFFIX).$(A)
    1.33 +endif
    1.34 +
    1.35 +ifneq ($(ENABLE_SHARED),)
    1.36 +SO_TARGET = $(LIBDIR)/$(LIBICU)$(TARGET_STUBNAME)$(ICULIBSUFFIX).$(SO)
    1.37 +ALL_SO_TARGETS = $(SO_TARGET) $(MIDDLE_SO_TARGET) $(FINAL_SO_TARGET) $(SHARED_OBJECT)
    1.38 +
    1.39 +ifeq ($(ENABLE_SO_VERSION_DATA),1)
    1.40 +SO_VERSION_DATA = layoutex.res
    1.41 +endif
    1.42 +
    1.43 +ifeq ($(OS390BATCH),1)
    1.44 +BATCH_TARGET = $(BATCH_LAYOUTEX_TARGET)
    1.45 +BATCH_LIBS = $(BATCH_LIBICUUC) $(BATCH_LIBICULE) -lm
    1.46 +endif   # OS390BATCH
    1.47 +
    1.48 +endif   # ENABLE_SHARED
    1.49 +
    1.50 +ALL_TARGETS = $(TARGET) $(ALL_SO_TARGETS) $(BATCH_TARGET)
    1.51 +
    1.52 +DYNAMICCPPFLAGS = $(SHAREDLIBCPPFLAGS)
    1.53 +DYNAMICCFLAGS = $(SHAREDLIBCFLAGS)
    1.54 +DYNAMICCXXFLAGS = $(SHAREDLIBCXXFLAGS)
    1.55 +CFLAGS += $(LIBCFLAGS)
    1.56 +CXXFLAGS += $(LIBCXXFLAGS)
    1.57 +
    1.58 +CPPFLAGS += -I$(srcdir) -I$(srcdir)/unicode -I$(srcdir)/.. -I$(top_srcdir)/common $(LIBCPPFLAGS)
    1.59 +DEFS += -DU_LAYOUTEX_IMPLEMENTATION
    1.60 +LDFLAGS += $(LDFLAGSICULX)
    1.61 +LIBS = $(LIBICUUC) $(LIBICULE) $(DEFAULT_LIBS)
    1.62 +
    1.63 +OBJECTS =  ParagraphLayout.o \
    1.64 +RunArrays.o \
    1.65 +LXUtilities.o  \
    1.66 +playout.o \
    1.67 +plruns.o
    1.68 +
    1.69 +## Header files to install
    1.70 +HEADERS= $(srcdir)/layout/ParagraphLayout.h $(srcdir)/layout/RunArrays.h $(srcdir)/layout/playout.h $(srcdir)/layout/plruns.h
    1.71 +
    1.72 +STATIC_OBJECTS = $(OBJECTS:.o=.$(STATIC_O))
    1.73 +
    1.74 +DEPS = $(OBJECTS:.o=.d)
    1.75 +
    1.76 +-include Makefile.local
    1.77 +
    1.78 +## List of phony targets
    1.79 +.PHONY : all all-local install install-local clean clean-local	\
    1.80 +distclean distclean-local install-library install-headers dist	\
    1.81 +dist-local check check-local check-exhaustive
    1.82 +
    1.83 +## Clear suffix list
    1.84 +.SUFFIXES :
    1.85 +
    1.86 +## List of standard targets
    1.87 +all: all-local
    1.88 +install: install-local
    1.89 +clean: clean-local
    1.90 +distclean : distclean-local
    1.91 +dist: dist-local
    1.92 +check: all check-local
    1.93 +
    1.94 +check-exhaustive: check
    1.95 +
    1.96 +all-local: $(ALL_TARGETS)
    1.97 +
    1.98 +install-local: install-headers install-library
    1.99 +
   1.100 +install-library: all-local
   1.101 +	$(MKINSTALLDIRS) $(DESTDIR)$(libdir)
   1.102 +ifneq ($(ENABLE_STATIC),)
   1.103 +	$(INSTALL-L) $(TARGET) $(DESTDIR)$(libdir)
   1.104 +endif
   1.105 +ifneq ($(ENABLE_SHARED),)
   1.106 +	$(INSTALL-L) $(FINAL_SO_TARGET) $(DESTDIR)$(libdir)
   1.107 +ifneq ($(FINAL_SO_TARGET),$(SO_TARGET))
   1.108 +	cd $(DESTDIR)$(libdir) && $(RM) $(notdir $(SO_TARGET)) && ln -s $(notdir $(FINAL_SO_TARGET)) $(notdir $(SO_TARGET))
   1.109 +ifneq ($(FINAL_SO_TARGET),$(MIDDLE_SO_TARGET))
   1.110 +	cd $(DESTDIR)$(libdir) && $(RM) $(notdir $(MIDDLE_SO_TARGET)) && ln -s $(notdir $(FINAL_SO_TARGET)) $(notdir $(MIDDLE_SO_TARGET))
   1.111 +endif
   1.112 +endif
   1.113 +ifneq ($(IMPORT_LIB_EXT),)
   1.114 +	$(INSTALL-L) $(FINAL_IMPORT_LIB) $(DESTDIR)$(libdir)
   1.115 +ifneq ($(IMPORT_LIB),$(FINAL_IMPORT_LIB))
   1.116 +	cd $(DESTDIR)$(libdir) && $(RM) $(notdir $(IMPORT_LIB)) && ln -s $(notdir $(FINAL_IMPORT_LIB)) $(notdir $(IMPORT_LIB))
   1.117 +endif
   1.118 +ifneq ($(MIDDLE_IMPORT_LIB),$(FINAL_IMPORT_LIB))
   1.119 +	cd $(DESTDIR)$(libdir) && $(RM) $(notdir $(MIDDLE_IMPORT_LIB)) && ln -s $(notdir $(FINAL_IMPORT_LIB)) $(notdir $(MIDDLE_IMPORT_LIB))
   1.120 +endif
   1.121 +endif
   1.122 +endif
   1.123 +
   1.124 +install-headers:
   1.125 +	$(MKINSTALLDIRS) $(DESTDIR)$(includedir)/layout
   1.126 +	@for file in $(HEADERS); do \
   1.127 +	 echo "$(INSTALL_DATA) $$file $(DESTDIR)$(includedir)/layout"; \
   1.128 +	 $(INSTALL_DATA) $$file $(DESTDIR)$(includedir)/layout || exit; \
   1.129 +	done
   1.130 +
   1.131 +dist-local:
   1.132 +
   1.133 +clean-local:
   1.134 +	test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES)
   1.135 +	$(RMV) $(OBJECTS) $(STATIC_OBJECTS) $(ALL_TARGETS) $(SO_VERSION_DATA)
   1.136 +
   1.137 +distclean-local: clean-local
   1.138 +	$(RMV) Makefile
   1.139 +
   1.140 +check-local:
   1.141 +
   1.142 +Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
   1.143 +	cd $(top_builddir) \
   1.144 +	 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
   1.145 +
   1.146 +ifneq ($(ENABLE_STATIC),)
   1.147 +$(TARGET): $(STATIC_OBJECTS)
   1.148 +	$(AR) $(ARFLAGS) $(AR_OUTOPT)$@ $^
   1.149 +	$(RANLIB) $@
   1.150 +endif
   1.151 +
   1.152 +ifneq ($(ENABLE_SHARED),)
   1.153 +$(SHARED_OBJECT): $(OBJECTS) $(SO_VERSION_DATA)
   1.154 +	$(SHLIB.cc) $(LD_SONAME) $(OUTOPT)$@ $^ $(LIBS)
   1.155 +ifeq ($(ENABLE_RPATH),YES)
   1.156 +ifneq ($(wildcard $(libdir)/$(MIDDLE_SO_TARGET)),)
   1.157 +	$(warning RPATH warning: --enable-rpath means test programs may use existing $(libdir)/$(MIDDLE_SO_TARGET))
   1.158 +endif
   1.159 +endif
   1.160 +
   1.161 +ifeq ($(OS390BATCH),1)
   1.162 +$(BATCH_TARGET):$(OBJECTS)
   1.163 +	$(SHLIB.cc) $(LD_SONAME) $(OUTOPT)$@ $^ $(BATCH_LIBS)
   1.164 +endif   # OS390BATCH
   1.165 +endif   # ENABLE_SHARED
   1.166 +
   1.167 +ifeq (,$(MAKECMDGOALS))
   1.168 +-include $(DEPS)
   1.169 +else
   1.170 +ifneq ($(patsubst %clean,,$(MAKECMDGOALS)),)
   1.171 +-include $(DEPS)
   1.172 +endif
   1.173 +endif
   1.174 +

mercurial