AUTOMAKE_OPTIONS = gnu
AM_LIBTOOLFLAGS =
## --silent
ACLOCAL_AMFLAGS = -I m4
lib_LTLIBRARIES = libantlr3c.la

LIBSOURCES		=	src/antlr3baserecognizer.c			\
					src/antlr3basetree.c				\
					src/antlr3basetreeadaptor.c			\
					src/antlr3bitset.c					\
					src/antlr3collections.c				\
					src/antlr3commontoken.c				\
					src/antlr3commontree.c				\
					src/antlr3commontreeadaptor.c		\
					src/antlr3commontreenodestream.c	\
					src/antlr3convertutf.c				\
					src/antlr3cyclicdfa.c				\
					src/antlr3debughandlers.c			\
					src/antlr3encodings.c				\
					src/antlr3exception.c				\
					src/antlr3filestream.c				\
					src/antlr3inputstream.c				\
					src/antlr3intstream.c				\
					src/antlr3lexer.c					\
					src/antlr3parser.c					\
					src/antlr3rewritestreams.c			\
					src/antlr3string.c					\
					src/antlr3tokenstream.c				\
					src/antlr3treeparser.c

libantlr3c_la_SOURCES = $(LIBSOURCES)

include_HEADERS =	include/antlr3.h						\
					include/antlr3baserecognizer.h			\
					include/antlr3basetree.h				\
					include/antlr3basetreeadaptor.h			\
					include/antlr3bitset.h					\
					include/antlr3collections.h				\
					include/antlr3commontoken.h				\
					include/antlr3commontree.h				\
					include/antlr3commontreeadaptor.h		\
					include/antlr3commontreenodestream.h	\
					include/antlr3convertutf.h				\
					include/antlr3cyclicdfa.h				\
					include/antlr3debugeventlistener.h		\
					include/antlr3defs.h					\
					include/antlr3encodings.h				\
					include/antlr3errors.h					\
					include/antlr3exception.h				\
					include/antlr3filestream.h				\
					include/antlr3input.h					\
					include/antlr3interfaces.h				\
					include/antlr3intstream.h				\
					include/antlr3lexer.h					\
					include/antlr3memory.h					\
					include/antlr3parser.h					\
					include/antlr3parsetree.h				\
					include/antlr3recognizersharedstate.h	\
					include/antlr3rewritestreams.h			\
					include/antlr3string.h					\
					include/antlr3tokenstream.h				\
					include/antlr3treeparser.h				\
					antlr3config.h

libantlr3c_la_LDFLAGS = -avoid-version

INCLUDES = -Iinclude

EXTRA_DIST = 	\
				vsrulefiles/antlr3lexerandparser.rules		\
				vsrulefiles/antlr3lexer.rules				\
				vsrulefiles/antlr3parser.rules				\
				vsrulefiles/antlr3treeparser.rules			\
			 	C.sln C.vcproj C.vcproj.vspscc				\
				C.vssscc doxyfile doxygen

export OBJECT_MODE