intl/icu/source/tools/genrb/Makefile.in

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

michael@0 1 #################################################################################
michael@0 2 ## Makefile.in for ICU - tools/genrb #
michael@0 3 ## Copyright (c) 1999-2013, International Business Machines Corporation and #
michael@0 4 ## others. All Rights Reserved. #
michael@0 5 #################################################################################
michael@0 6
michael@0 7 ## Source directory information
michael@0 8 srcdir = @srcdir@
michael@0 9 top_srcdir = @top_srcdir@
michael@0 10
michael@0 11 top_builddir = ../..
michael@0 12
michael@0 13 include $(top_builddir)/icudefs.mk
michael@0 14
michael@0 15 ## Build directory information
michael@0 16 subdir = tools/genrb
michael@0 17
michael@0 18 TARGET_STUB_NAME = genrb
michael@0 19 DERB_STUB_NAME = derb
michael@0 20
michael@0 21 SECTION = 1
michael@0 22
michael@0 23 MAN_FILES = $(TARGET_STUB_NAME).$(SECTION)
michael@0 24 @ICUIO_TRUE@MAN_FILES += $(DERB_STUB_NAME).$(SECTION)
michael@0 25
michael@0 26 ## Extra files to remove for 'make clean'
michael@0 27 CLEANFILES = *~ $(MAN_FILES) $(DEPS) $(DERB_DEPS)
michael@0 28
michael@0 29 ## Target information
michael@0 30 TARGET = $(BINDIR)/$(TARGET_STUB_NAME)$(EXEEXT)
michael@0 31 # derb depends on icuio
michael@0 32 @ICUIO_TRUE@DERB = $(BINDIR)/$(DERB_STUB_NAME)$(EXEEXT)
michael@0 33
michael@0 34 CPPFLAGS += -I$(top_srcdir)/common -I$(top_srcdir)/i18n -I$(srcdir)/../toolutil -I$(top_srcdir)/io
michael@0 35 LIBS = $(LIBICUTOOLUTIL) $(LIBICUI18N) $(LIBICUUC) $(DEFAULT_LIBS) $(LIB_M)
michael@0 36
michael@0 37 OBJECTS = errmsg.o genrb.o parse.o read.o reslist.o ustr.o rbutil.o \
michael@0 38 wrtjava.o rle.o wrtxml.o prscmnts.o
michael@0 39 DERB_OBJ = derb.o
michael@0 40
michael@0 41 DEPS = $(OBJECTS:.o=.d)
michael@0 42 DERB_DEPS = $(DERB_OBJ:.o=.d)
michael@0 43
michael@0 44 -include Makefile.local
michael@0 45
michael@0 46 ## List of phony targets
michael@0 47 .PHONY : all all-local install install-local clean clean-local \
michael@0 48 distclean distclean-local dist dist-local check check-local install-man
michael@0 49
michael@0 50 ## Clear suffix list
michael@0 51 .SUFFIXES :
michael@0 52
michael@0 53 ## List of standard targets
michael@0 54 all: all-local
michael@0 55 install: install-local
michael@0 56 clean: clean-local
michael@0 57 distclean : distclean-local
michael@0 58 dist: dist-local
michael@0 59 check: all check-local
michael@0 60
michael@0 61 all-local: $(TARGET) $(DERB) $(MAN_FILES)
michael@0 62
michael@0 63 install-local: all-local install-man
michael@0 64 $(MKINSTALLDIRS) $(DESTDIR)$(bindir)
michael@0 65 $(INSTALL) $(TARGET) $(DESTDIR)$(bindir)
michael@0 66 @ICUIO_TRUE@ $(INSTALL) $(DERB) $(DESTDIR)$(bindir)
michael@0 67
michael@0 68 install-man: $(MAN_FILES)
michael@0 69 $(MKINSTALLDIRS) $(DESTDIR)$(mandir)/man$(SECTION)
michael@0 70 $(INSTALL_DATA) $? $(DESTDIR)$(mandir)/man$(SECTION)
michael@0 71
michael@0 72 dist-local:
michael@0 73
michael@0 74 clean-local:
michael@0 75 test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES)
michael@0 76 $(RMV) $(TARGET) $(DERB) $(OBJECTS) $(DERB_OBJ)
michael@0 77
michael@0 78 distclean-local: clean-local
michael@0 79 $(RMV) Makefile
michael@0 80
michael@0 81 check-local: all-local
michael@0 82
michael@0 83 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
michael@0 84 cd $(top_builddir) \
michael@0 85 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
michael@0 86
michael@0 87 $(TARGET) : $(OBJECTS)
michael@0 88 $(LINK.cc) $(OUTOPT)$@ $^ $(LIBS)
michael@0 89 $(POST_BUILD_STEP)
michael@0 90
michael@0 91 $(DERB) : $(DERB_OBJ)
michael@0 92 $(LINK.cc) $(OUTOPT)$@ $^ $(LIBICUIO) $(LIBS)
michael@0 93 $(POST_BUILD_STEP)
michael@0 94
michael@0 95 # This line is needed to serialize builds when the gmake -j option is used.
michael@0 96 $(TARGET_STUB_NAME).$(SECTION): $(DERB_STUB_NAME).$(SECTION)
michael@0 97
michael@0 98 %.$(SECTION): $(srcdir)/%.$(SECTION).in
michael@0 99 cd $(top_builddir) \
michael@0 100 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
michael@0 101
michael@0 102
michael@0 103 ifeq (,$(MAKECMDGOALS))
michael@0 104 -include $(DEPS)
michael@0 105 -include $(DERB_DEPS)
michael@0 106 else
michael@0 107 ifneq ($(patsubst %clean,,$(MAKECMDGOALS)),)
michael@0 108 -include $(DEPS)
michael@0 109 endif
michael@0 110 endif

mercurial