]> git.saurik.com Git - apple/icu.git/blame_incremental - icuSources/tools/gennorm2/Makefile.in
ICU-66108.tar.gz
[apple/icu.git] / icuSources / tools / gennorm2 / Makefile.in
... / ...
CommitLineData
1## Makefile.in for ICU - tools/gennorm2
2## Copyright (C) 2016 and later: Unicode, Inc. and others.
3## License & terms of use: http://www.unicode.org/copyright.html
4## Copyright (c) 2009-2011, International Business Machines Corporation and
5## others. All Rights Reserved.
6## Steven R. Loomis/Markus W. Scherer
7
8## Source directory information
9srcdir = @srcdir@
10top_srcdir = @top_srcdir@
11
12top_builddir = ../..
13
14include $(top_builddir)/icudefs.mk
15
16## Build directory information
17subdir = tools/gennorm2
18
19TARGET_STUB_NAME = gennorm2
20
21## Extra files to remove for 'make clean'
22CLEANFILES = *~ $(DEPS)
23
24## Target information
25TARGET = $(BINDIR)/$(TARGET_STUB_NAME)$(EXEEXT)
26
27CPPFLAGS += -I$(srcdir) -I$(top_srcdir)/common -I$(srcdir)/../toolutil
28LIBS = $(LIBICUTOOLUTIL) $(LIBICUI18N) $(LIBICUUC) $(DEFAULT_LIBS) $(LIB_M)
29
30OBJECTS = gennorm2.o n2builder.o extradata.o norms.o
31
32DEPS = $(OBJECTS:.o=.d)
33
34## List of phony targets
35.PHONY : all all-local install install-local clean clean-local \
36distclean distclean-local dist dist-local check check-local install-man
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 $(MKINSTALLDIRS) $(DESTDIR)$(sbindir)
53 $(INSTALL) $(TARGET) $(DESTDIR)$(sbindir)
54
55dist-local:
56
57clean-local:
58 test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES)
59 $(RMV) $(TARGET) $(OBJECTS)
60
61distclean-local: clean-local
62 $(RMV) Makefile
63
64check-local: all-local
65
66Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
67 cd $(top_builddir) \
68 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
69
70$(TARGET) : $(OBJECTS)
71 $(LINK.cc) $(OUTOPT)$@ $^ $(LIBS)
72 $(POST_BUILD_STEP)
73
74
75ifeq (,$(MAKECMDGOALS))
76-include $(DEPS)
77else
78ifneq ($(patsubst %clean,,$(MAKECMDGOALS)),)
79-include $(DEPS)
80endif
81endif