]>
Commit | Line | Data |
---|---|---|
b75a7d8f | 1 | ## Makefile.in for ICU tools |
374ca955 | 2 | ## Copyright (c) 1999-2004, International Business Machines Corporation and |
b75a7d8f A |
3 | ## others. All Rights Reserved. |
4 | ||
5 | ## Source directory information | |
6 | srcdir = @srcdir@ | |
7 | top_srcdir = @top_srcdir@ | |
8 | ||
9 | top_builddir = .. | |
10 | ||
11 | include $(top_builddir)/icudefs.mk | |
12 | ||
b75a7d8f A |
13 | ## Build directory information |
14 | subdir = tools | |
15 | ||
b75a7d8f | 16 | SUBDIRS = ctestfw toolutil makeconv genrb genuca genbrk \ |
374ca955 A |
17 | genprops gencase gennames genpname gennorm gencmn gencnval gensprep genccode pkgdata \ |
18 | gentest icuswap | |
b75a7d8f A |
19 | |
20 | ## List of phony targets | |
21 | .PHONY : all all-local all-recursive install install-local install-files install-dlls build-cmnfile build-dll \ | |
22 | install-recursive clean clean-local clean-recursive distclean \ | |
23 | distclean-local distclean-recursive dist dist-local dist-recursive \ | |
24 | check check-local check-recursive build-testdlls build-basetestdata build-local | |
25 | ||
26 | ## Clear suffix list | |
27 | .SUFFIXES : | |
28 | ||
29 | ## List of standard targets | |
30 | all: all-recursive | |
31 | install: install-recursive | |
32 | clean: clean-local clean-recursive | |
33 | distclean : distclean-recursive | |
34 | dist: dist-recursive | |
35 | check: all check-recursive | |
36 | ||
37 | ## Recursive targets | |
38 | all-recursive install-recursive clean-recursive distclean-recursive dist-recursive check-recursive: | |
39 | @dot_seen=no; \ | |
40 | target=`echo $@ | sed s/-recursive//`; \ | |
41 | list='$(SUBDIRS)'; for subdir in $$list; do \ | |
42 | echo "$(MAKE)[$(MAKELEVEL)]: Making \`$$target' in \`$$subdir'"; \ | |
43 | if test "$$subdir" = "."; then \ | |
44 | dot_seen=yes; \ | |
45 | local_target="$$target-local"; \ | |
46 | else \ | |
47 | local_target="$$target"; \ | |
48 | fi; \ | |
49 | (cd $$subdir && $(MAKE) $$local_target) || exit; \ | |
50 | done; \ | |
51 | if test "$$dot_seen" = "no"; then \ | |
52 | $(MAKE) "$$target-local" || exit; \ | |
53 | fi | |
54 | ||
55 | all-local: build-local | |
56 | ||
b75a7d8f A |
57 | |
58 | ## Files to remove for 'make clean' | |
374ca955 | 59 | CLEANFILES = *~ |
b75a7d8f A |
60 | |
61 | install-local: | |
62 | ||
63 | dist-local: | |
64 | ||
374ca955 | 65 | clean-local: |
b75a7d8f | 66 | test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES) |
b75a7d8f A |
67 | |
68 | # Clean up any old variations.. | |
69 | distclean-local: clean-local | |
70 | $(RMV) Makefile | |
71 | ||
b75a7d8f A |
72 | build-local: |
73 | ||
b75a7d8f A |
74 | check-local: |
75 | ||
76 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status | |
77 | cd $(top_builddir) \ | |
78 | && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status | |
79 |