| 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 |
| 8 |
srcdir = @srcdir@ |
| 9 |
top_srcdir = @top_srcdir@ |
| 10 |
|
| 11 |
top_builddir = .. |
| 12 |
|
| 13 |
include $(top_builddir)/icudefs.mk |
| 14 |
|
| 15 |
## Build directory information |
| 16 |
subdir = tools |
| 17 |
|
| 18 |
SUBDIRS = toolutil ctestfw makeconv genrb genbrk \ |
| 19 |
gencnval gensprep icuinfo genccode gencmn icupkg pkgdata \ |
| 20 |
gentest gennorm2 gencfu gendict icuexportdata |
| 21 |
|
| 22 |
ifneq (@platform_make_fragment_name@,mh-cygwin-msvc) |
| 23 |
SUBDIRS += escapesrc |
| 24 |
endif |
| 25 |
|
| 26 |
## List of phony targets |
| 27 |
.PHONY : all all-local all-recursive install install-local \ |
| 28 |
install-recursive clean clean-local clean-recursive distclean \ |
| 29 |
distclean-local distclean-recursive dist dist-local dist-recursive \ |
| 30 |
check check-local check-recursive build-local check-exhaustive |
| 31 |
|
| 32 |
## Clear suffix list |
| 33 |
.SUFFIXES : |
| 34 |
|
| 35 |
## List of standard targets |
| 36 |
all: all-recursive |
| 37 |
install: install-recursive |
| 38 |
clean: clean-local clean-recursive |
| 39 |
distclean : distclean-recursive |
| 40 |
dist: dist-recursive |
| 41 |
check: all check-recursive |
| 42 |
|
| 43 |
check-exhaustive: check |
| 44 |
|
| 45 |
## Recursive targets |
| 46 |
all-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 |
|
| 63 |
all-local: build-local |
| 64 |
|
| 65 |
|
| 66 |
## Files to remove for 'make clean' |
| 67 |
CLEANFILES = *~ |
| 68 |
|
| 69 |
install-local: |
| 70 |
|
| 71 |
dist-local: |
| 72 |
|
| 73 |
clean-local: |
| 74 |
test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES) |
| 75 |
|
| 76 |
# Clean up any old variations.. |
| 77 |
distclean-local: clean-local |
| 78 |
$(RMV) Makefile |
| 79 |
|
| 80 |
build-local: |
| 81 |
|
| 82 |
check-local: |
| 83 |
|
| 84 |
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status |
| 85 |
cd $(top_builddir) \ |
| 86 |
&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status |
| 87 |
|