bump version to 2.3.0. bump SOUP_API_VERSION to 2.4
[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 $(srcdir)/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 $(srcdir)/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.4/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.4.la
53
54 libsoup_2_4_la_LDFLAGS =        \
55         -version-info $(SOUP_CURRENT):$(SOUP_REVISION):$(SOUP_AGE)
56
57 libsoup_2_4_la_LIBADD =                 \
58         $(GLIB_LIBS)                    \
59         $(XML_LIBS)                     \
60         $(LIBGNUTLS_LIBS_STATIC)        \
61         $(LIBGNUTLS_LIBS)
62
63 libsoup_2_4_la_SOURCES =                \
64         $(MARSHAL_GENERATED)            \
65         soup-address.c                  \
66         soup-auth.h                     \
67         soup-auth.c                     \
68         soup-auth-basic.h               \
69         soup-auth-basic.c               \
70         soup-auth-digest.h              \
71         soup-auth-digest.c              \
72         soup-connection.c               \
73         soup-connection-ntlm.h          \
74         soup-connection-ntlm.c          \
75         soup-dns.h                      \
76         soup-dns.c                      \
77         soup-gnutls.c                   \
78         soup-headers.c                  \
79         soup-md5-utils.h                \
80         soup-md5-utils.c                \
81         soup-message.c                  \
82         soup-message-client-io.c        \
83         soup-message-filter.c           \
84         soup-message-handlers.c         \
85         soup-message-io.c               \
86         soup-message-private.h          \
87         soup-message-queue.c            \
88         soup-message-server-io.c        \
89         soup-method.c                   \
90         soup-misc.c                     \
91         soup-nossl.c                    \
92         soup-server.c                   \
93         soup-server-auth.c              \
94         soup-server-message.c           \
95         soup-session.c                  \
96         soup-session-async.c            \
97         soup-session-sync.c             \
98         soup-soap-message.c             \
99         soup-soap-response.c            \
100         soup-socket.c                   \
101         soup-ssl.h                      \
102         soup-status.c                   \
103         soup-uri.c
104
105 EXTRA_DIST= soup-marshal.list