2009-03-18 10:39:35 +00:00
|
|
|
|
|
|
|
# ts A90315 : LIBBURNIA_PKGCONFDIR is defined OS specific in acinclude.m4
|
|
|
|
# was: pkgconfigdir=$(libdir)/pkgconfig
|
|
|
|
pkgconfigdir=$(LIBBURNIA_PKGCONFDIR)
|
|
|
|
|
2007-09-14 04:41:55 +00:00
|
|
|
libincludedir=$(includedir)/libisoburn
|
2007-09-14 04:32:05 +00:00
|
|
|
|
2008-01-26 00:26:57 +00:00
|
|
|
lib_LTLIBRARIES = libisoburn/libisoburn.la
|
2011-06-08 19:43:18 +00:00
|
|
|
ACLOCAL_AMFLAGS = -I ./
|
2007-09-14 04:32:05 +00:00
|
|
|
|
|
|
|
## ========================================================================= ##
|
|
|
|
|
|
|
|
# Build libraries
|
2008-01-26 00:26:57 +00:00
|
|
|
libisoburn_libisoburn_la_LDFLAGS = \
|
2007-09-14 04:32:05 +00:00
|
|
|
-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
|
2008-01-26 00:26:57 +00:00
|
|
|
libisoburn_libisoburn_la_SOURCES = \
|
2010-05-18 17:46:20 +00:00
|
|
|
libisoburn/isoburn.h \
|
|
|
|
libisoburn/libisoburn.h \
|
2008-01-26 00:26:57 +00:00
|
|
|
libisoburn/burn_wrap.c \
|
|
|
|
libisoburn/data_source.c \
|
|
|
|
libisoburn/isoburn.c \
|
|
|
|
libisoburn/isofs_wrap.c \
|
2010-05-18 17:46:20 +00:00
|
|
|
\
|
2008-02-01 19:59:12 +00:00
|
|
|
xorriso/xorriso.h \
|
|
|
|
xorriso/xorriso_private.h \
|
2010-05-15 18:48:10 +00:00
|
|
|
xorriso/sfile.h \
|
|
|
|
xorriso/sfile.c \
|
|
|
|
xorriso/aux_objects.h \
|
|
|
|
xorriso/aux_objects.c \
|
|
|
|
xorriso/findjob.h \
|
|
|
|
xorriso/findjob.c \
|
|
|
|
xorriso/check_media.h \
|
|
|
|
xorriso/check_media.c \
|
|
|
|
xorriso/misc_funct.h \
|
|
|
|
xorriso/misc_funct.c \
|
|
|
|
xorriso/text_io.h \
|
|
|
|
xorriso/text_io.c \
|
|
|
|
xorriso/match.h \
|
|
|
|
xorriso/match.c \
|
|
|
|
xorriso/emulators.h \
|
|
|
|
xorriso/emulators.c \
|
|
|
|
xorriso/disk_ops.h \
|
|
|
|
xorriso/disk_ops.c \
|
|
|
|
xorriso/cmp_update.h \
|
|
|
|
xorriso/cmp_update.c \
|
|
|
|
xorriso/parse_exec.h \
|
|
|
|
xorriso/parse_exec.c \
|
|
|
|
xorriso/opts_a_c.c \
|
|
|
|
xorriso/opts_d_h.c \
|
|
|
|
xorriso/opts_i_o.c \
|
|
|
|
xorriso/opts_p_z.c \
|
|
|
|
\
|
2008-02-01 19:59:12 +00:00
|
|
|
xorriso/xorrisoburn.h \
|
2010-05-15 18:48:10 +00:00
|
|
|
xorriso/base_obj.h \
|
|
|
|
xorriso/base_obj.c \
|
|
|
|
xorriso/lib_mgt.h \
|
|
|
|
xorriso/lib_mgt.c \
|
|
|
|
xorriso/sort_cmp.h \
|
|
|
|
xorriso/sort_cmp.c \
|
|
|
|
xorriso/drive_mgt.h \
|
|
|
|
xorriso/drive_mgt.c \
|
|
|
|
xorriso/iso_img.h \
|
|
|
|
xorriso/iso_img.c \
|
|
|
|
xorriso/iso_tree.h \
|
|
|
|
xorriso/iso_tree.c \
|
|
|
|
xorriso/iso_manip.h \
|
|
|
|
xorriso/iso_manip.c \
|
|
|
|
xorriso/write_run.h \
|
|
|
|
xorriso/write_run.c \
|
|
|
|
xorriso/read_run.h \
|
|
|
|
xorriso/read_run.c \
|
|
|
|
xorriso/filters.h \
|
|
|
|
xorriso/filters.c \
|
2008-07-09 15:56:23 +00:00
|
|
|
xorriso/xorriso_timestamp.h \
|
2011-12-07 08:06:35 +00:00
|
|
|
xorriso/xorriso_buildstamp.h
|
2010-05-18 17:46:20 +00:00
|
|
|
|
|
|
|
libisoburn_libisoburn_la_LIBADD = \
|
|
|
|
-lisofs \
|
|
|
|
-lburn
|
|
|
|
|
|
|
|
libinclude_HEADERS = \
|
|
|
|
libisoburn/libisoburn.h \
|
|
|
|
xorriso/xorriso.h
|
|
|
|
|
2010-05-19 16:06:36 +00:00
|
|
|
# libisoburn_libisoburn_la_CFLAGS = $(READLINE_DEF) $(LIBACL_DEF) $(XATTR_DEF) \
|
|
|
|
# $(EXTF_DEF) $(EXTF_SUID_DEF) $(ZLIB_DEF) \
|
|
|
|
# $(XORRISO_DVD_OBS_64K)
|
|
|
|
|
2010-05-18 17:46:20 +00:00
|
|
|
## ========================================================================= ##
|
|
|
|
|
|
|
|
|
|
|
|
# This is the reference application of libisoburn. See man xorriso/xorriso.1
|
|
|
|
#
|
|
|
|
bin_PROGRAMS = \
|
|
|
|
xorriso/xorriso
|
|
|
|
|
|
|
|
# This looks quite ugly with make install: xorriso.c is compiled twice again
|
|
|
|
#
|
|
|
|
# Trying to create a build timestamp file
|
|
|
|
#
|
|
|
|
# BUILT_SOURCES = xorriso/xorriso_buildstamp.h
|
|
|
|
#
|
|
|
|
# phony targets get rebuilt every time
|
|
|
|
#
|
|
|
|
# .PHONY: xorriso/xorriso_buildstamp.h
|
|
|
|
# xorriso/xorriso_buildstamp.h:
|
|
|
|
# date -u '+#define Xorriso_build_timestamP "%Y.%m.%d.%H%M%S"' >xorriso/xorriso_buildstamp.h
|
|
|
|
# cat xorriso/xorriso_buildstamp.h
|
|
|
|
|
|
|
|
xorriso_xorriso_CPPFLAGS = -Ilibisoburn
|
2010-05-19 16:06:36 +00:00
|
|
|
# xorriso_xorriso_CFLAGS = $(READLINE_DEF) $(LIBACL_DEF) $(XATTR_DEF) \
|
|
|
|
# $(EXTF_DEF) $(EXTF_SUID_DEF) $(ZLIB_DEF) \
|
|
|
|
# $(XORRISO_DVD_OBS_64K)
|
2010-05-18 17:46:20 +00:00
|
|
|
|
|
|
|
xorriso_xorriso_LDADD = libisoburn/libisoburn.la -lisofs -lburn \
|
|
|
|
$(THREAD_LIBS) $(LIBBURN_ARCH_LIBS)
|
|
|
|
|
|
|
|
xorriso_xorriso_SOURCES = \
|
|
|
|
xorriso/xorriso.h \
|
|
|
|
xorriso/xorriso_main.c
|
2007-09-14 04:32:05 +00:00
|
|
|
|
|
|
|
|
2008-07-08 09:27:05 +00:00
|
|
|
# Install symbolic links to the xorriso binary
|
|
|
|
#
|
|
|
|
install-exec-hook:
|
2008-07-21 16:17:44 +00:00
|
|
|
if test -e "$(DESTDIR)$(bindir)"/xorrisofs ; then rm "$(DESTDIR)$(bindir)"/xorrisofs ; else echo ; fi
|
|
|
|
ln -s xorriso "$(DESTDIR)$(bindir)"/xorrisofs
|
|
|
|
if test -e "$(DESTDIR)$(bindir)"/osirrox ; then rm "$(DESTDIR)$(bindir)"/osirrox ; else echo ; fi
|
|
|
|
ln -s xorriso "$(DESTDIR)$(bindir)"/osirrox
|
|
|
|
if test -e "$(DESTDIR)$(bindir)"/xorrecord ; then rm "$(DESTDIR)$(bindir)"/xorrecord ; else echo ; fi
|
|
|
|
ln -s xorriso "$(DESTDIR)$(bindir)"/xorrecord
|
2014-12-29 10:59:24 +00:00
|
|
|
$(LIBBURNIA_LDCONFIG_CMD) "$(DESTDIR)$(libdir)" || echo 'NOTE: Explicit dynamic library configuration failed. If needed, configure manually for:' "$(DESTDIR)$(libdir)"
|
2008-07-08 09:27:05 +00:00
|
|
|
|
2008-07-09 15:56:23 +00:00
|
|
|
|
2008-07-21 15:52:59 +00:00
|
|
|
# Alternative to the disabled .PHONY above.
|
|
|
|
# Trying to create a build timestamp file semi-manually: make buildstamped
|
2008-07-09 15:56:23 +00:00
|
|
|
#
|
|
|
|
buildstamp:
|
|
|
|
date -u '+#define Xorriso_build_timestamP "%Y.%m.%d.%H%M%S"' >xorriso/xorriso_buildstamp.h
|
|
|
|
cat xorriso/xorriso_buildstamp.h
|
|
|
|
|
|
|
|
# For now make buildstamped has to be performed explicitely.
|
|
|
|
buildstamped: buildstamp
|
|
|
|
make
|
2008-07-19 11:30:08 +00:00
|
|
|
|
2008-07-09 15:56:23 +00:00
|
|
|
|
2011-12-03 12:43:52 +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 test/.libs
|
|
|
|
|
2008-07-09 15:56:23 +00:00
|
|
|
|
2010-03-18 10:13:35 +00:00
|
|
|
## Build companion applications
|
2008-02-10 13:09:35 +00:00
|
|
|
noinst_PROGRAMS = \
|
2010-03-18 10:13:35 +00:00
|
|
|
test/compare_file \
|
|
|
|
xorriso/make_xorriso_1
|
2008-02-10 13:09:35 +00:00
|
|
|
|
|
|
|
# A program to compare two files in mirrored trees in mounted filesystems
|
|
|
|
# To compare tree /media/dvd and /original/dir :
|
|
|
|
# find /media/dvd -exec test/compare_file '{}' /media/dvd /original/dir ';'
|
|
|
|
#
|
|
|
|
test_compare_file_CPPFLAGS =
|
|
|
|
test_compare_file_CFLAGS =
|
|
|
|
test_compare_file_LDADD =
|
|
|
|
test_compare_file_SOURCES = test/compare_file.c
|
|
|
|
|
2010-03-18 10:13:35 +00:00
|
|
|
# Specialized converter from xorriso/xorriso.texi to xorriso/xorriso.1
|
|
|
|
#
|
|
|
|
xorriso_make_xorriso_1_CPPFLAGS =
|
|
|
|
xorriso_make_xorriso_1_CFLAGS =
|
|
|
|
xorriso_make_xorriso_1_LDADD =
|
|
|
|
xorriso_make_xorriso_1_SOURCES = xorriso/make_xorriso_1.c
|
2008-02-10 13:09:35 +00:00
|
|
|
|
2012-12-27 09:53:59 +00:00
|
|
|
# A Proof-of-concept for frontends
|
|
|
|
bin_SCRIPTS = \
|
|
|
|
frontend/xorriso-tcltk
|
|
|
|
|
|
|
|
|
2007-09-14 04:32:05 +00:00
|
|
|
## ========================================================================= ##
|
|
|
|
|
|
|
|
## Build documentation (You need Doxygen for this to work)
|
|
|
|
webhost = http://libburn-api.pykix.org
|
|
|
|
webpath = /
|
|
|
|
docdir = $(DESTDIR)$(prefix)/share/doc/$(PACKAGE)-$(VERSION)
|
|
|
|
|
|
|
|
doc: doc/html
|
|
|
|
|
|
|
|
doc/html: doc/doxygen.conf
|
|
|
|
if [ -f ./doc/doc.lock ]; then \
|
|
|
|
$(RM) -r doc/html; \
|
|
|
|
doxygen doc/doxygen.conf; \
|
|
|
|
fi
|
|
|
|
|
|
|
|
doc-upload: doc/html
|
|
|
|
scp -r $</* $(webhost):$(webpath)
|
|
|
|
|
2010-07-29 16:50:16 +00:00
|
|
|
## Not by default any more.
|
|
|
|
## It is unclear who is supposed to create file ./doc/doc.lock
|
|
|
|
# all: doc
|
2007-09-14 04:32:05 +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)
|
|
|
|
|
|
|
|
## ========================================================================= ##
|
|
|
|
|
|
|
|
# Indent source files
|
|
|
|
indent_files = \
|
2008-01-26 00:26:57 +00:00
|
|
|
$(libisoburn_libisoburn_la_SOURCES)
|
2007-09-14 04:32:05 +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 19:59:12 +00:00
|
|
|
libisoburn-1.pc
|
2007-09-14 04:32:05 +00:00
|
|
|
|
2011-03-05 14:15:32 +00:00
|
|
|
man_MANS = \
|
|
|
|
xorriso/xorriso.1 \
|
2011-10-25 10:39:10 +00:00
|
|
|
xorriso/xorrisofs.1 \
|
|
|
|
xorriso/xorrecord.1
|
2007-09-14 04:32:05 +00:00
|
|
|
|
2011-03-05 14:15:32 +00:00
|
|
|
info_TEXINFOS = \
|
|
|
|
xorriso/xorriso.texi \
|
2011-10-25 10:39:10 +00:00
|
|
|
xorriso/xorrisofs.texi \
|
|
|
|
xorriso/xorrecord.texi
|
2010-03-21 12:45:43 +00:00
|
|
|
|
2014-06-15 18:33:28 +00:00
|
|
|
# To have a file in releng_generated_data. If the directory itself is listed
|
|
|
|
# in Makefile.am EXTRA_DIST, then its .svn subdir gets into the tarball.
|
|
|
|
releng/releng_generated_data/placeholder:
|
|
|
|
touch releng/releng_generated_data/placeholder
|
|
|
|
|
2007-09-14 04:32:05 +00:00
|
|
|
EXTRA_DIST = \
|
2011-12-03 13:11:16 +00:00
|
|
|
bootstrap \
|
2008-02-01 19:59:12 +00:00
|
|
|
libisoburn-1.pc.in \
|
2007-09-14 04:32:05 +00:00
|
|
|
version.h.in \
|
2008-12-17 10:22:35 +00:00
|
|
|
doc/comments \
|
|
|
|
doc/doxygen.conf.in \
|
2010-09-23 13:56:22 +00:00
|
|
|
doc/partition_offset.wiki \
|
2011-11-09 14:52:36 +00:00
|
|
|
doc/qemu_xorriso.wiki \
|
2011-04-04 14:07:38 +00:00
|
|
|
doc/startup_file.txt \
|
2012-12-27 09:53:59 +00:00
|
|
|
frontend/frontend_pipes_xorriso.c \
|
|
|
|
frontend/README-tcltk \
|
2013-03-18 10:47:27 +00:00
|
|
|
frontend/xorriso-tcltk \
|
2013-07-04 10:47:26 +00:00
|
|
|
frontend/sh_on_named_pipes.sh \
|
2007-09-14 04:32:05 +00:00
|
|
|
README \
|
|
|
|
AUTHORS \
|
|
|
|
CONTRIBUTORS \
|
|
|
|
COPYRIGHT \
|
|
|
|
COPYING \
|
2008-02-14 10:20:01 +00:00
|
|
|
INSTALL \
|
2010-09-15 06:57:53 +00:00
|
|
|
ChangeLog \
|
2010-07-05 12:29:50 +00:00
|
|
|
libisoburn/libisoburn.ver \
|
2008-02-14 10:20:01 +00:00
|
|
|
xorriso/changelog.txt \
|
2008-07-09 15:56:23 +00:00
|
|
|
xorriso/xorriso_buildstamp_none.h \
|
2010-02-23 09:54:13 +00:00
|
|
|
xorriso/README_gnu_xorriso \
|
2010-03-18 10:13:35 +00:00
|
|
|
xorriso/make_docs.sh \
|
2011-09-23 11:48:52 +00:00
|
|
|
releng/README \
|
|
|
|
releng/auto_cxx \
|
|
|
|
releng/auto_isocontent \
|
|
|
|
releng/auto_printsize \
|
|
|
|
releng/change_shell_to_use \
|
|
|
|
releng/codesamples/api_3lib.cpp \
|
|
|
|
releng/codesamples/api_xorriso.cpp \
|
|
|
|
releng/inc/releng_getopts.inc \
|
|
|
|
releng/jigdo-gen-md5-list \
|
|
|
|
releng/jigdo-gen-md5-list.1 \
|
|
|
|
releng/manual_burn \
|
|
|
|
releng/manual_devices \
|
|
|
|
releng/manual_isojigdo \
|
2014-06-15 18:33:28 +00:00
|
|
|
releng/releng_generated_data/placeholder \
|
2011-09-23 11:48:52 +00:00
|
|
|
releng/run_all_auto \
|
|
|
|
releng/template_new \
|
2008-02-14 10:20:01 +00:00
|
|
|
$(man_MANS)
|
2007-09-14 04:32:05 +00:00
|
|
|
|
2010-03-21 12:45:43 +00:00
|
|
|
|