]> git.saurik.com Git - apple/icu.git/blame - icuSources/test/iotest/Makefile.in
ICU-6.2.4.tar.gz
[apple/icu.git] / icuSources / test / iotest / Makefile.in
CommitLineData
b75a7d8f 1## Makefile.in for ICU - test/iotest
374ca955 2## Copyright (c) 2002-2004, International Business Machines Corporation and
b75a7d8f
A
3## others. All Rights Reserved.
4
5## Source directory information
6srcdir = @srcdir@
7top_srcdir = @top_srcdir@
8
9top_builddir = ../..
10
11include $(top_builddir)/icudefs.mk
12
13## Build directory information
14subdir = test/iotest
15
16## Extra files to remove for 'make clean'
17CLEANFILES = *~ $(DEPS)
18
19## Target information
374ca955
A
20TARGET = iotest$(EXEEXT)
21
22BUILDDIR := $(CURR_SRCCODE_FULL_DIR)/../../
23BUILDDIR := $(BUILDDIR:test/iotest/../../=)
24BUILDDIR := $(BUILDDIR:test\\\\iotest/../../=)
b75a7d8f
A
25
26CPPFLAGS += -I$(top_builddir)/common -I$(top_srcdir)/common -I$(top_srcdir)/i18n \
374ca955
A
27-I$(top_srcdir)/tools/ctestfw -I$(top_srcdir)/io
28DEFS += -D'U_TOPSRCDIR="$(top_srcdir)/"' -D'U_TOPBUILDDIR="$(BUILDDIR)"'
29LIBS = $(LIBCTESTFW) $(LIBICUIO) $(LIBICUI18N) $(LIBICUUC) $(DEFAULT_LIBS) $(LIB_M)
b75a7d8f 30
374ca955 31OBJECTS = iotest.o strtst.o filetst.o
b75a7d8f
A
32
33DEPS = $(OBJECTS:.o=.d)
34
35## List of phony targets
36.PHONY : all all-local install install-local clean clean-local \
37distclean distclean-local dist dist-local check check-local
38
39## Clear suffix list
40.SUFFIXES :
41
42## List of standard targets
43all: all-local
44install: install-local
45clean: clean-local
46distclean : distclean-local
47dist: dist-local
48check: all check-local
49
50all-local: $(TARGET)
51
52install-local:
53
54dist-local:
55
56clean-local:
57 test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES)
58 $(RMV) $(OBJECTS) $(TARGET)
59
60distclean-local: clean-local
61 $(RMV) Makefile
62
63-include Makefile.local
64
65check-local: all-local
374ca955 66 $(INVOKE) ./$(TARGET) $(IOTEST_OPTS) || true
b75a7d8f
A
67
68Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
69 cd $(top_builddir) \
70 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
71
72$(TARGET) : $(OBJECTS)
374ca955 73 $(LINK.cc) $(OUTOPT)$@ $^ $(LIBS)
b75a7d8f
A
74
75ifeq (,$(MAKECMDGOALS))
76-include $(DEPS)
77else
78ifneq ($(patsubst %clean,,$(MAKECMDGOALS)),)
79ifneq ($(patsubst %install,,$(MAKECMDGOALS)),)
80-include $(DEPS)
81endif
82endif
83endif