~ubuntu-branches/ubuntu/maverick/evolution-data-server/maverick-proposed

« back to all changes in this revision

Viewing changes to servers/exchange/lib/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Didier Roche
  • Date: 2010-05-17 17:02:06 UTC
  • mfrom: (1.1.79 upstream) (1.6.12 experimental)
  • Revision ID: james.westby@ubuntu.com-20100517170206-4ufr52vwrhh26yh0
Tags: 2.30.1-1ubuntu1
* Merge from debian experimental. Remaining change:
  (LP: #42199, #229669, #173703, #360344, #508494)
  + debian/control:
    - add Vcs-Bzr tag
    - don't use libgnome
    - Use Breaks instead of Conflicts against evolution 2.25 and earlier.
  + debian/evolution-data-server.install,
    debian/patches/45_libcamel_providers_version.patch:
    - use the upstream versioning, not a Debian-specific one 
  + debian/libedata-book1.2-dev.install, debian/libebackend-1.2-dev.install,
    debian/libcamel1.2-dev.install, debian/libedataserverui1.2-dev.install:
    - install html documentation
  + debian/rules:
    - don't build documentation it's shipped with the tarball

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Fix the code to not use E_DATA_SERVER_UI_CFLAGS
2
 
 
3
 
AM_CPPFLAGS =                                                      \
4
 
        -DCONNECTOR_PREFIX=\""$(prefix)"\"                      \
5
 
        -I$(top_srcdir)                                         \
6
 
        -I$(top_srcdir)/servers/exchange/xntlm                  \
7
 
        $(LDAP_CFLAGS)                                          \
8
 
        $(KRB5_CFLAGS)                                          \
9
 
        $(SOUP_CFLAGS)                                          \
10
 
        $(E_DATA_SERVER_CFLAGS)                                 \
11
 
        $(E_DATA_SERVER_UI_CFLAGS)
12
 
 
13
 
noinst_LTLIBRARIES =                                            \
14
 
        libexchange.la
15
 
 
16
 
PROP_GENERATED = e2k-propnames.h e2k-propnames.c e2k-proptags.h
17
 
 
18
 
mapi_properties    = $(srcdir)/mapi-properties
19
 
e2k_propnames_h_in = $(srcdir)/e2k-propnames.h.in 
20
 
e2k_propnames_c_in = $(srcdir)/e2k-propnames.c.in 
21
 
e2k_proptags_h_in  = $(srcdir)/e2k-proptags.h.in 
22
 
 
23
 
e2k-propnames.h: $(e2k_propnames_h_in) $(mapi_properties)
24
 
        @echo Building $@
25
 
        @( awk '/^@AUTOGENERATE@/ {exit;} {print;}' $(e2k_propnames_h_in);                                      \
26
 
          awk '/^x/ { printf "#define %-39s E2K_NS_MAPI_PROPTAG \"%s\"\n", $$2, $$1; }' $(mapi_properties);     \
27
 
          awk '{if (tail) { print; }} /^@AUTOGENERATE@/ {tail=1;}' $(e2k_propnames_h_in) )                      \
28
 
        > $@
29
 
 
30
 
e2k-propnames.c: $(e2k_propnames_c_in) $(mapi_properties)
31
 
        @echo Building $@
32
 
        @( awk '/^@AUTOGENERATE@/ {exit;} {print;}' $(e2k_propnames_c_in);                                      \
33
 
          awk '/^x/ { print "\t{ \"" $$1 "\", \"" $$2 "\" },"; }' $(mapi_properties);                           \
34
 
          awk '{if (tail) { print; }} /^@AUTOGENERATE@/ {tail=1;}' $(e2k_propnames_c_in) )                      \
35
 
        > $@
36
 
 
37
 
e2k-proptags.h: $(e2k_proptags_h_in) $(mapi_properties)
38
 
        @echo Building $@
39
 
        @( awk '/^@AUTOGENERATE@/ {exit;} {print;}' $(e2k_proptags_h_in);                                       \
40
 
          awk '/^x/ { printf "#define E2K_PROPTAG_%-39s 0%s\n", $$2, $$1; }' $(mapi_properties);        \
41
 
          awk '{if (tail) { print; }} /^@AUTOGENERATE@/ {tail=1;}' $(e2k_proptags_h_in) )                       \
42
 
        > $@
43
 
 
44
 
BUILT_SOURCES = $(PROP_GENERATED)
45
 
NODIST_FILES = $(PROP_GENERATED)
46
 
CLEANFILES = $(PROP_GENERATED)
47
 
 
48
 
MARSHAL_GENERATED = e2k-marshal.c e2k-marshal.h
49
 
 
50
 
e2k-marshal.h: e2k-marshal.list
51
 
        ( @GLIB_GENMARSHAL@ --prefix=e2k_marshal $(srcdir)/e2k-marshal.list --header > e2k-marshal.tmp \
52
 
        && mv e2k-marshal.tmp e2k-marshal.h ) \
53
 
        || ( rm -f e2k-marshal.tmp && exit 1 )
54
 
 
55
 
e2k-marshal.c: e2k-marshal.h
56
 
        ( (echo '#include "e2k-marshal.h"'; @GLIB_GENMARSHAL@ --prefix=e2k_marshal $(srcdir)/e2k-marshal.list --body) > e2k-marshal.tmp \
57
 
        && mv e2k-marshal.tmp e2k-marshal.c ) \
58
 
        || ( rm -f e2k-marshal.tmp && exit 1 )
59
 
 
60
 
BUILT_SOURCES += $(MARSHAL_GENERATED)
61
 
NODIST_FILES += $(MARSHAL_GENERATED)
62
 
CLEANFILES += $(MARSHAL_GENERATED)
63
 
 
64
 
if ENABLE_KRB5
65
 
KERBEROS_FILES =        \
66
 
        e2k-kerberos.c  \
67
 
        e2k-kerberos.h
68
 
else
69
 
KERBEROS_FILES =
70
 
endif
71
 
 
72
 
 
73
 
libexchange_la_SOURCES =                                        \
74
 
        $(MARSHAL_GENERATED)                                    \
75
 
        e2k-propnames.h                                         \
76
 
        e2k-proptags.h                                          \
77
 
        e2k-action.c                                            \
78
 
        e2k-action.h                                            \
79
 
        e2k-autoconfig.c                                        \
80
 
        e2k-autoconfig.h                                        \
81
 
        e2k-context.c                                           \
82
 
        e2k-context.h                                           \
83
 
        e2k-freebusy.c                                          \
84
 
        e2k-freebusy.h                                          \
85
 
        e2k-global-catalog.c                                    \
86
 
        e2k-global-catalog-ldap.h                               \
87
 
        e2k-http-utils.c                                        \
88
 
        e2k-http-utils.h                                        \
89
 
        e2k-operation.c                                         \
90
 
        e2k-operation.h                                         \
91
 
        e2k-path.c                                              \
92
 
        e2k-path.h                                              \
93
 
        e2k-properties.c                                        \
94
 
        e2k-properties.h                                        \
95
 
        e2k-restriction.c                                       \
96
 
        e2k-restriction.h                                       \
97
 
        e2k-result.c                                            \
98
 
        e2k-result.h                                            \
99
 
        e2k-rule.c                                              \
100
 
        e2k-rule.h                                              \
101
 
        e2k-rule-xml.c                                          \
102
 
        e2k-rule-xml.h                                          \
103
 
        e2k-security-descriptor.c                               \
104
 
        e2k-security-descriptor.h                               \
105
 
        e2k-sid.c                                               \
106
 
        e2k-sid.h                                               \
107
 
        e2k-types.h                                             \
108
 
        e2k-uri.c                                               \
109
 
        e2k-uri.h                                               \
110
 
        e2k-utils.c                                             \
111
 
        e2k-utils.h                                             \
112
 
        e2k-validate.h                                          \
113
 
        e2k-xml-utils.c                                         \
114
 
        e2k-xml-utils.h                                         \
115
 
        $(KERBEROS_FILES)                                       \
116
 
        mapi.h
117
 
 
118
 
libexchangeincludedir = $(privincludedir)/exchange
119
 
 
120
 
libexchangeinclude_HEADERS =                                    \
121
 
        e2k-autoconfig.h                                        \
122
 
        e2k-context.h                                           \
123
 
        e2k-freebusy.h                                          \
124
 
        e2k-global-catalog.h                                    \
125
 
        e2k-global-catalog-ldap.h                               \
126
 
        e2k-http-utils.h                                        \
127
 
        e2k-marshal.h                                           \
128
 
        e2k-operation.h                                         \
129
 
        e2k-properties.h                                        \
130
 
        e2k-propnames.h                                         \
131
 
        e2k-restriction.h                                       \
132
 
        e2k-result.h                                            \
133
 
        e2k-security-descriptor.h                               \
134
 
        e2k-sid.h                                               \
135
 
        e2k-types.h                                             \
136
 
        e2k-uri.h                                               \
137
 
        e2k-utils.h                                             \
138
 
        e2k-validate.h                                          \
139
 
        e2k-xml-utils.h                                         \
140
 
        mapi.h
141
 
 
142
 
EXTRA_DIST =                                                    \
143
 
        e2k-marshal.list                                        \
144
 
        mapi-properties                                         \
145
 
        $(e2k_propnames_h_in)                                   \
146
 
        $(e2k_propnames_c_in)                                   \
147
 
        $(e2k_proptags_h_in)
148
 
 
149
 
dist-hook:
150
 
        cd $(distdir); rm -f $(NODIST_FILES)