Makefile.am 958 Bytes
Newer Older
1
2
SUBDIRS = . tests

Jeremy C. Reed's avatar
Jeremy C. Reed committed
3
AM_CPPFLAGS = -I$(top_builddir)/src/lib -I$(top_srcdir)/ext $(SQLITE_CFLAGS)
4

5
6
pkglibexecdir = $(libexecdir)/@PACKAGE@

7
8
CLEANFILES = *.gcno *.gcda

9
pkglibexec_PROGRAMS = b10-auth
10
b10_auth_SOURCES = auth_srv.cc auth_srv.h
11
b10_auth_SOURCES += common.h
12
b10_auth_SOURCES += main.cc
Jeremy C. Reed's avatar
Jeremy C. Reed committed
13
14
b10_auth_LDADD =  $(top_builddir)/src/lib/auth/.libs/libauth.a
b10_auth_LDADD +=  $(top_builddir)/src/lib/dns/.libs/libdns.a
15
b10_auth_LDADD += $(top_builddir)/src/lib/config/.libs/libcfgclient.a
Jeremy C. Reed's avatar
Jeremy C. Reed committed
16
17
b10_auth_LDADD += $(top_builddir)/src/lib/cc/libcc.a
b10_auth_LDADD += $(top_builddir)/src/lib/exceptions/.libs/libexceptions.a
18
b10_auth_LDADD += $(SQLITE_LIBS)
19
20
if HAVE_BOOSTLIB
b10_auth_LDFLAGS = $(AM_LDFLAGS) $(BOOST_LDFLAGS)
21
b10_auth_LDADD += $(BOOST_SYSTEM_LIB)
22
endif
23

24
25
# TODO: config.h.in is wrong because doesn't honor pkgdatadir
# and can't use @datadir@ because doesn't expand default ${prefix}
26
27
28
b10_authdir = $(DESTDIR)$(pkgdatadir)
b10_auth_DATA = auth.spec