Added -I/usr/pkg/include und -L/usr/pkg/lib for NetBSD
This commit is contained in:
parent
a4a13cbe2c
commit
dcd3845fa2
@ -1,10 +1,14 @@
|
|||||||
AC_DEFUN([LIBBURNIA_SET_FLAGS],
|
AC_DEFUN([LIBBURNIA_SET_FLAGS],
|
||||||
[
|
[
|
||||||
case $target_os in
|
case $target_os in
|
||||||
freebsd* | netbsd*)
|
freebsd*)
|
||||||
LDFLAGS="$LDFLAGS -L/usr/local/lib"
|
LDFLAGS="$LDFLAGS -L/usr/local/lib"
|
||||||
CPPFLAGS="$CPPFLAGS -I/usr/local/include"
|
CPPFLAGS="$CPPFLAGS -I/usr/local/include"
|
||||||
;;
|
;;
|
||||||
|
netbsd*)
|
||||||
|
LDFLAGS="$LDFLAGS -L/usr/local/lib -L/usr/pkg/lib"
|
||||||
|
CPPFLAGS="$CPPFLAGS -I/usr/local/include -I/usr/pkg/include"
|
||||||
|
;;
|
||||||
solaris*)
|
solaris*)
|
||||||
LDFLAGS="$LDFLAGS -L/usr/local/lib"
|
LDFLAGS="$LDFLAGS -L/usr/local/lib"
|
||||||
esac
|
esac
|
||||||
|
@ -47,10 +47,12 @@ else
|
|||||||
mkdir "${GEN_DATA_DIR}"
|
mkdir "${GEN_DATA_DIR}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
INCLUDE_DIRS="-I../ -I../../libburn -I../../libisofs -I/usr/local/include -I/usr/pkg/include"
|
||||||
|
|
||||||
# process sample code tests
|
# process sample code tests
|
||||||
for SMPL in `ls "${SAMPLE_CODE_DIR}"/*.cpp`; do
|
for SMPL in `ls "${SAMPLE_CODE_DIR}"/*.cpp`; do
|
||||||
# CMD_CPL="${CC} -I../ -L ../libisoburn/.libs/ ${CFLAGS} -lisoburn -o ${SMPL}.obj ${SMPL}"
|
# CMD_CPL="${CC} -I../ -L ../libisoburn/.libs/ ${CFLAGS} -lisoburn -o ${SMPL}.obj ${SMPL}"
|
||||||
CMD_CPL="${CC} -c -I../ -I../../libburn -I../../libisofs ${CFLAGS} -o ${SMPL}.obj ${SMPL}"
|
CMD_CPL="${CC} -c ${INCLUDE_DIRS} ${CFLAGS} -o ${SMPL}.obj ${SMPL}"
|
||||||
printf "${SELF}: ${CMD_CPL}"
|
printf "${SELF}: ${CMD_CPL}"
|
||||||
set +e
|
set +e
|
||||||
${CMD_CPL}
|
${CMD_CPL}
|
||||||
|
@ -1 +1 @@
|
|||||||
#define Xorriso_timestamP "2014.04.29.174832"
|
#define Xorriso_timestamP "2014.05.02.090851"
|
||||||
|
Loading…
Reference in New Issue
Block a user