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