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 11 srcdir = @srcdir@ 12 top_srcdir = @top_srcdir@ 13 14 top_builddir = .. 15 16 include $(top_builddir)/icudefs.mk 17 18 ## Build directory information 19 subdir = extra 20 21 ## Files to remove for 'make clean' 22 CLEANFILES = *~ 23 24 SUBDIRS = uconv 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 \ 30 check check-recursive check-local 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 43 ## Recursive targets 44 all-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 61 all-local: 62 63 install-local: 64 65 dist-local: 66 67 clean-local: 68 test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES) 69 70 check-local: 71 72 distclean-local: clean-local 73 $(RMV) Makefile 74 75 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status 76 cd $(top_builddir) \ 77 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status 78