diff options
author | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2018-07-24 23:08:52 +0200 |
---|---|---|
committer | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2018-07-25 22:28:41 +0200 |
commit | 1d6a1510c20794393cc45a71334724aee5bef473 (patch) | |
tree | a39f1f9ab5b9a3600c05fdc1d1200b933ebc9805 /Makefile.am | |
parent | c16c86bcc01dff2a984aeffd58e2402a876cc12d (diff) | |
download | blogc-1d6a1510c20794393cc45a71334724aee5bef473.tar.gz blogc-1d6a1510c20794393cc45a71334724aee5bef473.tar.bz2 blogc-1d6a1510c20794393cc45a71334724aee5bef473.zip |
make: added utilitary function to generate filenames
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 7e25694..f33798d 100644 --- a/Makefile.am +++ b/Makefile.am @@ -60,6 +60,7 @@ noinst_HEADERS = \ src/blogc-make/reloader.h \ src/blogc-make/rules.h \ src/blogc-make/settings.h \ + src/blogc-make/utils.h \ src/blogc-runserver/httpd.h \ src/blogc-runserver/httpd-utils.h \ src/blogc-runserver/mime.h \ @@ -240,6 +241,7 @@ libblogc_make_la_SOURCES = \ src/blogc-make/reloader.c \ src/blogc-make/rules.c \ src/blogc-make/settings.c \ + src/blogc-make/utils.c \ $(NULL) libblogc_make_la_CFLAGS = \ @@ -792,6 +794,7 @@ check_PROGRAMS += \ tests/blogc-make/check_atom \ tests/blogc-make/check_rules \ tests/blogc-make/check_settings \ + tests/blogc-make/check_utils \ $(NULL) if USE_LD_WRAP @@ -872,6 +875,24 @@ tests_blogc_make_check_settings_LDADD = \ libblogc_make.la \ libblogc_common.la \ $(NULL) + +tests_blogc_make_check_utils_SOURCES = \ + tests/blogc-make/check_utils.c \ + $(NULL) + +tests_blogc_make_check_utils_CFLAGS = \ + $(CMOCKA_CFLAGS) \ + $(NULL) + +tests_blogc_make_check_utils_LDFLAGS = \ + -no-install \ + $(NULL) + +tests_blogc_make_check_utils_LDADD = \ + $(CMOCKA_LIBS) \ + libblogc_make.la \ + libblogc_common.la \ + $(NULL) endif endif |