BUILT_SOURCES = libjavamangling_la-java_gram.h

AM_YFLAGS = -d

noinst_LTLIBRARIES = libjavamangling.la libformatmangling.la

libformatmangling_la_SOURCES =			\
	context-int.h						\
	context.h context.c					\
	demangler.h demangler.c

libformatmangling_la_LDFLAGS = 

libformatmangling_la_LIBADD =			\
	libjavamangling.la					\
	dex/libformatmanglingdex.la			\
	itanium/libformatmanglingitanium.la


# Partie Java

libjavamangling_la_SOURCES =			\
	java.h								\
	java_gram.y							\
	java_tok.l

libjavamangling_la_YFLAGS = -d -p java_ -o y.tab.c

libjavamangling_la_LFLAGS = -P java_ -o lex.yy.c




AM_CPPFLAGS = $(LIBGTK_CFLAGS) $(LIBXML_CFLAGS)

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


# Automake fait les choses à moitié
CLEANFILES = java_gram.h java_gram.c libjavamangling_la-java_tok.c

SUBDIRS = dex itanium