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