[go: up one dir, main page]

File: Makefile.am

package info (click to toggle)
libgisi 0.1.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster, stretch
  • size: 2,428 kB
  • ctags: 3,624
  • sloc: ansic: 16,866; sh: 11,295; makefile: 247
file content (64 lines) | stat: -rw-r--r-- 1,238 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
include $(top_srcdir)/Makefile.decl

NULL =

AM_CFLAGS = \
	-I$(top_srcdir)/gisi \
	-I$(top_srcdir)/clients \
	-I$(top_srcdir)/gisicomm \
	-I$(top_srcdir) \
	$(GLIB_CFLAGS) \
	$(GLIB_EXTRA_CFLAGS) \
	$(NULL)

VALAC_ARGS = \
	-C \
	--basedir $(top_srcdir) \
	--vapidir $(top_srcdir)/data \
	--vapidir $(top_srcdir)/gisicomm \
	--pkg posix \
	--pkg glib-2.0 \
	--pkg gio-2.0 \
	--pkg libgisi \
	--pkg gisicomm-1.0

noinst_PROGRAMS = $(TEST_PROGS)

progs_ldadd = \
	$(GLIB_LIBS) \
	$(GLIB_EXTRA_LIBS) \
	$(top_builddir)/gisi/libgisi.la \
	$(top_builddir)/gisicomm/libgisicomm.la

#
# ping test
#
# TEST_PROGS += testping
testping_VALASOURCES = testping.vala
testping_SOURCES = testping.c
$(testping_SOURCES): $(testping_VALASOURCES)
	$(VALAC) $(VALAC_ARGS) $^
	touch $@
testping_LDADD = $(progs_ldadd)
EXTRA_DIST += $(testping_VALASOURCES)

#
# servers test
#
# TEST_PROGS += testservers
testservers_VALASOURCES = testservers.vala
testservers_SOURCES = testservers.c
$(testservers_SOURCES): $(testservers_VALASOURCES)
	$(VALAC) $(VALAC_ARGS) $^
	touch $@
testservers_LDADD = $(progs_ldadd)
EXTRA_DIST += $(testservers_VALASOURCES)

CLEANFILES = \
    $(TEST_PROGS) \
    *.? \
    $(NULL)

MAINTAINERCLEANFILES = \
  Makefile.in \
  $(NULL)