~people-project/people-glib/trunk

« back to all changes in this revision

Viewing changes to tests/Makefile.am

  • Committer: Johann Prieur
  • Date: 2009-01-12 16:27:36 UTC
  • Revision ID: johann.prieur@gmail.com-20090112162736-4i153cei86wp7oge
Added a test to try the service.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
NULL =
 
2
 
 
3
AM_CPPFLAGS = \
 
4
        -I$(top_srcdir) \
 
5
        $(PEOPLE_GLIB_CFLAGS) \
 
6
        $(NULL)
 
7
 
 
8
AM_LDFLAGS = \
 
9
        $(PEOPLE_GLIB_LIBS) \
 
10
        $(NULL)
 
11
 
 
12
BUILT_SOURCES = tests.vala.stamp
 
13
 
 
14
bin_PROGRAMS = \
 
15
        test-service
 
16
 
 
17
tests_VALASOURCES = \
 
18
        test-service.vala
 
19
 
 
20
tests_SOURCES = \
 
21
        tests.vala.stamp \
 
22
        $(tests_VALASOURCES:.vala=.c) \
 
23
        $(tests_VALASOURCES:.vala=.h)
 
24
 
 
25
tests.vala.stamp: $(tests_VALASOURCES)
 
26
        $(VALAC) -C --vapidir ../people-glib --pkg people-glib-@VERSION_MAJOR_MINOR@ --pkg dbus-glib-1 --pkg glib-2.0 --pkg gobject-2.0 --basedir $(top_srcdir) $^
 
27
        touch $@
 
28
 
 
29
EXTRA_DIST = $(tests_SOURCES) tests.vala.stamp
 
30
 
 
31
MAINTAINERCLEANFILES = $(tests_SOURCES)