]>
Commit | Line | Data |
---|---|---|
b75a7d8f A |
1 | #****************************************************************************** |
2 | # | |
4388f060 | 3 | # Copyright (C) 1999-2011, International Business Machines |
b75a7d8f A |
4 | # Corporation and others. All Rights Reserved. |
5 | # | |
6 | #****************************************************************************** | |
7 | ## Makefile.in for ICU extras | |
8 | ## Stephen F. Booth | |
9 | ||
10 | ## Install directory information | |
11 | srcdir = @srcdir@ | |
12 | top_srcdir = @top_srcdir@ | |
13 | ||
14 | top_builddir = .. | |
15 | ||
16 | include $(top_builddir)/icudefs.mk | |
17 | ||
b75a7d8f A |
18 | ## Build directory information |
19 | subdir = extra | |
20 | ||
21 | ## Files to remove for 'make clean' | |
22 | CLEANFILES = *~ | |
23 | ||
374ca955 | 24 | SUBDIRS = uconv |
b75a7d8f A |
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-recursive dist-local \ | |
4388f060 | 30 | check check-recursive check-local check-exhaustive |
b75a7d8f A |
31 | |
32 | ## Clear suffix list | |
33 | .SUFFIXES : | |
34 | ||
35 | ## List of standard targets | |
36 | all: all-recursive all-local | |
37 | install: install-recursive install-local | |
38 | clean: clean-recursive clean-local | |
39 | distclean : distclean-recursive distclean-local | |
40 | dist: dist-recursive dist-local | |
41 | check: all check-recursive check-local | |
42 | ||
4388f060 A |
43 | check-exhaustive: check |
44 | ||
b75a7d8f A |
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: | |
64 | ||
65 | install-local: | |
66 | ||
67 | dist-local: | |
68 | ||
69 | clean-local: | |
70 | test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES) | |
71 | ||
72 | check-local: | |
73 | ||
74 | distclean-local: clean-local | |
75 | $(RMV) Makefile | |
76 | ||
77 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status | |
78 | cd $(top_builddir) \ | |
79 | && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status |