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 9 srcdir = @srcdir@ 10 top_srcdir = @top_srcdir@ 11 12 top_builddir = ../.. 13 14 include $(top_builddir)/icudefs.mk 15 16 ## Build directory information 17 subdir = tools/gennorm2 18 19 TARGET_STUB_NAME = gennorm2 20 21 ## Extra files to remove for 'make clean' 22 CLEANFILES = *~ $(DEPS) 23 24 ## Target information 25 TARGET = $(BINDIR)/$(TARGET_STUB_NAME)$(EXEEXT) 26 27 CPPFLAGS += -I$(top_srcdir)/common -I$(srcdir)/../toolutil 28 LIBS = $(LIBICUTOOLUTIL) $(LIBICUI18N) $(LIBICUUC) $(DEFAULT_LIBS) $(LIB_M) 29 30 OBJECTS = gennorm2.o n2builder.o 31 32 DEPS = $(OBJECTS:.o=.d) 33 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 37 38 ## Clear suffix list 39 .SUFFIXES : 40 41 ## List of standard targets 42 all: all-local 43 install: install-local 44 clean: clean-local 45 distclean : distclean-local 46 dist: dist-local 47 check: all check-local 48 49 all-local: $(TARGET) 50 51 install-local: all-local 52 $(MKINSTALLDIRS) $(DESTDIR)$(sbindir) 53 $(INSTALL) $(TARGET) $(DESTDIR)$(sbindir) 54 55 dist-local: 56 57 clean-local: 58 test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES) 59 $(RMV) $(TARGET) $(OBJECTS) 60 61 distclean-local: clean-local 62 $(RMV) Makefile 63 64 check-local: all-local 65 66 Makefile: $(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 75 ifeq (,$(MAKECMDGOALS)) 76 -include $(DEPS) 77 else 78 ifneq ($(patsubst %clean,,$(MAKECMDGOALS)),) 79 -include $(DEPS) 80 endif 81 endif 82