1 ## Makefile.in for ICU - test/iotest
2 ## Copyright (c) 2002-2004, International Business Machines Corporation and
3 ## others. All Rights Reserved.
5 ## Source directory information
7 top_srcdir = @top_srcdir@
11 include $(top_builddir)/icudefs.mk
13 ## Build directory information
16 ## Extra files to remove for 'make clean'
17 CLEANFILES = *~ $(DEPS)
20 TARGET = iotest$(EXEEXT)
22 BUILDDIR := $(CURR_SRCCODE_FULL_DIR)/../../
23 BUILDDIR := $(BUILDDIR:test/iotest/../../=)
24 BUILDDIR := $(BUILDDIR:test\\\\iotest/../../=)
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)
31 OBJECTS = iotest.o strtst.o filetst.o
33 DEPS = $(OBJECTS:.o=.d)
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
42 ## List of standard targets
44 install: install-local
46 distclean : distclean-local
48 check: all check-local
57 test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES)
58 $(RMV) $(OBJECTS) $(TARGET)
60 distclean-local: clean-local
63 -include Makefile.local
65 check-local: all-local
66 $(INVOKE) ./$(TARGET) $(IOTEST_OPTS) || true
68 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
70 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
72 $(TARGET) : $(OBJECTS)
73 $(LINK.cc) $(OUTOPT)$@ $^ $(LIBS)
75 ifeq (,$(MAKECMDGOALS))
78 ifneq ($(patsubst %clean,,$(MAKECMDGOALS)),)
79 ifneq ($(patsubst %install,,$(MAKECMDGOALS)),)