1## Makefile.in for ICU - tools/gennorm2
2## Copyright (c) 2009-2011, International Business Machines Corporation and
3## others. All Rights Reserved.
4## Steven R. Loomis/Markus W. Scherer
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/gennorm2
16
17TARGET_STUB_NAME = gennorm2
18
19## Extra files to remove for 'make clean'
20CLEANFILES = *~ $(DEPS)
21
22## Target information
23TARGET = $(BINDIR)/$(TARGET_STUB_NAME)$(EXEEXT)
24
25CPPFLAGS += -I$(top_srcdir)/common -I$(srcdir)/../toolutil
26LIBS = $(LIBICUTOOLUTIL) $(LIBICUI18N) $(LIBICUUC) $(DEFAULT_LIBS) $(LIB_M)
27
28OBJECTS = gennorm2.o n2builder.o
29
30DEPS = $(OBJECTS:.o=.d)
31
32## List of phony targets
33.PHONY : all all-local install install-local clean clean-local	\
34distclean distclean-local dist dist-local check check-local install-man
35
36## Clear suffix list
37.SUFFIXES :
38
39## List of standard targets
40all: all-local
41install: install-local
42clean: clean-local
43distclean : distclean-local
44dist: dist-local
45check: all check-local
46
47all-local: $(TARGET)
48
49install-local: all-local
50	$(MKINSTALLDIRS) $(DESTDIR)$(sbindir)
51	$(INSTALL) $(TARGET) $(DESTDIR)$(sbindir)
52
53dist-local:
54
55clean-local:
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)
70	$(POST_BUILD_STEP)
71
72
73ifeq (,$(MAKECMDGOALS))
74-include $(DEPS)
75else
76ifneq ($(patsubst %clean,,$(MAKECMDGOALS)),)
77-include $(DEPS)
78endif
79endif
80