Wed, 31 Dec 2014 07:22:50 +0100
Correct previous dual key logic pending first delivery installment.
michael@0 | 1 | ## Makefile.in for ICU - tools/gendict |
michael@0 | 2 | ## Copyright (c) 2002-2012 International Business Machines Corporation and |
michael@0 | 3 | ## others. All Rights Reserved. |
michael@0 | 4 | |
michael@0 | 5 | ## Source directory information |
michael@0 | 6 | srcdir = @srcdir@ |
michael@0 | 7 | top_srcdir = @top_srcdir@ |
michael@0 | 8 | |
michael@0 | 9 | top_builddir = ../.. |
michael@0 | 10 | |
michael@0 | 11 | include $(top_builddir)/icudefs.mk |
michael@0 | 12 | |
michael@0 | 13 | ## Build directory information |
michael@0 | 14 | subdir = tools/gendict |
michael@0 | 15 | |
michael@0 | 16 | TARGET_STUB_NAME = gendict |
michael@0 | 17 | |
michael@0 | 18 | SECTION = 1 |
michael@0 | 19 | |
michael@0 | 20 | MAN_FILES = $(TARGET_STUB_NAME).$(SECTION) |
michael@0 | 21 | |
michael@0 | 22 | |
michael@0 | 23 | ## Extra files to remove for 'make clean' |
michael@0 | 24 | CLEANFILES = *~ $(DEPS) $(MAN_FILES) |
michael@0 | 25 | |
michael@0 | 26 | ## Target information |
michael@0 | 27 | TARGET = $(BINDIR)/$(TARGET_STUB_NAME)$(EXEEXT) |
michael@0 | 28 | |
michael@0 | 29 | CPPFLAGS += -I$(top_srcdir)/common -I$(srcdir)/../toolutil |
michael@0 | 30 | LIBS = $(LIBICUTOOLUTIL) $(LIBICUI18N) $(LIBICUUC) $(DEFAULT_LIBS) $(LIB_M) |
michael@0 | 31 | |
michael@0 | 32 | OBJECTS = gendict.o |
michael@0 | 33 | |
michael@0 | 34 | DEPS = $(OBJECTS:.o=.d) |
michael@0 | 35 | |
michael@0 | 36 | ## List of phony targets |
michael@0 | 37 | .PHONY : all all-local install install-local clean clean-local \ |
michael@0 | 38 | distclean distclean-local dist dist-local check check-local install-man |
michael@0 | 39 | |
michael@0 | 40 | ## Clear suffix list |
michael@0 | 41 | .SUFFIXES : |
michael@0 | 42 | |
michael@0 | 43 | ## List of standard targets |
michael@0 | 44 | all: all-local |
michael@0 | 45 | install: install-local |
michael@0 | 46 | clean: clean-local |
michael@0 | 47 | distclean : distclean-local |
michael@0 | 48 | dist: dist-local |
michael@0 | 49 | check: all check-local |
michael@0 | 50 | |
michael@0 | 51 | all-local: $(TARGET) $(MAN_FILES) |
michael@0 | 52 | |
michael@0 | 53 | install-local: all-local install-man |
michael@0 | 54 | $(MKINSTALLDIRS) $(DESTDIR)$(bindir) |
michael@0 | 55 | $(INSTALL) $(TARGET) $(DESTDIR)$(bindir) |
michael@0 | 56 | |
michael@0 | 57 | install-man: $(MAN_FILES) |
michael@0 | 58 | $(MKINSTALLDIRS) $(DESTDIR)$(mandir)/man$(SECTION) |
michael@0 | 59 | $(INSTALL_DATA) $? $(DESTDIR)$(mandir)/man$(SECTION) |
michael@0 | 60 | |
michael@0 | 61 | dist-local: |
michael@0 | 62 | |
michael@0 | 63 | clean-local: |
michael@0 | 64 | test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES) |
michael@0 | 65 | $(RMV) $(TARGET) $(OBJECTS) |
michael@0 | 66 | |
michael@0 | 67 | distclean-local: clean-local |
michael@0 | 68 | $(RMV) Makefile |
michael@0 | 69 | |
michael@0 | 70 | check-local: all-local |
michael@0 | 71 | |
michael@0 | 72 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status |
michael@0 | 73 | cd $(top_builddir) \ |
michael@0 | 74 | && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status |
michael@0 | 75 | |
michael@0 | 76 | $(TARGET) : $(OBJECTS) |
michael@0 | 77 | $(LINK.cc) $(OUTOPT)$@ $^ $(LIBS) |
michael@0 | 78 | $(POST_BUILD_STEP) |
michael@0 | 79 | |
michael@0 | 80 | |
michael@0 | 81 | %.$(SECTION): $(srcdir)/%.$(SECTION).in |
michael@0 | 82 | cd $(top_builddir) \ |
michael@0 | 83 | && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status |
michael@0 | 84 | |
michael@0 | 85 | |
michael@0 | 86 | ifeq (,$(MAKECMDGOALS)) |
michael@0 | 87 | -include $(DEPS) |
michael@0 | 88 | else |
michael@0 | 89 | ifneq ($(patsubst %clean,,$(MAKECMDGOALS)),) |
michael@0 | 90 | -include $(DEPS) |
michael@0 | 91 | endif |
michael@0 | 92 | endif |
michael@0 | 93 |