noinst_LTLIBRARIES = libformatdwarf.la

libformatdwarf_la_SOURCES =				\
	abbrev.h abbrev.c					\
	die.h die.c							\
	dwarf.h dwarf.c						\
	dwarf-int.h dwarf-int.c				\
	dwarf_def.h							\
	form.h form.c						\
	info.h info.c						\
	symbols.h symbols.c

# libformatdwarf_la_SOURCES =				\
# 	abbrev.h abbrev.c					\
# 	dwarf.h dwarf.c						\
# 	d_dwarf.h d_dwarf.c					\
# 	dwarf_def.h							\
# 	info.h info.c						\
# 	utils.h utils.c

libformatdwarf_la_LIBADD =				\
	v2/libformatdwarfv2.la				\
	v3/libformatdwarfv3.la				\
	v4/libformatdwarfv4.la

libformatdwarf_la_LDFLAGS = $(LIBGTK_LIBS)


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

dev_HEADERS = $(libformatdwarf_la_SOURCES:%c=)


AM_CPPFLAGS = $(LIBGTK_CFLAGS) $(LIBXML_CFLAGS)

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

SUBDIRS = v2 v3 v4