blob: da46844e90de9f2c627e7cada55521a98be959e8 (
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
|
#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 \
dialogs/libguidialogs.la \
menus/libguimenus.la \
panels/libguipanels.la \
tb/libguitb.la
libgui_la_CFLAGS = $(LIBGTK_CFLAGS) $(LIBXML_CFLAGS)
libgui4_la_SOURCES = \
resources.h resources.c
libgui4_la_LIBADD = \
core/libguicore4.la
libgui4_la_CFLAGS = $(LIBGTK4_CFLAGS)
devdir = $(includedir)/chrysalide/$(subdir:src/%=core/%)
dev_HEADERS = $(libgui_la_SOURCES:%c=)
SUBDIRS = core # dialogs menus panels tb
resources.c: gresource.xml $(UI_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 $(UI_FILES)
|