aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2016-09-29 00:49:36 +0200
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2016-09-29 00:49:36 +0200
commit3fff4bb3172f77b292b0c913749e81bedd3545f3 (patch)
treecf0445fac31f374445c7706bd7b4d62fa10101bc /Makefile.am
parent4f1f932f6ef6d6c9770266775c2db072964d7a62 (diff)
downloadblogc-3fff4bb3172f77b292b0c913749e81bedd3545f3.tar.gz
blogc-3fff4bb3172f77b292b0c913749e81bedd3545f3.tar.bz2
blogc-3fff4bb3172f77b292b0c913749e81bedd3545f3.zip
git-receiver: splitted code
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am21
1 files changed, 21 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 12cfad8..ef4e282 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -39,6 +39,9 @@ noinst_HEADERS = \
src/blogc/renderer.h \
src/blogc/source-parser.h \
src/blogc/template-parser.h \
+ src/blogc-git-receiver/post-receive.h \
+ src/blogc-git-receiver/pre-receive.h \
+ src/blogc-git-receiver/shell.h \
src/blogc-runserver/httpd.h \
src/blogc-runserver/httpd-utils.h \
src/blogc-runserver/mime.h \
@@ -65,6 +68,10 @@ if BUILD_GIT_RECEIVER
bin_PROGRAMS += \
blogc-git-receiver \
$(NULL)
+
+noinst_LTLIBRARIES += \
+ libblogc_git_receiver.la \
+ $(NULL)
endif
if BUILD_RUNSERVER
@@ -137,8 +144,22 @@ blogc_git_receiver_CFLAGS = \
$(NULL)
blogc_git_receiver_LDADD = \
+ libblogc_git_receiver.la \
libblogc_common.la \
$(NULL)
+
+libblogc_git_receiver_la_SOURCES = \
+ src/blogc-git-receiver/post-receive.c \
+ src/blogc-git-receiver/pre-receive.c \
+ src/blogc-git-receiver/shell.c \
+ $(NULL)
+
+libblogc_git_receiver_la_CFLAGS = \
+ $(AM_CFLAGS) \
+ $(NULL)
+
+libblogc_git_receiver_la_LIBADD = \
+ $(NULL)
endif