Updated copyright marks to 2010

This commit is contained in:
2010-01-01 13:00:47 +00:00
parent e37308fe96
commit 8ce9ef039f
9 changed files with 26 additions and 16 deletions

View File

@ -1,7 +1,7 @@
#!/bin/sh
# compile_xorriso.sh
# Copyright 2005 - 2009 Thomas Schmitt, scdbackup@gmx.net, GPL version 2
# Copyright 2005 - 2010 Thomas Schmitt, scdbackup@gmx.net, GPL version 2
#
# Not intended for general use in production installations !
# Rather use: ./bootstrap ; ./configure ; make
@ -26,6 +26,7 @@ warn_opts="-Wall"
nglibisofs=1
def_libreadline="-DXorriso_with_readlinE"
link_libreadline="-lreadline"
link_libcdio=
for i in "$@"
do
@ -43,12 +44,20 @@ do
then
def_libreadline=""
link_libreadline=""
elif test "$i" = "-dvd_obs_64k"
then
def_opts="$def_opts -DXorriso_dvd_obs_default_64K"
elif test "$i" = "-use_libcdio"
then
link_libcdio="-lcdio"
elif test "$i" = "-help" -o "$i" = "--help" -o "$i" = "-h"
then
echo \
"$xorr/compile_xorriso.sh : to be executed above top level directories"
echo "Options:"
echo " -dvd_obs_64k 64 KB default size for DVD/BD writing."
echo " -no_libreadline do not compile for and link with libreadline."
echo " -use_libcdio link with -lcdio because libburn uses it."
echo " -do_diet produce capability reduced lean version."
echo " -do_strip apply program strip to compiled programs."
echo " -g produce debuggable programm."
@ -98,7 +107,7 @@ echo "Version timestamp : $(sed -e 's/#define Xorriso_timestamP "//' -e 's/"$//
date -u '+#define Xorriso_build_timestamP "%Y.%m.%d.%H%M%S"' >"$xorr"/xorriso_buildstamp.h
echo "Build timestamp : $(sed -e 's/#define Xorriso_build_timestamP "//' -e 's/"$//' "$xorr"/xorriso_buildstamp.h)"
echo "compiling program $xorr/xorriso.c $static_opts $debug_opts $def_opts"
echo "compiling program $xorr/xorriso.c $static_opts $debug_opts $def_opts $link_libcdio"
cc -I. -DXorriso_with_maiN $def_libreadline \
$warn_opts \
$static_opts \
@ -147,6 +156,7 @@ cc -I. -DXorriso_with_maiN $def_libreadline \
$libisofs \
\
$link_libreadline \
$link_libcdio \
\
-lpthread \
-lacl \