summaryrefslogtreecommitdiff
path: root/rest/Makefile.am
blob: efde06e2fa97fa252bbf12b8cf7cacd578372c46 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
lib_LTLIBRARIES = librest.la

librest_la_CFLAGS = $(GLIB_CFLAGS) $(GTHREAD_CFLAGS) \
		    $(SOUP_CFLAGS) $(SOUP_GNOME_CFLAGS) \
		    $(XML_CFLAGS) \
		    -I$(top_srcdir) -Wall -DG_LOG_DOMAIN=\"Rest\"
librest_la_LIBADD = $(GLIB_LIBS) $(GTHREAD_LIBS) \
                    $(SOUP_LIBS) $(SOUP_GNOME_LIBS) $(XML_LIBS)
librest_la_SOURCES = rest-proxy.c 	\
		     rest-proxy-call.c	\
		     rest-proxy-call-private.h	\
		     rest-xml-parser.c	\
		     rest-main.c	\
		     rest-private.h	\
		     oauth-proxy.c	\
		     oauth-proxy-call.c	\
		     oauth-proxy-private.h \
		     sha1.c	\
		     sha1.h	\
		     $(librest_la_HEADERS)
librest_la_HEADERS = rest-proxy.h 	\
		     rest-proxy-call.h	\
		     oauth-proxy.h	\
		     oauth-proxy-call.h	\
		     rest-xml-parser.h
librest_ladir = $(includedir)/rest/rest


# Test suite
TESTS = test-runner
check_PROGRAMS = test-runner

test_runner_SOURCES = test-runner.c test-runner.h $(librest_la_SOURCES)
test_runner_CFLAGS = -DBUILD_TESTS $(librest_la_CFLAGS)
test_runner_LDFLAGS = $(librest_la_LIBADD)

# TODO: use gtester