# fss-0002

main:
  sed -i -e 's|which|type -p|g' configure
  ./configure $CONF $TARGET
  echo "#define GPAC_SVN_REVISION   \"3432\"" > include/gpac/version.h
  make OPTFLAGS="-O3  -fno-strict-aliasing -Wno-pointer-sign -fPIC -DPIC $CFLAGS"
  make prefix=/ moddir=/lib/gpac mandir=/share/man install
  cp -vR include/gpac/ ${TC}include/
  chgrp -R e_audio /lib/libgpac*.so* /bin/MP4{Box,Client} /lib/gpac
  rm -Rf /share/gpac /tmp/gpac-conf*
  tkis_handle_documentation man applications /share/man

no3d:
  sed -i -e 's|which|type -p|g' configure
  ./configure $CONF --disable-3d $TARGET
  echo "#define GPAC_SVN_REVISION   \"3432\"" > include/gpac/version.h
  make OPTFLAGS="-O3  -fno-strict-aliasing -Wno-pointer-sign -fPIC -DPIC $CFLAGS"
  make prefix=/ moddir=/lib/gpac mandir=/share/man install
  cp -vR include/gpac/ ${TC}include/
  chgrp -R e_audio /lib/libgpac*.so* /bin/MP4{Box,Client} /lib/gpac
  rm -Rf /share/gpac /tmp/gpac-conf*
  tkis_handle_documentation man applications /share/man
