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