michael@0: ## Makefile.in for ICU samples michael@0: ## Copyright (c) 1999-2011, International Business Machines Corporation and michael@0: ## others. All Rights Reserved. michael@0: michael@0: ## Install directory information michael@0: srcdir = @srcdir@ michael@0: top_srcdir = @top_srcdir@ michael@0: michael@0: top_builddir = .. michael@0: michael@0: include $(top_builddir)/icudefs.mk michael@0: michael@0: ## Build directory information michael@0: subdir = samples michael@0: michael@0: ## Platform-specific setup michael@0: include @platform_make_fragment@ michael@0: michael@0: ## Files to remove for 'make clean' michael@0: CLEANFILES = *~ michael@0: michael@0: SUBDIRS = date cal michael@0: ALLSUBDIRS = break case csdet datefmt msgfmt numfmt props translit ucnv udata ufortune uresb ustring citer uciter8 ugrep michael@0: michael@0: ## List of phony targets michael@0: .PHONY : all all-local all-recursive install install-local \ michael@0: install-recursive clean clean-local clean-recursive distclean \ michael@0: distclean-local distclean-recursive dist dist-recursive dist-local \ michael@0: check check-recursive check-local check-exhaustive michael@0: michael@0: ## Clear suffix list michael@0: .SUFFIXES : michael@0: michael@0: ## List of standard targets michael@0: all: all-recursive all-local michael@0: install: install-recursive install-local michael@0: clean: clean-recursive clean-local michael@0: distclean : distclean-recursive distclean-local michael@0: dist: dist-recursive dist-local michael@0: michael@0: all-samples: all-samples-recursive michael@0: clean-samples: clean-samples-recursive michael@0: check-samples: check-samples-recursive michael@0: michael@0: # Note (srl 4/15/2002) do NOT recursively check samples for 2.1, look into testing them in the future. michael@0: #check: all check-recursive check-local michael@0: check: all check-local michael@0: michael@0: check-exhaustive: check michael@0: michael@0: ## Recursive targets michael@0: all-recursive install-recursive clean-recursive distclean-recursive dist-recursive check-recursive: michael@0: @dot_seen=no; \ michael@0: target=`echo $@ | sed s/-recursive//`; \ michael@0: list='$(SUBDIRS)'; for subdir in $$list; do \ michael@0: echo "$(MAKE)[$(MAKELEVEL)]: Making \`$$target' in \`$$subdir'"; \ michael@0: if test "$$subdir" = "."; then \ michael@0: dot_seen=yes; \ michael@0: local_target="$$target-local"; \ michael@0: else \ michael@0: local_target="$$target"; \ michael@0: fi; \ michael@0: (cd $$subdir && $(MAKE) $$local_target) || exit; \ michael@0: done; \ michael@0: if test "$$dot_seen" = "no"; then \ michael@0: $(MAKE) "$$target-local" || exit; \ michael@0: fi michael@0: michael@0: all-samples-recursive check-samples-recursive clean-samples-recursive: michael@0: @dot_seen=no; \ michael@0: target=`echo $@ | sed s/-recursive//`; \ michael@0: subtarget=`echo $@ | sed s/-samples-recursive//`; \ michael@0: list='$(SUBDIRS) $(ALLSUBDIRS)'; for subdir in $$list; do \ michael@0: echo "$(MAKE)[$(MAKELEVEL)]: Making \`$$subtarget' in \`$$subdir'"; \ michael@0: if test "$$subdir" = "."; then \ michael@0: dot_seen=yes; \ michael@0: local_target="$$subtarget-local"; \ michael@0: else \ michael@0: local_target="$$subtarget"; \ michael@0: fi; \ michael@0: (cd $$subdir && $(MAKE) $$local_target) || exit; \ michael@0: done; \ michael@0: if test "$$dot_seen" = "no"; then \ michael@0: $(MAKE) "$$subtarget-local" || exit; \ michael@0: fi michael@0: michael@0: michael@0: all-local: michael@0: michael@0: install-local: michael@0: michael@0: dist-local: michael@0: michael@0: clean-local: michael@0: test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES) michael@0: michael@0: check-local: michael@0: michael@0: distclean-local: clean-local michael@0: $(RMV) Makefile michael@0: michael@0: Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status michael@0: cd $(top_builddir) \ michael@0: && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status