summaryrefslogtreecommitdiff
path: root/plugins/gtk+/Makefile.am
blob: 5810eeae080ee581c5e59e4d6e8d270e44fc4894 (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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
## Process this file with automake to produce Makefile.in

SUBDIRS = icons

libgladeui = $(top_builddir)/gladeui/libgladeui-2.la


# libgladegtk

gladegtk_LTLIBRARIES = libgladegtk.la
gladegtkdir = $(pkglibdir)/modules

libgladegtk_la_CPPFLAGS =   \
	-I$(top_srcdir)    \
	-I$(top_builddir)  \
	-DG_LOG_DOMAIN=\"GladeUI-GTK\" \
	$(GTK_CFLAGS)	               \
	$(PLUGINS_WARN_CFLAGS)         \
	$(AM_CPPFLAGS)

libgladegtk_la_CFLAGS = $(AM_CFLAGS)

libgladegtk_la_SOURCES = \
	glade-gtk.c \
	glade-fixed.c \
	glade-accels.c \
	glade-attributes.c \
	glade-column-types.c \
	glade-model-data.c \
	glade-text-button.c \
	glade-icon-sources.c \
	glade-button-editor.c \
	glade-tool-button-editor.c \
	glade-image-editor.c \
	glade-image-item-editor.c \
	glade-icon-factory-editor.c \
	glade-store-editor.c \
	glade-label-editor.c \
	glade-cell-renderer-editor.c \
	glade-treeview-editor.c \
	glade-entry-editor.c \
	glade-activatable-editor.c \
	glade-tool-item-group-editor.c \
	glade-string-list.c \
	glade-gtk-table.c \
	glade-gtk-grid.c \
	glade-gtk-action-widgets.c \
	glade-gtk-info-bar.c \
	glade-gtk-marshallers.c

libgladegtk_la_LDFLAGS     = -module -avoid-version $(AM_LDFLAGS)
libgladegtk_la_LIBADD      = $(libgladeui) $(GTK_LIBS)

noinst_HEADERS = \
	glade-accels.h \
	glade-attributes.h \
	glade-column-types.h \
	glade-model-data.h \
	glade-text-button.h \
	glade-icon-sources.h \
	glade-button-editor.h \
	glade-tool-button-editor.h \
	glade-image-editor.h \
	glade-image-item-editor.h \
	glade-icon-factory-editor.h \
	glade-store-editor.h \
	glade-label-editor.h \
	glade-cell-renderer-editor.h \
	glade-treeview-editor.h \
	glade-entry-editor.h \
	glade-activatable-editor.h \
	glade-fixed.h \
	glade-tool-item-group-editor.h \
	glade-string-list.h \
	glade-gtk-marshallers.h


if PLATFORM_WIN32
libgladegtk_la_LDFLAGS += -no-undefined
endif


# catalog data

catalogsdir = $(pkgdatadir)/catalogs

catalogs_DATA = gtk+.xml

if HAVE_GTK_UNIX_PRINT
catalogs_DATA += gtkunixprint.xml
endif

@INTLTOOL_XML_NOMERGE_RULE@


CLEANFILES = gtk+.xml gtkunixprint.xml

BUILT_SOURCES = glade-gtk-marshallers.c glade-gtk-marshallers.h

EXTRA_DIST = gtk+.xml gtk+.xml.in gtkunixprint.xml gtkunixprint.xml.in

#
# Marshaller generation
#
glade-gtk-marshallers.h: glade-gtk-marshallers.list $(GLIB_GENMARSHAL)
	$(GLIB_GENMARSHAL) --prefix=glade_gtk_marshal $(srcdir)/glade-gtk-marshallers.list --header > glade-gtk-marshallers-h.tmp \
	&& mv glade-gtk-marshallers-h.tmp glade-gtk-marshallers.h \
	|| ( rm -f glade-gtk-marshallers-h.tmp && exit 1)
glade-gtk-marshallers.c: glade-gtk-marshallers.list $(GLIB_GENMARSHAL)
	$(GLIB_GENMARSHAL) --prefix=glade_gtk_marshal $(srcdir)/glade-gtk-marshallers.list --body --header > glade-gtk-marshallers-c.tmp     \
	&& mv glade-gtk-marshallers-c.tmp glade-gtk-marshallers.c \
	|| ( rm -f glade-gtk-marshallers-c.tmp && exit 1 )