Include the libgnutls.m4 file.
[platform/upstream/libsoup.git] / libsoup / Makefile.am
1 ## Process this file with automake to produce Makefile.in
2
3 INCLUDES =                              \
4         -DG_LOG_DOMAIN=\"libsoup\"      \
5         -I$(top_srcdir)                 \
6         $(SOUP_DEBUG_FLAGS)             \
7         $(GLIB_CFLAGS)                  \
8         $(XML_CFLAGS)                   \
9         $(LIBGNUTLS_CFLAGS)
10
11 MARSHAL_GENERATED = soup-marshal.c soup-marshal.h
12
13 soup-marshal.h: soup-marshal.list
14         ( @GLIB_GENMARSHAL@ --prefix=soup_marshal soup-marshal.list --header > soup-marshal.tmp \
15         && mv soup-marshal.tmp soup-marshal.h ) \
16         || ( rm -f soup-marshal.tmp && exit 1 )
17
18 soup-marshal.c: soup-marshal.h
19         ( (echo '#include "soup-marshal.h"'; @GLIB_GENMARSHAL@ --prefix=soup_marshal soup-marshal.list --body) > soup-marshal.tmp \
20         && mv soup-marshal.tmp soup-marshal.c ) \
21         || ( rm -f soup-marshal.tmp && exit 1 )
22
23 BUILT_SOURCES = $(MARSHAL_GENERATED)
24
25 CLEANFILES = $(MARSHAL_GENERATED)
26
27 libsoupincludedir = $(includedir)/libsoup-2.2/libsoup
28
29 libsoupinclude_HEADERS =        \
30         soup.h                  \
31         soup-address.h          \
32         soup-connection.h       \
33         soup-headers.h          \
34         soup-message.h          \
35         soup-message-filter.h   \
36         soup-message-queue.h    \
37         soup-method.h           \
38         soup-misc.h             \
39         soup-server-auth.h      \
40         soup-server-message.h   \
41         soup-server.h           \
42         soup-session.h          \
43         soup-session-async.h    \
44         soup-session-sync.h     \
45         soup-soap-message.h     \
46         soup-soap-response.h    \
47         soup-socket.h           \
48         soup-status.h           \
49         soup-types.h            \
50         soup-uri.h
51
52 lib_LTLIBRARIES = libsoup-2.2.la
53
54 libsoup_2_2_la_LDFLAGS =        \
55         -version-info $(SOUP_CURRENT):$(SOUP_REVISION):$(SOUP_AGE)
56
57 libsoup_2_2_la_LIBADD =         \
58         $(GLIB_LIBS)            \
59         $(XML_LIBS)             \
60         $(LIBGNUTLS_LIBS)
61
62 libsoup_2_2_la_SOURCES =                \
63         $(MARSHAL_GENERATED)            \
64         soup-address.c                  \
65         soup-auth.h                     \
66         soup-auth.c                     \
67         soup-auth-basic.h               \
68         soup-auth-basic.c               \
69         soup-auth-digest.h              \
70         soup-auth-digest.c              \
71         soup-connection.c               \
72         soup-connection-ntlm.h          \
73         soup-connection-ntlm.c          \
74         soup-dns.h                      \
75         soup-dns.c                      \
76         soup-gnutls.c                   \
77         soup-headers.c                  \
78         soup-md5-utils.h                \
79         soup-md5-utils.c                \
80         soup-message.c                  \
81         soup-message-client-io.c        \
82         soup-message-filter.c           \
83         soup-message-handlers.c         \
84         soup-message-io.c               \
85         soup-message-private.h          \
86         soup-message-queue.c            \
87         soup-message-server-io.c        \
88         soup-method.c                   \
89         soup-misc.c                     \
90         soup-nossl.c                    \
91         soup-server.c                   \
92         soup-server-auth.c              \
93         soup-server-message.c           \
94         soup-session.c                  \
95         soup-session-async.c            \
96         soup-session-sync.c             \
97         soup-soap-message.c             \
98         soup-soap-response.c            \
99         soup-socket.c                   \
100         soup-ssl.h                      \
101         soup-status.c                   \
102         soup-uri.c
103
104 EXTRA_DIST= soup-marshal.list