Add feed handling to rss.cgi
[blerg.git] / Makefile.am
1 #
2 ACLOCAL_AMFLAGS = -I m4
3 cgidir=@CGIBINDIR@
4 cgi_PROGRAMS=blerg.cgi rss.cgi
5 bin_PROGRAMS=blergtool blerglatest
6
7 noinst_LIBRARIES=libblerg.a
8 libblerg_a_SOURCES=database/database.c database/tags.c database/util.c database/subscription.c common/stringbucket.c
9 libblerg_a_CFLAGS=-I$(top_srcdir)/common
10
11 blergtool_SOURCES=tools/blergtool.c
12 blergtool_LDADD=libblerg.a
13 blergtool_CFLAGS=-I$(top_srcdir)/database -I$(top_srcdir)/common
14
15 blerglatest_SOURCES=tools/blerglatest.c common/json.c
16 blerglatest_LDADD=libblerg.a @YAJL_LIBS@
17 blerglatest_CFLAGS=-I$(top_srcdir)/database -I$(top_srcdir)/common @YAJL_CFLAGS@
18
19 blerg_httpd_SOURCES=http/http_blerg.c http/canned_responses.c common/app.c common/json.c common/auth.c common/md5.c
20 blerg_httpd_LDADD=libblerg.a @MICROHTTPD_LIBS@ @YAJL_LIBS@
21 blerg_httpd_CFLAGS=-I$(top_srcdir)/common -I$(top_srcdir)/database @MICROHTTPD_CFLAGS@ @YAJL_CFLAGS@
22 blerg_httpd_SHORTNAME=http
23
24 blerg_cgi_SOURCES=cgi/cgi_blerg.c cgi/canned_responses.c common/app.c common/json.c common/auth.c common/md5.c
25 blerg_cgi_LDADD=libblerg.a @YAJL_LIBS@ @CGIUTIL_LIBS@
26 blerg_cgi_CFLAGS=-I$(top_srcdir)/common -I$(top_srcdir)/database @YAJL_CFLAGS@ @CGIUTIL_CFLAGS@
27 blerg_cgi_SHORTNAME=cgi
28
29 rss_cgi_SOURCES=cgi/rss.c cgi/canned_responses.c common/app.c common/escapery.c
30 rss_cgi_LDADD=libblerg.a @YAJL_LIBS@ @CGIUTIL_LIBS@
31 rss_cgi_CFLAGS=-I$(top_srcdir)/common -I$(top_srcdir)/database @CGIUTIL_CFLAGS@
32 rss_cgi_SHORTNAME=rss
33
34 ############# IMPORTANT
35 # add all header files here so they will be added to tar archive with make dist
36 EXTRA_DIST = common/stringbucket.h  database/tags.h database/database.h database/util.h database/subscription.h database/blergref.h common/escapery.h \
37         common/auth.h database/tags.h database/database.h database/util.h database/subscription.h database/blergref.h common/escapery.h common/auth.h \
38         common/stringbucket.h common/app.h common/json.h common/md5.h http/canned_responses.h cgi/canned_responses.h
39
40 # Data and documentation
41
42 dist_doc_DATA = README ChangeLog COPYING
43 wwwdir=@datadir@/blerg
44 nobase_dist_www_DATA = www/favicon.gif  www/doc/changelog.html www/doc/index.html www/index.html www/images/rss.png www/images/play.png www/css/doc.css\
45         www/images/blerglogo.png www/js/blerg.js www/js/Bytex64.FX.js www/js/blergmedia.js www/js/prototype.js www/favicon.ico www/css/blerg.css
46 htaccessdir=@datadir@/blerg
47 dist_htaccess_DATA=www-configs/htaccess