blob: 135e724b068b090f1fada43c3504545058b59563 (
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
|
BUILT_SOURCES = resources.h resources.c
noinst_LTLIBRARIES = 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 \
panel-int.h \
panel.h panel.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_LDFLAGS =
devdir = $(includedir)/chrysalide/$(subdir:src/%=%)
dev_HEADERS = $(libgui_la_SOURCES:%c=)
AM_CPPFLAGS = $(LIBGTK_CFLAGS) $(LIBXML_CFLAGS)
AM_CFLAGS = $(DEBUG_CFLAGS) $(WARNING_FLAGS) $(COMPLIANCE_FLAGS)
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)
|