First draft at the new object to maintain formerly-global state. (Not yet
[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         $(GNUTLS_CFLAGS)
11
12 MARSHAL_GENERATED = soup-marshal.c soup-marshal.h
13
14 soup-marshal.h: soup-marshal.list
15         ( @GLIB_GENMARSHAL@ --prefix=soup_marshal soup-marshal.list --header > soup-marshal.tmp \
16         && mv soup-marshal.tmp soup-marshal.h ) \
17         || ( rm -f soup-marshal.tmp && exit 1 )
18
19 soup-marshal.c: soup-marshal.h
20         ( (echo '#include "soup-marshal.h"'; @GLIB_GENMARSHAL@ --prefix=soup_marshal soup-marshal.list --body) > soup-marshal.tmp \
21         && mv soup-marshal.tmp soup-marshal.c ) \
22         || ( rm -f soup-marshal.tmp && exit 1 )
23
24 BUILT_SOURCES = $(MARSHAL_GENERATED)
25
26 CLEANFILES = $(MARSHAL_GENERATED)
27
28 libsoupincludedir = $(includedir)/libsoup-2.2/libsoup
29
30 libsoupinclude_HEADERS =        \
31         soup.h                  \
32         soup-address.h          \
33         soup-connection.h       \
34         soup-context.h          \
35         soup-error.h            \
36         soup-headers.h          \
37         soup-message.h          \
38         soup-method.h           \
39         soup-misc.h             \
40         soup-server-auth.h      \
41         soup-server-message.h   \
42         soup-server.h           \
43         soup-session.h          \
44         soup-socket.h           \
45         soup-types.h            \
46         soup-uri.h
47
48 lib_LTLIBRARIES = libsoup-2.2.la
49
50 libsoup_2_2_la_LDFLAGS =        \
51         -version-info $(SOUP_CURRENT):$(SOUP_REVISION):$(SOUP_AGE)
52
53 libsoup_2_2_la_LIBADD =         \
54         $(GLIB_LIBS)            \
55         $(GNUTLS_LIBS)
56
57 libsoup_2_2_la_SOURCES =                \
58         $(MARSHAL_GENERATED)            \
59         md5-utils.h                     \
60         md5-utils.c                     \
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-auth-ntlm.h                \
69         soup-auth-ntlm.c                \
70         soup-connection.c               \
71         soup-context.c                  \
72         soup-dns.h                      \
73         soup-dns.c                      \
74         soup-error.c                    \
75         soup-gnutls.h                   \
76         soup-gnutls.c                   \
77         soup-headers.c                  \
78         soup-message.c                  \
79         soup-message-client-io.c        \
80         soup-message-handlers.c         \
81         soup-message-io.c               \
82         soup-message-private.h          \
83         soup-message-queue.c            \
84         soup-message-queue.h            \
85         soup-message-server-io.c        \
86         soup-method.c                   \
87         soup-misc.c                     \
88         soup-private.h                  \
89         soup-server.c                   \
90         soup-server-auth.c              \
91         soup-server-message.c           \
92         soup-session.c                  \
93         soup-socket.c                   \
94         soup-ssl.h                      \
95         soup-ssl.c                      \
96         soup-uri.c
97
98 EXTRA_DIST= soup-marshal.list