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

#BUILT_SOURCES = resources.h resources.c

noinst_LTLIBRARIES = libguicore4.la # libguicore.la

RES_FILES =								\
	../../../pixmaps/palette.png		\
	../../../pixmaps/collapse.png		\
	../../../pixmaps/collapse_dark.png	\
	../../../pixmaps/expand.png			\
	../../../pixmaps/expand_dark.png	\
	../../../pixmaps/snapshot.png		\
	../../../pixmaps/snapshot_current.png

libguicore_la_SOURCES =					\
	global.h global.c					\
	items.h items.c						\
	resources.h resources.c				\
	theme.h theme.c

libguicore_la_CFLAGS = $(LIBGTK_CFLAGS) $(LIBXML_CFLAGS)


libguicore4_la_SOURCES =					\
	core.h core.c							\
	logs.h logs.c							\
	nox.h nox.c								\
	panels.h panels.c

libguicore4_la_CFLAGS = $(LIBGTK_CFLAGS) $(LIBXML_CFLAGS)


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

dev_HEADERS = $(libguicore_la_SOURCES:%c=)


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

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


CLEANFILES = resources.h resources.c

EXTRA_DIST = gresource.xml $(RES_FILES)