1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/intl/icu/source/stubdata/Makefile.in Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,149 @@ 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 stubdata 1.11 +## Stephen F. Booth 1.12 + 1.13 +## Source directory information 1.14 +srcdir = @srcdir@ 1.15 +top_srcdir = @top_srcdir@ 1.16 + 1.17 +top_builddir = .. 1.18 + 1.19 +## All the flags and other definitions are included here. 1.20 +include $(top_builddir)/icudefs.mk 1.21 + 1.22 +## Build directory information 1.23 +subdir = stubdata 1.24 + 1.25 +## Extra files to remove for 'make clean' 1.26 +CLEANFILES = *~ $(DEPS) $(IMPORT_LIB) $(MIDDLE_IMPORT_LIB) $(FINAL_IMPORT_LIB) 1.27 + 1.28 +## Target information 1.29 + 1.30 +TARGET_STUBNAME=$(DATA_STUBNAME) 1.31 + 1.32 +ifneq ($(ENABLE_STATIC),) 1.33 +TARGET = $(STUBDATA_LIBDIR)$(LIBSICU)$(TARGET_STUBNAME)$(ICULIBSUFFIX).$(A) 1.34 +endif 1.35 + 1.36 + 1.37 +ifneq ($(ENABLE_SHARED),) 1.38 +SO_TARGET = $(STUBDATA_LIBDIR)$(LIBICU)$(TARGET_STUBNAME)$(ICULIBSUFFIX)$(STUB_SUFFIX).$(SO) 1.39 +ALL_SO_TARGETS = $(FINAL_SO_TARGET) $(MIDDLE_SO_TARGET) $(SO_TARGET) $(BATCH_STUB_TARGET) $(SHARED_OBJECT) 1.40 +endif 1.41 + 1.42 + 1.43 +ALL_TARGETS = $(TARGET) $(ALL_SO_TARGETS) 1.44 + 1.45 +DYNAMICCPPFLAGS = $(SHAREDLIBCPPFLAGS) 1.46 +DYNAMICCFLAGS = $(SHAREDLIBCFLAGS) 1.47 +DYNAMICCXXFLAGS = $(SHAREDLIBCXXFLAGS) 1.48 + 1.49 +CPPFLAGS += -I$(top_srcdir)/common $(LIBCPPFLAGS) 1.50 +LDFLAGS += $(LDFLAGSICUDT) 1.51 + 1.52 +OBJECTS = stubdata.o 1.53 + 1.54 +## Header files to install 1.55 +HEADERS = 1.56 + 1.57 +STATIC_OBJECTS = $(OBJECTS:.o=.$(STATIC_O)) 1.58 + 1.59 +DEPS = $(OBJECTS:.o=.d) 1.60 + 1.61 +-include Makefile.local 1.62 + 1.63 +## List of phony targets 1.64 +.PHONY : all all-local install install-local clean clean-local \ 1.65 +distclean distclean-local install-library dist \ 1.66 +dist-local check check-local check-exhaustive 1.67 + 1.68 +## Clear suffix list 1.69 +.SUFFIXES : 1.70 + 1.71 +## List of standard targets 1.72 +all: all-local 1.73 +install: install-local 1.74 +clean: clean-local 1.75 +distclean : distclean-local 1.76 +dist: dist-local 1.77 +check: all check-local 1.78 + 1.79 +check-exhaustive: check 1.80 + 1.81 +all-local: $(ALL_TARGETS) 1.82 + 1.83 +install-local: install-library 1.84 + 1.85 +install-library: all-local 1.86 + $(MKINSTALLDIRS) $(DESTDIR)$(libdir) 1.87 +ifneq ($(ENABLE_STATIC),) 1.88 + $(INSTALL-L) $(TARGET) $(DESTDIR)$(libdir) 1.89 +endif 1.90 +ifneq ($(ENABLE_SHARED),) 1.91 + $(INSTALL-L) $(FINAL_SO_TARGET) $(DESTDIR)$(libdir) 1.92 +ifneq ($(FINAL_SO_TARGET),$(SO_TARGET)) 1.93 + cd $(DESTDIR)$(libdir) && $(RM) $(notdir $(SO_TARGET)) && ln -s $(notdir $(FINAL_SO_TARGET)) $(notdir $(SO_TARGET)) 1.94 +ifneq ($(FINAL_SO_TARGET),$(MIDDLE_SO_TARGET)) 1.95 + cd $(DESTDIR)$(libdir) && $(RM) $(notdir $(MIDDLE_SO_TARGET)) && ln -s $(notdir $(FINAL_SO_TARGET)) $(notdir $(MIDDLE_SO_TARGET)) 1.96 +endif 1.97 +endif 1.98 +ifneq ($(IMPORT_LIB_EXT),) 1.99 + $(INSTALL-L) $(FINAL_IMPORT_LIB) $(DESTDIR)$(libdir) 1.100 +ifneq ($(IMPORT_LIB),$(FINAL_IMPORT_LIB)) 1.101 + cd $(DESTDIR)$(libdir) && $(RM) $(notdir $(IMPORT_LIB)) && ln -s $(notdir $(FINAL_IMPORT_LIB)) $(notdir $(IMPORT_LIB)) 1.102 +endif 1.103 +ifneq ($(MIDDLE_IMPORT_LIB),$(FINAL_IMPORT_LIB)) 1.104 + cd $(DESTDIR)$(libdir) && $(RM) $(notdir $(MIDDLE_IMPORT_LIB)) && ln -s $(notdir $(FINAL_IMPORT_LIB)) $(notdir $(MIDDLE_IMPORT_LIB)) 1.105 +endif 1.106 +endif 1.107 +endif 1.108 + 1.109 +dist-local: 1.110 + 1.111 +clean-local: 1.112 + test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES) 1.113 + $(RMV) $(OBJECTS) $(STATIC_OBJECTS) $(ALL_TARGETS) 1.114 + 1.115 +distclean-local: clean-local 1.116 + $(RMV) Makefile 1.117 + 1.118 +check-local: 1.119 + 1.120 +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status 1.121 + cd $(top_builddir) \ 1.122 + && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status 1.123 + 1.124 +ifneq ($(ENABLE_STATIC),) 1.125 +$(TARGET): $(STATIC_OBJECTS) 1.126 + $(AR) $(ARFLAGS) $(AR_OUTOPT)$@ $^ 1.127 + $(RANLIB) $@ 1.128 +endif 1.129 + 1.130 +ifneq ($(ENABLE_SHARED),) 1.131 +$(SHARED_OBJECT): $(OBJECTS) 1.132 + $(SHLIB.c) $(LD_SONAME) $(OUTOPT)$@ $^ $(LIBS) 1.133 +ifeq ($(ENABLE_RPATH),YES) 1.134 +ifneq ($(wildcard $(libdir)/$(MIDDLE_SO_TARGET)),) 1.135 + $(warning RPATH warning: --enable-rpath means test programs may use existing $(libdir)/$(MIDDLE_SO_TARGET)) 1.136 +endif 1.137 +endif 1.138 + 1.139 +ifeq ($(OS390BATCH),1) 1.140 +$(BATCH_STUB_TARGET): $(OBJECTS) 1.141 + $(SHLIB.c) $(LD_SONAME) $(OUTOPT)$@ $^ $(LIBS) 1.142 +endif # OS390BATCH 1.143 +endif # ENABLE_SHARED 1.144 + 1.145 +ifeq (,$(MAKECMDGOALS)) 1.146 +-include $(DEPS) 1.147 +else 1.148 +ifneq ($(patsubst %clean,,$(MAKECMDGOALS)),) 1.149 +-include $(DEPS) 1.150 +endif 1.151 +endif 1.152 +