removing GNUNET_CRYPTO_ecc_key_free, use GNUNET_free directly instead
[oweals/gnunet.git] / src / identity / Makefile.am
1 INCLUDES = -I$(top_srcdir)/src/include
2
3 if MINGW
4  WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols 
5 endif
6
7 if USE_COVERAGE
8   AM_CFLAGS = --coverage -O0
9   XLIB = -lgcov
10 endif
11
12 pkgcfgdir= $(pkgdatadir)/config.d/
13
14 libexecdir= $(pkglibdir)/libexec/
15
16 pkgcfg_DATA = \
17   identity.conf
18
19
20 lib_LTLIBRARIES = libgnunetidentity.la
21
22 libgnunetidentity_la_SOURCES = \
23   identity_api.c identity.h
24 libgnunetidentity_la_LIBADD = \
25   $(top_builddir)/src/util/libgnunetutil.la \
26   $(GN_LIBINTL) $(XLIB)
27 libgnunetidentity_la_LDFLAGS = \
28   $(GN_LIB_LDFLAGS)  $(WINFLAGS) \
29   -version-info 0:0:0
30 libgnunetidentity_la_DEPENDENCIES = \
31   $(top_builddir)/src/util/libgnunetutil.la 
32
33 bin_PROGRAMS = \
34  gnunet-identity
35
36 libexec_PROGRAMS = \
37  gnunet-service-identity 
38
39 gnunet_service_identity_SOURCES = \
40  gnunet-service-identity.c         
41 gnunet_service_identity_LDADD = \
42   $(top_builddir)/src/statistics/libgnunetstatistics.la \
43   $(top_builddir)/src/util/libgnunetutil.la \
44   $(GN_LIBINTL)
45 gnunet_service_identity_DEPENDENCIES = \
46   $(top_builddir)/src/statistics/libgnunetstatistics.la \
47   $(top_builddir)/src/util/libgnunetutil.la 
48
49 gnunet_identity_SOURCES = \
50  gnunet-identity.c         
51 gnunet_identity_LDADD = \
52   libgnunetidentity.la \
53   $(top_builddir)/src/statistics/libgnunetstatistics.la \
54   $(top_builddir)/src/util/libgnunetutil.la \
55   $(GN_LIBINTL)
56 gnunet_identity_DEPENDENCIES = \
57   $(top_builddir)/src/statistics/libgnunetstatistics.la \
58   libgnunetidentity.la \
59   $(top_builddir)/src/util/libgnunetutil.la 
60
61
62 if HAVE_TESTING
63 check_PROGRAMS = \
64  test_identity \
65  test_identity_defaults 
66 endif
67
68 if ENABLE_TEST_RUN
69 TESTS = $(check_PROGRAMS) 
70 endif
71
72 test_identity_SOURCES = \
73  test_identity.c
74 test_identity_LDADD = \
75   libgnunetidentity.la \
76   $(top_builddir)/src/testing/libgnunettesting.la \
77   $(top_builddir)/src/util/libgnunetutil.la 
78 test_identity_DEPENDENCIES = \
79   libgnunetidentity.la \
80   $(top_builddir)/src/testing/libgnunettesting.la \
81   $(top_builddir)/src/util/libgnunetutil.la 
82
83 test_identity_defaults_SOURCES = \
84  test_identity_defaults.c
85 test_identity_defaults_LDADD = \
86   libgnunetidentity.la \
87   $(top_builddir)/src/testing/libgnunettesting.la \
88   $(top_builddir)/src/util/libgnunetutil.la 
89 test_identity_defaults_DEPENDENCIES = \
90   libgnunetidentity.la \
91   $(top_builddir)/src/testing/libgnunettesting.la \
92   $(top_builddir)/src/util/libgnunetutil.la 
93
94 EXTRA_DIST = \
95   test_identity.conf 
96
97