1 # Makefile for Amanda 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_srcdir)/gnulib \
9 -I$(top_srcdir)/device-src \
10 -I$(top_srcdir)/common-src
12 AM_CFLAGS = $(AMANDA_WARNING_CFLAGS)
13 AM_LDFLAGS = $(AMANDA_STATIC_LDFLAGS)
15 amlib_LTLIBRARIES = libamxfer.la
18 LINTFLAGS=$(AMLINTFLAGS)
20 libamxfer_la_SOURCES = \
34 libamxfer_la_LDFLAGS = -release $(VERSION)
35 libamxfer_la_LIBADD = \
36 ../device-src/libamdevice.la \
37 ../common-src/libamanda.la
46 # automake-style tests
49 noinst_PROGRAMS = $(TESTS)
51 xfer_test_SOURCES = xfer-test.c
53 ../common-src/libtestutils.la \
59 @echo $(LINT) $(libamxfer_la_SOURCES)
60 @$(LINT) $(LINTFLAGS) $(CPPFLAGS) $(DEFS) -I. -I$(top_builddir)/config $(INCLUDES) $(libamxfer_la_SOURCES)
61 @echo $(LINT) $(genversion_SOURCES)
62 @$(LINT) $(LINTFLAGS) $(CPPFLAGS) $(DEFS) -I. -I$(top_builddir)/config $(INCLUDES) $(genversion_SOURCES)
65 @ for p in $(libamxfer_la_SOURCES); do \
66 listlibsrcs="$$listlibsrcs `pwd`/$$p"; \
68 echo $$listlibsrcs >listlibsrc.output