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.
michael@0 | 1 | ## Makefile.in for ICU - test/letest |
michael@0 | 2 | ## Copyright (c) 2001-2013, 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 | ## Platform-specific setup |
michael@0 | 14 | include @platform_make_fragment@ |
michael@0 | 15 | |
michael@0 | 16 | ## Build directory information |
michael@0 | 17 | subdir = test/letest |
michael@0 | 18 | |
michael@0 | 19 | ## Extra files to remove for 'make clean' |
michael@0 | 20 | CLEANFILES = *~ $(DEPS) |
michael@0 | 21 | |
michael@0 | 22 | ## Target information |
michael@0 | 23 | TESTTARGET = letest |
michael@0 | 24 | GENTARGET = gendata |
michael@0 | 25 | |
michael@0 | 26 | BUILDDIR := $(CURR_SRCCODE_FULL_DIR)/../../ |
michael@0 | 27 | # Simplify the path for Unix |
michael@0 | 28 | BUILDDIR := $(BUILDDIR:test/cintltst/../../=) |
michael@0 | 29 | # Simplify the path for Windows |
michael@0 | 30 | BUILDDIR := $(BUILDDIR:test\\cintltst/../../=) |
michael@0 | 31 | # Simplify the path for Windows 98 |
michael@0 | 32 | BUILDDIR := $(BUILDDIR:TEST\\CINTLTST/../../=) |
michael@0 | 33 | |
michael@0 | 34 | CPPFLAGS += -I$(top_srcdir)/common -I$(top_srcdir)/i18n -I$(top_srcdir)/tools/ctestfw -I$(top_srcdir)/tools/toolutil -I$(top_srcdir)/layout -I$(top_srcdir)/layoutex -I$(top_srcdir) |
michael@0 | 35 | DEFS += -D'U_TOPSRCDIR="$(top_srcdir)/"' -D'U_TOPBUILDDIR="$(BUILDDIR)"' |
michael@0 | 36 | LIBS = $(LIBICULX) $(LIBICULE) $(LIBICUUC) $(LIBICUI18N) $(LIBCTESTFW) $(LIBICUTOOLUTIL) @LIBS@ @LIB_M@ |
michael@0 | 37 | |
michael@0 | 38 | COMMONOBJECTS = letsutil.o cmaps.o FontTableCache.o SimpleFontInstance.o PortableFontInstance.o |
michael@0 | 39 | TESTOBJECTS = letest.o |
michael@0 | 40 | CTESTOBJECTS = cfonts.o xmlreader.o cletest.o |
michael@0 | 41 | GENOBJECTS = gendata.o |
michael@0 | 42 | |
michael@0 | 43 | OBJECTS = $(COMMONOBJECTS) $(TESTOBJECTS) $(GENOBJECTS) |
michael@0 | 44 | |
michael@0 | 45 | DEPS = $(OBJECTS:.o=.d) |
michael@0 | 46 | |
michael@0 | 47 | ## List of phony targets |
michael@0 | 48 | .PHONY : all all-local install install-local clean clean-local \ |
michael@0 | 49 | distclean distclean-local dist dist-local check check-local |
michael@0 | 50 | |
michael@0 | 51 | ## Clear suffix list |
michael@0 | 52 | .SUFFIXES : |
michael@0 | 53 | |
michael@0 | 54 | ## List of standard targets |
michael@0 | 55 | all: all-local |
michael@0 | 56 | install: install-local |
michael@0 | 57 | clean: clean-local |
michael@0 | 58 | distclean : distclean-local |
michael@0 | 59 | dist: dist-local |
michael@0 | 60 | check: all check-local |
michael@0 | 61 | |
michael@0 | 62 | all-local: $(TESTTARGET) |
michael@0 | 63 | |
michael@0 | 64 | install-local: |
michael@0 | 65 | |
michael@0 | 66 | dist-local: |
michael@0 | 67 | |
michael@0 | 68 | clean-local: |
michael@0 | 69 | test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES) |
michael@0 | 70 | $(RMV) $(COMMONOBJECTS) $(TESTOBJECTS) $(CTESTOBJECTS) $(GENOBJECTS) $(TARGET) |
michael@0 | 71 | |
michael@0 | 72 | distclean-local: clean-local |
michael@0 | 73 | $(RMV) Makefile |
michael@0 | 74 | |
michael@0 | 75 | check-local: all-local |
michael@0 | 76 | $(INVOKE) ./$(TESTTARGET) |
michael@0 | 77 | |
michael@0 | 78 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status |
michael@0 | 79 | cd $(top_builddir) \ |
michael@0 | 80 | && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status |
michael@0 | 81 | |
michael@0 | 82 | $(TESTTARGET) : $(COMMONOBJECTS) $(TESTOBJECTS) $(CTESTOBJECTS) |
michael@0 | 83 | $(LINK.cc) -o $@ $^ $(LIBS) |
michael@0 | 84 | $(POST_BUILD_STEP) |
michael@0 | 85 | |
michael@0 | 86 | $(GENTARGET) : $(COMMONOBJECTS) $(GENOBJECTS) |
michael@0 | 87 | $(LINK.cc) -o $@ $^ $(LIBS) |
michael@0 | 88 | $(POST_BUILD_STEP) |
michael@0 | 89 | |
michael@0 | 90 | invoke: |
michael@0 | 91 | ICU_DATA=$${ICU_DATA:-$(top_builddir)/data/} TZ=PST8PDT $(INVOKE) $(INVOCATION) |
michael@0 | 92 | |
michael@0 | 93 | gen-data: $(GENTARGET) |
michael@0 | 94 | ICU_DATA=$${ICU_DATA:-$(top_builddir)/data/} TZ=PST8PDT $(INVOKE) ./$(GENTARGET) $(top_srcdir)/test/testdata/letest.xml $(srcdir)/gendata.xml |
michael@0 | 95 | |
michael@0 | 96 | ifeq (,$(MAKECMDGOALS)) |
michael@0 | 97 | -include $(DEPS) |
michael@0 | 98 | else |
michael@0 | 99 | ifneq ($(patsubst %clean,,$(MAKECMDGOALS)),) |
michael@0 | 100 | ifneq ($(patsubst %install,,$(MAKECMDGOALS)),) |
michael@0 | 101 | -include $(DEPS) |
michael@0 | 102 | endif |
michael@0 | 103 | endif |
michael@0 | 104 | endif |