]> git.saurik.com Git - apple/icu.git/blame - icuSources/test/cintltst/Makefile.in
ICU-400.42.tar.gz
[apple/icu.git] / icuSources / test / cintltst / Makefile.in
CommitLineData
73c04bcf
A
1#******************************************************************************
2#
46f4442e 3# Copyright (C) 1999-2008, International Business Machines
73c04bcf
A
4# Corporation and others. All Rights Reserved.
5#
6#******************************************************************************
b75a7d8f 7## Makefile.in for ICU - test/cintltst
b75a7d8f
A
8
9## Source directory information
10srcdir = @srcdir@
11top_srcdir = @top_srcdir@
12
13top_builddir = ../..
14
73c04bcf 15## All the flags and other definitions are included here.
b75a7d8f
A
16include $(top_builddir)/icudefs.mk
17
18## Build directory information
19subdir = test/cintltst
20
21## Extra files to remove for 'make clean'
22CLEANFILES = *~ $(DEPS)
23
24## Target information
25TARGET = cintltst$(EXEEXT)
26
374ca955 27BUILDDIR := $(CURR_SRCCODE_FULL_DIR)/../../
73c04bcf 28# Simplify the path for Unix
b75a7d8f 29BUILDDIR := $(BUILDDIR:test/cintltst/../../=)
73c04bcf
A
30# Simplify the path for Windows
31BUILDDIR := $(BUILDDIR:test\\cintltst/../../=)
32# Simplify the path for Windows 98
33BUILDDIR := $(BUILDDIR:TEST\\CINTLTST/../../=)
b75a7d8f 34
73c04bcf
A
35ifneq ($(top_builddir),$(top_srcdir))
36CPPFLAGS += -I$(top_builddir)/common
37endif
b75a7d8f 38# we define ICU_UNICODE_VERSION so we can test it
73c04bcf 39CPPFLAGS += -I$(top_srcdir)/common -I$(top_srcdir)/i18n -I$(top_srcdir)/tools/ctestfw -I$(top_srcdir)/tools/toolutil
374ca955 40DEFS += -D'ICU_UNICODE_VERSION="$(UNICODE_VERSION)"' -D'ICU_VERSION="@VERSION@"' -D'ICUDATA_NAME="$(ICUDATA_PLATFORM_NAME)"' -D'U_TOPSRCDIR="$(top_srcdir)/"' -D'U_TOPBUILDDIR="$(BUILDDIR)"'
b75a7d8f
A
41LIBS = $(LIBCTESTFW) $(LIBICUI18N) $(LIBICUUC) $(LIBICUTOOLUTIL) $(DEFAULT_LIBS) $(LIB_M)
42
43OBJECTS = callcoll.o calltest.o colutil.o capitst.o cbiapts.o cbkittst.o \
73c04bcf 44ccaltst.o cctest.o ccapitst.o ccolltst.o encoll.o cconvtst.o ccurrtst.o \
b75a7d8f
A
45cdattst.o cdetst.o cdtdptst.o cdtrgtst.o cestst.o cfintst.o cformtst.o \
46cfrtst.o cg7coll.o chashtst.o cintltst.o citertst.o cjaptst.o cloctst.o \
374ca955 47cmsccoll.o cmsgtst.o cposxtst.o cldrtest.o \
73c04bcf
A
48cnmdptst.o cnormtst.o cnumtst.o crestst.o creststn.o cturtst.o \
49cucdapi.o cucdtst.o custrtst.o cstrcase.o cutiltst.o nucnvtst.o nccbtst.o bocu1tst.o \
b75a7d8f 50cbiditst.o cbididat.o eurocreg.o udatatst.o utf16tst.o utransts.o \
46f4442e
A
51ncnvfbts.o ncnvtst.o putiltst.o cstrtest.o udatpg_test.o utf8tst.o \
52stdnmtst.o usrchtst.o custrtrn.o sorttest.o trietest.o usettest.o \
73c04bcf
A
53uenumtst.o utmstest.o currtest.o \
54idnatest.o nfsprep.o spreptst.o sprpdata.o \
55hpmufn.o tracetst.o reapits.o utexttst.o ucsdetst.o
b75a7d8f
A
56
57DEPS = $(OBJECTS:.o=.d)
58
73c04bcf
A
59-include Makefile.local
60
b75a7d8f
A
61## List of phony targets
62.PHONY : all all-local install install-local clean clean-local \
63distclean distclean-local dist dist-local check check-local
64
65## Clear suffix list
66.SUFFIXES :
67
68## List of standard targets
69all: all-local
70install: install-local
71clean: clean-local
72distclean : distclean-local
73dist: dist-local
74check: all check-local
75
76all-local: $(TARGET)
77
78install-local:
79
80dist-local:
81
82clean-local:
83 test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES)
84 $(RMV) $(OBJECTS) $(TARGET)
85
86distclean-local: clean-local
87 $(RMV) Makefile
88
b75a7d8f 89check-local: all-local
374ca955 90 $(INVOKE) ./$(TARGET) $(CINTLTST_OPTS)
b75a7d8f
A
91
92Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
93 cd $(top_builddir) \
94 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
95
96$(TARGET) : $(OBJECTS)
46f4442e
A
97 $(LINK.cc) $(OUTOPT)$@ $^ $(LIBS)
98 $(POST_BUILD_STEP)
b75a7d8f
A
99
100ifeq (,$(MAKECMDGOALS))
101-include $(DEPS)
102else
103ifneq ($(patsubst %clean,,$(MAKECMDGOALS)),)
104ifneq ($(patsubst %install,,$(MAKECMDGOALS)),)
105-include $(DEPS)
106endif
107endif
108endif
73c04bcf 109