1 # Makefile for Amanda tape library.
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)
18 amlib_LTLIBRARIES = libamdevice.la
19 libamdevice_la_LDFLAGS = -release $(VERSION)
20 libamdevice_la_SOURCES = property.c device.c queueing.c semaphore.c \
21 null-device.c rait-device.c vfs-device.c
22 libamdevice_la_LIBADD = ../common-src/libamanda.la
24 # tape-device has *lots* of conditionals; the first is whether to support
25 # the device at all, and the remainder select a particular kind of OS-specific
29 libamdevice_la_SOURCES += tape-device.c
32 libamdevice_la_SOURCES += tape-xenix.c
35 libamdevice_la_SOURCES += tape-aix.c
38 libamdevice_la_SOURCES += tape-uware.c
41 libamdevice_la_SOURCES += tape-posix.c
47 libamdevice_la_SOURCES += s3-device.c s3.c
53 sbin_PROGRAMS += activate-devpay
54 activate_devpay_SOURCES = activate-devpay.c
59 noinst_HEADERS = null-device.h semaphore.h \
60 tape-ops.h property.h rait-device.h s3.h \
61 s3-device.h tape-device.h vfs-device.h \