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