summaryrefslogtreecommitdiff
path: root/Build/source/libs/icu-xetex/tools/ctestfw/Makefile.in
diff options
context:
space:
mode:
authorJonathan Kew <jfkthame@googlemail.com>2007-11-21 12:29:46 +0000
committerJonathan Kew <jfkthame@googlemail.com>2007-11-21 12:29:46 +0000
commit952d69f85d43b087ce9fa79d3fc6f1c076000bc7 (patch)
treedd6937a6486e80e1638618308481075efab000ae /Build/source/libs/icu-xetex/tools/ctestfw/Makefile.in
parent888236cb9df7b7d7b5a3e2d784037a9a59511c53 (diff)
updated icu-xetex library for XeTeX 0.997
git-svn-id: svn://tug.org/texlive/trunk@5536 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/libs/icu-xetex/tools/ctestfw/Makefile.in')
-rw-r--r--Build/source/libs/icu-xetex/tools/ctestfw/Makefile.in45
1 files changed, 22 insertions, 23 deletions
diff --git a/Build/source/libs/icu-xetex/tools/ctestfw/Makefile.in b/Build/source/libs/icu-xetex/tools/ctestfw/Makefile.in
index 0a0b3b01878..bca5dbf3b08 100644
--- a/Build/source/libs/icu-xetex/tools/ctestfw/Makefile.in
+++ b/Build/source/libs/icu-xetex/tools/ctestfw/Makefile.in
@@ -1,6 +1,10 @@
+#******************************************************************************
+#
+# Copyright (C) 1999-2006, International Business Machines
+# Corporation and others. All Rights Reserved.
+#
+#******************************************************************************
## Makefile.in for ICU - tools/ctestfw
-## Copyright (c) 1999-2005, International Business Machines Corporation and
-## others. All Rights Reserved.
## Stephen F. Booth
## Source directory information
@@ -9,6 +13,7 @@ top_srcdir = @top_srcdir@
top_builddir = ../..
+## All the flags and other definitions are included here.
include $(top_builddir)/icudefs.mk
## Build directory information
@@ -19,17 +24,15 @@ CLEANFILES = *~ $(DEPS) $(IMPORT_LIB) $(MIDDLE_IMPORT_LIB) $(FINAL_IMPORT_LIB)
## Target information
+TARGET_STUBNAME=$(CTESTFW_STUBNAME)
+
ifneq ($(ENABLE_STATIC),)
-TARGET = $(LIBSICU)$(CTESTFW_STUBNAME)$(ICULIBSUFFIX).$(A)
+TARGET = $(LIBSICU)$(TARGET_STUBNAME)$(ICULIBSUFFIX).$(A)
endif
-CPPFLAGS += -I$(top_builddir)/common -I$(top_srcdir)/common -I$(srcdir)/../toolutil -I$(srcdir)
-DEFS += -DT_CTEST_IMPLEMENTATION
-
-
ifneq ($(ENABLE_SHARED),)
-SO_TARGET = $(LIBICU)$(CTESTFW_STUBNAME)$(ICULIBSUFFIX).$(SO)
-ALL_SO_TARGETS = $(SO_TARGET) $(MIDDLE_SO_TARGET) $(FINAL_SO_TARGET)
+SO_TARGET = $(LIBICU)$(TARGET_STUBNAME)$(ICULIBSUFFIX).$(SO)
+ALL_SO_TARGETS = $(SO_TARGET) $(MIDDLE_SO_TARGET) $(FINAL_SO_TARGET) $(SHARED_OBJECT)
endif
ALL_TARGETS = $(TARGET) $(ALL_SO_TARGETS)
@@ -38,15 +41,22 @@ DYNAMICCPPFLAGS = $(SHAREDLIBCPPFLAGS)
DYNAMICCFLAGS = $(SHAREDLIBCFLAGS)
DYNAMICCXXFLAGS = $(SHAREDLIBCXXFLAGS)
+ifneq ($(top_builddir),$(top_srcdir))
+CPPFLAGS += -I$(top_builddir)/common
+endif
+CPPFLAGS += -I$(top_srcdir)/common -I$(srcdir)/../toolutil -I$(srcdir) $(LIBCPPFLAGS)
+DEFS += -DT_CTEST_IMPLEMENTATION
LDFLAGS += $(LDFLAGSCTESTFW)
LIBS = $(LIBICUTOOLUTIL) $(LIBICUI18N) $(LIBICUUC) $(DEFAULT_LIBS)
-OBJECTS = ctest.o tstdtmod.o testdata.o datamap.o
+OBJECTS = ctest.o tstdtmod.o testdata.o datamap.o uperf.o
STATIC_OBJECTS = $(OBJECTS:.o=.$(STATIC_O))
DEPS = $(OBJECTS:.o=.d)
+-include Makefile.local
+
## List of phony targets
.PHONY : all all-local install install-local clean clean-local \
distclean distclean-local dist dist-local check check-local
@@ -67,18 +77,6 @@ all-local: $(ALL_TARGETS)
install-local: install-library
install-library: all-local
-#echo This doesn't need to be installed normally
-# $(MKINSTALLDIRS) $(DESTDIR)$(libdir)
-#ifneq ($(ENABLE_STATIC),)
-# $(INSTALL-L) $(TARGET) $(DESTDIR)$(libdir)/$(TARGET)
-#endif
-#ifneq ($(ENABLE_SHARED),)
-# $(INSTALL-L) $(FINAL_SO_TARGET) $(DESTDIR)$(libdir)/$(FINAL_SO_TARGET)
-#ifneq ($(FINAL_SO_TARGET),$(SO_TARGET))
-# cd $(DESTDIR)$(libdir) && $(RM) $(MIDDLE_SO_TARGET) && ln -s $(FINAL_SO_TARGET) $(MIDDLE_SO_TARGET)
-# cd $(DESTDIR)$(libdir) && $(RM) $(SO_TARGET) && ln -s $(FINAL_SO_TARGET) $(SO_TARGET)
-#endif
-#endif
dist-local:
@@ -101,7 +99,7 @@ $(TARGET): $(TARGET)($(STATIC_OBJECTS))
endif
ifneq ($(ENABLE_SHARED),)
-$(FINAL_SO_TARGET): $(OBJECTS)
+$(SHARED_OBJECT): $(OBJECTS)
$(SHLIB.cc) $(LD_SONAME) $(OUTOPT)$@ $^ $(LIBS)
endif
@@ -112,3 +110,4 @@ ifneq ($(patsubst %clean,,$(MAKECMDGOALS)),)
-include $(DEPS)
endif
endif
+