New compile_cdrskin.sh option -dvd_obs_64k, adapted to new .o names of libburn

This commit is contained in:
Thomas Schmitt 2009-11-16 16:55:58 +00:00
parent b28165f10b
commit 43761c55ef

View File

@ -8,9 +8,10 @@ debug_opts="-O2"
def_opts= def_opts=
largefile_opts="-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE=1" largefile_opts="-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE=1"
libvers="-DCdrskin_libburn_0_7_3" libvers="-DCdrskin_libburn_0_7_3"
cleanup_src_or_obj="libburn/cleanup.o" burn="libburn/libburn_libburn_la-"
libdax_msgs_o="libburn/libdax_msgs.o" cleanup_src_or_obj="$burn"cleanup.o
libdax_audioxtr_o="libburn/libdax_audioxtr.o" libdax_msgs_o="$burn"libdax_msgs.o
libdax_audioxtr_o="$burn"libdax_audioxtr.o
do_strip=0 do_strip=0
static_opts= static_opts=
warn_opts="-Wall" warn_opts="-Wall"
@ -31,20 +32,20 @@ do
then then
libvers="-DCdrskin_libburn_cvs_A60220_tS" libvers="-DCdrskin_libburn_cvs_A60220_tS"
libdax_audioxtr_o= libdax_audioxtr_o=
libdax_msgs_o="libburn/message.o" libdax_msgs_o="$burn"message.o
cleanup_src_or_obj="-DCleanup_has_no_libburn_os_H cdrskin/cleanup.c" cleanup_src_or_obj="-DCleanup_has_no_libburn_os_H cdrskin/cleanup.c"
elif test "$i" = "-libburn_0_7_2" elif test "$i" = "-libburn_0_7_2"
then then
libvers="-DCdrskin_libburn_0_7_2" libvers="-DCdrskin_libburn_0_7_2"
libdax_audioxtr_o="libburn/libdax_audioxtr.o" libdax_audioxtr_o="$burn"libdax_audioxtr.o
libdax_msgs_o="libburn/libdax_msgs.o" libdax_msgs_o="$burn"libdax_msgs.o
cleanup_src_or_obj="libburn/cleanup.o" cleanup_src_or_obj="$burn"cleanup.o
elif test "$i" = "-libburn_svn" elif test "$i" = "-libburn_svn"
then then
libvers="-DCdrskin_libburn_0_7_3" libvers="-DCdrskin_libburn_0_7_3"
libdax_audioxtr_o="libburn/libdax_audioxtr.o" libdax_audioxtr_o="$burn"libdax_audioxtr.o
libdax_msgs_o="libburn/libdax_msgs.o" libdax_msgs_o="$burn"libdax_msgs.o
cleanup_src_or_obj="libburn/cleanup.o" cleanup_src_or_obj="$burn"cleanup.o
elif test "$i" = "-newapi" -o "$i" = "-experimental" elif test "$i" = "-newapi" -o "$i" = "-experimental"
then then
def_opts="$def_opts -DCdrskin_new_api_tesT" def_opts="$def_opts -DCdrskin_new_api_tesT"
@ -58,6 +59,9 @@ do
elif test "$i" = "-o_direct" elif test "$i" = "-o_direct"
then then
def_opts="$def_opts -DCdrskin_read_o_direcT" def_opts="$def_opts -DCdrskin_read_o_direcT"
elif test "$i" = "-dvd_obs_64k"
then
def_opts="$def_opts -DCdrskin_dvd_obs_default_64K"
elif test "$i" = "-do_not_compile_cdrskin" elif test "$i" = "-do_not_compile_cdrskin"
then then
compile_cdrskin=0 compile_cdrskin=0
@ -81,6 +85,7 @@ do
echo " -libburn_0_7_2 set macro to match libburn-0.7.2" echo " -libburn_0_7_2 set macro to match libburn-0.7.2"
echo " -libburn_svn set macro to match current libburn-SVN." echo " -libburn_svn set macro to match current libburn-SVN."
echo " -o_direct use open(O_DIRECT) on fifo input (Linux only)." echo " -o_direct use open(O_DIRECT) on fifo input (Linux only)."
echo " -dvd_obs_64k 64 KB default size for cdrskin DVD/BD writing."
echo " -do_not_compile_cdrskin omit compilation of cdrskin/cdrskin." echo " -do_not_compile_cdrskin omit compilation of cdrskin/cdrskin."
echo " -experimental use newly introduced libburn features." echo " -experimental use newly introduced libburn features."
echo " -oldfashioned use pre-0.2.2 libburn features only." echo " -oldfashioned use pre-0.2.2 libburn features only."
@ -120,31 +125,31 @@ then
\ \
$cleanup_src_or_obj \ $cleanup_src_or_obj \
\ \
libburn/async.o \ "$burn"async.o \
libburn/debug.o \ "$burn"debug.o \
libburn/drive.o \ "$burn"drive.o \
libburn/file.o \ "$burn"file.o \
libburn/init.o \ "$burn"init.o \
libburn/options.o \ "$burn"options.o \
libburn/source.o \ "$burn"source.o \
libburn/structure.o \ "$burn"structure.o \
\ \
libburn/sg.o \ "$burn"sg.o \
libburn/write.o \ "$burn"write.o \
libburn/read.o \ "$burn"read.o \
$libdax_audioxtr_o \ $libdax_audioxtr_o \
$libdax_msgs_o \ $libdax_msgs_o \
\ \
libburn/mmc.o \ "$burn"mmc.o \
libburn/sbc.o \ "$burn"sbc.o \
libburn/spc.o \ "$burn"spc.o \
libburn/util.o \ "$burn"util.o \
\ \
libburn/sector.o \ "$burn"sector.o \
libburn/toc.o \ "$burn"toc.o \
\ \
libburn/crc.o \ "$burn"crc.o \
libburn/ecma130ab.o \ "$burn"ecma130ab.o \
\ \
-lpthread -lpthread
@ -187,8 +192,8 @@ then
-DDewav_without_libburN \ -DDewav_without_libburN \
-o test/dewav \ -o test/dewav \
test/dewav.c \ test/dewav.c \
libburn/libdax_audioxtr.o \ "$burn"libdax_audioxtr.o \
libburn/libdax_msgs.o \ "$burn"libdax_msgs.o \
\ \
-lpthread -lpthread