1## Makefile.in for ICU tools 2## Copyright (C) 2016 and later: Unicode, Inc. and others. 3## License & terms of use: http://www.unicode.org/copyright.html 4## Copyright (c) 1999-2012, International Business Machines Corporation and 5## others. All Rights Reserved. 6 7## Source directory information 8srcdir = @srcdir@ 9top_srcdir = @top_srcdir@ 10 11top_builddir = .. 12 13include $(top_builddir)/icudefs.mk 14 15## Build directory information 16subdir = tools 17 18SUBDIRS = toolutil ctestfw makeconv genrb genbrk \ 19gencnval gensprep icuinfo genccode gencmn icupkg pkgdata \ 20gentest gennorm2 gencfu gendict 21 22ifneq (@platform_make_fragment_name@,mh-cygwin-msvc) 23SUBDIRS += escapesrc 24endif 25 26## List of phony targets 27.PHONY : all all-local all-recursive install install-local \ 28install-recursive clean clean-local clean-recursive distclean \ 29distclean-local distclean-recursive dist dist-local dist-recursive \ 30check check-local check-recursive build-local check-exhaustive 31 32## Clear suffix list 33.SUFFIXES : 34 35## List of standard targets 36all: all-recursive 37install: install-recursive 38clean: clean-local clean-recursive 39distclean : distclean-recursive 40dist: dist-recursive 41check: all check-recursive 42 43check-exhaustive: check 44 45## Recursive targets 46all-recursive install-recursive clean-recursive distclean-recursive dist-recursive check-recursive: 47 @dot_seen=no; \ 48 target=`echo $@ | sed s/-recursive//`; \ 49 list='$(SUBDIRS)'; for subdir in $$list; do \ 50 echo "$(MAKE)[$(MAKELEVEL)]: Making \`$$target' in \`$$subdir'"; \ 51 if test "$$subdir" = "."; then \ 52 dot_seen=yes; \ 53 local_target="$$target-local"; \ 54 else \ 55 local_target="$$target"; \ 56 fi; \ 57 (cd $$subdir && $(MAKE) $$local_target) || exit; \ 58 done; \ 59 if test "$$dot_seen" = "no"; then \ 60 $(MAKE) "$$target-local" || exit; \ 61 fi 62 63all-local: build-local 64 65 66## Files to remove for 'make clean' 67CLEANFILES = *~ 68 69install-local: 70 71dist-local: 72 73clean-local: 74 test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES) 75 76# Clean up any old variations.. 77distclean-local: clean-local 78 $(RMV) Makefile 79 80build-local: 81 82check-local: 83 84Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status 85 cd $(top_builddir) \ 86 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status 87 88