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
8 ## Source directory information
10 top_srcdir = @top_srcdir@
14 include $(top_builddir)/icudefs.mk
16 ## Build directory information
17 subdir = tools/gennorm2
19 TARGET_STUB_NAME = gennorm2
21 ## Extra files to remove for 'make clean'
22 CLEANFILES = *~ $(DEPS)
25 TARGET = $(BINDIR)/$(TARGET_STUB_NAME)$(EXEEXT)
27 CPPFLAGS += -I$(srcdir) -I$(top_srcdir)/common -I$(srcdir)/../toolutil
28 LIBS = $(LIBICUTOOLUTIL) $(LIBICUI18N) $(LIBICUUC) $(DEFAULT_LIBS) $(LIB_M)
30 OBJECTS = gennorm2.o n2builder.o extradata.o norms.o
32 DEPS = $(OBJECTS:.o=.d)
34 ## List of phony targets
35 .PHONY : all all-local install install-local clean clean-local \
36 distclean distclean-local dist dist-local check check-local install-man
41 ## List of standard targets
43 install: install-local
45 distclean : distclean-local
47 check: all check-local
51 install-local: all-local
52 $(MKINSTALLDIRS) $(DESTDIR)$(sbindir)
53 $(INSTALL) $(TARGET) $(DESTDIR)$(sbindir)
58 test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES)
59 $(RMV) $(TARGET) $(OBJECTS)
61 distclean-local: clean-local
64 check-local: all-local
66 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
68 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
70 $(TARGET) : $(OBJECTS)
71 $(LINK.cc) $(OUTOPT)$@ $^ $(LIBS)
75 ifeq (,$(MAKECMDGOALS))
78 ifneq ($(patsubst %clean,,$(MAKECMDGOALS)),)