blob: e6e20e74226e743b45be08a47126138c7cc6ab60 (
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
|
lib_LTLIBRARIES = libmate-menu.la
AM_CPPFLAGS = \
$(GIO_UNIX_CFLAGS) \
-DMATEMENU_I_KNOW_THIS_IS_UNSTABLE \
$(DISABLE_DEPRECATED_CFLAGS) \
$(DEBUG_CFLAGS)
AM_CFLAGS = $(WARN_CFLAGS)
libmate_menu_includedir = $(includedir)/mate-menus
libmate_menu_include_HEADERS = \
matemenu-tree.h
libmate_menu_sources = \
canonicalize.c \
desktop-entries.c \
entry-directories.c \
matemenu-tree.c \
menu-layout.c \
menu-monitor.c \
menu-util.c
libmate_menu_la_SOURCES = \
$(libmate_menu_sources) \
canonicalize.h \
desktop-entries.h \
entry-directories.h \
matemenu-tree.h \
menu-layout.h \
menu-monitor.h \
menu-util.h
libmate_menu_la_LIBADD = \
$(GIO_UNIX_LIBS)
libmate_menu_la_LDFLAGS = \
-version-info $(LIB_MENU_LT_VERSION) \
-no-undefined \
-export-symbols-regex matemenu_tree
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = libmate-menu.pc
EXTRA_DIST = \
libmate-menu.pc.in \
libmate-menu-uninstalled.pc.in
CLEANFILES =
# Introspection
-include $(INTROSPECTION_MAKEFILE)
INTROSPECTION_GIRS =
INTROSPECTION_SCANNER_ARGS = --warn-all --add-include-path=$(srcdir)
INTROSPECTION_COMPILER_ARGS = --includedir=$(srcdir)
if HAVE_INTROSPECTION
# Note: we only include the headers here so far because there's no gtk-doc at all anyway
introspection_sources = $(libmate_menu_include_HEADERS) matemenu-tree.c
MateMenu-2.0.gir: libmate-menu.la
MateMenu_2_0_gir_INCLUDES = Gio-2.0
MateMenu_2_0_gir_CFLAGS = $(AM_CPPFLAGS)
MateMenu_2_0_gir_LIBS = libmate-menu.la
MateMenu_2_0_gir_SCANNERFLAGS = --identifier-prefix=MateMenu --symbol-prefix=matemenu --pkg-export=libmate-menu --c-include=matemenu-tree.h
MateMenu_2_0_gir_FILES = $(addprefix $(srcdir)/,$(introspection_sources))
INTROSPECTION_GIRS += MateMenu-2.0.gir
girdir = $(INTROSPECTION_GIRDIR)
gir_DATA = $(INTROSPECTION_GIRS)
typelibdir = $(INTROSPECTION_TYPELIBDIR)
typelib_DATA = $(INTROSPECTION_GIRS:.gir=.typelib)
CLEANFILES += $(gir_DATA) $(typelib_DATA)
endif
-include $(top_srcdir)/git.mk
|