blob: 908b01c1e33a6af833476b0370c067af6fe4be54 (
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
|
include $(top_srcdir)/Makefile.decl
AM_CPPFLAGS = \
$(BUILD_CFLAGS) \
$(LIBMEDIAART_CFLAGS)
#
# Binaries
#
lib_LTLIBRARIES = libmediaart-@LIBMEDIAART_API_VERSION@.la
libmediaartdir = $(libdir)/libmediaart-$(LIBMEDIAART_API_VERSION)/
libmediaartincludedir=$(includedir)/libmediaart-$(LIBMEDIAART_API_VERSION)/libmediaart/
libmediaart_sources = \
cache.c \
cache.h \
extract.c \
extract.h \
extractgeneric.h
libmediaartinclude_HEADERS = \
mediaart.h \
cache.h \
extract.h \
extractgeneric.h
libmediaart_@LIBMEDIAART_API_VERSION@_la_SOURCES = \
$(libmediaart_sources) \
marshal.c \
marshal.h \
tracker-storage.c \
tracker-storage.h
if HAVE_GDKPIXBUF
libmediaart_@LIBMEDIAART_API_VERSION@_la_SOURCES += extractpixbuf.c
else
if HAVE_QT
libmediaart_@LIBMEDIAART_API_VERSION@_la_SOURCES += extractqt.cpp
else
libmediaart_@LIBMEDIAART_API_VERSION@_la_SOURCES += extractdummy.c
endif
endif
libmediaart_@LIBMEDIAART_API_VERSION@_la_LDFLAGS = \
-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
libmediaart_@LIBMEDIAART_API_VERSION@_la_LIBADD = \
-lm \
$(BUILD_LIBS) \
$(LIBMEDIAART_LIBS)
marshal.h: marshal.list
$(AM_V_GEN)$(GLIB_GENMARSHAL) $< --prefix=media_art_marshal --header > $@
marshal.c: marshal.list
$(AM_V_GEN)(echo "#include \"marshal.h\""; \
$(GLIB_GENMARSHAL) $< --prefix=media_art_marshal --body) > $@
BUILT_SOURCES = \
marshal.c \
marshal.h
CLEANFILES = $(BUILT_SOURCES)
EXTRA_DIST = \
marshal.list
-include $(INTROSPECTION_MAKEFILE)
INTROSPECTION_GIRS =
INTROSPECTION_SCANNER_ARGS = --add-include-path=$(srcdir) --symbol-prefix=media_art
INTROSPECTION_COMPILER_ARGS = --includedir=$(srcdir)
if HAVE_INTROSPECTION
introspection_sources = $(libmediaart_sources) extractdummy.c
MediaArt-@LIBMEDIAART_API_VERSION_U@.gir: libmediaart-@LIBMEDIAART_API_VERSION@.la
MediaArt_@LIBMEDIAART_API_VERSION_U@_gir_INCLUDES = GObject-2.0
MediaArt_@LIBMEDIAART_API_VERSION_U@_gir_CFLAGS = $(INCLUDES) -DLIBMEDIAART_COMPILATION
MediaArt_@LIBMEDIAART_API_VERSION_U@_gir_LIBS = libmediaart-@LIBMEDIAART_API_VERSION@.la
MediaArt_@LIBMEDIAART_API_VERSION_U@_gir_SCANNERFLAGS = --c-include=libmediaart/mediaart.h
MediaArt_@LIBMEDIAART_API_VERSION_U@_gir_FILES = $(introspection_sources)
INTROSPECTION_GIRS += MediaArt-@LIBMEDIAART_API_VERSION@.gir
girdir = $(datadir)/gir-1.0
gir_DATA = $(INTROSPECTION_GIRS)
typelibdir = $(libdir)/girepository-1.0
typelib_DATA = $(INTROSPECTION_GIRS:.gir=.typelib)
BUILT_SOURCES += $(gir_DATA) $(typelib_DATA)
endif
if ENABLE_VAPIGEN
-include $(VAPIGEN_MAKEFILE)
libmediaart-@LIBMEDIAART_API_VERSION@.vapi: MediaArt-@LIBMEDIAART_API_VERSION@.gir
VAPIGEN_VAPIS = libmediaart-@LIBMEDIAART_API_VERSION@.vapi
libmediaart_@LIBMEDIAART_API_VERSION_U@_vapi_METADATADIRS = $(srcdir)
libmediaart_@LIBMEDIAART_API_VERSION_U@_vapi_FILES = MediaArt-@LIBMEDIAART_API_VERSION@.gir
vapidir = $(datadir)/vala/vapi
vapi_DATA = $(VAPIGEN_VAPIS)
endif
|