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

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