summaryrefslogtreecommitdiff
path: root/src/gui/panels/Makefile.am
blob: 476a436598cbbd10970ff3526c503cf7f7bd070b (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
65
66
67
68
69
70
71
72

DEFAULT_INCLUDES = -idirafter. -I$(top_builddir)

BUILT_SOURCES = resources.h resources.c

noinst_LTLIBRARIES  = libguipanels4.la # libguipanels.la

UI_FILES =								\
	bintree.ui							\
	bookmarks.ui						\
	errors.ui							\
	glance.ui							\
	history.ui							\
	log.ui								\
	regedit.ui							\
	strings.ui							\
	symbols.ui

libguipanels_la_SOURCES =				\
	bintree.h bintree.c					\
	bookmarks.h bookmarks.c				\
	errors.h errors.c					\
	glance.h glance.c					\
	history.h history.c					\
	log.h log.c							\
	regedit.h regedit.c					\
	resources.h resources.c				\
	strings.h strings.c					\
	symbols.h symbols.c					\
	updating-int.h						\
	updating.h updating.c				\
	view.h view.c

libguipanels_la_CFLAGS = $(LIBGTK_CFLAGS) $(LIBXML_CFLAGS)


IMG_PATH = ../../../data/images

RES_FILES =									\
	binary.ui								\
	binary-launch.ui						\
	binary-props.ui							\
	$(IMG_PATH)/binfile-symbolic.svg		\
	welcome.ui								\
	welcome-hints.txt						\
	$(IMG_PATH)/tipoftheday-symbolic.svg

libguipanels4_la_SOURCES =					\
	binary-int.h							\
	binary.h binary.c						\
	resources.h resources.c					\
	welcome-int.h						 	\
	welcome.h welcome.c

libguipanels4_la_CFLAGS = $(LIBGTK4_CFLAGS)


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

dev_HEADERS = $(libguipanels_la_SOURCES:%c=)


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

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


CLEANFILES = resources.h resources.c

EXTRA_DIST = gresource.xml $(RES_FILES)