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 samples |
michael@0 | 2 | ## Copyright (c) 1999-2011, International Business Machines Corporation and |
michael@0 | 3 | ## others. All Rights Reserved. |
michael@0 | 4 | |
michael@0 | 5 | ## Install 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 | ## Build directory information |
michael@0 | 14 | subdir = samples |
michael@0 | 15 | |
michael@0 | 16 | ## Platform-specific setup |
michael@0 | 17 | include @platform_make_fragment@ |
michael@0 | 18 | |
michael@0 | 19 | ## Files to remove for 'make clean' |
michael@0 | 20 | CLEANFILES = *~ |
michael@0 | 21 | |
michael@0 | 22 | SUBDIRS = date cal |
michael@0 | 23 | ALLSUBDIRS = break case csdet datefmt msgfmt numfmt props translit ucnv udata ufortune uresb ustring citer uciter8 ugrep |
michael@0 | 24 | |
michael@0 | 25 | ## List of phony targets |
michael@0 | 26 | .PHONY : all all-local all-recursive install install-local \ |
michael@0 | 27 | install-recursive clean clean-local clean-recursive distclean \ |
michael@0 | 28 | distclean-local distclean-recursive dist dist-recursive dist-local \ |
michael@0 | 29 | check check-recursive check-local check-exhaustive |
michael@0 | 30 | |
michael@0 | 31 | ## Clear suffix list |
michael@0 | 32 | .SUFFIXES : |
michael@0 | 33 | |
michael@0 | 34 | ## List of standard targets |
michael@0 | 35 | all: all-recursive all-local |
michael@0 | 36 | install: install-recursive install-local |
michael@0 | 37 | clean: clean-recursive clean-local |
michael@0 | 38 | distclean : distclean-recursive distclean-local |
michael@0 | 39 | dist: dist-recursive dist-local |
michael@0 | 40 | |
michael@0 | 41 | all-samples: all-samples-recursive |
michael@0 | 42 | clean-samples: clean-samples-recursive |
michael@0 | 43 | check-samples: check-samples-recursive |
michael@0 | 44 | |
michael@0 | 45 | # Note (srl 4/15/2002) do NOT recursively check samples for 2.1, look into testing them in the future. |
michael@0 | 46 | #check: all check-recursive check-local |
michael@0 | 47 | check: all check-local |
michael@0 | 48 | |
michael@0 | 49 | check-exhaustive: check |
michael@0 | 50 | |
michael@0 | 51 | ## Recursive targets |
michael@0 | 52 | all-recursive install-recursive clean-recursive distclean-recursive dist-recursive check-recursive: |
michael@0 | 53 | @dot_seen=no; \ |
michael@0 | 54 | target=`echo $@ | sed s/-recursive//`; \ |
michael@0 | 55 | list='$(SUBDIRS)'; for subdir in $$list; do \ |
michael@0 | 56 | echo "$(MAKE)[$(MAKELEVEL)]: Making \`$$target' in \`$$subdir'"; \ |
michael@0 | 57 | if test "$$subdir" = "."; then \ |
michael@0 | 58 | dot_seen=yes; \ |
michael@0 | 59 | local_target="$$target-local"; \ |
michael@0 | 60 | else \ |
michael@0 | 61 | local_target="$$target"; \ |
michael@0 | 62 | fi; \ |
michael@0 | 63 | (cd $$subdir && $(MAKE) $$local_target) || exit; \ |
michael@0 | 64 | done; \ |
michael@0 | 65 | if test "$$dot_seen" = "no"; then \ |
michael@0 | 66 | $(MAKE) "$$target-local" || exit; \ |
michael@0 | 67 | fi |
michael@0 | 68 | |
michael@0 | 69 | all-samples-recursive check-samples-recursive clean-samples-recursive: |
michael@0 | 70 | @dot_seen=no; \ |
michael@0 | 71 | target=`echo $@ | sed s/-recursive//`; \ |
michael@0 | 72 | subtarget=`echo $@ | sed s/-samples-recursive//`; \ |
michael@0 | 73 | list='$(SUBDIRS) $(ALLSUBDIRS)'; for subdir in $$list; do \ |
michael@0 | 74 | echo "$(MAKE)[$(MAKELEVEL)]: Making \`$$subtarget' in \`$$subdir'"; \ |
michael@0 | 75 | if test "$$subdir" = "."; then \ |
michael@0 | 76 | dot_seen=yes; \ |
michael@0 | 77 | local_target="$$subtarget-local"; \ |
michael@0 | 78 | else \ |
michael@0 | 79 | local_target="$$subtarget"; \ |
michael@0 | 80 | fi; \ |
michael@0 | 81 | (cd $$subdir && $(MAKE) $$local_target) || exit; \ |
michael@0 | 82 | done; \ |
michael@0 | 83 | if test "$$dot_seen" = "no"; then \ |
michael@0 | 84 | $(MAKE) "$$subtarget-local" || exit; \ |
michael@0 | 85 | fi |
michael@0 | 86 | |
michael@0 | 87 | |
michael@0 | 88 | all-local: |
michael@0 | 89 | |
michael@0 | 90 | install-local: |
michael@0 | 91 | |
michael@0 | 92 | dist-local: |
michael@0 | 93 | |
michael@0 | 94 | clean-local: |
michael@0 | 95 | test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES) |
michael@0 | 96 | |
michael@0 | 97 | check-local: |
michael@0 | 98 | |
michael@0 | 99 | distclean-local: clean-local |
michael@0 | 100 | $(RMV) Makefile |
michael@0 | 101 | |
michael@0 | 102 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status |
michael@0 | 103 | cd $(top_builddir) \ |
michael@0 | 104 | && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status |