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
|
#lib_LTLIBRARIES = libimap.la
noinst_LIBRARIES = libimap.a
#libimap_la_SOURCES =
libimap_a_SOURCES = \
auth-cram.c \
auth-gssapi.c \
imap-auth.c \
imap-auth.h \
imap-commands.c \
imap-commands.h \
imap-handle.c \
imap-handle.h \
imap-search.c \
imap-tls.c \
imap_private.h \
libimap-marshal.c \
libimap-marshal.h \
libimap.h \
md5-utils.c \
md5-utils.h \
pop3.c \
pop3.h \
siobuf.c \
siobuf.h \
util.c \
util.h
EXTRA_DIST = \
libimap-marshal.list
INCLUDES= -I${top_builddir} -I${top_srcdir} -I${top_srcdir}/libbalsa \
-I${top_srcdir}/libbalsa/imap \
$(BALSA_CFLAGS)
AM_CFLAGS = $(LIBIMAP_CFLAGS) -ansi
#Signal marshallers
marshal_prefix = libimap
libimap-marshal.h: libimap-marshal.list
( @GLIB_GENMARSHAL@ --prefix=$(marshal_prefix) libimap-marshal.list --header > libimap-marshal.tmp \
&& mv libimap-marshal.tmp libimap-marshal.h ) \
|| ( rm -f libimap-marshal.tmp && exit 1 )
libimap-marshal.c: libimap-marshal.h
( echo "#include \"libimap-marshal.h\"" > libimap-marshal.tmp \
&& @GLIB_GENMARSHAL@ --prefix=$(marshal_prefix) libimap-marshal.list --body >> libimap-marshal.tmp \
&& mv libimap-marshal.tmp libimap-marshal.c ) \
|| ( rm -f libimap-marshal.tmp && exit 1 )
#$(libimap_la_OBJECTS): libimap-marshal.h
$(libimap_a_OBJECTS): libimap-marshal.h
|