summaryrefslogtreecommitdiff
path: root/src/gui/dialogs/Makefile.am
blob: 5716f14f740217ce7c7652a40738fc3f706622df (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

BUILT_SOURCES = resources.h resources.c

noinst_LTLIBRARIES  = libguidialogs.la

UI_FILES =								\
	about.ui							\
	bookmark.ui							\
	export_graph.ui						\
	identity.ui							\
	loading.ui							\
	preferences.ui						\
	prefs_fgraph.ui						\
	prefs_labels.ui						\
	snapshots.ui						\
	storage.ui

libguidialogs_la_SOURCES =				\
	about.h about.c						\
	bookmark.h bookmark.c				\
	export_disass.h export_disass.c		\
	export_graph.h export_graph.c		\
	goto.h goto.c						\
	gotox.h gotox.c						\
	identity.h identity.c				\
	loading.h loading.c					\
	preferences.h preferences.c			\
	prefs_fgraph.h prefs_fgraph.c		\
	prefs_labels.h prefs_labels.c		\
	resources.h resources.c				\
	snapshots.h snapshots.c				\
	storage.h storage.c

libguidialogs_la_CFLAGS = $(LIBGTK_CFLAGS) $(LIBXML_CFLAGS)


devdir = $(includedir)/chrysalide/$(subdir:src/%=core/%)

dev_HEADERS = $(libguidialogs_la_SOURCES:%c=)


resources.c: gresource.xml $(UI_FILES)
	glib-compile-resources --target=$@ --sourcedir=$(srcdir) --generate-source --c-name gui_dialogs gresource.xml

resources.h: gresource.xml
	glib-compile-resources --target=$@ --sourcedir=$(srcdir) --generate-header --c-name gui_dialogs gresource.xml


CLEANFILES = resources.h resources.c

EXTRA_DIST = gresource.xml $(UI_FILES)