2008-01-16 20:13:18 +00:00
|
|
|
pkgconfigdir=$(libdir)/pkgconfig
|
|
|
|
libincludedir=
|
|
|
|
|
|
|
|
lib_LTLIBRARIES =
|
|
|
|
|
|
|
|
## ========================================================================= ##
|
|
|
|
|
|
|
|
libinclude_HEADERS =
|
|
|
|
|
|
|
|
## ========================================================================= ##
|
|
|
|
|
|
|
|
bin_PROGRAMS = \
|
|
|
|
xorriso/xorriso
|
|
|
|
|
|
|
|
xorriso_xorriso_CPPFLAGS = -I./libburn -I./libisofs -I./libisoburn -I./xorriso
|
|
|
|
|
|
|
|
# No readline in the vanilla version because the necessary headers
|
|
|
|
# are in a separate readline-development package.
|
2008-01-16 23:36:17 +00:00
|
|
|
xorriso_xorriso_CFLAGS = -DXorriso_standalonE -DXorriso_with_maiN -DXorriso_with_regeX $(READLINE_DEF)
|
2008-01-16 20:13:18 +00:00
|
|
|
|
|
|
|
xorriso_xorriso_LDADD = $(THREAD_LIBS)
|
|
|
|
|
|
|
|
xorriso_xorriso_SOURCES = \
|
|
|
|
\
|
2008-02-01 20:02:39 +00:00
|
|
|
xorriso/xorriso.h \
|
|
|
|
xorriso/xorriso_private.h \
|
2008-01-16 20:13:18 +00:00
|
|
|
xorriso/xorriso.c \
|
2008-02-01 20:02:39 +00:00
|
|
|
xorriso/xorrisoburn.h \
|
2008-01-16 20:13:18 +00:00
|
|
|
xorriso/xorrisoburn.c \
|
|
|
|
xorriso/xorriso_timestamp.h \
|
2008-07-09 15:56:23 +00:00
|
|
|
xorriso/xorriso_buildstamp.h \
|
2008-01-16 20:13:18 +00:00
|
|
|
\
|
|
|
|
libisoburn/libisoburn.h \
|
|
|
|
libisoburn/isoburn.h \
|
|
|
|
libisoburn/isoburn.c \
|
|
|
|
libisoburn/isofs_wrap.c \
|
|
|
|
libisoburn/burn_wrap.c \
|
|
|
|
libisoburn/data_source.c \
|
|
|
|
\
|
|
|
|
libisofs/builder.h \
|
|
|
|
libisofs/builder.c \
|
|
|
|
libisofs/error.h \
|
|
|
|
libisofs/node.h \
|
|
|
|
libisofs/node.c \
|
|
|
|
libisofs/tree.h \
|
|
|
|
libisofs/tree.c \
|
|
|
|
libisofs/image.h \
|
|
|
|
libisofs/image.c \
|
2008-01-19 09:05:13 +00:00
|
|
|
libisofs/iso1999.h \
|
|
|
|
libisofs/iso1999.c \
|
2008-01-16 20:13:18 +00:00
|
|
|
libisofs/fsource.h \
|
|
|
|
libisofs/fsource.c \
|
|
|
|
libisofs/fs_local.c \
|
|
|
|
libisofs/fs_image.h \
|
|
|
|
libisofs/fs_image.c \
|
|
|
|
libisofs/messages.h \
|
|
|
|
libisofs/messages.c \
|
|
|
|
libisofs/libiso_msgs.h \
|
|
|
|
libisofs/libiso_msgs.c \
|
|
|
|
libisofs/stream.h \
|
|
|
|
libisofs/stream.c \
|
|
|
|
libisofs/util.h \
|
|
|
|
libisofs/util.c \
|
|
|
|
libisofs/util_rbtree.c \
|
|
|
|
libisofs/util_htable.c \
|
|
|
|
libisofs/filesrc.h \
|
|
|
|
libisofs/filesrc.c \
|
|
|
|
libisofs/ecma119.h \
|
|
|
|
libisofs/ecma119.c \
|
|
|
|
libisofs/ecma119_tree.h \
|
|
|
|
libisofs/ecma119_tree.c \
|
|
|
|
libisofs/writer.h \
|
|
|
|
libisofs/buffer.c \
|
|
|
|
libisofs/rockridge.h \
|
|
|
|
libisofs/rockridge.c \
|
|
|
|
libisofs/rockridge_read.c \
|
|
|
|
libisofs/joliet.h \
|
|
|
|
libisofs/joliet.c \
|
|
|
|
libisofs/eltorito.h \
|
|
|
|
libisofs/eltorito.c \
|
|
|
|
libisofs/data_source.c \
|
2008-03-04 17:41:43 +00:00
|
|
|
libisofs/find.c \
|
|
|
|
libisofs/filter.h \
|
|
|
|
libisofs/filter.c \
|
|
|
|
libisofs/filters/xor_encrypt.c \
|
2008-01-16 20:13:18 +00:00
|
|
|
\
|
|
|
|
libburn/async.c \
|
|
|
|
libburn/async.h \
|
|
|
|
libburn/back_hacks.h \
|
|
|
|
libburn/cleanup.c \
|
|
|
|
libburn/cleanup.h \
|
|
|
|
libburn/crc.c \
|
|
|
|
libburn/crc.h \
|
|
|
|
libburn/debug.c \
|
|
|
|
libburn/debug.h \
|
|
|
|
libburn/drive.c \
|
|
|
|
libburn/drive.h \
|
|
|
|
libburn/error.h \
|
|
|
|
libburn/file.c \
|
|
|
|
libburn/file.h \
|
|
|
|
libburn/init.c \
|
|
|
|
libburn/init.h \
|
|
|
|
libburn/lec.c \
|
|
|
|
libburn/lec.h \
|
|
|
|
libburn/libburn.h \
|
|
|
|
libburn/libdax_audioxtr.h \
|
|
|
|
libburn/libdax_audioxtr.c \
|
|
|
|
libburn/libdax_msgs.h \
|
|
|
|
libburn/libdax_msgs.c \
|
|
|
|
libburn/mmc.c \
|
|
|
|
libburn/mmc.h \
|
|
|
|
libburn/null.c \
|
|
|
|
libburn/null.h \
|
|
|
|
libburn/options.c \
|
|
|
|
libburn/options.h \
|
|
|
|
libburn/os.h \
|
|
|
|
libburn/read.c \
|
|
|
|
libburn/read.h \
|
|
|
|
libburn/sbc.c \
|
|
|
|
libburn/sbc.h \
|
|
|
|
libburn/sector.c \
|
|
|
|
libburn/sector.h \
|
|
|
|
libburn/sg.c \
|
|
|
|
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 \
|
|
|
|
libburn/write.h \
|
|
|
|
\
|
|
|
|
version.h
|
|
|
|
|
2008-02-08 10:22:08 +00:00
|
|
|
noinst_PROGRAMS = \
|
|
|
|
test/compare_file
|
|
|
|
|
|
|
|
# A program to compare two trees of files 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
|
|
|
|
|
|
|
|
|
2008-07-08 09:27:05 +00:00
|
|
|
# Install symbolic links to the xorriso binary
|
|
|
|
#
|
|
|
|
install-exec-hook:
|
|
|
|
if test -e $(bindir)/xorrisofs ; then rm $(bindir)/xorrisofs ; else echo ; fi
|
|
|
|
ln -s xorriso $(bindir)/xorrisofs
|
|
|
|
if test -e $(bindir)/osirrox ; then rm $(bindir)/osirrox ; else echo ; fi
|
|
|
|
ln -s xorriso $(bindir)/osirrox
|
2008-07-10 16:43:42 +00:00
|
|
|
if test -e $(bindir)/xorrecord ; then rm $(bindir)/xorrecord ; else echo ; fi
|
|
|
|
ln -s xorriso $(bindir)/xorrecord
|
2008-07-08 09:27:05 +00:00
|
|
|
|
2008-07-09 15:56:23 +00:00
|
|
|
|
|
|
|
# Trying to create a build timestamp file
|
|
|
|
#
|
|
|
|
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 manually.
|
|
|
|
buildstamped: buildstamp
|
|
|
|
make
|
|
|
|
#
|
|
|
|
# Processing of the "all:" rule happens too late.
|
|
|
|
# How to create a dependency of xorriso.c on buildstamp ?
|
|
|
|
# Not working:
|
|
|
|
# Add xorriso_buildstamp.h to xorriso_xorriso_SOURCES and make it depend
|
|
|
|
# on buildstamp. It runs. But at quite random occasions.
|
|
|
|
# xorriso/xorriso_buildstamp.h: buildstamp
|
|
|
|
#
|
|
|
|
# all: buildstamp
|
|
|
|
|
2008-01-16 20:13:18 +00:00
|
|
|
## ========================================================================= ##
|
|
|
|
|
|
|
|
# Indent source files
|
|
|
|
indent_files =
|
|
|
|
|
|
|
|
|
|
|
|
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 = \
|
|
|
|
xorriso.pc
|
|
|
|
|
|
|
|
man_MANS = xorriso/xorriso.1
|
|
|
|
|
|
|
|
EXTRA_DIST = \
|
|
|
|
xorriso.pc.in \
|
|
|
|
version.h.in \
|
|
|
|
README \
|
|
|
|
AUTHORS \
|
|
|
|
CONTRIBUTORS \
|
|
|
|
COPYRIGHT \
|
|
|
|
COPYING \
|
|
|
|
INSTALL \
|
2008-03-04 17:41:43 +00:00
|
|
|
xorriso/changelog.txt \
|
2008-07-09 20:11:34 +00:00
|
|
|
xorriso/xorriso_buildstamp_none.h \
|
2008-01-16 20:13:18 +00:00
|
|
|
$(man_MANS)
|
|
|
|
|
|
|
|
|