Remove the "status" field from here, since it's mostly used by
[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-headers.h          \
35         soup-message.h          \
36         soup-method.h           \
37         soup-misc.h             \
38         soup-server-auth.h      \
39         soup-server-message.h   \
40         soup-server.h           \
41         soup-session.h          \
42         soup-socket.h           \
43         soup-status.h           \
44         soup-types.h            \
45         soup-uri.h
46
47 lib_LTLIBRARIES = libsoup-2.2.la
48
49 libsoup_2_2_la_LDFLAGS =        \
50         -version-info $(SOUP_CURRENT):$(SOUP_REVISION):$(SOUP_AGE)
51
52 libsoup_2_2_la_LIBADD =         \
53         $(GLIB_LIBS)            \
54         $(GNUTLS_LIBS)
55
56 libsoup_2_2_la_SOURCES =                \
57         $(MARSHAL_GENERATED)            \
58         soup-address.c                  \
59         soup-auth.h                     \
60         soup-auth.c                     \
61         soup-auth-basic.h               \
62         soup-auth-basic.c               \
63         soup-auth-digest.h              \
64         soup-auth-digest.c              \
65         soup-auth-ntlm.h                \
66         soup-auth-ntlm.c                \
67         soup-connection.c               \
68         soup-dns.h                      \
69         soup-dns.c                      \
70         soup-gnutls.h                   \
71         soup-gnutls.c                   \
72         soup-headers.c                  \
73         soup-md5-utils.h                \
74         soup-md5-utils.c                \
75         soup-message.c                  \
76         soup-message-client-io.c        \
77         soup-message-handlers.c         \
78         soup-message-io.c               \
79         soup-message-private.h          \
80         soup-message-queue.c            \
81         soup-message-queue.h            \
82         soup-message-server-io.c        \
83         soup-method.c                   \
84         soup-misc.c                     \
85         soup-private.h                  \
86         soup-server.c                   \
87         soup-server-auth.c              \
88         soup-server-message.c           \
89         soup-session.c                  \
90         soup-socket.c                   \
91         soup-ssl.h                      \
92         soup-ssl.c                      \
93         soup-status.c                   \
94         soup-uri.c
95
96 EXTRA_DIST= soup-marshal.list