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