summaryrefslogtreecommitdiff
path: root/src/format/mangling/dex/Makefile.am
blob: bdcbf8cb30a6c4f0b54d46286cd540ff47e540dc (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

BUILT_SOURCES = libformatmanglingdexshorty_la-shorty_gram.h libformatmanglingdextype_la-type_gram.h

AM_YFLAGS = -d

noinst_LTLIBRARIES = libformatmanglingdex.la libformatmanglingdexshorty.la libformatmanglingdextype.la

libformatmanglingdex_la_SOURCES =		\
	context.h context.c

libformatmanglingdex_la_LDFLAGS = 

libformatmanglingdex_la_LIBADD =		\
	libformatmanglingdexshorty.la		\
	libformatmanglingdextype.la


libformatmanglingdexshorty_la_SOURCES =	\
	shorty_gram.y						\
	shorty_tok.l

libformatmanglingdexshorty_la_YFLAGS = -d -p shorty_ -o y.tab.c

libformatmanglingdexshorty_la_LFLAGS = -P shorty_ -o lex.yy.c


libformatmanglingdextype_la_SOURCES =	\
	type_gram.y						\
	type_tok.l

libformatmanglingdextype_la_YFLAGS = -d -p type_ -o y.tab.c

libformatmanglingdextype_la_LFLAGS = -P type_ -o lex.yy.c


AM_CPPFLAGS = $(LIBGTK_CFLAGS) $(LIBXML_CFLAGS)

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


# Automake fait les choses à moitié
CLEANFILES = \
	libformatmanglingdexshorty_la-shorty_gram.h libformatmanglingdexshorty_la-shorty_gram.c \
	libformatmanglingdexshorty_la-shorty_tok.c \
	libformatmanglingdextype_la-type_gram.h libformatmanglingdextype_la-type_gram.c \
	libformatmanglingdextype_la-type_tok.c