1
lib_LTLIBRARIES = librest.la
1
# For some reason I can't use $(librest_@API_VERSION@_la_SOURCES) in
2
# test_runner_SOURCES, so we have to do this
6
rest-proxy-call-private.h \
12
oauth-proxy-private.h \
15
lib_headers = rest-proxy.h \
3
librest_la_CFLAGS = $(GLIB_CFLAGS) $(GTHREAD_CFLAGS) \
21
lib_LTLIBRARIES = librest-@API_VERSION@.la
22
librest_@API_VERSION@_la_CFLAGS = $(GLIB_CFLAGS) $(GTHREAD_CFLAGS) \
4
23
$(SOUP_CFLAGS) $(SOUP_GNOME_CFLAGS) \
6
25
-I$(top_srcdir) -Wall -DG_LOG_DOMAIN=\"Rest\"
7
librest_la_LIBADD = $(GLIB_LIBS) $(GTHREAD_LIBS) \
26
librest_@API_VERSION@_la_LIBADD = $(GLIB_LIBS) $(GTHREAD_LIBS) \
8
27
$(SOUP_LIBS) $(SOUP_GNOME_LIBS) $(XML_LIBS)
9
librest_la_SOURCES = rest-proxy.c \
11
rest-proxy-call-private.h \
17
oauth-proxy-private.h \
20
flickr-proxy-private.h \
22
facebook-proxy-call.c \
23
facebook-proxy-private.h \
27
librest_la_HEADERS = rest-proxy.h \
34
facebook-proxy-call.h \
36
librest_ladir = $(includedir)/rest/rest
28
librest_@API_VERSION@_la_SOURCES = $(lib_sources) $(lib_headers)
29
librest_@API_VERSION@_la_HEADERS = $(lib_headers)
30
librest_@API_VERSION@_ladir = $(includedir)/rest-@API_VERSION@/rest
40
34
TESTS = test-runner
41
35
check_PROGRAMS = test-runner
43
test_runner_SOURCES = test-runner.c $(librest_la_SOURCES)
44
test_runner_CFLAGS = -DBUILD_TESTS $(librest_la_CFLAGS)
45
test_runner_LDFLAGS = $(librest_la_LIBADD)
37
test_runner_SOURCES = test-runner.c $(lib_sources) $(lib_headers)
38
test_runner_CFLAGS = -DBUILD_TESTS $(librest_@API_VERSION@_la_CFLAGS)
39
test_runner_LDFLAGS = $(librest_@API_VERSION@_la_LIBADD)
47
41
# TODO: use gtester