1 ## Makefile.in for ICU samples
2 ## Copyright (c) 1999-2006, International Business Machines Corporation and
3 ## others. All Rights Reserved.
5 ## Install directory information
7 top_srcdir = @top_srcdir@
11 include $(top_builddir)/icudefs.mk
13 ## Build directory information
16 ## Platform-specific setup
17 include @platform_make_fragment@
19 ## Files to remove for 'make clean'
23 ALLSUBDIRS = break case csdet datefmt msgfmt numfmt props translit ucnv udata ufortune uresb ustring citer uciter8
25 ## List of phony targets
26 .PHONY : all all-local all-recursive install install-local \
27 install-recursive clean clean-local clean-recursive distclean \
28 distclean-local distclean-recursive dist dist-recursive dist-local \
29 check check-recursive check-local
34 ## List of standard targets
35 all: all-recursive all-local
36 install: install-recursive install-local
37 clean: clean-recursive clean-local
38 distclean : distclean-recursive distclean-local
39 dist: dist-recursive dist-local
41 all-samples: all-samples-recursive
42 clean-samples: clean-samples-recursive
43 check-samples: check-samples-recursive
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
47 check: all check-local
51 all-recursive install-recursive clean-recursive distclean-recursive dist-recursive check-recursive:
53 target=`echo $@ | sed s/-recursive//`; \
54 list='$(SUBDIRS)'; for subdir in $$list; do \
55 echo "$(MAKE)[$(MAKELEVEL)]: Making \`$$target' in \`$$subdir'"; \
56 if test "$$subdir" = "."; then \
58 local_target="$$target-local"; \
60 local_target="$$target"; \
62 (cd $$subdir && $(MAKE) $$local_target) || exit; \
64 if test "$$dot_seen" = "no"; then \
65 $(MAKE) "$$target-local" || exit; \
68 all-samples-recursive check-samples-recursive clean-samples-recursive:
70 target=`echo $@ | sed s/-recursive//`; \
71 subtarget=`echo $@ | sed s/-samples-recursive//`; \
72 list='$(SUBDIRS) $(ALLSUBDIRS)'; for subdir in $$list; do \
73 echo "$(MAKE)[$(MAKELEVEL)]: Making \`$$subtarget' in \`$$subdir'"; \
74 if test "$$subdir" = "."; then \
76 local_target="$$subtarget-local"; \
78 local_target="$$subtarget"; \
80 (cd $$subdir && $(MAKE) $$local_target) || exit; \
82 if test "$$dot_seen" = "no"; then \
83 $(MAKE) "$$subtarget-local" || exit; \
94 test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES)
98 distclean-local: clean-local
101 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
103 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status