Makefile.am 1008 Bytes
Newer Older
1
SUBDIRS = doc
2 3 4

EXTRA_DIST = libdvdcss.spec bootstrap

5 6 7
doc-dummy:

doc: doc-dummy
8
	$(MAKE) -C doc
9

10
lib_LTLIBRARIES = libdvdcss.la
11
EXTRA_PROGRAMS = csstest dvd_region
12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46

libdvdcss_la_SOURCES = \
	src/libdvdcss.c \
	src/libdvdcss.h \
	src/device.c \
	src/device.h \
	src/css.c \
	src/css.h \
	src/csstables.h \
	src/ioctl.c \
	src/ioctl.h \
	src/error.c \
	src/common.h

libdvdcss_la_LDFLAGS = -version-info 3:0:1 $(DVDCSS_LDFLAGS)
libdvdcss_la_LIBADD =

if SYS_BSDI
libdvdcss_la_SOURCES += \
	src/bsdi_ioctl.c \
	src/bsdi_dvd.h
endif

if SYS_BSDI_LIBDVD
libdvdcss_la_LIBADD += -ldvd
endif

if !SYS_MSVC
libdvdcss_la_LDFLAGS += = -no-undefined
endif

csstest_SOURCES = test/csstest.c
csstest_LDADD = libdvdcss.la
csstest_CFLAGS = -I $(top_srcdir)/src

47 48 49 50
dvd_region_SOURCES = test/dvd_region.c
dvd_region_LDADD = libdvdcss.la
dvd_region_CFLAGS = -I $(top_srcdir)/src

51 52 53 54 55
pkgincludedir = $(includedir)/dvdcss
pkginclude_HEADERS = src/dvdcss/dvdcss.h

pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = src/libdvdcss.pc