diff options
author | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2015-04-15 23:41:42 -0300 |
---|---|---|
committer | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2015-04-15 23:57:18 -0300 |
commit | 63602a4fcf3e811e529ed5b7ba670764d29fc96b (patch) | |
tree | 08d38e640ac2698edbe840d0fb1db40368012717 /Makefile.am | |
parent | a3c06fb8f19df6ef612cf2d647d75f8c2bedca8b (diff) | |
download | blogc-63602a4fcf3e811e529ed5b7ba670764d29fc96b.tar.gz blogc-63602a4fcf3e811e529ed5b7ba670764d29fc96b.tar.bz2 blogc-63602a4fcf3e811e529ed5b7ba670764d29fc96b.zip |
added source grammar
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am index 59cbe18..b1548bc 100644 --- a/Makefile.am +++ b/Makefile.am @@ -14,6 +14,7 @@ AM_DISTCHECK_CONFIGURE_FLAGS = \ EXTRA_DIST = \ autogen.sh \ README.md \ + src/source-grammar.leg \ src/template-grammar.leg \ $(NULL) @@ -21,6 +22,7 @@ CLEANFILES = \ $(NULL) noinst_HEADERS = \ + src/source-grammar.h \ src/template-grammar.h \ src/utils/utils.h \ $(NULL) @@ -41,6 +43,7 @@ check_PROGRAMS = \ libblogc_la_SOURCES = \ + src/source-grammar.c \ src/template-grammar.c \ src/utils/slist.c \ src/utils/strings.c \ @@ -89,10 +92,28 @@ endif if USE_CMOCKA check_PROGRAMS += \ + tests/check_source_grammar \ tests/check_template_grammar \ tests/check_utils \ $(NULL) +tests_check_source_grammar_SOURCES = \ + tests/check_source_grammar.c \ + $(NULL) + +tests_check_source_grammar_CFLAGS = \ + $(CMOCKA_CFLAGS) \ + $(NULL) + +tests_check_source_grammar_LDFLAGS = \ + -no-install \ + $(NULL) + +tests_check_source_grammar_LDADD = \ + $(CMOCKA_LIBS) \ + libblogc.la \ + $(NULL) + tests_check_template_grammar_SOURCES = \ tests/check_template_grammar.c \ $(NULL) |