1 # Makefile for Amanda tape library.
3 include $(top_srcdir)/config/automake/vars.am
4 include $(top_srcdir)/config/automake/scripts.am
5 include $(top_srcdir)/config/automake/precompile.am
7 INCLUDES = -I$(top_builddir)/common-src \
8 -I$(top_srcdir)/common-src \
11 AM_CFLAGS = $(AMANDA_WARNING_CFLAGS)
12 AM_LDFLAGS = $(AMANDA_STATIC_LDFLAGS)
16 CHECK_PERL = amtapetype
17 SCRIPTS_PERL = $(CHECK_PERL)
18 sbin_SCRIPTS = $(SCRIPTS_PERL)
22 amlib_LTLIBRARIES = libamdevice.la
23 libamdevice_la_LDFLAGS = -release $(VERSION)
24 libamdevice_la_SOURCES = property.c device.c device-queueing.c \
25 null-device.c rait-device.c vfs-device.c
26 libamdevice_la_LIBADD = ../common-src/libamanda.la
28 # tape-device has *lots* of conditionals; the first is whether to support
29 # the device at all, and the remainder select a particular kind of OS-specific
33 libamdevice_la_SOURCES += tape-device.c
36 libamdevice_la_SOURCES += tape-xenix.c
39 libamdevice_la_SOURCES += tape-aix.c
42 libamdevice_la_SOURCES += tape-uware.c
45 libamdevice_la_SOURCES += tape-posix.c
51 libamdevice_la_SOURCES += s3-device.c s3.c s3-util.c
54 ## automake-style tests
57 noinst_PROGRAMS = $(TESTS)
59 vfs_test_SOURCES = vfs-test.c
61 ../common-src/libtestutils.la \
67 sbin_PROGRAMS += activate-devpay
68 activate_devpay_SOURCES = activate-devpay.c