scuffed-code/icu4c/source/tools/Makefile.in

80 lines
2.0 KiB
Makefile
Raw Normal View History

1999-08-16 21:50:52 +00:00
## Makefile.in for ICU tools
## Copyright (c) 1999-2006, International Business Machines Corporation and
## others. All Rights Reserved.
1999-08-16 21:50:52 +00:00
## Source directory information
1999-08-16 21:50:52 +00:00
srcdir = @srcdir@
top_srcdir = @top_srcdir@
top_builddir = ..
include $(top_builddir)/icudefs.mk
1999-08-16 21:50:52 +00:00
## Build directory information
subdir = tools
SUBDIRS = toolutil ctestfw makeconv genrb genuca genbrk genctd \
gennames genpname gencnval gensprep genccode gencmn icupkg pkgdata \
gentest genprops gencase genbidi gennorm icuswap
1999-08-16 21:50:52 +00:00
## List of phony targets
.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 \
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
clean: clean-local clean-recursive
2000-06-14 00:50:58 +00:00
distclean : distclean-recursive
dist: dist-recursive
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 \
echo "$(MAKE)[$(MAKELEVEL)]: Making \`$$target' in \`$$subdir'"; \
1999-08-16 21:50:52 +00:00
if test "$$subdir" = "."; then \
dot_seen=yes; \
local_target="$$target-local"; \
1999-08-16 21:50:52 +00:00
else \
local_target="$$target"; \
1999-08-16 21:50:52 +00:00
fi; \
(cd $$subdir && $(MAKE) $$local_target) || exit; \
1999-08-16 21:50:52 +00:00
done; \
if test "$$dot_seen" = "no"; then \
$(MAKE) "$$target-local" || exit; \
1999-08-16 21:50:52 +00:00
fi
all-local: build-local
## Files to remove for 'make clean'
CLEANFILES = *~
install-local:
1999-08-16 21:50:52 +00:00
dist-local:
clean-local:
test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES)
2000-06-14 00:50:58 +00:00
# Clean up any old variations..
distclean-local: clean-local
$(RMV) Makefile
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