1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/intl/icu/source/tools/gendict/Makefile.in Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,93 @@ 1.4 +## Makefile.in for ICU - tools/gendict 1.5 +## Copyright (c) 2002-2012 International Business Machines Corporation and 1.6 +## others. All Rights Reserved. 1.7 + 1.8 +## Source directory information 1.9 +srcdir = @srcdir@ 1.10 +top_srcdir = @top_srcdir@ 1.11 + 1.12 +top_builddir = ../.. 1.13 + 1.14 +include $(top_builddir)/icudefs.mk 1.15 + 1.16 +## Build directory information 1.17 +subdir = tools/gendict 1.18 + 1.19 +TARGET_STUB_NAME = gendict 1.20 + 1.21 +SECTION = 1 1.22 + 1.23 +MAN_FILES = $(TARGET_STUB_NAME).$(SECTION) 1.24 + 1.25 + 1.26 +## Extra files to remove for 'make clean' 1.27 +CLEANFILES = *~ $(DEPS) $(MAN_FILES) 1.28 + 1.29 +## Target information 1.30 +TARGET = $(BINDIR)/$(TARGET_STUB_NAME)$(EXEEXT) 1.31 + 1.32 +CPPFLAGS += -I$(top_srcdir)/common -I$(srcdir)/../toolutil 1.33 +LIBS = $(LIBICUTOOLUTIL) $(LIBICUI18N) $(LIBICUUC) $(DEFAULT_LIBS) $(LIB_M) 1.34 + 1.35 +OBJECTS = gendict.o 1.36 + 1.37 +DEPS = $(OBJECTS:.o=.d) 1.38 + 1.39 +## List of phony targets 1.40 +.PHONY : all all-local install install-local clean clean-local \ 1.41 +distclean distclean-local dist dist-local check check-local install-man 1.42 + 1.43 +## Clear suffix list 1.44 +.SUFFIXES : 1.45 + 1.46 +## List of standard targets 1.47 +all: all-local 1.48 +install: install-local 1.49 +clean: clean-local 1.50 +distclean : distclean-local 1.51 +dist: dist-local 1.52 +check: all check-local 1.53 + 1.54 +all-local: $(TARGET) $(MAN_FILES) 1.55 + 1.56 +install-local: all-local install-man 1.57 + $(MKINSTALLDIRS) $(DESTDIR)$(bindir) 1.58 + $(INSTALL) $(TARGET) $(DESTDIR)$(bindir) 1.59 + 1.60 +install-man: $(MAN_FILES) 1.61 + $(MKINSTALLDIRS) $(DESTDIR)$(mandir)/man$(SECTION) 1.62 + $(INSTALL_DATA) $? $(DESTDIR)$(mandir)/man$(SECTION) 1.63 + 1.64 +dist-local: 1.65 + 1.66 +clean-local: 1.67 + test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES) 1.68 + $(RMV) $(TARGET) $(OBJECTS) 1.69 + 1.70 +distclean-local: clean-local 1.71 + $(RMV) Makefile 1.72 + 1.73 +check-local: all-local 1.74 + 1.75 +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status 1.76 + cd $(top_builddir) \ 1.77 + && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status 1.78 + 1.79 +$(TARGET) : $(OBJECTS) 1.80 + $(LINK.cc) $(OUTOPT)$@ $^ $(LIBS) 1.81 + $(POST_BUILD_STEP) 1.82 + 1.83 + 1.84 +%.$(SECTION): $(srcdir)/%.$(SECTION).in 1.85 + cd $(top_builddir) \ 1.86 + && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status 1.87 + 1.88 + 1.89 +ifeq (,$(MAKECMDGOALS)) 1.90 +-include $(DEPS) 1.91 +else 1.92 +ifneq ($(patsubst %clean,,$(MAKECMDGOALS)),) 1.93 +-include $(DEPS) 1.94 +endif 1.95 +endif 1.96 +