blob: 6d36fd9d4d2093a9968f0f5fb45c2c55469cf5c4 (
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
|
include $(top_srcdir)/Makefile.decl
NULL =
AM_CPPFLAGS = \
-I$(top_srcdir)/src/lib \
$(FSO_CFLAGS) \
$(GLIB_CFLAGS) \
$(GEE_CFLAGS) \
-DG_LOG_DOMAIN=\"fsotdld.sync_time\" \
$(NULL)
noinst_PROGRAMS = $(TEST_PROGS)
progs_ldadd = \
$(FSO_LIBS) \
$(GLIB_LIBS) \
$(GEE_LIBS) \
$(top_builddir)/src/lib/libfsotdl.la
VALAC_ARGS = \
--basedir $(top_srcdir) \
--vapidir $(top_srcdir)/src/lib \
--pkg glib-2.0 \
--pkg gio-2.0 \
--pkg gee-1.0 \
--pkg fso-glib-1.0 \
--pkg fsoframework-2.0 \
--pkg fsotdl-2.0
#
# plugin
#
modlibexecdir = $(libdir)/cornucopia/modules/fsotdl
modlibexec_LTLIBRARIES = sync_time.la
sync_time_la_SOURCES = plugin.c
sync_time_la_VALASOURCES = plugin.vala
$(sync_time_la_SOURCES): $(sync_time_la_VALASOURCES)
$(VALAC) -C $(VALAC_ARGS) $^
touch $@
sync_time_la_LIBADD = $(progs_ldadd)
sync_time_la_LDFLAGS = -no-undefined -module -avoid-version
sync_time_la_LIBTOOLFLAGS = --tag=disable-static
EXTRA_DIST += \
$(sync_time_la_VALASOURCES) \
$(sync_time_la_SOURCES) \
$(NULL)
CLEANFILES = \
*.c \
*.h \
*.la \
*.lo \
$(NULL)
MAINTAINERCLEANFILES = \
Makefile.in \
$(NULL)
|