-adding skeleton for gnunet-revocation command line tool
[oweals/gnunet.git] / src / revocation / Makefile.am
1 AM_CPPFLAGS = -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   revocation.conf
18
19 bin_PROGRAMS = \
20  gnunet-revocation 
21
22
23 gnunet_revocation_SOURCES = \
24  gnunet-revocation.c         
25 gnunet_revocation_LDADD = \
26   libgnunetrevocation.la \
27   $(top_builddir)/src/util/libgnunetutil.la \
28   $(GN_LIBINTL)
29
30 lib_LTLIBRARIES = libgnunetrevocation.la
31
32 libgnunetrevocation_la_SOURCES = \
33   revocation_api.c revocation.h
34 libgnunetrevocation_la_LIBADD = \
35   $(top_builddir)/src/util/libgnunetutil.la \
36   $(GN_LIBINTL) $(XLIB) -lgcrypt
37 libgnunetrevocation_la_LDFLAGS = \
38   $(GN_LIB_LDFLAGS)  $(WINFLAGS) \
39   -version-info 0:0:0
40
41 libexec_PROGRAMS = \
42  gnunet-service-revocation 
43
44
45 gnunet_service_revocation_SOURCES = \
46  gnunet-service-revocation.c         
47 gnunet_service_revocation_LDADD = \
48   $(top_builddir)/src/revocation/libgnunetrevocation.la \
49   $(top_builddir)/src/core/libgnunetcore.la \
50   $(top_builddir)/src/set/libgnunetset.la \
51   $(top_builddir)/src/statistics/libgnunetstatistics.la \
52   $(top_builddir)/src/util/libgnunetutil.la \
53   -lm \
54   $(GN_LIBINTL)
55 gnunet_service_revocation_DEPENDENCIES = \
56   libgnunetrevocation.la
57
58
59
60 #EXTRA_DIST =