aboutsummaryrefslogtreecommitdiff
path: root/libsylph/Makefile.am
blob: eecc144b2497e1d530d0648aca37a10868da1993 (plain)
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

AM_CPPFLAGS = \
	-DG_LOG_DOMAIN=\"LibSylph\" \
	-DSYSCONFDIR=\""$(sysconfdir)"\" \
	-DLOCALEDIR=\""$(localedir)"\"

INCLUDES = $(GLIB_CFLAGS) -I$(top_srcdir) -I$(includedir)

lib_LTLIBRARIES = libsylph-0.la
#noinst_LTLIBRARIES = libsylph.la

libsylph_0_la_SOURCES = \
	account.c \
	base64.c \
	codeconv.c \
	customheader.c \
	displayheader.c \
	filter.c \
	folder.c \
	html.c \
	imap.c \
	mbox.c \
	md5.c \
	md5_hmac.c \
	mh.c \
	news.c \
	nntp.c \
	pop.c \
	prefs.c \
	prefs_account.c \
	prefs_common.c \
	procheader.c \
	procmime.c \
	procmsg.c \
	quoted-printable.c \
	recv.c \
	session.c \
	smtp.c \
	socket.c \
	ssl.c \
	stringtable.c \
	sylmain.c \
	unmime.c \
	utils.c \
	uuencode.c \
	virtual.c \
	xml.c \
	syl-marshal.c

libsylph_0includedir=$(includedir)/sylpheed/sylph
libsylph_0include_HEADERS = \
	defs.h \
	enums.h \
	account.h \
	base64.h \
	codeconv.h \
	customheader.h \
	displayheader.h \
	filter.h \
	folder.h \
	html.h \
	imap.h \
	mbox.h \
	md5.h \
	md5_hmac.h \
	mh.h \
	news.h \
	nntp.h \
	pop.h \
	prefs.h \
	prefs_account.h \
	prefs_common.h \
	procheader.h \
	procmime.h \
	procmsg.h \
	quoted-printable.h \
	recv.h \
	session.h \
	smtp.h \
	socket.h \
	ssl.h \
	stringtable.h \
	sylmain.h \
	unmime.h \
	utils.h \
	uuencode.h \
	virtual.h \
	xml.h \
	syl-marshal.h

BUILT_SOURCES = \
	syl-marshal.c \
	syl-marshal.h

EXTRA_DIST = \
	syl-marshal.list \
	libsylph-0.def

if NATIVE_WIN32
no_undefined = -no-undefined
export_symbols = -export-symbols libsylph-0.def
endif

libsylph_0_la_LDFLAGS = \
	-export-dynamic $(no_undefined) $(export_symbols)

libsylph_0_la_LIBADD = $(GLIB_LIBS)

syl-marshal.h: syl-marshal.list
	$(GLIB_GENMARSHAL) $< --header --prefix=syl_marshal > $@

syl-marshal.c: syl-marshal.list
	$(GLIB_GENMARSHAL) $< --body --prefix=syl_marshal > $@