1## Makefile.in for ICU samples 2## Copyright (c) 1999-2007, International Business Machines Corporation and 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 23ALLSUBDIRS = break case csdet datefmt msgfmt numfmt props translit ucnv udata ufortune uresb ustring citer uciter8 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 \ 29check check-recursive check-local 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 49 50## Recursive targets 51all-recursive install-recursive clean-recursive distclean-recursive dist-recursive check-recursive: 52 @dot_seen=no; \ 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 \ 57 dot_seen=yes; \ 58 local_target="$$target-local"; \ 59 else \ 60 local_target="$$target"; \ 61 fi; \ 62 (cd $$subdir && $(MAKE) $$local_target) || exit; \ 63 done; \ 64 if test "$$dot_seen" = "no"; then \ 65 $(MAKE) "$$target-local" || exit; \ 66 fi 67 68all-samples-recursive check-samples-recursive clean-samples-recursive: 69 @dot_seen=no; \ 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 \ 75 dot_seen=yes; \ 76 local_target="$$subtarget-local"; \ 77 else \ 78 local_target="$$subtarget"; \ 79 fi; \ 80 (cd $$subdir && $(MAKE) $$local_target) || exit; \ 81 done; \ 82 if test "$$dot_seen" = "no"; then \ 83 $(MAKE) "$$subtarget-local" || exit; \ 84 fi 85 86 87all-local: 88 89install-local: 90 91dist-local: 92 93clean-local: 94 test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES) 95 96check-local: 97 98distclean-local: clean-local 99 $(RMV) Makefile 100 101Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status 102 cd $(top_builddir) \ 103 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status 104