Makefile.am 841 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 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
ACLOCAL_AMFLAGS = -I m4

SET_FEATURES = -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200809L -D_REENTRANT
SET_INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/src -Isrc

AM_CFLAGS = $(SET_FEATURES) $(SET_INCLUDES)

lib_LTLIBRARIES = libudfread.la

libudfread_la_SOURCES = \
	src/default_blockinput.h \
	src/default_blockinput.c \
	src/ecma167.h \
	src/ecma167.c \
	src/udfread.c \
	src/udfread-version.c

libudfread_la_LDFLAGS = -version-info $(UDFREAD_LTVERSION) -export-symbols-regex "(^udfread_.*)"

pkgincludedir = $(includedir)/udfread
pkginclude_HEADERS = \
	src/udfread.h \
	src/udfread-version.h \
	src/blockinput.h

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

noinst_PROGRAMS = \
	udfls \
	udfcat

udfls_SOURCES = examples/udfls.c
udfls_LDADD = libudfread.la

udfcat_SOURCES = examples/udfcat.c
udfcat_LDADD = libudfread.la