2009-03-16 19:07:45 +00:00
|
|
|
|
|
|
|
# ts A90315 : LIBBURNIA_PKGCONFDIR is defined OS specific in acinclude.m4
|
|
|
|
# was: pkgconfigdir=$(libdir)/pkgconfig
|
|
|
|
pkgconfigdir=$(LIBBURNIA_PKGCONFDIR)
|
|
|
|
|
2006-08-18 20:33:03 +00:00
|
|
|
libincludedir=$(includedir)/libburn
|
2006-08-15 20:37:04 +00:00
|
|
|
|
2006-11-13 15:00:42 +00:00
|
|
|
lib_LTLIBRARIES = libburn/libburn.la
|
2011-06-08 19:41:11 +00:00
|
|
|
ACLOCAL_AMFLAGS = -I ./
|
2006-08-15 20:37:04 +00:00
|
|
|
|
|
|
|
## ========================================================================= ##
|
|
|
|
|
|
|
|
# Build libraries
|
|
|
|
libburn_libburn_la_LDFLAGS = \
|
|
|
|
-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
|
2009-11-17 09:34:46 +00:00
|
|
|
# This causes undesired .o names
|
|
|
|
# configure.ac appends -D options to variable CFLAG
|
|
|
|
### libburn_libburn_la_CFLAGS = $(LIBBURN_DVD_OBS_64K)
|
2006-10-12 17:33:22 +00:00
|
|
|
libburn_libburn_la_LIBADD = $(LIBBURN_ARCH_LIBS) $(THREAD_LIBS)
|
2006-08-15 20:37:04 +00:00
|
|
|
libburn_libburn_la_SOURCES = \
|
|
|
|
libburn/async.c \
|
|
|
|
libburn/async.h \
|
2006-08-26 13:49:53 +00:00
|
|
|
libburn/back_hacks.h \
|
2011-12-15 15:48:27 +00:00
|
|
|
libburn/cdtext.c \
|
2006-10-03 16:37:08 +00:00
|
|
|
libburn/cleanup.c \
|
|
|
|
libburn/cleanup.h \
|
2006-08-15 20:37:04 +00:00
|
|
|
libburn/crc.c \
|
|
|
|
libburn/crc.h \
|
|
|
|
libburn/debug.c \
|
|
|
|
libburn/debug.h \
|
|
|
|
libburn/drive.c \
|
|
|
|
libburn/drive.h \
|
2009-10-17 13:17:06 +00:00
|
|
|
libburn/ecma130ab.c \
|
|
|
|
libburn/ecma130ab.h \
|
2006-08-15 20:37:04 +00:00
|
|
|
libburn/error.h \
|
|
|
|
libburn/file.c \
|
|
|
|
libburn/file.h \
|
|
|
|
libburn/init.c \
|
|
|
|
libburn/init.h \
|
|
|
|
libburn/libburn.h \
|
2006-10-15 13:51:41 +00:00
|
|
|
libburn/libdax_audioxtr.h \
|
|
|
|
libburn/libdax_audioxtr.c \
|
2006-09-24 17:16:01 +00:00
|
|
|
libburn/libdax_msgs.h \
|
|
|
|
libburn/libdax_msgs.c \
|
2006-08-15 20:37:04 +00:00
|
|
|
libburn/mmc.c \
|
|
|
|
libburn/mmc.h \
|
|
|
|
libburn/null.c \
|
|
|
|
libburn/null.h \
|
|
|
|
libburn/options.c \
|
|
|
|
libburn/options.h \
|
2006-11-16 11:17:55 +00:00
|
|
|
libburn/os.h \
|
2006-08-15 20:37:04 +00:00
|
|
|
libburn/read.c \
|
|
|
|
libburn/read.h \
|
|
|
|
libburn/sbc.c \
|
|
|
|
libburn/sbc.h \
|
|
|
|
libburn/sector.c \
|
|
|
|
libburn/sector.h \
|
2006-10-13 10:22:21 +00:00
|
|
|
libburn/sg.c \
|
2006-08-15 20:37:04 +00:00
|
|
|
libburn/sg.h \
|
|
|
|
libburn/source.h \
|
|
|
|
libburn/source.c \
|
|
|
|
libburn/spc.c \
|
|
|
|
libburn/spc.h \
|
|
|
|
libburn/structure.c \
|
|
|
|
libburn/structure.h \
|
|
|
|
libburn/toc.c \
|
|
|
|
libburn/toc.h \
|
|
|
|
libburn/transport.h \
|
|
|
|
libburn/util.c \
|
|
|
|
libburn/util.h \
|
|
|
|
libburn/write.c \
|
2011-12-07 07:50:45 +00:00
|
|
|
libburn/write.h
|
2006-08-15 20:37:04 +00:00
|
|
|
|
2006-10-13 10:22:21 +00:00
|
|
|
## libburn/sg-@ARCH@.c \
|
2006-09-24 20:25:54 +00:00
|
|
|
|
2006-08-15 20:37:04 +00:00
|
|
|
libinclude_HEADERS = \
|
2006-11-13 15:00:42 +00:00
|
|
|
libburn/libburn.h
|
2006-08-15 20:37:04 +00:00
|
|
|
|
2010-09-22 10:54:56 +00:00
|
|
|
install-exec-hook:
|
|
|
|
$(LIBBURNIA_LDCONFIG_CMD) "$(DESTDIR)$(libdir)" || echo 'NOTE: Explicite dynamic library configuration failed. If needed, configure manually for:' "$(DESTDIR)$(libdir)"
|
|
|
|
|
2006-08-15 20:37:04 +00:00
|
|
|
## ========================================================================= ##
|
|
|
|
|
|
|
|
## Build test applications
|
|
|
|
noinst_PROGRAMS = \
|
2006-08-30 15:14:41 +00:00
|
|
|
test/libburner \
|
2010-09-22 18:09:50 +00:00
|
|
|
test/offst_source \
|
2006-11-17 19:38:28 +00:00
|
|
|
test/telltoc \
|
2006-10-15 13:51:41 +00:00
|
|
|
test/dewav \
|
2006-10-24 14:10:16 +00:00
|
|
|
test/fake_au \
|
2006-08-15 20:37:04 +00:00
|
|
|
test/poll \
|
2006-09-15 07:51:50 +00:00
|
|
|
test/structest
|
|
|
|
|
|
|
|
bin_PROGRAMS = \
|
2006-09-15 07:23:36 +00:00
|
|
|
cdrskin/cdrskin
|
2006-08-15 20:37:04 +00:00
|
|
|
|
2009-02-04 10:28:26 +00:00
|
|
|
LIBBURN_EXTRALIBS = $(LIBBURN_ARCH_LIBS) $(THREAD_LIBS)
|
|
|
|
|
2006-08-30 15:14:41 +00:00
|
|
|
test_libburner_CPPFLAGS = -Ilibburn
|
2009-02-04 10:28:26 +00:00
|
|
|
test_libburner_LDADD = $(libburn_libburn_la_OBJECTS) $(LIBBURN_EXTRALIBS)
|
2006-08-30 15:14:41 +00:00
|
|
|
test_libburner_SOURCES = test/libburner.c
|
2010-09-22 18:09:50 +00:00
|
|
|
test_offst_source_CPPFLAGS = -Ilibburn
|
|
|
|
test_offst_source_LDADD = $(libburn_libburn_la_OBJECTS) $(LIBBURN_EXTRALIBS)
|
|
|
|
test_offst_source_SOURCES = test/offst_source.c
|
2006-11-17 19:38:28 +00:00
|
|
|
test_telltoc_CPPFLAGS = -Ilibburn
|
2009-02-04 10:28:26 +00:00
|
|
|
test_telltoc_LDADD = $(libburn_libburn_la_OBJECTS) $(LIBBURN_EXTRALIBS)
|
2006-11-17 19:38:28 +00:00
|
|
|
test_telltoc_SOURCES = test/telltoc.c
|
2006-10-15 13:51:41 +00:00
|
|
|
test_dewav_CPPFLAGS = -Ilibburn
|
2009-02-04 10:28:26 +00:00
|
|
|
test_dewav_LDADD = $(libburn_libburn_la_OBJECTS) $(LIBBURN_EXTRALIBS)
|
2006-10-15 13:51:41 +00:00
|
|
|
test_dewav_SOURCES = test/dewav.c
|
2006-10-24 14:10:16 +00:00
|
|
|
test_fake_au_CPPFLAGS =
|
|
|
|
test_fake_au_LDADD =
|
|
|
|
test_fake_au_SOURCES = test/fake_au.c
|
2006-08-15 20:37:04 +00:00
|
|
|
test_poll_CPPFLAGS = -Ilibburn
|
2009-02-04 10:28:26 +00:00
|
|
|
test_poll_LDADD = $(libburn_libburn_la_OBJECTS) $(LIBBURN_EXTRALIBS)
|
2006-08-15 20:37:04 +00:00
|
|
|
test_poll_SOURCES = test/poll.c
|
|
|
|
test_structest_CPPFLAGS = -Ilibburn
|
2009-02-04 10:28:26 +00:00
|
|
|
test_structest_LDADD = $(libburn_libburn_la_OBJECTS) $(LIBBURN_EXTRALIBS)
|
2006-08-15 20:37:04 +00:00
|
|
|
test_structest_SOURCES = test/structest.c
|
|
|
|
|
2012-07-20 16:49:40 +00:00
|
|
|
## cdrskin construction site - ts A60816 - B20720
|
2006-08-18 16:58:31 +00:00
|
|
|
cdrskin_cdrskin_CPPFLAGS = -Ilibburn
|
2013-01-08 08:39:40 +00:00
|
|
|
cdrskin_cdrskin_CFLAGS = -DCdrskin_libburn_1_2_6
|
2008-01-23 21:37:26 +00:00
|
|
|
|
2009-02-04 10:28:26 +00:00
|
|
|
# cdrskin_cdrskin_LDADD = $(libburn_libburn_la_OBJECTS) $(LIBBURN_EXTRALIBS)
|
2008-01-23 21:37:26 +00:00
|
|
|
# ts A80123, change proposed by Simon Huggins to cause dynamic libburn linking
|
2009-02-04 10:28:26 +00:00
|
|
|
cdrskin_cdrskin_LDADD = libburn/libburn.la $(LIBBURN_EXTRALIBS)
|
2008-01-23 21:37:26 +00:00
|
|
|
|
2006-10-03 16:37:08 +00:00
|
|
|
cdrskin_cdrskin_SOURCES = cdrskin/cdrskin.c cdrskin/cdrfifo.c cdrskin/cdrfifo.h cdrskin/cdrskin_timestamp.h
|
2006-08-18 16:58:31 +00:00
|
|
|
##
|
|
|
|
## Open questions: how to compute $timestamp and express -DX="$timestamp"
|
|
|
|
##
|
|
|
|
|
2011-12-03 12:11:04 +00:00
|
|
|
# "make clean" shall remove a few stubborn .libs directories
|
|
|
|
# which George Danchev reported Dec 03 2011.
|
|
|
|
# Learned from: http://www.gnu.org/software/automake/manual/automake.html#Clean
|
|
|
|
clean-local:
|
|
|
|
-rm -rf cdrskin/.libs test/.libs
|
2006-08-18 16:58:31 +00:00
|
|
|
|
|
|
|
|
2006-08-15 20:37:04 +00:00
|
|
|
## ========================================================================= ##
|
|
|
|
|
|
|
|
## Build documentation (You need Doxygen for this to work)
|
|
|
|
webhost = http://libburn-api.pykix.org
|
|
|
|
webpath = /
|
2006-09-15 17:18:44 +00:00
|
|
|
docdir = $(DESTDIR)$(prefix)/share/doc/$(PACKAGE)-$(VERSION)
|
2006-08-15 20:37:04 +00:00
|
|
|
|
2006-09-15 17:18:44 +00:00
|
|
|
doc: doc/html
|
2006-08-15 20:37:04 +00:00
|
|
|
|
2006-09-20 20:08:02 +00:00
|
|
|
doc/html: doc/doxygen.conf
|
|
|
|
if [ -f ./doc/doc.lock ]; then \
|
|
|
|
$(RM) -r doc/html; \
|
|
|
|
doxygen doc/doxygen.conf; \
|
|
|
|
fi
|
2006-08-15 20:37:04 +00:00
|
|
|
|
|
|
|
doc-upload: doc/html
|
|
|
|
scp -r $</* $(webhost):$(webpath)
|
|
|
|
|
2010-07-29 16:41:45 +00:00
|
|
|
## ts B00729
|
|
|
|
## Not by default any more.
|
|
|
|
## It is unclear who is supposed to create file ./doc/doc.lock
|
|
|
|
# all: doc
|
2006-09-20 20:08:02 +00:00
|
|
|
|
|
|
|
install-data-local:
|
|
|
|
if [ -f ./doc/doc.lock ]; then \
|
|
|
|
$(mkinstalldirs) $(docdir)/html; \
|
|
|
|
$(INSTALL_DATA) doc/html/* $(docdir)/html; \
|
|
|
|
fi
|
|
|
|
|
|
|
|
uninstall-local:
|
|
|
|
rm -rf $(docdir)
|
|
|
|
|
2006-08-15 20:37:04 +00:00
|
|
|
## ========================================================================= ##
|
|
|
|
|
|
|
|
# Indent source files
|
|
|
|
indent_files = \
|
|
|
|
$(libburn_libburn_la_SOURCES) \
|
|
|
|
$(test_poll_SOURCES) \
|
2006-11-13 15:00:42 +00:00
|
|
|
$(test_structest_SOURCES)
|
2006-09-21 07:50:02 +00:00
|
|
|
|
2006-08-15 20:37:04 +00:00
|
|
|
|
|
|
|
indent: $(indent_files)
|
|
|
|
indent -bad -bap -nbbb -nbbo -nbc -bli0 -br -bls \
|
|
|
|
-cdw -ce -cli0 -ncs -nbfda -i8 -l79 -lc79 \
|
|
|
|
-lp -saf -sai -nprs -npsl -saw -sob -ss -ut \
|
|
|
|
-sbi0 -nsc -ts8 -npcs -ncdb -fca \
|
|
|
|
$^
|
|
|
|
|
|
|
|
.PHONY: indent
|
|
|
|
|
|
|
|
## ========================================================================= ##
|
|
|
|
|
|
|
|
# Extra things
|
|
|
|
nodist_pkgconfig_DATA = \
|
2008-02-01 10:03:56 +00:00
|
|
|
libburn-1.pc
|
2006-08-15 20:37:04 +00:00
|
|
|
|
2006-12-13 19:54:55 +00:00
|
|
|
# http://www.nada.kth.se/cgi-bin/info?(automake.info)Man%20pages
|
|
|
|
man_MANS = cdrskin/cdrskin.1
|
|
|
|
|
2006-08-15 20:37:04 +00:00
|
|
|
EXTRA_DIST = \
|
2011-12-03 12:11:59 +00:00
|
|
|
bootstrap \
|
2008-02-01 10:03:56 +00:00
|
|
|
libburn-1.pc.in \
|
2006-08-15 20:37:04 +00:00
|
|
|
version.h.in \
|
2006-09-17 13:17:10 +00:00
|
|
|
doc/comments \
|
2006-08-15 20:37:04 +00:00
|
|
|
doc/doxygen.conf.in \
|
2011-05-14 12:21:04 +00:00
|
|
|
doc/cookbook.txt \
|
|
|
|
doc/mediainfo.txt \
|
2011-12-15 09:15:11 +00:00
|
|
|
doc/cdtext.txt \
|
2006-08-15 20:37:04 +00:00
|
|
|
README \
|
2006-09-18 14:41:43 +00:00
|
|
|
AUTHORS \
|
2006-09-21 07:50:02 +00:00
|
|
|
CONTRIBUTORS \
|
2006-09-18 14:41:43 +00:00
|
|
|
COPYRIGHT \
|
2006-09-14 08:45:42 +00:00
|
|
|
cdrskin/README \
|
|
|
|
cdrskin/cdrecord_spy.sh \
|
2006-09-15 07:23:36 +00:00
|
|
|
cdrskin/compile_cdrskin.sh \
|
2006-12-14 10:29:03 +00:00
|
|
|
cdrskin/convert_man_to_html.sh \
|
2006-09-14 08:45:42 +00:00
|
|
|
cdrskin/changelog.txt \
|
2006-09-15 07:23:36 +00:00
|
|
|
cdrskin/cdrskin_eng.html \
|
|
|
|
cdrskin/wiki_plain.txt \
|
2006-10-29 07:47:24 +00:00
|
|
|
cdrskin/cleanup.h \
|
|
|
|
cdrskin/cleanup.c \
|
2010-07-04 17:01:21 +00:00
|
|
|
libburn/libburn.ver \
|
2009-12-26 08:49:59 +00:00
|
|
|
libburn/os-dummy.h \
|
2006-11-16 11:17:55 +00:00
|
|
|
libburn/os-freebsd.h \
|
|
|
|
libburn/os-linux.h \
|
2009-12-19 14:34:48 +00:00
|
|
|
libburn/os-libcdio.h \
|
2010-06-07 17:30:54 +00:00
|
|
|
libburn/os-solaris.h \
|
2009-12-26 08:49:59 +00:00
|
|
|
libburn/sg-dummy.c \
|
2006-10-29 08:13:01 +00:00
|
|
|
libburn/sg-freebsd.c \
|
|
|
|
libburn/sg-linux.c \
|
2009-12-19 14:34:48 +00:00
|
|
|
libburn/sg-libcdio.c \
|
2010-06-07 17:30:54 +00:00
|
|
|
libburn/sg-solaris.c \
|
2006-12-10 17:08:28 +00:00
|
|
|
COPYING \
|
2006-12-11 09:58:57 +00:00
|
|
|
NEWS \
|
|
|
|
ChangeLog \
|
2006-12-13 19:54:55 +00:00
|
|
|
INSTALL \
|
|
|
|
$(man_MANS)
|
2006-09-14 08:45:42 +00:00
|
|
|
|