]> git.saurik.com Git - apple/icu.git/blame_incremental - icuSources/tools/gentest/Makefile.in
ICU-3.13.tar.gz
[apple/icu.git] / icuSources / tools / gentest / Makefile.in
... / ...
CommitLineData
1## Makefile.in for ICU - tools/gentest
2
3## Copyright (c) 1999-2003, International Business Machines Corporation and
4## others. All Rights Reserved.
5## Madhu Katragadda
6
7## Source directory information
8srcdir = @srcdir@
9top_srcdir = @top_srcdir@
10
11top_builddir = ../..
12
13include $(top_builddir)/icudefs.mk
14
15## Build directory information
16subdir = tools/gentest
17
18##
19
20ICUDATADIR=$(top_builddir)/data
21
22## Extra files to remove for 'make clean'
23CLEANFILES = *~ $(DEPS) $(RES_FILES) $(TEST_FILES)
24
25## Target information
26TARGET = gentest$(EXEEXT)
27
28CPPFLAGS += -I$(top_builddir)/common -I$(top_srcdir)/common -I$(srcdir)/../toolutil
29LIBS = $(LIBICUTOOLUTIL) $(LIBICUUC) $(DEFAULT_LIBS) $(LIB_M)
30
31OBJECTS = gentest.o
32
33DEPS = $(OBJECTS:.o=.d)
34
35TEST_FILES = $(ICUDATADIR)/test.dat
36
37## List of phony targets
38.PHONY : all all-local install install-local clean clean-local \
39distclean distclean-local dist dist-local check \
40check-local build-data
41
42## Clear suffix list
43.SUFFIXES :
44
45## List of standard targets
46all: all-local
47install: install-local
48clean: clean-local
49distclean : distclean-local
50dist: dist-local
51check: all check-local
52
53all-local: $(TARGET)
54
55install-local: all-local
56
57dist-local:
58
59clean-local:
60 test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES)
61 $(RMV) $(TARGET) $(OBJECTS)
62
63distclean-local: clean-local
64 $(RMV) Makefile
65
66check-local: all-local
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)
73 $(LINK.cc) $(OUTOPT)$@ $^ $(LIBS)
74
75ifeq (,$(MAKECMDGOALS))
76-include $(DEPS)
77else
78ifneq ($(patsubst %clean,,$(MAKECMDGOALS)),)
79-include $(DEPS)
80endif
81endif
82
83