]> git.saurik.com Git - apple/icu.git/blame - icuSources/tools/gentest/Makefile.in
ICU-8.11.4.tar.gz
[apple/icu.git] / icuSources / tools / gentest / Makefile.in
CommitLineData
b75a7d8f 1## Makefile.in for ICU - tools/gentest
73c04bcf 2## Copyright (c) 1999-2005, 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
A
23ifneq ($(top_builddir),$(top_srcdir))
24CPPFLAGS += -I$(top_builddir)/common
25endif
26CPPFLAGS += -I$(top_srcdir)/common -I$(srcdir)/../toolutil
27LIBS = $(LIBICUTOOLUTIL) $(LIBICUI18N) $(LIBICUUC) $(DEFAULT_LIBS) $(LIB_M)
b75a7d8f 28
374ca955 29OBJECTS = gentest.o genres32.o
b75a7d8f
A
30
31DEPS = $(OBJECTS:.o=.d)
32
b75a7d8f
A
33## List of phony targets
34.PHONY : all all-local install install-local clean clean-local \
73c04bcf 35distclean distclean-local dist dist-local check check-local
b75a7d8f
A
36
37## Clear suffix list
38.SUFFIXES :
39
40## List of standard targets
41all: all-local
42install: install-local
43clean: clean-local
44distclean : distclean-local
45dist: dist-local
46check: all check-local
47
48all-local: $(TARGET)
49
50install-local: all-local
51
52dist-local:
53
73c04bcf 54clean-local:
b75a7d8f
A
55 test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES)
56 $(RMV) $(TARGET) $(OBJECTS)
57
58distclean-local: clean-local
59 $(RMV) Makefile
60
61check-local: all-local
62
63Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
64 cd $(top_builddir) \
65 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
66
67$(TARGET) : $(OBJECTS)
68 $(LINK.cc) $(OUTOPT)$@ $^ $(LIBS)
69
70ifeq (,$(MAKECMDGOALS))
71-include $(DEPS)
72else
73ifneq ($(patsubst %clean,,$(MAKECMDGOALS)),)
74-include $(DEPS)
75endif
76endif
77