# todo:  install this stuff??????

srcdir=@srcdir@
top_srcdir=@top_srcdir@

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

SCRIPTS = genIndex.sh emitResourceFromFile.sh extractStrings.sh

## Build directory information
top_builddir = ../..
subdir = locexp/tools

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

TARGET = escapeForBundle
OBJECTS = escapeForBundle.o
DEPS = $(OBJECTS:.o=.d)


## List of phony targets
.PHONY : all all-local install install-local clean clean-local \
distclean distclean-local dist dist-local check check-local

## Clear suffix list
.SUFFIXES :


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

all-local: $(TARGET)
	chmod a+x $(SCRIPTS)

install-local: all-local install-target

mkinstalldirs = $(SHELL) $(sbindir)/mkinstalldirs

install-target: all-local
	$(mkinstalldirs) $(bindir)
	$(INSTALL_PROGRAM) $(TARGET) $(sbindir)/$(TARGET)
	$(INSTALL_SCRIPT) $(SCRIPTS) $(sbindir)

dist-local:

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

distclean-local: clean-local
	rm -f Makefile $(DEPS)

check-local:

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

# ICULIBS includes all standard ICU libraries.
# if we wanted only part of the ICU, we could use (for example) just
#         '$(LIBS) -licu-uc -lusort' ...

$(TARGET) : $(OBJECTS)
	$(LINK.c) -o $@ $^ $(ICULIBS)

ifneq ($(MAKECMDGOALS),distclean)
-include $(DEPS)
endif




