From b81e0c2b1c70badf4131cf8a587a06e1c31df1f5 Mon Sep 17 00:00:00 2001 From: "Rafael G. Martins" Date: Sun, 19 Apr 2015 14:36:19 -0300 Subject: loader: added compiler-defined variables --- Makefile.am | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index 5a4fb15..a6539a7 100644 --- a/Makefile.am +++ b/Makefile.am @@ -83,11 +83,29 @@ blogc_LDADD = \ if USE_CMOCKA check_PROGRAMS += \ + tests/check_loader \ tests/check_source_parser \ tests/check_template_parser \ tests/check_utils \ $(NULL) +tests_check_loader_SOURCES = \ + tests/check_loader.c \ + $(NULL) + +tests_check_loader_CFLAGS = \ + $(CMOCKA_CFLAGS) \ + $(NULL) + +tests_check_loader_LDFLAGS = \ + -no-install \ + $(NULL) + +tests_check_loader_LDADD = \ + $(CMOCKA_LIBS) \ + libblogc.la \ + $(NULL) + tests_check_source_parser_SOURCES = \ tests/check_source_parser.c \ $(NULL) -- cgit v1.2.3-18-g5258