]> git.saurik.com Git - apple/icu.git/blame - icuSources/tools/gennorm2/Makefile.in
ICU-66108.tar.gz
[apple/icu.git] / icuSources / tools / gennorm2 / Makefile.in
CommitLineData
729e4ab9 1## Makefile.in for ICU - tools/gennorm2
f3c0d7a5
A
2## Copyright (C) 2016 and later: Unicode, Inc. and others.
3## License & terms of use: http://www.unicode.org/copyright.html
4388f060 4## Copyright (c) 2009-2011, International Business Machines Corporation and
73c04bcf 5## others. All Rights Reserved.
729e4ab9 6## Steven R. Loomis/Markus W. Scherer
73c04bcf
A
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
729e4ab9 17subdir = tools/gennorm2
73c04bcf 18
729e4ab9 19TARGET_STUB_NAME = gennorm2
73c04bcf
A
20
21## Extra files to remove for 'make clean'
729e4ab9 22CLEANFILES = *~ $(DEPS)
73c04bcf
A
23
24## Target information
25TARGET = $(BINDIR)/$(TARGET_STUB_NAME)$(EXEEXT)
26
f3c0d7a5 27CPPFLAGS += -I$(srcdir) -I$(top_srcdir)/common -I$(srcdir)/../toolutil
73c04bcf
A
28LIBS = $(LIBICUTOOLUTIL) $(LIBICUI18N) $(LIBICUUC) $(DEFAULT_LIBS) $(LIB_M)
29
0f5d89e8 30OBJECTS = gennorm2.o n2builder.o extradata.o norms.o
73c04bcf
A
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
729e4ab9 49all-local: $(TARGET)
73c04bcf 50
729e4ab9
A
51install-local: all-local
52 $(MKINSTALLDIRS) $(DESTDIR)$(sbindir)
53 $(INSTALL) $(TARGET) $(DESTDIR)$(sbindir)
73c04bcf
A
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)
46f4442e 72 $(POST_BUILD_STEP)
73c04bcf
A
73
74
73c04bcf
A
75ifeq (,$(MAKECMDGOALS))
76-include $(DEPS)
77else
78ifneq ($(patsubst %clean,,$(MAKECMDGOALS)),)
79-include $(DEPS)
80endif
81endif