INCLUDES =						\
	-DG_LOG_DOMAIN=\"EName\"			\
	-I$(srcdir)					\
	-I$(srcdir)/..					\
	-I$(top_srcdir) 				\
	-I. 						\
	-I.. 						\
	-I$(top_builddir)				\
        -I$(includedir)                                 \
        $(GNOME_INCLUDEDIR)				\
	$(EXTRA_GNOME_CFLAGS)

gnome_libs =						\
	$(BONOBO_GNOME_LIBS)				\
	$(INTLLIBS)					\
	$(EXTRA_GNOME_LIBS)

ename_libs = 						\
	libename.la 					\
	$(gnome_libs)

lib_LTLIBRARIES = libename.la

libename_la_SOURCES =					\
	e-address-western.c				\
	e-name-western.c

libenameincludedir = $(includedir)/ename

libenameinclude_HEADERS =				\
	e-address-western.h				\
	e-name-western-tables.h				\
	e-name-western.h


noinst_LTLIBRARIES = libename-static.la
libename_static_la_SOURCES = $(libename_la_SOURCES)
libename_static_la_LDFLAGS = --all-static


noinst_PROGRAMS =					\
	test-ename-western				\
	test-ename-western-gtk

test_ename_western_SOURCES =				\
	test-ename-western.c

test_ename_western_LDADD = $(ename_libs)		\
	$(EXTRA_GNOME_LIBS)

test_ename_western_gtk_SOURCES =				\
	test-ename-western-gtk.c

test_ename_western_gtk_LDADD = 			\
	$(ename_libs) 				\
	$(top_builddir)/e-util/libeutil.la	\
	$(gnome_libs)
