1 ## Makefile.in for ICU - tools/genccode
2 ## Copyright (C) 2016 and later: Unicode, Inc. and others.
3 ## License & terms of use: http://www.unicode.org/copyright.html
4 ## Copyright (c) 1999-2011, International Business Machines Corporation and
5 ## others. All Rights Reserved.
8 ## Source directory information
10 top_srcdir = @top_srcdir@
14 include $(top_builddir)/icudefs.mk
16 ## Build directory information
17 subdir = tools/genccode
19 TARGET_STUB_NAME = genccode
23 MAN_FILES = $(TARGET_STUB_NAME).$(SECTION)
26 ## Extra files to remove for 'make clean'
27 CLEANFILES = *~ $(DEPS) $(MAN_FILES)
30 TARGET = $(BINDIR)/$(TARGET_STUB_NAME)$(EXEEXT)
32 CPPFLAGS += -I$(top_srcdir)/common -I$(srcdir)/../toolutil
33 LIBS = $(LIBICUTOOLUTIL) $(LIBICUI18N) $(LIBICUUC) $(DEFAULT_LIBS) $(LIB_M)
37 DEPS = $(OBJECTS:.o=.d)
39 ## List of phony targets
40 .PHONY : all all-local install install-local clean clean-local \
41 distclean distclean-local dist dist-local check check-local install-man
46 ## List of standard targets
48 install: install-local
50 distclean : distclean-local
52 check: all check-local
54 all-local: $(TARGET) $(MAN_FILES)
56 install-local: all-local install-man
57 $(MKINSTALLDIRS) $(DESTDIR)$(sbindir)
58 $(INSTALL) $(TARGET) $(DESTDIR)$(sbindir)
60 install-man: $(MAN_FILES)
61 $(MKINSTALLDIRS) $(DESTDIR)$(mandir)/man$(SECTION)
62 $(INSTALL_DATA) $? $(DESTDIR)$(mandir)/man$(SECTION)
67 test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES)
68 $(RMV) $(TARGET) $(OBJECTS)
70 distclean-local: clean-local
73 check-local: all-local
75 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
77 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
79 $(TARGET) : $(OBJECTS)
80 $(LINK.cc) $(OUTOPT)$@ $^ $(LIBS)
84 %.$(SECTION): $(srcdir)/%.$(SECTION).in
86 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
89 ifeq (,$(MAKECMDGOALS))
92 ifneq ($(patsubst %clean,,$(MAKECMDGOALS)),)