diff options
| author | Cyrille Bagard <nocbos@gmail.com> | 2016-01-28 23:32:25 (GMT) | 
|---|---|---|
| committer | Cyrille Bagard <nocbos@gmail.com> | 2016-01-28 23:32:25 (GMT) | 
| commit | 16e0fd9d89ef433848678dfc8dd20426844a2868 (patch) | |
| tree | 79075ae02c133cea21ffb555b1086aae833b3aac /tools/d2c/hooks/Makefile.am | |
| parent | 66c99d59d6a6d533de0bb65488de8243213bcdea (diff) | |
Cleaned, rewritten and improved the whole code of the compiler.
Diffstat (limited to 'tools/d2c/hooks/Makefile.am')
| -rw-r--r-- | tools/d2c/hooks/Makefile.am | 31 | 
1 files changed, 31 insertions, 0 deletions
diff --git a/tools/d2c/hooks/Makefile.am b/tools/d2c/hooks/Makefile.am new file mode 100644 index 0000000..1eb00a8 --- /dev/null +++ b/tools/d2c/hooks/Makefile.am @@ -0,0 +1,31 @@ + +BUILT_SOURCES = grammar.h + + +# On évite d'utiliser les variables personnalisées de type *_la_[YL]FLAGS +# afin de conserver des noms de fichiers simples, ie sans le nom de la +# bibliothèque de sortie en préfixe. + +AM_YFLAGS = -v -d -p hooks_ + +AM_LFLAGS = -P hooks_ -o lex.yy.c --header-file=tokens.h			\ +			-Dyylval=hooks_lval -Dyyget_lineno=hooks_get_lineno 	\ +			-Dyy_scan_string=hooks__scan_string					\ +			-Dyy_delete_buffer=hooks__delete_buffer + +AM_CFLAGS = $(DEBUG_CFLAGS) $(WARNING_FLAGS) + + +noinst_LTLIBRARIES  = libd2chooks.la + +.NOTPARALLEL: $(noinst_LTLIBRARIES) + +libd2chooks_la_SOURCES =				\ +	decl.h								\ +	manager.h manager.c					\ +	tokens.l							\ +	grammar.y + + +# Automake fait les choses à moitié +CLEANFILES = grammar.h grammar.c grammar.output tokens.c tokens.h  | 
