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