Tizen 2.0 Release
[external/libgnutls26.git] / tests / suite / Makefile.am
1 ## Process this file with automake to produce Makefile.in
2 # Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
3 # Foundation, Inc.
4 #
5 # Author: Simon Josefsson
6 #
7 # This file is part of GnuTLS.
8 #
9 # This file is free software; you can redistribute it and/or modify it
10 # under the terms of the GNU General Public License as published by
11 # the Free Software Foundation; either version 3 of the License, or
12 # (at your option) any later version.
13 #
14 # This file is distributed in the hope that it will be useful, but
15 # WITHOUT ANY WARRANTY; without even the implied warranty of
16 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
17 # General Public License for more details.
18 #
19 # You should have received a copy of the GNU General Public License
20 # along with this file; if not, write to the Free Software Foundation,
21 # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
22
23 AM_CFLAGS = $(WARN_CFLAGS)
24 AM_CPPFLAGS = \
25         -I$(top_srcdir)/gl                      \
26         -I$(top_builddir)/gl                    \
27         -I$(top_srcdir)/lib/includes            \
28         -I$(top_builddir)/lib/includes          \
29         -I$(top_srcdir)/libextra/includes       \
30         -I$(top_builddir)/libextra/includes     \
31         -I$(top_srcdir)/lib                     \
32         -I$(top_srcdir)/doc/examples    \
33         -I$(top_srcdir)/tests/suite/ecore/src/include \
34         -I$(top_srcdir)/tests/suite/ecore/src/lib
35
36 AM_LDFLAGS = -no-install
37 LDADD = ../../lib/libgnutls.la \
38         ../../gl/libgnu.la \
39         ../libutils.la \
40         $(LTLIBGCRYPT)  \
41         $(LIBSOCKET) $(INET_NTOP_LIB) $(INET_PTON_LIB)
42
43 noinst_LTLIBRARIES = libecore.la                                                                                                                                                                                                                                  
44
45 libecore_la_CPPFLAGS = -I$(top_srcdir)/tests/suite/ecore/ -I$(top_srcdir)/tests/suite/ecore/src/include \
46         -I$(top_srcdir)/tests/suite/ecore/src/lib -DHAVE_CONFIG_H -D__UNUSED__= -DVMAJ=1 \
47         -D VMIC=0 -DVMIN=0 -DVREV=0 -DEFL_HAVE_POSIX_THREADS=1 -DEFL_HAVE_POSIX_THREADS_SPINLOCK=1 \
48         -DEFL_HAVE_THREADS=1 -DEINA_BUILD_CHAINED_POOL=1 -DEINA_STATIC_BUILD_CHAINED_POOL=1 \
49         -DHAVE_CLOCK_GETTIME -DHAVE_GETTIMEOFDAY -DPACKAGE_LIB_DIR=\"/usr/lib\" -DMODULE_ARCH=\"unix\" \
50         -DSHARED_LIB_SUFFIX=\".so\"
51 libecore_la_CFLAGS = -w
52 nodist_libecore_la_SOURCES = ecore/src/lib/ecore_anim.c ecore/src/lib/ecore_app.c \
53         ecore/src/lib/ecore.c ecore/src/lib/ecore_events.c ecore/src/lib/ecore_exe.c \
54         ecore/src/lib/ecore_getopt.c ecore/src/lib/ecore_glib.c ecore/src/lib/ecore_idle_enterer.c \
55         ecore/src/lib/ecore_idle_exiter.c ecore/src/lib/ecore_idler.c ecore/src/lib/ecore_job.c \
56         ecore/src/lib/ecore_main.c ecore/src/lib/ecore_pipe.c ecore/src/lib/ecore_poll.c \
57         ecore/src/lib/ecore_signal.c ecore/src/lib/ecore_thread.c ecore/src/lib/ecore_time.c \
58         ecore/src/lib/ecore_timer.c ecore/src/lib/eina_accessor.c ecore/src/lib/eina_array.c \
59         ecore/src/lib/eina_benchmark.c ecore/src/lib/eina_binshare.c ecore/src/lib/eina_chained_mempool.c \
60         ecore/src/lib/eina_convert.c ecore/src/lib/eina_counter.c ecore/src/lib/eina_cpu.c ecore/src/lib/eina_error.c \
61         ecore/src/lib/eina_file.c ecore/src/lib/eina_fp.c ecore/src/lib/eina_hamster.c ecore/src/lib/eina_hash.c \
62         ecore/src/lib/eina_inlist.c ecore/src/lib/eina_iterator.c ecore/src/lib/eina_lalloc.c ecore/src/lib/eina_list.c \
63         ecore/src/lib/eina_log.c ecore/src/lib/eina_magic.c ecore/src/lib/eina_main.c ecore/src/lib/eina_matrixsparse.c \
64         ecore/src/lib/eina_mempool.c ecore/src/lib/eina_module.c ecore/src/lib/eina_quadtree.c ecore/src/lib/eina_rbtree.c \
65         ecore/src/lib/eina_rectangle.c ecore/src/lib/eina_safety_checks.c ecore/src/lib/eina_sched.c ecore/src/lib/eina_share_common.c \
66         ecore/src/lib/eina_strbuf.c ecore/src/lib/eina_strbuf_common.c ecore/src/lib/eina_str.c \
67         ecore/src/lib/eina_stringshare.c ecore/src/lib/eina_tiler.c ecore/src/lib/eina_unicode.c \
68         ecore/src/lib/eina_ustrbuf.c ecore/src/lib/eina_ustringshare.c ecore/src/lib/eina_value.c
69
70 eagain_cli_LDADD = $(LDADD) libecore.la -lrt -lm -ldl -lpthread
71 nodist_eagain_cli_SOURCES = mini-eagain2.c
72
73 noinst_PROGRAMS = eagain-cli
74
75 nodist_check_SCRIPTS = eagain #testsrn
76
77 TESTS = eagain #testsrn