BUILT_SOURCES = resources.h resources.c

noinst_LTLIBRARIES  = libguidialogs.la

UI_FILES =								\
	bookmark.ui							\
	identity.ui							\
	preferences.ui						\
	storage.ui

libguidialogs_la_SOURCES =				\
	about.h about.c						\
	bookmark.h bookmark.c				\
	export.h export.c					\
	goto.h goto.c						\
	gotox.h gotox.c						\
	identity.h identity.c				\
	plugins.h plugins.c					\
	preferences.h preferences.c			\
	resources.h resources.c				\
	storage.h storage.c

libguidialogs_la_LDFLAGS = 


devdir = $(includedir)/chrysalide/$(subdir:src/%=%)

dev_HEADERS = $(libguidialogs_la_SOURCES:%c=)


AM_CPPFLAGS = $(LIBGTK_CFLAGS) $(LIBXML_CFLAGS)

AM_CFLAGS = $(DEBUG_CFLAGS) $(WARNING_FLAGS) $(COMPLIANCE_FLAGS)

SUBDIRS = 


resources.c: gresource.xml $(UI_FILES)
	glib-compile-resources --target=$@ --sourcedir=$(srcdir) --generate-source --c-name gui_dialogs gresource.xml

resources.h: gresource.xml
	glib-compile-resources --target=$@ --sourcedir=$(srcdir) --generate-header --c-name gui_dialogs gresource.xml


CLEANFILES = resources.h resources.c

EXTRA_DIST = gresource.xml $(UI_FILES)