summaryrefslogtreecommitdiff
path: root/libcaja-extension/Makefile.am
blob: ef5cc10ec3283dcd0f6866d8a213b461438b061d (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
CLEANFILES = $(NULL)

include $(top_srcdir)/Makefile.shared

lib_LTLIBRARIES=libcaja-extension.la

AM_CPPFLAGS = \
	-I$(top_srcdir) \
	-I$(top_builddir) \
	$(LIBCAJA_EXTENSION_CFLAGS) \
	$(WARNING_CFLAGS) \
	$(DISABLE_DEPRECATED_CFLAGS) \
	-DDATADIR=\""$(datadir)"\" \
	$(NULL)

libcaja_extension_la_LDFLAGS=\
	-version-info @CAJA_EXTENSION_VERSION_INFO@ \
	-no-undefined \
	$(NULL)

libcaja_extension_la_LIBADD = $(LIBCAJA_EXTENSION_LIBS)

libcaja_extension_includedir=$(includedir)/caja/libcaja-extension

libcaja_extension_include_HEADERS = \
	caja-column-provider.h \
	caja-column.h \
	caja-extension-types.h \
	caja-file-info.h \
	caja-info-provider.h \
	caja-location-widget-provider.h \
	caja-menu-item.h \
	caja-menu-provider.h \
	caja-property-page-provider.h \
	caja-property-page.h \
	caja-menu.h \
	caja-configurable.h \
	$(NULL)

libcaja_extension_la_SOURCES = \
	caja-column-provider.c \
	caja-column.c \
	caja-extension-i18n.h \
	caja-extension-types.c \
	caja-extension-private.h \
	caja-file-info.c \
	caja-info-provider.c \
	caja-location-widget-provider.c \
	caja-menu-item.c \
	caja-menu-provider.c \
	caja-property-page-provider.c \
	caja-property-page.c \
	caja-menu.c \
	caja-configurable.c \
	$(NULL)

pkgconfigdir=$(libdir)/pkgconfig
pkgconfig_DATA=libcaja-extension.pc

EXTRA_DIST = \
	libcaja-extension.pc.in \
	$(NULL)

-include $(INTROSPECTION_MAKEFILE)
INTROSPECTION_GIRS =
INTROSPECTION_SCANNER_ARGS = --add-include-path=$(srcdir)
INTROSPECTION_COMPILER_ARGS = --includedir=$(srcdir)

if HAVE_INTROSPECTION
introspection_files = \
	$(libcaja_extension_include_HEADERS) \
	$(libcaja_extension_la_SOURCES)
Caja-2.0.gir: libcaja-extension.la Makefile
Caja_2_0_gir_INCLUDES = Gtk-3.0 Gio-2.0 GLib-2.0
Caja_2_0_gir_CFLAGS = \
	-I$(top_srcdir) \
	-I$(top_builddir) \
	$(LIBCAJA_EXTENSION_CFLAGS)
Caja_2_0_gir_LIBS = libcaja-extension.la
Caja_2_0_gir_FILES = $(addprefix $(srcdir)/, $(introspection_files))
INTROSPECTION_GIRS += Caja-2.0.gir

girdir = $(datadir)/gir-1.0/
gir_DATA = $(INTROSPECTION_GIRS)

typelibsdir = $(libdir)/girepository-1.0/
typelibs_DATA = $(INTROSPECTION_GIRS:.gir=.typelib)

CLEANFILES += $(gir_DATA) $(typelibs_DATA)
endif

-include $(top_srcdir)/git.mk