aboutsummaryrefslogtreecommitdiff
path: root/tests/Makefile.am
blob: b0d780594b7677478ddd761195c7d3e7ed518ea5 (plain) (blame)
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
# This Makefile.am is in the public domain
AM_CFLAGS = -I$(top_srcdir)/include
AM_LDFLAGS = -L$(top_srcdir)

EXTRA_DIST = \
  test_gnunet_chat.h

check_PROGRAMS = \
  test_gnunet_chat_handle.test \
  test_gnunet_chat_lobby.test \
  test_gnunet_chat_file.test

AM_TESTS_ENVIRONMENT = \
  export LD_LIBRARY_PATH=$(top_srcdir);
TESTS = \
  $(check_PROGRAMS)

test_gnunet_chat_handle_test_SOURCES = \
  test_gnunet_chat_handle.c
test_gnunet_chat_handle_test_LDADD = \
  -lcheck \
  $(top_builddir)/src/libgnunetchat.la

test_gnunet_chat_lobby_test_SOURCES = \
  test_gnunet_chat_lobby.c
test_gnunet_chat_lobby_test_LDADD = \
  -lcheck \
  $(top_builddir)/src/libgnunetchat.la

test_gnunet_chat_file_test_SOURCES = \
  test_gnunet_chat_file.c
test_gnunet_chat_file_test_LDADD = \
  -lcheck \
  $(top_builddir)/src/libgnunetchat.la