1 # Makefile for Amanda archive library
3 include $(top_srcdir)/config/automake/vars.am
4 include $(top_srcdir)/config/automake/scripts.am
5 include $(top_srcdir)/config/automake/installperms.am
6 include $(top_srcdir)/config/automake/precompile.am
8 INCLUDES = -I$(top_builddir)/common-src \
9 -I$(top_srcdir)/common-src \
10 -I$(top_srcdir)/gnulib
12 AM_CFLAGS = $(AMANDA_WARNING_CFLAGS)
13 AM_LDFLAGS = $(AMANDA_STATIC_LDFLAGS)
16 LINTFLAGS=@AMLINTFLAGS@
18 amlib_LTLIBRARIES = libamar.la
20 libamar_la_SOURCES = amar.c
21 libamar_la_LDFLAGS = -release $(VERSION)
22 libamar_la_LIBADD = ../common-src/libamanda.la
27 sbin_PROGRAMS = amarchiver
29 amarchiver_SOURCES = amarchiver.c
30 amarchiver_LDADD = libamar.la
32 # automake-style tests
35 noinst_PROGRAMS = $(TESTS)
37 amar_test_SOURCES = amar-test.c
38 amar_test_LDADD = libamar.la \
39 ../common-src/libtestutils.la