# Makefile.in generated automatically by automake 1.4 from Makefile.am

# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.

# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.


SHELL = @SHELL@

srcdir = @srcdir@
top_srcdir = @top_srcdir@
VPATH = @srcdir@
prefix = @prefix@
exec_prefix = @exec_prefix@

bindir = @bindir@
sbindir = @sbindir@
libexecdir = @libexecdir@
datadir = @datadir@
sysconfdir = @sysconfdir@
sharedstatedir = @sharedstatedir@
localstatedir = @localstatedir@
libdir = @libdir@
infodir = @infodir@
mandir = @mandir@
includedir = @includedir@
oldincludedir = /usr/include

DESTDIR =

pkgdatadir = $(datadir)/@PACKAGE@
pkglibdir = $(libdir)/@PACKAGE@
pkgincludedir = $(includedir)/@PACKAGE@

top_builddir = .

ACLOCAL = @ACLOCAL@
AUTOCONF = @AUTOCONF@
AUTOMAKE = @AUTOMAKE@
AUTOHEADER = @AUTOHEADER@

INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
INSTALL_DATA = @INSTALL_DATA@
INSTALL_SCRIPT = @INSTALL_SCRIPT@
transform = @program_transform_name@

NORMAL_INSTALL = :
PRE_INSTALL = :
POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
host_alias = @host_alias@
host_triplet = @host@
AS = @AS@
AWK = @AWK@
CC = @CC@
CPP = @CPP@
DLLTOOL = @DLLTOOL@
ECHO = @ECHO@
EXEEXT = @EXEEXT@
FRIBIDI_BINARY_AGE = @FRIBIDI_BINARY_AGE@
FRIBIDI_INTERFACE_AGE = @FRIBIDI_INTERFACE_AGE@
FRIBIDI_INTERFACE_VERSION = @FRIBIDI_INTERFACE_VERSION@
FRIBIDI_MAJOR_VERSION = @FRIBIDI_MAJOR_VERSION@
FRIBIDI_MICRO_VERSION = @FRIBIDI_MICRO_VERSION@
FRIBIDI_MINOR_VERSION = @FRIBIDI_MINOR_VERSION@
FRIBIDI_NO_CHARSETS = @FRIBIDI_NO_CHARSETS@
FRIBIDI_RPM_RELEASE = @FRIBIDI_RPM_RELEASE@
FRIBIDI_VERSION = @FRIBIDI_VERSION@
LIBTOOL = @LIBTOOL@
LN_S = @LN_S@
MAKEINFO = @MAKEINFO@
OBJDUMP = @OBJDUMP@
OBJEXT = @OBJEXT@
PACKAGE = @PACKAGE@
RANLIB = @RANLIB@
SED = @SED@
STRIP = @STRIP@
VERSION = @VERSION@

AUTOMAKE_OPTIONS = gnu 

noinst_PROGRAMS = fribidi_benchmark			fribidi_create_char_types			fribidi_create_mirroring


libfribidi_charsets =  	fribidi_char_sets.c		fribidi_char_sets_utf8.c


libfribidi_charsets_extra =  	fribidi_char_sets_cap_rtl.c		fribidi_char_sets_iso8859_6.c		fribidi_char_sets_iso8859_8.c		fribidi_char_sets_cp1255.c		fribidi_char_sets_cp1256.c		fribidi_char_sets_isiri_3342.c


libfribidi_charsets_h =  	fribidi_char_sets.h		fribidi_char_sets_utf8.h

libfribidi_charsets_extra_h =  	fribidi_char_sets_cap_rtl.h		fribidi_char_sets_cp1255.h		fribidi_char_sets_cp1256.h		fribidi_char_sets_isiri_3342.h		fribidi_char_sets_iso8859_6.h		fribidi_char_sets_iso8859_8.h


lib_LTLIBRARIES = libfribidi.la

libfribidi_la_SOURCES =  	fribidi.c		fribidi_types.c			fribidi_mem.c		fribidi_mirroring.c		fribidi_char_type.c		fribidi_wcwidth.c		fribidi_utils.c		$(libfribidi_charsets)		$(libfribidi_charsets_extra)


libfribidi_la_LIBADD = 

libfribidiincdir = $(includedir)/fribidi

libfribidiinc_HEADERS =  	fribidi.h		fribidi_types.h		fribidi_mem.h		fribidi_unicode.h		$(libfribidi_charsets_h)		$(libfribidi_charsets_extra_h)		fribidi_config.h


GETOPT_SRC =  	getopt.c		getopt1.c


GETOPT_HDR =  	getopt.h


TEST_FILES =  	tests/test_CapRTL_explicit.input		tests/test_CapRTL_explicit.reference		tests/test_CapRTL_implicit.input		tests/test_CapRTL_implicit.reference		tests/test_ISO8859-8_hebrew.input		tests/test_ISO8859-8_hebrew.reference		tests/test_UTF-8_persian.input		tests/test_UTF-8_persian.reference


TABLE_FILES =  	fribidi_tab_mirroring.i		fribidi_tab_char_type_2.i		fribidi_tab_char_type_9.i


UNIDATA_FILES =  	unidata/README		unidata/UnicodeData.txt		unidata/BidiMirroring.txt


OTHER_FILES =  	fribidi_wcwidth.i


EXTRA_HEADERS =  	packtab.h		$(GETOPT_HDR)


EXTRA_DIST =  	bootstrap 	run.tests		ANNOUNCE		acinclude.m4		fribidi_config.h.in		fribidi.pc.in		fribidi.spec.in		fribidi.spec		$(TEST_FILES)		$(TABLE_FILES)		$(UNIDATA_FILES)		$(OTHER_FILES)		$(EXTRA_HEADERS)


fribidi_benchmark_SOURCES = fribidi_benchmark.c $(GETOPT_SRC)
fribidi_benchmark_LDADD = libfribidi.la

fribidi_create_char_types_SOURCES = fribidi_create_char_types.c packtab.c

fribidi_create_mirroring_SOURCES = fribidi_create_mirroring.c

bin_PROGRAMS = fribidi
fribidi_SOURCES = fribidi_main.c $(GETOPT_SRC)
fribidi_LDADD = libfribidi.la

TESTS = run.tests

bin_SCRIPTS = fribidi-config

pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = fribidi.pc

CLEANFILES = 

DISTCLEANFILES = fribidi_tab_char_type_stamp

MAINTAINERCLEANFILES = Makefile.in configure aclocal.m4 config.h.in
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
CONFIG_HEADER = config.h
CONFIG_CLEAN_FILES =  fribidi_config.h fribidi-config fribidi.pc \
fribidi.spec
LTLIBRARIES =  $(lib_LTLIBRARIES)


DEFS = @DEFS@ -I. -I$(srcdir) -I.
CPPFLAGS = @CPPFLAGS@
LDFLAGS = @LDFLAGS@
LIBS = @LIBS@
libfribidi_la_LDFLAGS = 
libfribidi_la_DEPENDENCIES = 
libfribidi_la_OBJECTS =  fribidi.lo fribidi_types.lo fribidi_mem.lo \
fribidi_mirroring.lo fribidi_char_type.lo fribidi_wcwidth.lo \
fribidi_utils.lo fribidi_char_sets.lo fribidi_char_sets_utf8.lo \
fribidi_char_sets_cap_rtl.lo fribidi_char_sets_iso8859_6.lo \
fribidi_char_sets_iso8859_8.lo fribidi_char_sets_cp1255.lo \
fribidi_char_sets_cp1256.lo fribidi_char_sets_isiri_3342.lo
bin_PROGRAMS =  fribidi$(EXEEXT)
noinst_PROGRAMS =  fribidi_benchmark$(EXEEXT) \
fribidi_create_char_types$(EXEEXT) fribidi_create_mirroring$(EXEEXT)
PROGRAMS =  $(bin_PROGRAMS) $(noinst_PROGRAMS)

fribidi_OBJECTS =  fribidi_main.$(OBJEXT) getopt.$(OBJEXT) \
getopt1.$(OBJEXT)
fribidi_DEPENDENCIES =  libfribidi.la
fribidi_LDFLAGS = 
fribidi_benchmark_OBJECTS =  fribidi_benchmark.$(OBJEXT) \
getopt.$(OBJEXT) getopt1.$(OBJEXT)
fribidi_benchmark_DEPENDENCIES =  libfribidi.la
fribidi_benchmark_LDFLAGS = 
fribidi_create_char_types_OBJECTS =  fribidi_create_char_types.$(OBJEXT) \
packtab.$(OBJEXT)
fribidi_create_char_types_LDADD = $(LDADD)
fribidi_create_char_types_DEPENDENCIES = 
fribidi_create_char_types_LDFLAGS = 
fribidi_create_mirroring_OBJECTS =  fribidi_create_mirroring.$(OBJEXT)
fribidi_create_mirroring_LDADD = $(LDADD)
fribidi_create_mirroring_DEPENDENCIES = 
fribidi_create_mirroring_LDFLAGS = 
SCRIPTS =  $(bin_SCRIPTS)

CFLAGS = @CFLAGS@
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
CCLD = $(CC)
LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
DATA =  $(pkgconfig_DATA)

HEADERS =  $(libfribidiinc_HEADERS)

DIST_COMMON =  README ./stamp-h.in AUTHORS COPYING ChangeLog INSTALL \
Makefile.am Makefile.in NEWS THANKS TODO acconfig.h acinclude.m4 \
aclocal.m4 config.guess config.h.in config.sub configure configure.in \
fribidi-config.in fribidi.pc.in fribidi.spec.in fribidi_config.h.in \
install-sh ltconfig ltmain.sh missing mkinstalldirs


DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)

TAR = gtar
GZIP_ENV = --best
SOURCES = $(libfribidi_la_SOURCES) $(fribidi_SOURCES) $(fribidi_benchmark_SOURCES) $(fribidi_create_char_types_SOURCES) $(fribidi_create_mirroring_SOURCES)
OBJECTS = $(libfribidi_la_OBJECTS) $(fribidi_OBJECTS) $(fribidi_benchmark_OBJECTS) $(fribidi_create_char_types_OBJECTS) $(fribidi_create_mirroring_OBJECTS)

all: all-redirect
.SUFFIXES:
.SUFFIXES: .S .c .lo .o .obj .s
$(srcdir)/Makefile.in: Makefile.am $(ACLOCAL_M4) 
	cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps Makefile

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

$(ACLOCAL_M4):  acinclude.m4
	cd $(srcdir) && $(ACLOCAL)

config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
	$(SHELL) ./config.status --recheck
$(srcdir)/configure: $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
	cd $(srcdir) && $(AUTOCONF)
stamp-h: $(srcdir)/config.h.in $(top_builddir)/config.status
	cd $(top_builddir) \
	  && CONFIG_FILES= CONFIG_HEADERS=config.h \
	     $(SHELL) ./config.status
	@echo timestamp > stamp-h 2> /dev/null
$(srcdir)/config.h.in: $(srcdir)/stamp-h.in
	@if test ! -f $@; then \
		rm -f $(srcdir)/stamp-h.in; \
		$(MAKE) $(srcdir)/stamp-h.in; \
	else :; fi
$(srcdir)/stamp-h.in:
	cd $(top_srcdir) && $(AUTOHEADER)
	@echo timestamp > $(srcdir)/stamp-h.in 2> /dev/null

mostlyclean-hdr:

clean-hdr:

distclean-hdr:
	-rm -f config.h

maintainer-clean-hdr:
fribidi_config.h: $(top_builddir)/config.status fribidi_config.h.in
	cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
fribidi-config: $(top_builddir)/config.status fribidi-config.in
	cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
fribidi.pc: $(top_builddir)/config.status fribidi.pc.in
	cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
fribidi.spec: $(top_builddir)/config.status fribidi.spec.in
	cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status

mostlyclean-libLTLIBRARIES:

clean-libLTLIBRARIES:
	-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)

distclean-libLTLIBRARIES:

maintainer-clean-libLTLIBRARIES:

install-libLTLIBRARIES: $(lib_LTLIBRARIES)
	@$(NORMAL_INSTALL)
	$(mkinstalldirs) $(DESTDIR)$(libdir)
	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
	  if test -f $$p; then \
	    echo "$(LIBTOOL)  --mode=install $(INSTALL) $$p $(DESTDIR)$(libdir)/$$p"; \
	    $(LIBTOOL)  --mode=install $(INSTALL) $$p $(DESTDIR)$(libdir)/$$p; \
	  else :; fi; \
	done

uninstall-libLTLIBRARIES:
	@$(NORMAL_UNINSTALL)
	list='$(lib_LTLIBRARIES)'; for p in $$list; do \
	  $(LIBTOOL)  --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \
	done

.c.o:
	$(COMPILE) -c $<

# FIXME: We should only use cygpath when building on Windows,
# and only if it is available.
.c.obj:
	$(COMPILE) -c `cygpath -w $<`

.s.o:
	$(COMPILE) -c $<

.S.o:
	$(COMPILE) -c $<

mostlyclean-compile:
	-rm -f *.o core *.core
	-rm -f *.$(OBJEXT)

clean-compile:

distclean-compile:
	-rm -f *.tab.c

maintainer-clean-compile:

.c.lo:
	$(LIBTOOL) --mode=compile $(COMPILE) -c $<

.s.lo:
	$(LIBTOOL) --mode=compile $(COMPILE) -c $<

.S.lo:
	$(LIBTOOL) --mode=compile $(COMPILE) -c $<

mostlyclean-libtool:
	-rm -f *.lo

clean-libtool:
	-rm -rf .libs _libs

distclean-libtool:

maintainer-clean-libtool:

libfribidi.la: $(libfribidi_la_OBJECTS) $(libfribidi_la_DEPENDENCIES)
	$(LINK) -rpath $(libdir) $(libfribidi_la_LDFLAGS) $(libfribidi_la_OBJECTS) $(libfribidi_la_LIBADD) $(LIBS)

mostlyclean-binPROGRAMS:

clean-binPROGRAMS:
	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)

distclean-binPROGRAMS:

maintainer-clean-binPROGRAMS:

install-binPROGRAMS: $(bin_PROGRAMS)
	@$(NORMAL_INSTALL)
	$(mkinstalldirs) $(DESTDIR)$(bindir)
	@list='$(bin_PROGRAMS)'; for p in $$list; do \
	  if test -f $$p; then \
	    echo " $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
	    $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
	  else :; fi; \
	done

uninstall-binPROGRAMS:
	@$(NORMAL_UNINSTALL)
	list='$(bin_PROGRAMS)'; for p in $$list; do \
	  rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
	done

mostlyclean-noinstPROGRAMS:

clean-noinstPROGRAMS:
	-test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)

distclean-noinstPROGRAMS:

maintainer-clean-noinstPROGRAMS:

fribidi$(EXEEXT): $(fribidi_OBJECTS) $(fribidi_DEPENDENCIES)
	@rm -f fribidi$(EXEEXT)
	$(LINK) $(fribidi_LDFLAGS) $(fribidi_OBJECTS) $(fribidi_LDADD) $(LIBS)

fribidi_benchmark$(EXEEXT): $(fribidi_benchmark_OBJECTS) $(fribidi_benchmark_DEPENDENCIES)
	@rm -f fribidi_benchmark$(EXEEXT)
	$(LINK) $(fribidi_benchmark_LDFLAGS) $(fribidi_benchmark_OBJECTS) $(fribidi_benchmark_LDADD) $(LIBS)

fribidi_create_char_types$(EXEEXT): $(fribidi_create_char_types_OBJECTS) $(fribidi_create_char_types_DEPENDENCIES)
	@rm -f fribidi_create_char_types$(EXEEXT)
	$(LINK) $(fribidi_create_char_types_LDFLAGS) $(fribidi_create_char_types_OBJECTS) $(fribidi_create_char_types_LDADD) $(LIBS)

fribidi_create_mirroring$(EXEEXT): $(fribidi_create_mirroring_OBJECTS) $(fribidi_create_mirroring_DEPENDENCIES)
	@rm -f fribidi_create_mirroring$(EXEEXT)
	$(LINK) $(fribidi_create_mirroring_LDFLAGS) $(fribidi_create_mirroring_OBJECTS) $(fribidi_create_mirroring_LDADD) $(LIBS)

install-binSCRIPTS: $(bin_SCRIPTS)
	@$(NORMAL_INSTALL)
	$(mkinstalldirs) $(DESTDIR)$(bindir)
	@list='$(bin_SCRIPTS)'; for p in $$list; do \
	  if test -f $$p; then \
	    echo " $(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`"; \
	    $(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
	  else if test -f $(srcdir)/$$p; then \
	    echo " $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`"; \
	    $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
	  else :; fi; fi; \
	done

uninstall-binSCRIPTS:
	@$(NORMAL_UNINSTALL)
	list='$(bin_SCRIPTS)'; for p in $$list; do \
	  rm -f $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
	done

install-pkgconfigDATA: $(pkgconfig_DATA)
	@$(NORMAL_INSTALL)
	$(mkinstalldirs) $(DESTDIR)$(pkgconfigdir)
	@list='$(pkgconfig_DATA)'; for p in $$list; do \
	  if test -f $(srcdir)/$$p; then \
	    echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(pkgconfigdir)/$$p"; \
	    $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(pkgconfigdir)/$$p; \
	  else if test -f $$p; then \
	    echo " $(INSTALL_DATA) $$p $(DESTDIR)$(pkgconfigdir)/$$p"; \
	    $(INSTALL_DATA) $$p $(DESTDIR)$(pkgconfigdir)/$$p; \
	  fi; fi; \
	done

uninstall-pkgconfigDATA:
	@$(NORMAL_UNINSTALL)
	list='$(pkgconfig_DATA)'; for p in $$list; do \
	  rm -f $(DESTDIR)$(pkgconfigdir)/$$p; \
	done

install-libfribidiincHEADERS: $(libfribidiinc_HEADERS)
	@$(NORMAL_INSTALL)
	$(mkinstalldirs) $(DESTDIR)$(libfribidiincdir)
	@list='$(libfribidiinc_HEADERS)'; for p in $$list; do \
	  if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
	  echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(libfribidiincdir)/$$p"; \
	  $(INSTALL_DATA) $$d$$p $(DESTDIR)$(libfribidiincdir)/$$p; \
	done

uninstall-libfribidiincHEADERS:
	@$(NORMAL_UNINSTALL)
	list='$(libfribidiinc_HEADERS)'; for p in $$list; do \
	  rm -f $(DESTDIR)$(libfribidiincdir)/$$p; \
	done

tags: TAGS

ID: $(HEADERS) $(SOURCES) $(LISP)
	list='$(SOURCES) $(HEADERS)'; \
	unique=`for i in $$list; do echo $$i; done | \
	  awk '    { files[$$0] = 1; } \
	       END { for (i in files) print i; }'`; \
	here=`pwd` && cd $(srcdir) \
	  && mkid -f$$here/ID $$unique $(LISP)

TAGS:  $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) $(LISP)
	tags=; \
	here=`pwd`; \
	list='$(SOURCES) $(HEADERS)'; \
	unique=`for i in $$list; do echo $$i; done | \
	  awk '    { files[$$0] = 1; } \
	       END { for (i in files) print i; }'`; \
	test -z "$(ETAGS_ARGS)config.h.in$$unique$(LISP)$$tags" \
	  || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags config.h.in $$unique $(LISP) -o $$here/TAGS)

mostlyclean-tags:

clean-tags:

distclean-tags:
	-rm -f TAGS ID

maintainer-clean-tags:

distdir = $(PACKAGE)-$(VERSION)
top_distdir = $(distdir)

# This target untars the dist file and tries a VPATH configuration.  Then
# it guarantees that the distribution is self-contained by making another
# tarfile.
distcheck: dist
	-rm -rf $(distdir)
	GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz
	mkdir $(distdir)/=build
	mkdir $(distdir)/=inst
	dc_install_base=`cd $(distdir)/=inst && pwd`; \
	cd $(distdir)/=build \
	  && ../configure --srcdir=.. --prefix=$$dc_install_base \
	  && $(MAKE) $(AM_MAKEFLAGS) \
	  && $(MAKE) $(AM_MAKEFLAGS) dvi \
	  && $(MAKE) $(AM_MAKEFLAGS) check \
	  && $(MAKE) $(AM_MAKEFLAGS) install \
	  && $(MAKE) $(AM_MAKEFLAGS) installcheck \
	  && $(MAKE) $(AM_MAKEFLAGS) dist
	-rm -rf $(distdir)
	@banner="$(distdir).tar.gz is ready for distribution"; \
	dashes=`echo "$$banner" | sed s/./=/g`; \
	echo "$$dashes"; \
	echo "$$banner"; \
	echo "$$dashes"
dist: distdir
	-chmod -R a+r $(distdir)
	GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
	-rm -rf $(distdir)
dist-all: distdir
	-chmod -R a+r $(distdir)
	GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
	-rm -rf $(distdir)
distdir: $(DISTFILES)
	-rm -rf $(distdir)
	mkdir $(distdir)
	-chmod 777 $(distdir)
	$(mkinstalldirs) $(distdir)/tests $(distdir)/unidata
	@for file in $(DISTFILES); do \
	  d=$(srcdir); \
	  if test -d $$d/$$file; then \
	    cp -pr $$d/$$file $(distdir)/$$file; \
	  else \
	    test -f $(distdir)/$$file \
	    || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
	    || cp -p $$d/$$file $(distdir)/$$file || :; \
	  fi; \
	done
fribidi.lo fribidi.o : fribidi.c config.h fribidi.h fribidi_config.h \
	fribidi_unicode.h fribidi_types.h fribidi_mem.h \
	fribidi_char_sets.h fribidi_char_sets_cap_rtl.h \
	fribidi_char_sets_utf8.h fribidi_char_sets_iso8859_6.h \
	fribidi_char_sets_iso8859_8.h fribidi_char_sets_cp1255.h \
	fribidi_char_sets_cp1256.h fribidi_char_sets_isiri_3342.h
fribidi_benchmark.o: fribidi_benchmark.c config.h getopt.h fribidi.h \
	fribidi_config.h fribidi_unicode.h fribidi_types.h \
	fribidi_mem.h fribidi_char_sets.h fribidi_char_sets_cap_rtl.h \
	fribidi_char_sets_utf8.h fribidi_char_sets_iso8859_6.h \
	fribidi_char_sets_iso8859_8.h fribidi_char_sets_cp1255.h \
	fribidi_char_sets_cp1256.h fribidi_char_sets_isiri_3342.h
fribidi_char_sets.lo fribidi_char_sets.o : fribidi_char_sets.c \
	fribidi_config.h fribidi_char_sets.h fribidi.h \
	fribidi_unicode.h fribidi_types.h fribidi_mem.h \
	fribidi_char_sets_cap_rtl.h fribidi_char_sets_utf8.h \
	fribidi_char_sets_iso8859_6.h fribidi_char_sets_iso8859_8.h \
	fribidi_char_sets_cp1255.h fribidi_char_sets_cp1256.h \
	fribidi_char_sets_isiri_3342.h
fribidi_char_sets_cap_rtl.lo fribidi_char_sets_cap_rtl.o : \
	fribidi_char_sets_cap_rtl.c fribidi_config.h fribidi.h \
	fribidi_unicode.h fribidi_types.h fribidi_mem.h \
	fribidi_char_sets.h fribidi_char_sets_cap_rtl.h \
	fribidi_char_sets_utf8.h fribidi_char_sets_iso8859_6.h \
	fribidi_char_sets_iso8859_8.h fribidi_char_sets_cp1255.h \
	fribidi_char_sets_cp1256.h fribidi_char_sets_isiri_3342.h
fribidi_char_sets_cp1255.lo fribidi_char_sets_cp1255.o : \
	fribidi_char_sets_cp1255.c fribidi_config.h fribidi.h \
	fribidi_unicode.h fribidi_types.h fribidi_mem.h \
	fribidi_char_sets.h fribidi_char_sets_cap_rtl.h \
	fribidi_char_sets_utf8.h fribidi_char_sets_iso8859_6.h \
	fribidi_char_sets_iso8859_8.h fribidi_char_sets_cp1255.h \
	fribidi_char_sets_cp1256.h fribidi_char_sets_isiri_3342.h
fribidi_char_sets_cp1256.lo fribidi_char_sets_cp1256.o : \
	fribidi_char_sets_cp1256.c fribidi_config.h fribidi.h \
	fribidi_unicode.h fribidi_types.h fribidi_mem.h \
	fribidi_char_sets.h fribidi_char_sets_cap_rtl.h \
	fribidi_char_sets_utf8.h fribidi_char_sets_iso8859_6.h \
	fribidi_char_sets_iso8859_8.h fribidi_char_sets_cp1255.h \
	fribidi_char_sets_cp1256.h fribidi_char_sets_isiri_3342.h
fribidi_char_sets_isiri_3342.lo fribidi_char_sets_isiri_3342.o : \
	fribidi_char_sets_isiri_3342.c fribidi_config.h fribidi.h \
	fribidi_unicode.h fribidi_types.h fribidi_mem.h \
	fribidi_char_sets.h fribidi_char_sets_cap_rtl.h \
	fribidi_char_sets_utf8.h fribidi_char_sets_iso8859_6.h \
	fribidi_char_sets_iso8859_8.h fribidi_char_sets_cp1255.h \
	fribidi_char_sets_cp1256.h fribidi_char_sets_isiri_3342.h
fribidi_char_sets_iso8859_6.lo fribidi_char_sets_iso8859_6.o : \
	fribidi_char_sets_iso8859_6.c fribidi_config.h fribidi.h \
	fribidi_unicode.h fribidi_types.h fribidi_mem.h \
	fribidi_char_sets.h fribidi_char_sets_cap_rtl.h \
	fribidi_char_sets_utf8.h fribidi_char_sets_iso8859_6.h \
	fribidi_char_sets_iso8859_8.h fribidi_char_sets_cp1255.h \
	fribidi_char_sets_cp1256.h fribidi_char_sets_isiri_3342.h
fribidi_char_sets_iso8859_8.lo fribidi_char_sets_iso8859_8.o : \
	fribidi_char_sets_iso8859_8.c fribidi_config.h fribidi.h \
	fribidi_unicode.h fribidi_types.h fribidi_mem.h \
	fribidi_char_sets.h fribidi_char_sets_cap_rtl.h \
	fribidi_char_sets_utf8.h fribidi_char_sets_iso8859_6.h \
	fribidi_char_sets_iso8859_8.h fribidi_char_sets_cp1255.h \
	fribidi_char_sets_cp1256.h fribidi_char_sets_isiri_3342.h
fribidi_char_sets_utf8.lo fribidi_char_sets_utf8.o : \
	fribidi_char_sets_utf8.c fribidi_config.h fribidi.h \
	fribidi_unicode.h fribidi_types.h fribidi_mem.h \
	fribidi_char_sets.h fribidi_char_sets_cap_rtl.h \
	fribidi_char_sets_utf8.h fribidi_char_sets_iso8859_6.h \
	fribidi_char_sets_iso8859_8.h fribidi_char_sets_cp1255.h \
	fribidi_char_sets_cp1256.h fribidi_char_sets_isiri_3342.h
fribidi_char_type.lo fribidi_char_type.o : fribidi_char_type.c config.h \
	fribidi.h fribidi_config.h fribidi_unicode.h fribidi_types.h \
	fribidi_mem.h fribidi_char_sets.h fribidi_char_sets_cap_rtl.h \
	fribidi_char_sets_utf8.h fribidi_char_sets_iso8859_6.h \
	fribidi_char_sets_iso8859_8.h fribidi_char_sets_cp1255.h \
	fribidi_char_sets_cp1256.h fribidi_char_sets_isiri_3342.h \
	fribidi_tab_char_type_2.i
fribidi_create_char_types.o: fribidi_create_char_types.c packtab.h \
	config.h fribidi_unicode.h fribidi_types.h fribidi_mem.h \
	fribidi_config.h
fribidi_create_mirroring.o: fribidi_create_mirroring.c config.h \
	fribidi_unicode.h fribidi_types.h fribidi_mem.h \
	fribidi_config.h
fribidi_main.o: fribidi_main.c config.h getopt.h fribidi.h \
	fribidi_config.h fribidi_unicode.h fribidi_types.h \
	fribidi_mem.h fribidi_char_sets.h fribidi_char_sets_cap_rtl.h \
	fribidi_char_sets_utf8.h fribidi_char_sets_iso8859_6.h \
	fribidi_char_sets_iso8859_8.h fribidi_char_sets_cp1255.h \
	fribidi_char_sets_cp1256.h fribidi_char_sets_isiri_3342.h
fribidi_mem.lo fribidi_mem.o : fribidi_mem.c fribidi_mem.h \
	fribidi_config.h
fribidi_mirroring.lo fribidi_mirroring.o : fribidi_mirroring.c config.h \
	fribidi.h fribidi_config.h fribidi_unicode.h fribidi_types.h \
	fribidi_mem.h fribidi_char_sets.h fribidi_char_sets_cap_rtl.h \
	fribidi_char_sets_utf8.h fribidi_char_sets_iso8859_6.h \
	fribidi_char_sets_iso8859_8.h fribidi_char_sets_cp1255.h \
	fribidi_char_sets_cp1256.h fribidi_char_sets_isiri_3342.h \
	fribidi_tab_mirroring.i
fribidi_types.lo fribidi_types.o : fribidi_types.c config.h fribidi.h \
	fribidi_config.h fribidi_unicode.h fribidi_types.h \
	fribidi_mem.h fribidi_char_sets.h fribidi_char_sets_cap_rtl.h \
	fribidi_char_sets_utf8.h fribidi_char_sets_iso8859_6.h \
	fribidi_char_sets_iso8859_8.h fribidi_char_sets_cp1255.h \
	fribidi_char_sets_cp1256.h fribidi_char_sets_isiri_3342.h
fribidi_utils.lo fribidi_utils.o : fribidi_utils.c fribidi.h \
	fribidi_config.h fribidi_unicode.h fribidi_types.h \
	fribidi_mem.h fribidi_char_sets.h fribidi_char_sets_cap_rtl.h \
	fribidi_char_sets_utf8.h fribidi_char_sets_iso8859_6.h \
	fribidi_char_sets_iso8859_8.h fribidi_char_sets_cp1255.h \
	fribidi_char_sets_cp1256.h fribidi_char_sets_isiri_3342.h
fribidi_wcwidth.lo fribidi_wcwidth.o : fribidi_wcwidth.c \
	fribidi_wcwidth.i fribidi.h fribidi_config.h fribidi_unicode.h \
	fribidi_types.h fribidi_mem.h fribidi_char_sets.h \
	fribidi_char_sets_cap_rtl.h fribidi_char_sets_utf8.h \
	fribidi_char_sets_iso8859_6.h fribidi_char_sets_iso8859_8.h \
	fribidi_char_sets_cp1255.h fribidi_char_sets_cp1256.h \
	fribidi_char_sets_isiri_3342.h
getopt.o: getopt.c config.h
getopt1.o: getopt1.c config.h getopt.h
packtab.o: packtab.c packtab.h

check-TESTS: $(TESTS)
	@failed=0; all=0; \
	srcdir=$(srcdir); export srcdir; \
	for tst in $(TESTS); do \
	  if test -f $$tst; then dir=.; \
	  else dir="$(srcdir)"; fi; \
	  if $(TESTS_ENVIRONMENT) $$dir/$$tst; then \
	    all=`expr $$all + 1`; \
	    echo "PASS: $$tst"; \
	  elif test $$? -ne 77; then \
	    all=`expr $$all + 1`; \
	    failed=`expr $$failed + 1`; \
	    echo "FAIL: $$tst"; \
	  fi; \
	done; \
	if test "$$failed" -eq 0; then \
	  banner="All $$all tests passed"; \
	else \
	  banner="$$failed of $$all tests failed"; \
	fi; \
	dashes=`echo "$$banner" | sed s/./=/g`; \
	echo "$$dashes"; \
	echo "$$banner"; \
	echo "$$dashes"; \
	test "$$failed" -eq 0
info-am:
info: info-am
dvi-am:
dvi: dvi-am
check-am: all-am
	$(MAKE) $(AM_MAKEFLAGS) check-TESTS
check: check-am
installcheck-am:
installcheck: installcheck-am
all-recursive-am: config.h
	$(MAKE) $(AM_MAKEFLAGS) all-recursive

install-exec-am: install-libLTLIBRARIES install-binPROGRAMS \
		install-binSCRIPTS
install-exec: install-exec-am

install-data-am: install-pkgconfigDATA install-libfribidiincHEADERS
install-data: install-data-am

install-am: all-am
	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
install: install-am
uninstall-am: uninstall-libLTLIBRARIES uninstall-binPROGRAMS \
		uninstall-binSCRIPTS uninstall-pkgconfigDATA \
		uninstall-libfribidiincHEADERS
uninstall: uninstall-am
all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(SCRIPTS) $(DATA) \
		$(HEADERS) config.h
all-redirect: all-am
install-strip:
	$(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
installdirs:
	$(mkinstalldirs)  $(DESTDIR)$(libdir) $(DESTDIR)$(bindir) \
		$(DESTDIR)$(bindir) $(DESTDIR)$(pkgconfigdir) \
		$(DESTDIR)$(libfribidiincdir)


mostlyclean-generic:

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

distclean-generic:
	-rm -f Makefile $(CONFIG_CLEAN_FILES)
	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
	-test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)

maintainer-clean-generic:
	-test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
mostlyclean-am:  mostlyclean-hdr mostlyclean-libLTLIBRARIES \
		mostlyclean-compile mostlyclean-libtool \
		mostlyclean-binPROGRAMS mostlyclean-noinstPROGRAMS \
		mostlyclean-tags mostlyclean-generic

mostlyclean: mostlyclean-am

clean-am:  clean-hdr clean-libLTLIBRARIES clean-compile clean-libtool \
		clean-binPROGRAMS clean-noinstPROGRAMS clean-tags \
		clean-generic mostlyclean-am

clean: clean-am

distclean-am:  distclean-hdr distclean-libLTLIBRARIES distclean-compile \
		distclean-libtool distclean-binPROGRAMS \
		distclean-noinstPROGRAMS distclean-tags \
		distclean-generic clean-am
	-rm -f libtool

distclean: distclean-am
	-rm -f config.status

maintainer-clean-am:  maintainer-clean-hdr \
		maintainer-clean-libLTLIBRARIES \
		maintainer-clean-compile maintainer-clean-libtool \
		maintainer-clean-binPROGRAMS \
		maintainer-clean-noinstPROGRAMS maintainer-clean-tags \
		maintainer-clean-generic distclean-am
	@echo "This command is intended for maintainers to use;"
	@echo "it deletes files that may require special tools to rebuild."

maintainer-clean: maintainer-clean-am
	-rm -f config.status

.PHONY: mostlyclean-hdr distclean-hdr clean-hdr maintainer-clean-hdr \
mostlyclean-libLTLIBRARIES distclean-libLTLIBRARIES \
clean-libLTLIBRARIES maintainer-clean-libLTLIBRARIES \
uninstall-libLTLIBRARIES install-libLTLIBRARIES mostlyclean-compile \
distclean-compile clean-compile maintainer-clean-compile \
mostlyclean-libtool distclean-libtool clean-libtool \
maintainer-clean-libtool mostlyclean-binPROGRAMS distclean-binPROGRAMS \
clean-binPROGRAMS maintainer-clean-binPROGRAMS uninstall-binPROGRAMS \
install-binPROGRAMS mostlyclean-noinstPROGRAMS distclean-noinstPROGRAMS \
clean-noinstPROGRAMS maintainer-clean-noinstPROGRAMS \
uninstall-binSCRIPTS install-binSCRIPTS uninstall-pkgconfigDATA \
install-pkgconfigDATA uninstall-libfribidiincHEADERS \
install-libfribidiincHEADERS tags mostlyclean-tags distclean-tags \
clean-tags maintainer-clean-tags distdir check-TESTS info-am info \
dvi-am dvi check check-am installcheck-am installcheck all-recursive-am \
install-exec-am install-exec install-data-am install-data install-am \
install uninstall-am uninstall all-redirect all-am all installdirs \
mostlyclean-generic distclean-generic clean-generic \
maintainer-clean-generic clean mostlyclean distclean maintainer-clean


fribidi_tab_mirroring.i: $(fribidi_create_mirroring_SOURCES)	\
		unidata/BidiMirroring.txt
	$(MAKE) fribidi_create_mirroring
	if test -d unidata; then UNIDATA=unidata;	\
	else UNIDATA="$(srcdir)/unidata"; fi &&	\
	./fribidi_create_mirroring "$$UNIDATA" ||	\
	($(RM) "$@"; false)

$(srcdir)/fribidi_mirroring.c: fribidi_tab_mirroring.i
	touch "$@" || $(MAKE) clean

fribidi_tab_char_type_small:
	$(MAKE) fribidi_tab_char_type_9.i

fribidi_tab_char_type_large:
	$(MAKE) fribidi_tab_char_type_2.i

fribidi_tab_char_type_%.i: $(fribidi_create_char_types_SOURCES)	\
		unidata/UnicodeData.txt
	$(MAKE) fribidi_create_char_types
	if test -d unidata; then UNIDATA=unidata;	\
	else UNIDATA="$(srcdir)/unidata"; fi &&	\
	./fribidi_create_char_types "`echo "$@"	\
	  | $(SED) 's/[^0-9]*//g'`" "$$UNIDATA" ||	\
	($(RM) "$@"; false)
	$(RM) fribidi_tab_char_type_stamp
	$(MAKE) fribidi_tab_char_type_stamp

fribidi_tab_char_type_stamp:
	touch "$(srcdir)/fribidi_char_type.c" || $(MAKE) clean
	touch "$@"

config.h: fribidi_tab_char_type_stamp
	./config.status --recheck
	./config.status
	touch "$@"

$(srcdir)/fribidi_char_type.c: config.h

tests/test_%.reference: tests/test_%.input $(libfribidi_la_SOURCES)
	$(MAKE) fribidi
	(test -d tests || mkdir tests) &&	\
	testcase="$@" && 	\
	charset="`echo "$@" | $(SED) 's/_[^_]*$$//;s/.*_//'`" &&	\
	./fribidi --test --charset "$$charset" "$<" > "$@" || \
	($(RM) "$@"; false)

test.reference:
	for testcase in "$(srcdir)"/tests/test_*.input; do	\
		test="`echo "$$testcase"	\
		  | $(SED) 's/\.input$$/.reference/i; s|.*/||;'`" &&	\
		$(MAKE) "tests/$$test" ||	\
		exit 1;	\
	done

test: fribidi
	"$(srcdir)/run.tests"

.PHONY: test test.reference	\
		fribidi_tab_char_type_small fribidi_tab_char_type_large

# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:
