summaryrefslogtreecommitdiff
path: root/src/mangling/Makefile.am
blob: 3ed04ef5fd1a3b261e6330da37e63ec0fc9bdfee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47

BUILT_SOURCES = libjavamangling_la-java_gram.h

AM_YFLAGS = -d

noinst_LTLIBRARIES = libjavamangling.la libmangling.la

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

libmangling_la_LDFLAGS = 

libmangling_la_LIBADD =					\
	libjavamangling.la


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

dev_HEADERS = $(libmangling_la_SOURCES:%c=)


# 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 =