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