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