# Makefile for Amanda tape library. SUBDIRS = . tests include $(top_srcdir)/config/automake/precompile.am INCLUDES = -I$(top_builddir)/common-src \ -I$(top_srcdir)/common-src \ -I$(top_srcdir)/gnulib AM_CFLAGS = $(AMANDA_WARNING_CFLAGS) AM_LDFLAGS = $(AMANDA_STATIC_LDFLAGS) sbin_PROGRAMS = ## libamdevice.la amlib_LTLIBRARIES = libamdevice.la libamdevice_la_LDFLAGS = -release $(VERSION) libamdevice_la_SOURCES = property.c device.c queueing.c semaphore.c \ null-device.c rait-device.c vfs-device.c libamdevice_la_LIBADD = ../common-src/libamanda.la # tape-device has *lots* of conditionals; the first is whether to support # the device at all, and the remainder select a particular kind of OS-specific # backend. if WANT_TAPE_DEVICE libamdevice_la_SOURCES += tape-device.c if WANT_TAPE_XENIX libamdevice_la_SOURCES += tape-xenix.c endif if WANT_TAPE_AIX libamdevice_la_SOURCES += tape-aix.c endif if WANT_TAPE_UWARE libamdevice_la_SOURCES += tape-uware.c endif if WANT_TAPE_POSIX libamdevice_la_SOURCES += tape-posix.c endif endif if WANT_S3_DEVICE libamdevice_la_SOURCES += s3-device.c s3.c endif ## activate-devpay if WANT_DEVPAY sbin_PROGRAMS += activate-devpay activate_devpay_SOURCES = activate-devpay.c endif ## headers noinst_HEADERS = null-device.h semaphore.h \ tape-ops.h property.h rait-device.h s3.h \ s3-device.h tape-device.h vfs-device.h \ device.h queueing.h aminclude_HEADERS =