diff options
author | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2016-10-07 01:48:16 +0200 |
---|---|---|
committer | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2016-10-07 01:48:16 +0200 |
commit | 2c1b2eaaef8726c71648b4a115fbe628f28d6b4b (patch) | |
tree | 3d34829130ee8870e268d3fcd19d4149e66b1be6 /Makefile.am | |
parent | 13be5bd50238daa2be6b42104ba20aeea427655b (diff) | |
download | blogc-2c1b2eaaef8726c71648b4a115fbe628f28d6b4b.tar.gz blogc-2c1b2eaaef8726c71648b4a115fbe628f28d6b4b.tar.bz2 blogc-2c1b2eaaef8726c71648b4a115fbe628f28d6b4b.zip |
git-receiver: splitted/reimplemented and tested shell command parser
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 fff49b9..31c1dca 100644 --- a/Makefile.am +++ b/Makefile.am @@ -43,6 +43,7 @@ noinst_HEADERS = \ src/blogc-git-receiver/pre-receive.h \ src/blogc-git-receiver/pre-receive-parser.h \ src/blogc-git-receiver/shell.h \ + src/blogc-git-receiver/shell-command-parser.h \ src/blogc-runserver/httpd.h \ src/blogc-runserver/httpd-utils.h \ src/blogc-runserver/mime.h \ @@ -156,6 +157,7 @@ libblogc_git_receiver_la_SOURCES = \ src/blogc-git-receiver/pre-receive.c \ src/blogc-git-receiver/pre-receive-parser.c \ src/blogc-git-receiver/shell.c \ + src/blogc-git-receiver/shell-command-parser.c \ $(NULL) libblogc_git_receiver_la_CFLAGS = \ @@ -571,6 +573,7 @@ endif if BUILD_GIT_RECEIVER check_PROGRAMS += \ tests/blogc-git-receiver/check_pre_receive_parser \ + tests/blogc-git-receiver/check_shell_command_parser \ $(NULL) tests_blogc_git_receiver_check_pre_receive_parser_SOURCES = \ @@ -590,6 +593,24 @@ tests_blogc_git_receiver_check_pre_receive_parser_LDADD = \ libblogc_git_receiver.la \ libblogc_common.la \ $(NULL) + +tests_blogc_git_receiver_check_shell_command_parser_SOURCES = \ + tests/blogc-git-receiver/check_shell_command_parser.c \ + $(NULL) + +tests_blogc_git_receiver_check_shell_command_parser_CFLAGS = \ + $(CMOCKA_CFLAGS) \ + $(NULL) + +tests_blogc_git_receiver_check_shell_command_parser_LDFLAGS = \ + -no-install \ + $(NULL) + +tests_blogc_git_receiver_check_shell_command_parser_LDADD = \ + $(CMOCKA_LIBS) \ + libblogc_git_receiver.la \ + libblogc_common.la \ + $(NULL) endif endif |