srcdir=@srcdir@
top_srcdir=@top_srcdir@

AUTOCONF = @AUTOCONF@

# srcdir must be set before this is included
include @ICU_MAKEFILE@

## Build directory information
top_builddir = .
subdir = .

## Locale Explorer depends on uconv [build] and usort [runtime].
SUBDIRS= uconv usort locexp


## Extra files to remove for 'make clean'
CLEANFILES = *~

## List of phony targets
.PHONY : all all-local all-recursive install install-local		\
install-recursive clean clean-local clean-recursive distclean		\
distclean-local distclean-recursive dist dist-recursive dist-local	\
check check-recursive check-local
## Clear suffix list
.SUFFIXES :

## List of standard targets
all: all-recursive all-local
install: install-recursive install-local
clean: clean-recursive clean-local
distclean : distclean-recursive distclean-local
odist: dist-recursive dist-local
check: check-recursive check-local

## 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 "Making $$target in $$subdir"; \
	  if test "$$subdir" = "."; then \
	    dot_seen=yes; \
	    local_target="$$target-local"; \
	  else \
	    local_target="$$target"; \
	  fi; \
	  (cd $$subdir && $(MAKE) $$local_target); \
	done; \
	if test "$$dot_seen" = "no"; then \
	  $(MAKE) "$$target-local" || exit 1; \
	fi

all-local:

install-local:

dist-local:

clean-local:
	test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)

check-local:

# If autoconf wasn't detected, then 'true' is run.
$(srcdir)/configure : $(srcdir)/configure.in 
	cd $(srcdir) && $(AUTOCONF)

distclean-local:
	rm -f Makefile config.cache config.log config.status

Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
	cd $(top_builddir) \
	 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status


config.status: $(srcdir)/configure
	$(SHELL) ./config.status --recheck
