1 ## Makefile.in for ICU samples
2 ## Copyright (C) 2016 and later: Unicode, Inc. and others.
3 ## License & terms of use: http://www.unicode.org/copyright.html#License
5 ## Copyright (c) 1999-2011, International Business Machines Corporation and
6 ## others. All Rights Reserved.
8 ## Install directory information
10 top_srcdir = @top_srcdir@
14 include $(top_builddir)/icudefs.mk
16 ## Build directory information
19 ## Platform-specific setup
20 include @platform_make_fragment@
22 ## Files to remove for 'make clean'
26 ALLSUBDIRS = break case csdet datefmt msgfmt numfmt props translit ucnv udata ufortune uresb ustring citer uciter8 ugrep
28 ## List of phony targets
29 .PHONY : all all-local all-recursive install install-local \
30 install-recursive clean clean-local clean-recursive distclean \
31 distclean-local distclean-recursive dist dist-recursive dist-local \
32 check check-recursive check-local check-exhaustive
37 ## List of standard targets
38 all: all-recursive all-local
39 install: install-recursive install-local
40 clean: clean-recursive clean-local
41 distclean : distclean-recursive distclean-local
42 dist: dist-recursive dist-local
44 all-samples: all-samples-recursive
45 clean-samples: clean-samples-recursive
46 check-samples: check-samples-recursive
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
50 check: all check-local
52 check-exhaustive: check
55 all-recursive install-recursive clean-recursive distclean-recursive dist-recursive check-recursive:
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 \
62 local_target="$$target-local"; \
64 local_target="$$target"; \
66 (cd $$subdir && $(MAKE) $$local_target) || exit; \
68 if test "$$dot_seen" = "no"; then \
69 $(MAKE) "$$target-local" || exit; \
72 all-samples-recursive check-samples-recursive clean-samples-recursive:
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 \
80 local_target="$$subtarget-local"; \
82 local_target="$$subtarget"; \
84 (cd $$subdir && $(MAKE) $$local_target) || exit; \
86 if test "$$dot_seen" = "no"; then \
87 $(MAKE) "$$subtarget-local" || exit; \
98 test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES)
102 distclean-local: clean-local
105 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
107 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status