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

#BUILT_SOURCES = resources.h resources.c

noinst_LTLIBRARIES  = libgui4.la #libgui.la

UI_FILES =								\
	editor.ui

libgui_la_SOURCES =						\
	agroup.h agroup.c					\
	editor.h editor.c					\
	item-int.h							\
	item.h item.c						\
	menubar.h menubar.c					\
	resources.h resources.c				\
	status.h status.c					\
	theme.h theme.c

libgui_la_LIBADD =						\
	core/libguicore.la					\
	menus/libguimenus.la				\
	panels/libguipanels.la				\
	tb/libguitb.la

libgui_la_CFLAGS = $(LIBGTK_CFLAGS) $(LIBXML_CFLAGS)


libgui4_la_SOURCES =						\
	panel-int.h								\
	panel.h panel.c							\
	resources.h resources.c					\
	window-int.h							\
	window.h window.c

libgui4_la_LIBADD =							\
	core/libguicore4.la						\
	dialogs/libguidialogs.la				\
	panels/libguipanels4.la

libgui4_la_CFLAGS = $(LIBGTK4_CFLAGS)


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

dev_HEADERS = $(libgui_la_SOURCES:%c=)


SUBDIRS = core dialogs panels # menus panels tb


RES_FILES = 								\
	style.css								\
	window.ui

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

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


CLEANFILES = resources.h resources.c

EXTRA_DIST = gresource.xml $(RES_FILES)