blob: 9e157e968afa092ae3045a58358bfbbcc927a5ff (
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
|
lib_LTLIBRARIES = libcaribou.la
INCLUDES = \
-DG_LOG_DOMAIN=\"caribou\" \
-I$(top_srcdir) \
$(LIBCARIBOU_CFLAGS)
libcaribou_la_VALAFLAGS = \
-H caribou.h --vapi caribou-1.0.vapi \
-h caribou-internals.h \
--vapidir=. \
--pkg x11 --pkg json-glib-1.0 --pkg gdk-3.0 --pkg gio-2.0 \
--pkg libxklavier --pkg external-libs --pkg gdk-x11-3.0 \
--internal-vapi caribou-internals-1.0.vapi \
--library caribou-1.0 --gir _Caribou-1.0.gir \
$(VALAFLAGS)
libcaribou_la_CPPFLAGS = \
$(INCLUDES)
libcaribouincludedir = $(includedir)/libcaribou
caribouinclude_headers = \
caribou.h
libcaribouinclude_HEADERS = \
$(caribou_headers)
libcaribou_la_LIBADD = \
$(LIBCARIBOU_LIBS)
libcaribou_la_SOURCES = \
xadapter.vala \
keyboard-model.vala \
keyboard-service.vala \
group-model.vala \
level-model.vala \
row-model.vala \
key-model.vala \
util.vala \
json-deserializer.vala
EXTRA_DIST = \
external-libs.vapi \
libxklavier.vapi
#
# Introspection support
#
if HAVE_INTROSPECTION
girdir = $(datadir)/gir-1.0
gir_DATA = Caribou-1.0.gir
typelibdir = $(libdir)/girepository-1.0
typelib_DATA = Caribou-1.0.typelib
Caribou-1.0.gir: _Caribou-1.0.gir
$(top_srcdir)/tools/fix_gir.py $< > $@
Caribou-1.0.typelib: Caribou-1.0.gir
@INTROSPECTION_COMPILER@ --shared-library=libcaribou -o $@ $^
endif
Caribou-1.0.gir caribou-internals-1.0.vapi caribou-1.0.vapi: libcaribou.la
CLEANFILES = \
caribou-1.0.vapi \
caribou-internals-1.0.vapi \
Caribou-1.0.typelib \
Caribou-1.0.gir \
_Caribou-1.0.gir \
*.[ch]
|