Makefile.am 1.1 KB
Newer Older
1
2
SUBDIRS = . tests

3
4
5
AM_CPPFLAGS = -I$(top_srcdir)/src/lib -I$(top_builddir)/src/lib
AM_CPPFLAGS += -I$(top_srcdir)/src/lib/dns -I$(top_builddir)/src/lib/dns
AM_CPPFLAGS += -I$(top_srcdir)/ext  
6
7
8
if GCC_WERROR_OK
AM_CPPFLAGS += -Werror
endif
9

10
11
pkglibexecdir = $(libexecdir)/@PACKAGE@

12
13
CLEANFILES = *.gcno *.gcda

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

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

34
35
EXTRA_DIST = auth.spec