Makefile.am 832 Bytes
Newer Older
Jeremy C. Reed's avatar
Jeremy C. Reed committed
1
AM_CPPFLAGS = -I$(top_builddir)/src/lib -I$(top_srcdir)/ext $(SQLITE_CFLAGS)
2

3
4
pkglibexecdir = $(libexecdir)/@PACKAGE@

5
6
CLEANFILES = *.gcno *.gcda

7
pkglibexec_PROGRAMS = b10-auth
8
9
10
b10_auth_SOURCES = auth_srv.cc auth_srv.h
b10_auth_SOURCES += common.cc common.h
b10_auth_SOURCES += main.cc
Jeremy C. Reed's avatar
Jeremy C. Reed committed
11
12
13
14
15
b10_auth_LDADD =  $(top_builddir)/src/lib/auth/.libs/libauth.a
b10_auth_LDADD +=  $(top_builddir)/src/lib/dns/.libs/libdns.a
b10_auth_LDADD += $(top_builddir)/src/lib/config/libcfgclient.a
b10_auth_LDADD += $(top_builddir)/src/lib/cc/libcc.a
b10_auth_LDADD += $(top_builddir)/src/lib/exceptions/.libs/libexceptions.a
16
b10_auth_LDADD += $(SQLITE_LIBS)
17

18
19
# TODO: config.h.in is wrong because doesn't honor pkgdatadir
# and can't use @datadir@ because doesn't expand default ${prefix}
20
21
22
b10_authdir = $(DESTDIR)$(pkgdatadir)
b10_auth_DATA = auth.spec