forked from wuman/PlurkVala
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
51 lines (39 loc) · 1.5 KB
/
Makefile.am
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
ACLOCAL_AMFLAGS = -I m4
lib_LTLIBRARIES = libplurk.la
libplurk_la_SOURCES = \
plurk-api.vala \
plurk-client.vala \
plurk-error.vala \
plurk-plurk-list.vala \
plurk-plurk.vala \
plurk-profile.vala \
plurk-response-list.vala \
plurk-response.vala \
plurk-user-list.vala \
plurk-user.vala
libplurk_la_CPPFLAGS = @PLURK_CFLAGS@
libplurk_la_LIBADD = @PLURK_LIBS@
libplurk_la_VALAFLAGS = @VALA_FLAGS@
pkgconfig_DATA = plurk.pc
pkgconfigdir = @libdir@/pkgconfig
vapi_DATA = \
plurk.deps \
plurk.vapi
vapidir = @datadir@/vala/vapi
gir_DATA = Plurk-$(VERSION).gir
girdir = @datadir@/gir-1.0
dist-hook: plurk.h
distcheck-hook: plurk.h
plurk.deps: $(libplurk_la_SOURCES)
plurk.vapi: $(libplurk_la_SOURCES) plurk.h
Plurk-$(VERSION).gir: $(libplurk_la_SOURCES) plurk.h
install-data-hook: plurk.h
test -d $(DESTDIR)$(includedir) || mkdir -p $(DESTDIR)$(includedir)
cp $(srcdir)/plurk.h $(DESTDIR)$(includedir)
:> $(DESTDIR)$(vapidir)/plurk.deps
for i in @VALA_DEPS@; do echo $$i >> $(DESTDIR)$(vapidir)/plurk.deps; done
uninstall-local:
rm -f $(DESTDIR)$(includedir)/plurk.h
plurk.h: $(libplurk_la_SOURCES)
valac $(VALA_FLAGS) $(srcdir)/*.vala -C -H $(srcdir)/plurk.h --gir=Plurk-$(VERSION).gir --library plurk
EXTRA_DIST = plurk.h plurk.deps.in plurk.pc.in $(vapi_DATA) $(gir_DATA)