]> git.saurik.com Git - apple/icu.git/blame - icuSources/tools/gennorm2/Makefile.in
ICU-461.18.tar.gz
[apple/icu.git] / icuSources / tools / gennorm2 / Makefile.in
CommitLineData
729e4ab9
A
1## Makefile.in for ICU - tools/gennorm2
2## Copyright (c) 2009-2010, International Business Machines Corporation and
73c04bcf 3## others. All Rights Reserved.
729e4ab9 4## Steven R. Loomis/Markus W. Scherer
73c04bcf
A
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
729e4ab9 15subdir = tools/gennorm2
73c04bcf 16
729e4ab9 17TARGET_STUB_NAME = gennorm2
73c04bcf
A
18
19## Extra files to remove for 'make clean'
729e4ab9 20CLEANFILES = *~ $(DEPS)
73c04bcf
A
21
22## Target information
23TARGET = $(BINDIR)/$(TARGET_STUB_NAME)$(EXEEXT)
24
25ifneq ($(top_builddir),$(top_srcdir))
26CPPFLAGS += -I$(top_builddir)/common
27endif
28CPPFLAGS += -I$(top_srcdir)/common -I$(srcdir)/../toolutil
29LIBS = $(LIBICUTOOLUTIL) $(LIBICUI18N) $(LIBICUUC) $(DEFAULT_LIBS) $(LIB_M)
30
729e4ab9 31OBJECTS = gennorm2.o n2builder.o
73c04bcf
A
32
33DEPS = $(OBJECTS:.o=.d)
34
35## List of phony targets
36.PHONY : all all-local install install-local clean clean-local \
37distclean distclean-local dist dist-local check check-local install-man
38
39## Clear suffix list
40.SUFFIXES :
41
42## List of standard targets
43all: all-local
44install: install-local
45clean: clean-local
46distclean : distclean-local
47dist: dist-local
48check: all check-local
49
729e4ab9 50all-local: $(TARGET)
73c04bcf 51
729e4ab9
A
52install-local: all-local
53 $(MKINSTALLDIRS) $(DESTDIR)$(sbindir)
54 $(INSTALL) $(TARGET) $(DESTDIR)$(sbindir)
73c04bcf
A
55
56dist-local:
57
58clean-local:
59 test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES)
60 $(RMV) $(TARGET) $(OBJECTS)
61
62distclean-local: clean-local
63 $(RMV) Makefile
64
65check-local: all-local
66
67Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
68 cd $(top_builddir) \
69 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
70
71$(TARGET) : $(OBJECTS)
72 $(LINK.cc) $(OUTOPT)$@ $^ $(LIBS)
46f4442e 73 $(POST_BUILD_STEP)
73c04bcf
A
74
75
73c04bcf
A
76ifeq (,$(MAKECMDGOALS))
77-include $(DEPS)
78else
79ifneq ($(patsubst %clean,,$(MAKECMDGOALS)),)
80-include $(DEPS)
81endif
82endif