intl/icu/source/io/Makefile.in

Wed, 31 Dec 2014 07:22:50 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 07:22:50 +0100
branch
TOR_BUG_3246
changeset 4
fc2d59ddac77
permissions
-rw-r--r--

Correct previous dual key logic pending first delivery installment.

michael@0 1 #******************************************************************************
michael@0 2 #
michael@0 3 # Copyright (C) 1999-2011, International Business Machines
michael@0 4 # Corporation and others. All Rights Reserved.
michael@0 5 #
michael@0 6 #******************************************************************************
michael@0 7 ## Makefile.in for ICU - icuio.so
michael@0 8 ## Stephen F. Booth
michael@0 9
michael@0 10 ## Source directory information
michael@0 11 srcdir = @srcdir@
michael@0 12 top_srcdir = @top_srcdir@
michael@0 13
michael@0 14 top_builddir = ..
michael@0 15
michael@0 16 ## All the flags and other definitions are included here.
michael@0 17 include $(top_builddir)/icudefs.mk
michael@0 18
michael@0 19 ## Build directory information
michael@0 20 subdir = io
michael@0 21
michael@0 22 ## Extra files to remove for 'make clean'
michael@0 23 CLEANFILES = *~ $(DEPS) $(IMPORT_LIB) $(MIDDLE_IMPORT_LIB) $(FINAL_IMPORT_LIB)
michael@0 24
michael@0 25 ## Target information
michael@0 26
michael@0 27 TARGET_STUBNAME=$(IO_STUBNAME)
michael@0 28
michael@0 29 ifneq ($(ENABLE_STATIC),)
michael@0 30 TARGET = $(LIBDIR)/$(LIBSICU)$(TARGET_STUBNAME)$(ICULIBSUFFIX).$(A)
michael@0 31 endif
michael@0 32
michael@0 33 ifneq ($(ENABLE_SHARED),)
michael@0 34 SO_TARGET = $(LIBDIR)/$(LIBICU)$(TARGET_STUBNAME)$(ICULIBSUFFIX).$(SO)
michael@0 35 ALL_SO_TARGETS = $(SO_TARGET) $(MIDDLE_SO_TARGET) $(FINAL_SO_TARGET) $(SHARED_OBJECT)
michael@0 36
michael@0 37 ifeq ($(ENABLE_SO_VERSION_DATA),1)
michael@0 38 SO_VERSION_DATA = io.res
michael@0 39 endif
michael@0 40
michael@0 41 ifeq ($(OS390BATCH),1)
michael@0 42 BATCH_TARGET = $(BATCH_IO_TARGET)
michael@0 43 BATCH_LIBS = $(BATCH_LIBICUUC) $(BATCH_LIBICUI18N) -lm
michael@0 44 endif # OS390BATCH
michael@0 45
michael@0 46 endif # ENABLE_SHARED
michael@0 47
michael@0 48 ALL_TARGETS = $(TARGET) $(ALL_SO_TARGETS) $(BATCH_TARGET)
michael@0 49
michael@0 50 DYNAMICCPPFLAGS = $(SHAREDLIBCPPFLAGS)
michael@0 51 DYNAMICCFLAGS = $(SHAREDLIBCFLAGS)
michael@0 52 DYNAMICCXXFLAGS = $(SHAREDLIBCXXFLAGS)
michael@0 53 CFLAGS += $(LIBCFLAGS)
michael@0 54 CXXFLAGS += $(LIBCXXFLAGS)
michael@0 55
michael@0 56 CPPFLAGS += -I$(top_srcdir)/common -I$(top_srcdir)/i18n $(LIBCPPFLAGS) $(CPPFLAGSICUIO)
michael@0 57 DEFS += -DU_IO_IMPLEMENTATION
michael@0 58 LDFLAGS += $(LDFLAGSICUIO)
michael@0 59 LIBS = $(LIBICUUC) $(LIBICUI18N) $(DEFAULT_LIBS)
michael@0 60
michael@0 61 OBJECTS = locbund.o ufile.o ufmt_cmn.o uprintf.o uprntf_p.o \
michael@0 62 uscanf.o uscanf_p.o ustdio.o sprintf.o sscanf.o \
michael@0 63 ustream.o ucln_io.o
michael@0 64
michael@0 65 ## Header files to install
michael@0 66 HEADERS = $(srcdir)/unicode/*.h
michael@0 67
michael@0 68 STATIC_OBJECTS = $(OBJECTS:.o=.$(STATIC_O))
michael@0 69
michael@0 70 DEPS = $(OBJECTS:.o=.d)
michael@0 71
michael@0 72 -include Makefile.local
michael@0 73
michael@0 74 ## List of phony targets
michael@0 75 .PHONY : all all-local install install-local clean clean-local \
michael@0 76 distclean distclean-local install-library install-headers dist \
michael@0 77 dist-local check check-local check-exhaustive
michael@0 78
michael@0 79 ## Clear suffix list
michael@0 80 .SUFFIXES :
michael@0 81
michael@0 82 ## List of standard targets
michael@0 83 all: all-local
michael@0 84 install: install-local
michael@0 85 clean: clean-local
michael@0 86 distclean : distclean-local
michael@0 87 dist: dist-local
michael@0 88 check: all check-local
michael@0 89
michael@0 90 check-exhaustive: check
michael@0 91
michael@0 92 all-local: $(ALL_TARGETS)
michael@0 93
michael@0 94 install-local: install-headers install-library
michael@0 95
michael@0 96 install-library: all-local
michael@0 97 $(MKINSTALLDIRS) $(DESTDIR)$(libdir)
michael@0 98 ifneq ($(ENABLE_STATIC),)
michael@0 99 $(INSTALL-L) $(TARGET) $(DESTDIR)$(libdir)
michael@0 100 endif
michael@0 101 ifneq ($(ENABLE_SHARED),)
michael@0 102 $(INSTALL-L) $(FINAL_SO_TARGET) $(DESTDIR)$(libdir)
michael@0 103 ifneq ($(FINAL_SO_TARGET),$(SO_TARGET))
michael@0 104 cd $(DESTDIR)$(libdir) && $(RM) $(notdir $(SO_TARGET)) && ln -s $(notdir $(FINAL_SO_TARGET)) $(notdir $(SO_TARGET))
michael@0 105 ifneq ($(FINAL_SO_TARGET),$(MIDDLE_SO_TARGET))
michael@0 106 cd $(DESTDIR)$(libdir) && $(RM) $(notdir $(MIDDLE_SO_TARGET)) && ln -s $(notdir $(FINAL_SO_TARGET)) $(notdir $(MIDDLE_SO_TARGET))
michael@0 107 endif
michael@0 108 endif
michael@0 109 ifneq ($(IMPORT_LIB_EXT),)
michael@0 110 $(INSTALL-L) $(FINAL_IMPORT_LIB) $(DESTDIR)$(libdir)
michael@0 111 ifneq ($(IMPORT_LIB),$(FINAL_IMPORT_LIB))
michael@0 112 cd $(DESTDIR)$(libdir) && $(RM) $(notdir $(IMPORT_LIB)) && ln -s $(notdir $(FINAL_IMPORT_LIB)) $(notdir $(IMPORT_LIB))
michael@0 113 endif
michael@0 114 ifneq ($(MIDDLE_IMPORT_LIB),$(FINAL_IMPORT_LIB))
michael@0 115 cd $(DESTDIR)$(libdir) && $(RM) $(notdir $(MIDDLE_IMPORT_LIB)) && ln -s $(notdir $(FINAL_IMPORT_LIB)) $(notdir $(MIDDLE_IMPORT_LIB))
michael@0 116 endif
michael@0 117 endif
michael@0 118 endif
michael@0 119
michael@0 120 install-headers:
michael@0 121 $(MKINSTALLDIRS) $(DESTDIR)$(includedir)/unicode
michael@0 122 @for file in $(HEADERS); do \
michael@0 123 echo "$(INSTALL_DATA) $$file $(DESTDIR)$(includedir)/unicode"; \
michael@0 124 $(INSTALL_DATA) $$file $(DESTDIR)$(includedir)/unicode || exit; \
michael@0 125 done
michael@0 126
michael@0 127 dist-local:
michael@0 128
michael@0 129 clean-local:
michael@0 130 test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES)
michael@0 131 $(RMV) $(OBJECTS) $(STATIC_OBJECTS) $(ALL_TARGETS) $(SO_VERSION_DATA)
michael@0 132
michael@0 133 distclean-local: clean-local
michael@0 134 $(RMV) Makefile
michael@0 135
michael@0 136 check-local:
michael@0 137
michael@0 138 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
michael@0 139 cd $(top_builddir) \
michael@0 140 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
michael@0 141
michael@0 142 ifneq ($(ENABLE_STATIC),)
michael@0 143 $(TARGET): $(STATIC_OBJECTS)
michael@0 144 $(AR) $(ARFLAGS) $(AR_OUTOPT)$@ $^
michael@0 145 $(RANLIB) $@
michael@0 146 endif
michael@0 147
michael@0 148 ifneq ($(ENABLE_SHARED),)
michael@0 149 $(SHARED_OBJECT): $(OBJECTS) $(SO_VERSION_DATA)
michael@0 150 $(SHLIB.cc) $(LD_SONAME) $(OUTOPT)$@ $^ $(LIBS)
michael@0 151 ifeq ($(ENABLE_RPATH),YES)
michael@0 152 ifneq ($(wildcard $(libdir)/$(MIDDLE_SO_TARGET)),)
michael@0 153 $(warning RPATH warning: --enable-rpath means test programs may use existing $(libdir)/$(MIDDLE_SO_TARGET))
michael@0 154 endif
michael@0 155 endif
michael@0 156
michael@0 157 ifeq ($(OS390BATCH),1)
michael@0 158 $(BATCH_TARGET):$(OBJECTS)
michael@0 159 $(SHLIB.cc) $(LD_SONAME) $(OUTOPT)$@ $^ $(BATCH_LIBS)
michael@0 160 endif # OS390BATCH
michael@0 161 endif # ENABLE_SHARED
michael@0 162
michael@0 163 ifeq (,$(MAKECMDGOALS))
michael@0 164 -include $(DEPS)
michael@0 165 else
michael@0 166 ifneq ($(patsubst %clean,,$(MAKECMDGOALS)),)
michael@0 167 -include $(DEPS)
michael@0 168 endif
michael@0 169 endif
michael@0 170

mercurial