1SUBDIRS = icons
2
3bin_PROGRAMS = sylpheed
4
5sylpheed_SOURCES = \
6	version.h \
7	main.c main.h \
8	mainwindow.c mainwindow.h \
9	folderview.c folderview.h \
10	summaryview.c summaryview.h \
11	messageview.c messageview.h \
12	headerview.c headerview.h \
13	textview.c textview.h \
14	imageview.c imageview.h \
15	mimeview.c mimeview.h \
16	quick_search.c quick_search.h \
17	query_search.c query_search.h \
18	message_search.c message_search.h \
19	colorlabel.c colorlabel.h \
20	action.c action.h \
21	compose.c compose.h \
22	gtkshruler.c gtkshruler.h \
23	menu.c menu.h \
24	stock_pixmap.c stock_pixmap.h \
25	prefs_ui.c prefs_ui.h \
26	prefs_common_dialog.c prefs_common_dialog.h \
27	prefs_filter.c prefs_filter.h \
28	prefs_filter_edit.c prefs_filter_edit.h \
29	prefs_account_dialog.c prefs_account_dialog.h \
30	prefs_folder_item.c prefs_folder_item.h \
31	prefs_display_items.c prefs_display_items.h \
32	prefs_display_header.c prefs_display_header.h \
33	prefs_customheader.c prefs_customheader.h \
34	prefs_summary_column.c prefs_summary_column.h \
35	prefs_template.c prefs_template.h \
36	prefs_actions.c prefs_actions.h \
37	prefs_search_folder.c prefs_search_folder.h \
38	prefs_toolbar.c prefs_toolbar.h \
39	account_dialog.c account_dialog.h \
40	template.c template.h \
41	addressbook.c addressbook.h \
42	addr_compl.c addr_compl.h \
43	addressitem.h \
44	addritem.c addritem.h \
45	addrcache.c addrcache.h \
46	addrbook.c addrbook.h \
47	addrindex.c addrindex.h \
48	mgutils.c mgutils.h \
49	vcard.c vcard.h \
50	ldif.c ldif.h \
51	importldif.c importldif.h \
52	importcsv.c importcsv.h \
53	exportcsv.c exportcsv.h \
54	jpilot.c jpilot.h \
55	syldap.c syldap.h \
56	editbook.c editbook.h \
57	editgroup.c editgroup.h \
58	editaddress.c editaddress.h \
59	editvcard.c editvcard.h \
60	editjpilot.c editjpilot.h \
61	editldap.c editldap.h \
62	editldap_basedn.c editldap_basedn.h \
63	addressadd.c addressadd.h \
64	filesel.c filesel.h \
65	foldersel.c foldersel.h \
66	statusbar.c statusbar.h \
67	logwindow.c logwindow.h \
68	sourcewindow.c sourcewindow.h \
69	manage_window.c manage_window.h \
70	undo.c undo.h \
71	alertpanel.c alertpanel.h \
72	inputdialog.c inputdialog.h \
73	progressdialog.c progressdialog.h \
74	subscribedialog.c subscribedialog.h \
75	about.c about.h \
76	setup.c setup.h \
77	gtkutils.c gtkutils.h \
78	send_message.c send_message.h \
79	inc.c inc.h \
80	rpop3.c rpop3.h \
81	import.c import.h \
82	export.c export.h \
83	rfc2015.c rfc2015.h \
84	passphrase.c passphrase.h \
85	select-keys.c select-keys.h \
86	sigstatus.c sigstatus.h \
87	simple-gettext.c \
88	manual.c manual.h \
89	eggtrayicon.c eggtrayicon.h \
90	trayicon.c trayicon.h \
91	printing.c printing.h \
92	sslmanager.c sslmanager.h \
93	plugin_manager.c plugin_manager.h \
94	update_check.c update_check.h \
95	quote_fmt_lex.l quote_fmt_lex.h \
96	quote_fmt_parse.y quote_fmt.h \
97	sylpheed-marshal.c sylpheed-marshal.h \
98	notificationwindow.c notificationwindow.h
99
100BUILT_SOURCES = \
101	quote_fmt_lex.c \
102	quote_fmt_parse.c \
103	quote_fmt_parse.h \
104	sylpheed-marshal.c \
105	sylpheed-marshal.h \
106	plugin-marshal.c \
107	plugin-marshal.h
108
109lib_LTLIBRARIES = libsylpheed-plugin-0.la
110
111libsylpheed_plugin_0_la_SOURCES = \
112	plugin-marshal.c plugin-marshal.h \
113	plugin.c
114
115libsylpheed_plugin_0includedir=$(includedir)/sylpheed
116libsylpheed_plugin_0include_HEADERS = \
117	plugin.h \
118	plugin-types.h
119
120if NATIVE_WIN32
121no_undefined = -no-undefined
122export_symbols = -export-symbols libsylpheed-plugin-0.def
123endif
124
125libsylpheed_plugin_0_la_LDFLAGS = \
126	-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \
127	-export-dynamic $(no_undefined) $(export_symbols)
128
129libsylpheed_plugin_0_la_LIBADD = \
130	$(GTK_LIBS) \
131	$(GLIB_LIBS) \
132	../libsylph/libsylph-0.la
133
134EXTRA_DIST = \
135	quote_fmt_parse.h \
136	sylpheed-marshal.list \
137	plugin-marshal.list \
138	version.h.in \
139	sylpheed.rc.in \
140	sylpheed.exe.manifest \
141	libsylpheed-plugin-0.def
142
143INCLUDES = \
144	-DG_LOG_DOMAIN=\"Sylpheed\" \
145	-I$(top_srcdir)/libsylph \
146	$(GTK_CFLAGS) \
147	$(GDK_PIXBUF_CFLAGS) \
148	$(GPGME_CFLAGS)
149
150if NATIVE_WIN32
151SYLPHEED_RES = sylpheed.res
152sylpheed.res: sylpheed.rc icons/sylpheed.ico sylpheed.exe.manifest
153	$(WINDRES) $< -O coff -o $@
154else
155SYLPHEED_RES =
156endif
157
158sylpheed_LDADD = \
159	$(INTLLIBS) \
160	$(GTK_LIBS) \
161	$(GLIB_LIBS) \
162	$(GPGME_LIBS) \
163	$(LDAP_LIBS) \
164	$(LIBICONV) \
165	$(SYLPHEED_LIBS) \
166	libsylpheed-plugin-0.la \
167	../libsylph/libsylph-0.la \
168	$(SYLPHEED_RES)
169
170AM_CPPFLAGS = \
171	-DLOCALEDIR=\""$(localedir)"\" \
172	-DMANUALDIR=\""$(manualdir)"\" \
173	-DFAQDIR=\""$(faqdir)"\" \
174	-DPLUGINDIR=\""$(plugindir)"\" \
175	-DTHEMEDIR=\""$(themedir)"\" \
176	-DTARGET_ALIAS=\""$(target_triplet)"\" \
177	-DSYSCONFDIR=\""$(sysconfdir)"\"
178
179AM_YFLAGS = -d
180
181sylpheed-marshal.h: sylpheed-marshal.list
182	$(GLIB_GENMARSHAL) $< --header --prefix=sylpheed_marshal > $@
183
184sylpheed-marshal.c: sylpheed-marshal.list
185	$(GLIB_GENMARSHAL) $< --body --prefix=sylpheed_marshal > $@
186
187plugin-marshal.h: plugin-marshal.list
188	$(GLIB_GENMARSHAL) $< --header --prefix=syl_plugin_marshal > $@
189
190plugin-marshal.c: plugin-marshal.list
191	$(GLIB_GENMARSHAL) $< --body --prefix=syl_plugin_marshal > $@
192