1
2AUTOMAKE_OPTIONS = std-options
3
4SUBDIRS = pixmaps\
5	plugin_about\
6	plugin_entities\
7	plugin_htmlbar\
8	plugin_infbrowser\
9	plugin_snippets\
10	plugin_charmap\
11	plugin_zencoding
12
13#	plugin_xmltools
14# 	plugin_vcs
15
16EXTRA_DIST = bluefish_rc.rc.in.in resource.h win32utils.c win32utils.h
17
18CLEANFILES = bluefish_rc.rc
19
20DISTCLEANFILES = bluefish_rc.rc.in
21
22MAINTAINERCLEANFILES = Makefile.in config.h.in
23
24DEFS += -DLOCALEDIR=\"$(localedir)\" -DPKGDATADIR=\"$(pkgdatadir)\" -DPKGLIBDIR=\"$(pkglibdir)\"
25
26if OS_WIN32
27AM_LDFLAGS = -export-all-symbols
28DEFS += -DEXE_EXPORT_SYMBOLS
29LDADD = -lws2_32
30LDADD += bluefish_rc.o win32utils.o
31else
32AM_LDFLAGS = -export-dynamic
33endif
34
35bin_PROGRAMS = bluefish
36
37
38bluefish_SOURCES = \
39	async_queue.c \
40	async_queue.h \
41	bf_lib.c \
42	bf_lib.h \
43	blocksync.c \
44	blocksync.h \
45	bluefish.c \
46	bluefish.h \
47	bftextview2.c \
48	bftextview2.h \
49	bftextview2_private.h \
50	bftextview2_langmgr.c \
51	bftextview2_langmgr.h \
52	bftextview2_autocomp.c \
53	bftextview2_autocomp.h \
54	bftextview2_identifier.c \
55	bftextview2_identifier.h \
56	bftextview2_markregion.c \
57	bftextview2_markregion.h \
58	bftextview2_patcompile.c \
59	bftextview2_patcompile.h \
60	bftextview2_scanner.c \
61	bftextview2_scanner.h \
62	bftextview2_spell.c \
63	bftextview2_spell.h \
64	bfwin.h \
65	bfwin.c \
66	bfwin_uimanager.h \
67	bfwin_uimanager.c \
68	bookmark.c \
69	bookmark.h \
70	compatibility.c \
71	compatibility.h \
72	dialog_utils.c \
73	dialog_utils.h \
74	document.c \
75	doc_comments.h \
76	doc_comments.c \
77	doc_text_tools.h \
78	doc_text_tools.c \
79	doc_extern_tools.h \
80	doc_extern_tools.c \
81	document.h \
82	encodings_dialog.c \
83	encodings_dialog.h \
84	external_commands.c \
85	external_commands.h \
86	file_treemodel.c \
87	file_treemodel.h \
88	filebrowser2.c \
89	filebrowser2.h \
90	file.c \
91	file.h \
92	file_autosave.c \
93	file_autosave.h \
94	file_dialogs.c \
95	file_dialogs.h \
96	filefilter.c \
97	filefilter.h \
98	gtk_easy.c \
99	gtk_easy.h \
100	ipc_bf2bf.c \
101	ipc_bf2bf.h \
102	languages.c \
103	languages.h \
104	msg_queue.c \
105	msg_queue.h \
106	outputbox.c \
107	outputbox.h \
108	osxutils.c \
109	osxutils.h \
110	pixmap.c \
111	pixmap.h \
112	plugins.c \
113	plugins.h \
114	preferences.c \
115	preferences.h \
116	print.c \
117	print.h \
118	project.c \
119	project.h \
120	rcfile.c \
121	rcfile.h \
122	snr3.c \
123	snr3.h \
124	snr3_files.c \
125	snr3_files.h \
126	stringlist.c \
127	stringlist.h \
128	undo_redo.c \
129	undo_redo.h \
130	xml_entity.c \
131	xml_entity.h \
132	xmlstrings.h
133
134bluefish_rc.rc: bluefish_rc.rc.in
135	$(SED) -e "s#SRCDIR#$(top_srcdir)/win32/pixmaps#g" $< > $@
136
137.rc.o:
138	$(CC) -E -xc -DRC_INVOKED -I$(srcdir) $< | $(WINDRES) -o $@
139