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