1## Makefile.in for ICU - tools/gentest
2## Copyright (c) 1999-2011, International Business Machines Corporation and
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
17## Extra files to remove for 'make clean'
18CLEANFILES = *~ $(DEPS)
19
20## Target information
21TARGET = gentest$(EXEEXT)
22
23CPPFLAGS += -I$(top_srcdir)/common -I$(srcdir)/../toolutil -I$(top_srcdir)/tools/ctestfw 
24CPPFLAGS+= -I$(top_srcdir)/i18n
25LIBS = $(LIBCTESTFW) $(LIBICUTOOLUTIL) $(LIBICUI18N) $(LIBICUUC) $(DEFAULT_LIBS) $(LIB_M)
26
27OBJECTS = gentest.o genres32.o
28
29DEPS = $(OBJECTS:.o=.d)
30
31## List of phony targets
32.PHONY : all all-local install install-local clean clean-local		\
33distclean distclean-local dist dist-local check check-local
34
35## Clear suffix list
36.SUFFIXES :
37
38## List of standard targets
39all: all-local
40install: install-local
41clean: clean-local
42distclean : distclean-local
43dist: dist-local
44check: all check-local
45
46all-local: $(TARGET) 
47
48install-local: all-local
49
50dist-local:
51
52clean-local:
53	test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES)
54	$(RMV) $(TARGET) $(OBJECTS)
55
56distclean-local: clean-local
57	$(RMV) Makefile
58
59check-local: all-local
60
61Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
62	cd $(top_builddir) \
63	 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
64
65$(TARGET) : $(OBJECTS)
66	$(LINK.cc) $(OUTOPT)$@ $^ $(LIBS) 
67	$(POST_BUILD_STEP)
68
69ifeq (,$(MAKECMDGOALS))
70-include $(DEPS)
71else
72ifneq ($(patsubst %clean,,$(MAKECMDGOALS)),)
73-include $(DEPS)
74endif
75endif
76
77