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

BUILT_SOURCES = resources.h resources.c

noinst_LTLIBRARIES  = libguidialogsprefs.la

UI_FILES =									\
	appearance.ui							\
	security.ui

libguidialogsprefs_la_SOURCES =				\
	appearance-int.h						\
	appearance.h appearance.c				\
	resources.h resources.c					\
	security-int.h							\
	security.h security.c

libguidialogsprefs_la_CFLAGS = $(LIBGTK4_CFLAGS)


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

dev_HEADERS = $(libguidialogsprefs_la_SOURCES:%c=)


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

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


CLEANFILES = resources.h resources.c

EXTRA_DIST = gresource.xml $(UI_FILES)