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
13srcdir = @srcdir@
14top_srcdir = @top_srcdir@
15
16top_builddir = ..
17
18include $(top_builddir)/icudefs.mk
19
20## Build directory information
21subdir = extra
22
23## Files to remove for 'make clean'
24CLEANFILES = *~
25
26SUBDIRS = scrptrun uconv
27
28## List of phony targets
29.PHONY : all all-local all-recursive install install-local		\
30install-recursive clean clean-local clean-recursive distclean		\
31distclean-local distclean-recursive dist dist-recursive dist-local	\
32check check-recursive check-local check-exhaustive
33
34## Clear suffix list
35.SUFFIXES :
36
37## List of standard targets
38all: all-recursive all-local
39install: install-recursive install-local
40clean: clean-recursive clean-local
41distclean : distclean-recursive distclean-local
42dist: dist-recursive dist-local
43check: all check-recursive check-local
44
45check-exhaustive: check
46
47## Recursive targets
48all-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
65all-local:
66
67install-local:
68
69dist-local:
70
71clean-local:
72	test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES)
73
74check-local:
75
76distclean-local: clean-local
77	$(RMV) Makefile
78
79Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
80	cd $(top_builddir) \
81	&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
82