| 1 |
# Copyright (C) 2016 and later: Unicode, Inc. and others. |
| 2 |
# License & terms of use: http://www.unicode.org/copyright.html |
| 3 |
#****************************************************************************** |
| 4 |
# |
| 5 |
# Copyright (C) 1999-2011, International Business Machines |
| 6 |
# Corporation and others. All Rights Reserved. |
| 7 |
# |
| 8 |
#****************************************************************************** |
| 9 |
## Makefile.in for ICU extras |
| 10 |
## Stephen F. Booth |
| 11 |
|
| 12 |
## Install directory information |
| 13 |
srcdir = @srcdir@ |
| 14 |
top_srcdir = @top_srcdir@ |
| 15 |
|
| 16 |
top_builddir = .. |
| 17 |
|
| 18 |
include $(top_builddir)/icudefs.mk |
| 19 |
|
| 20 |
## Build directory information |
| 21 |
subdir = extra |
| 22 |
|
| 23 |
## Files to remove for 'make clean' |
| 24 |
CLEANFILES = *~ |
| 25 |
|
| 26 |
SUBDIRS = scrptrun uconv |
| 27 |
|
| 28 |
## List of phony targets |
| 29 |
.PHONY : all all-local all-recursive install install-local \ |
| 30 |
install-recursive clean clean-local clean-recursive distclean \ |
| 31 |
distclean-local distclean-recursive dist dist-recursive dist-local \ |
| 32 |
check check-recursive check-local check-exhaustive |
| 33 |
|
| 34 |
## Clear suffix list |
| 35 |
.SUFFIXES : |
| 36 |
|
| 37 |
## List of standard targets |
| 38 |
all: all-recursive all-local |
| 39 |
install: install-recursive install-local |
| 40 |
clean: clean-recursive clean-local |
| 41 |
distclean : distclean-recursive distclean-local |
| 42 |
dist: dist-recursive dist-local |
| 43 |
check: all check-recursive check-local |
| 44 |
|
| 45 |
check-exhaustive: check |
| 46 |
|
| 47 |
## Recursive targets |
| 48 |
all-recursive install-recursive clean-recursive distclean-recursive dist-recursive check-recursive: |
| 49 |
@dot_seen=no; \ |
| 50 |
target=`echo $@ | sed s/-recursive//`; \ |
| 51 |
list='$(SUBDIRS)'; for subdir in $$list; do \ |
| 52 |
echo "$(MAKE)[$(MAKELEVEL)]: Making \`$$target' in \`$$subdir'"; \ |
| 53 |
if test "$$subdir" = "."; then \ |
| 54 |
dot_seen=yes; \ |
| 55 |
local_target="$$target-local"; \ |
| 56 |
else \ |
| 57 |
local_target="$$target"; \ |
| 58 |
fi; \ |
| 59 |
(cd $$subdir && $(MAKE) $$local_target) || exit; \ |
| 60 |
done; \ |
| 61 |
if test "$$dot_seen" = "no"; then \ |
| 62 |
$(MAKE) "$$target-local" || exit; \ |
| 63 |
fi |
| 64 |
|
| 65 |
all-local: |
| 66 |
|
| 67 |
install-local: |
| 68 |
|
| 69 |
dist-local: |
| 70 |
|
| 71 |
clean-local: |
| 72 |
test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES) |
| 73 |
|
| 74 |
check-local: |
| 75 |
|
| 76 |
distclean-local: clean-local |
| 77 |
$(RMV) Makefile |
| 78 |
|
| 79 |
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status |
| 80 |
cd $(top_builddir) \ |
| 81 |
&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status |