1#****************************************************************************** 2# 3# Copyright (C) 1999-2004, International Business Machines 4# Corporation and others. All Rights Reserved. 5# 6#****************************************************************************** 7## Makefile.in for ICU extras 8## Stephen F. Booth 9 10## Install directory information 11srcdir = . 12top_srcdir = .. 13 14top_builddir = .. 15 16include $(top_builddir)/icudefs.mk 17 18## Build directory information 19subdir = extra 20 21## Files to remove for 'make clean' 22CLEANFILES = *~ 23 24SUBDIRS = uconv 25 26## List of phony targets 27.PHONY : all all-local all-recursive install install-local \ 28install-recursive clean clean-local clean-recursive distclean \ 29distclean-local distclean-recursive dist dist-recursive dist-local \ 30check check-recursive check-local 31 32## Clear suffix list 33.SUFFIXES : 34 35## List of standard targets 36all: all-recursive all-local 37install: install-recursive install-local 38clean: clean-recursive clean-local 39distclean : distclean-recursive distclean-local 40dist: dist-recursive dist-local 41check: all check-recursive check-local 42 43## Recursive targets 44all-recursive install-recursive clean-recursive distclean-recursive dist-recursive check-recursive: 45 @dot_seen=no; \ 46 target=`echo $@ | sed s/-recursive//`; \ 47 list='$(SUBDIRS)'; for subdir in $$list; do \ 48 echo "$(MAKE)[$(MAKELEVEL)]: Making \`$$target' in \`$$subdir'"; \ 49 if test "$$subdir" = "."; then \ 50 dot_seen=yes; \ 51 local_target="$$target-local"; \ 52 else \ 53 local_target="$$target"; \ 54 fi; \ 55 (cd $$subdir && $(MAKE) $$local_target) || exit; \ 56 done; \ 57 if test "$$dot_seen" = "no"; then \ 58 $(MAKE) "$$target-local" || exit; \ 59 fi 60 61all-local: 62 63install-local: 64 65dist-local: 66 67clean-local: 68 test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES) 69 70check-local: 71 72distclean-local: clean-local 73 $(RMV) Makefile 74 75Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status 76 cd $(top_builddir) \ 77 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status 78