File: Makefile.am

package info (click to toggle)
balsa 2.4.12-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, wheezy
  • size: 21,456 kB
  • ctags: 8,303
  • sloc: ansic: 93,724; xml: 13,662; sh: 11,146; makefile: 615; awk: 60
file content (66 lines) | stat: -rw-r--r-- 1,706 bytes parent folder | download | duplicates (2)
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
#lib_LTLIBRARIES = libimap.la
noinst_LIBRARIES = libimap.a
noinst_PROGRAMS  = imap_tst

imap_tst_SOURCES = imap_tst.c

# We specify path to libimap.a without directories: it helps make to
# resolve dependencies and the executable is to be created in the same
# directory as the imap_tst executable. It clearly does not break the
# distcheck target either.

imap_tst_LDADD = \
	libimap.a	\
        $(BALSA_LIBS)

#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_compress.c	\
	imap_compress.h	\
	imap-handle.c	\
	imap-handle.h	\
	imap_search.c	\
	imap_search.h	\
	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