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