1999-08-16 21:50:52 +00:00
|
|
|
## Makefile.in for ICU tools
|
2006-01-03 19:55:45 +00:00
|
|
|
## Copyright (c) 1999-2006, International Business Machines Corporation and
|
2000-01-17 19:48:20 +00:00
|
|
|
## others. All Rights Reserved.
|
1999-08-16 21:50:52 +00:00
|
|
|
|
2000-10-24 19:50:20 +00:00
|
|
|
## Source directory information
|
1999-08-16 21:50:52 +00:00
|
|
|
srcdir = @srcdir@
|
|
|
|
top_srcdir = @top_srcdir@
|
|
|
|
|
2000-10-26 19:28:33 +00:00
|
|
|
top_builddir = ..
|
|
|
|
|
|
|
|
include $(top_builddir)/icudefs.mk
|
2000-10-24 19:50:20 +00:00
|
|
|
|
1999-08-16 21:50:52 +00:00
|
|
|
## Build directory information
|
|
|
|
subdir = tools
|
|
|
|
|
2006-04-25 22:43:37 +00:00
|
|
|
SUBDIRS = toolutil ctestfw makeconv genrb genuca genbrk genctd \
|
2006-01-03 19:55:45 +00:00
|
|
|
gennames genpname gencnval gensprep genccode gencmn icupkg pkgdata \
|
2006-04-25 22:43:37 +00:00
|
|
|
gentest genprops gencase genbidi gennorm icuswap
|
1999-08-16 21:50:52 +00:00
|
|
|
|
|
|
|
## List of phony targets
|
2006-01-03 19:55:45 +00:00
|
|
|
.PHONY : all all-local all-recursive install install-local \
|
1999-08-16 21:50:52 +00:00
|
|
|
install-recursive clean clean-local clean-recursive distclean \
|
|
|
|
distclean-local distclean-recursive dist dist-local dist-recursive \
|
2006-01-03 19:55:45 +00:00
|
|
|
check check-local check-recursive build-local
|
1999-08-16 21:50:52 +00:00
|
|
|
|
|
|
|
## Clear suffix list
|
|
|
|
.SUFFIXES :
|
|
|
|
|
|
|
|
## List of standard targets
|
2000-06-14 00:50:58 +00:00
|
|
|
all: all-recursive
|
|
|
|
install: install-recursive
|
2000-07-12 02:00:43 +00:00
|
|
|
clean: clean-local clean-recursive
|
2000-06-14 00:50:58 +00:00
|
|
|
distclean : distclean-recursive
|
|
|
|
dist: dist-recursive
|
2000-08-01 01:55:54 +00:00
|
|
|
check: all check-recursive
|
1999-08-16 21:50:52 +00:00
|
|
|
|
|
|
|
## Recursive targets
|
|
|
|
all-recursive install-recursive clean-recursive distclean-recursive dist-recursive check-recursive:
|
|
|
|
@dot_seen=no; \
|
|
|
|
target=`echo $@ | sed s/-recursive//`; \
|
|
|
|
list='$(SUBDIRS)'; for subdir in $$list; do \
|
2002-01-04 23:48:46 +00:00
|
|
|
echo "$(MAKE)[$(MAKELEVEL)]: Making \`$$target' in \`$$subdir'"; \
|
1999-08-16 21:50:52 +00:00
|
|
|
if test "$$subdir" = "."; then \
|
2001-03-06 23:27:17 +00:00
|
|
|
dot_seen=yes; \
|
|
|
|
local_target="$$target-local"; \
|
1999-08-16 21:50:52 +00:00
|
|
|
else \
|
2001-03-06 23:27:17 +00:00
|
|
|
local_target="$$target"; \
|
1999-08-16 21:50:52 +00:00
|
|
|
fi; \
|
2000-02-04 22:34:43 +00:00
|
|
|
(cd $$subdir && $(MAKE) $$local_target) || exit; \
|
1999-08-16 21:50:52 +00:00
|
|
|
done; \
|
|
|
|
if test "$$dot_seen" = "no"; then \
|
2000-08-11 22:08:11 +00:00
|
|
|
$(MAKE) "$$target-local" || exit; \
|
1999-08-16 21:50:52 +00:00
|
|
|
fi
|
|
|
|
|
1999-11-23 04:49:35 +00:00
|
|
|
all-local: build-local
|
|
|
|
|
1999-12-04 02:31:40 +00:00
|
|
|
|
2000-01-08 02:17:39 +00:00
|
|
|
## Files to remove for 'make clean'
|
2004-02-27 22:54:50 +00:00
|
|
|
CLEANFILES = *~
|
1999-11-23 04:49:35 +00:00
|
|
|
|
2000-12-01 17:24:45 +00:00
|
|
|
install-local:
|
|
|
|
|
1999-08-16 21:50:52 +00:00
|
|
|
dist-local:
|
|
|
|
|
2004-02-27 22:54:50 +00:00
|
|
|
clean-local:
|
2000-10-02 23:37:16 +00:00
|
|
|
test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES)
|
2000-06-14 00:50:58 +00:00
|
|
|
|
2000-10-02 23:37:16 +00:00
|
|
|
# Clean up any old variations..
|
|
|
|
distclean-local: clean-local
|
|
|
|
$(RMV) Makefile
|
|
|
|
|
2000-12-01 17:24:45 +00:00
|
|
|
build-local:
|
|
|
|
|
1999-08-16 21:50:52 +00:00
|
|
|
check-local:
|
|
|
|
|
|
|
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
|
|
|
cd $(top_builddir) \
|
|
|
|
&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
2000-08-15 02:41:58 +00:00
|
|
|
|