Makefile.am 1004 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
if GCC_WERROR_OK
AM_CPPFLAGS += -Werror
endif
7

8
9
pkglibexecdir = $(libexecdir)/@PACKAGE@

10
11
CLEANFILES = *.gcno *.gcda

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

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