File: Makefile.am

package info (click to toggle)
libgisi 0.1.0-1
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 2,428 kB
  • ctags: 3,622
  • sloc: ansic: 16,866; sh: 11,295; makefile: 243
file content (79 lines) | stat: -rw-r--r-- 1,375 bytes parent folder | download | duplicates (2)
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
include $(top_srcdir)/Makefile.decl

NULL =

AM_CPPFLAGS = \
	-I$(top_srcdir) \
	-I$(top_srcdir)/gisi \
	-I$(top_srcdir)/clients \
	$(GLIB_CFLAGS) \
	$(GLIB_EXTRA_CFLAGS) \
	-DG_LOG_DOMAIN=\"gisicomm\" \
	$(NULL)

VALAC_ARGS = \
	--basedir $(top_srcdir) \
	--vapidir $(top_srcdir)/data \
	--vapidir $(top_srcdir)/vapi \
	--pkg glib-2.0 \
	--pkg gio-2.0 \
	--pkg libgisi \
	--pkg posix \
	--header gisicomm.h \
	--library gisicomm-1.0

#if WANT_DEBUG
#VALAC_ARGS += -g -D DEBUG
#AM_CFLAGS = -ggdb -O0
#endif

BUILT_SOURCES = .vala.stamp

lib_LTLIBRARIES = \
	libgisicomm.la
	$(NULL)

libgisicomm_la_VALASOURCES = \
	gisicomm.vala \
	$(NULL)

libgisicomm_la_SOURCES = \
	$(BUILT_SOURCES) \
	$(libgisicomm_la_VALASOURCES:.vala=.c) \
	$(NULL)

gisicommincludedir = $(includedir)/gisi-1.0

gisicomminclude_HEADERS = gisicomm.h

gisicomm-1.0.vapi .vala.stamp: $(libgisicomm_la_VALASOURCES)
	$(VALAC) -C $(VALAC_ARGS) $^
	touch $@

libgisicomm_la_LIBADD = \
	$(GLIB_LIBS) \
	$(GLIB_EXTRA_LIBS) \
	$(top_builddir)/gisi/libgisi.la \
	$(NULL)

vapidir = $(datadir)/vala/vapi

dist_vapi_DATA = \
	gisicomm-1.0.vapi \
	gisicomm-1.0.deps \
	$(NULL)

EXTRA_DIST += \
	$(libgisicomm_la_VALASOURCES) \
	gisicomm-1.0.vapi \
	$(BUILT_SOURCES) \
	$(NULL)

CLEANFILES = \
    $(BUILT_SOURCES) \
    $(libgisicomm_la_SOURCES) \
    $(NULL)

MAINTAINERCLEANFILES = \
	$(CLEANFILES) \
	Makefile.in