Lib Build korrigiert - Dynlibs werden jetzt gebaut
git-svn-id: svn://svn.compuextreme.de/Viitor/V962/ViitorMake@4714 504e572c-2e33-0410-9681-be2bf7408885
This commit is contained in:
parent
a12ba57f00
commit
7a219287ce
@ -76,6 +76,19 @@ premk() {
|
|||||||
echo "Nothing to do for premk()"
|
echo "Nothing to do for premk()"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
mk32() {
|
||||||
|
LDFLAGS="-Wl,-rpath-link,/usr/lib" \
|
||||||
|
CC="gcc $BUILDOPTIONS32" \
|
||||||
|
CXX="g++ $BUILDOPTIONS32" \
|
||||||
|
USE_ARCH=$UARCH \
|
||||||
|
./configure --build=$TARGET32 \
|
||||||
|
--prefix=/usr \
|
||||||
|
--sysconfdir=/etc/sysconfig
|
||||||
|
make -j $NUMCPU
|
||||||
|
make -j $NUMCPU DESTDIR=$TMPROOT install
|
||||||
|
make distclean
|
||||||
|
}
|
||||||
|
|
||||||
mk() {
|
mk() {
|
||||||
if [ "$MK64BIT" == "true" ]; then
|
if [ "$MK64BIT" == "true" ]; then
|
||||||
ADDOPTIONS="--libdir=/usr/lib64"
|
ADDOPTIONS="--libdir=/usr/lib64"
|
||||||
@ -83,7 +96,7 @@ mk() {
|
|||||||
LDFLAGS="-Wl,-rpath-link,/usr/$LIBDIR" \
|
LDFLAGS="-Wl,-rpath-link,/usr/$LIBDIR" \
|
||||||
CC="gcc $BUILDOPTIONS" \
|
CC="gcc $BUILDOPTIONS" \
|
||||||
CXX="g++ $BUILDOPTIONS" \
|
CXX="g++ $BUILDOPTIONS" \
|
||||||
./configure --host=$BUILDSYS \
|
./configure --build=$BUILDSYS \
|
||||||
$ADDOPTIONS \
|
$ADDOPTIONS \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
--sysconfdir=/etc/sysconfig
|
--sysconfdir=/etc/sysconfig
|
||||||
|
@ -106,6 +106,7 @@ mk() {
|
|||||||
../dbus*/configure --prefix=/usr \
|
../dbus*/configure --prefix=/usr \
|
||||||
$ADDOPTIONS \
|
$ADDOPTIONS \
|
||||||
--sysconfdir=/etc/sysconfig/dbus \
|
--sysconfdir=/etc/sysconfig/dbus \
|
||||||
|
--libexecdir=/usr/$LIBDIR/dbus-1.0 \
|
||||||
--localstatedir=/var &&
|
--localstatedir=/var &&
|
||||||
make -j $NUMCPU &&
|
make -j $NUMCPU &&
|
||||||
make -j $NUMCPU install &&
|
make -j $NUMCPU install &&
|
||||||
|
@ -81,8 +81,8 @@ premk() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
mk32() {
|
mk32() {
|
||||||
CC="gcc $BUILDOPTIONS32" \
|
CC="gcc $BUILDOPTIONS32 -fPIC" \
|
||||||
CXX="g++ $BUILDOPTIONS32" \
|
CXX="g++ $BUILDOPTIONS32 -fPIC" \
|
||||||
USE_ARCH=$UARCH \
|
USE_ARCH=$UARCH \
|
||||||
./configure --target=$TARGET32 \
|
./configure --target=$TARGET32 \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
@ -94,6 +94,7 @@ mk32() {
|
|||||||
make distclean
|
make distclean
|
||||||
ClearHostSysNameing32 $TMPROOT
|
ClearHostSysNameing32 $TMPROOT
|
||||||
mv $TMPROOT/usr/bin/libfame-config{,-32}
|
mv $TMPROOT/usr/bin/libfame-config{,-32}
|
||||||
|
GenDynLib32 $TMPROOT/usr/lib/libfame.a 0.9.1
|
||||||
}
|
}
|
||||||
|
|
||||||
#Hier wird der Make Prozess der Sourcen definiert
|
#Hier wird der Make Prozess der Sourcen definiert
|
||||||
@ -101,8 +102,8 @@ mk() {
|
|||||||
if [ "$MK64BIT" == "true" ]; then
|
if [ "$MK64BIT" == "true" ]; then
|
||||||
ADDOPTIONS="--libdir=/usr/lib64"
|
ADDOPTIONS="--libdir=/usr/lib64"
|
||||||
fi
|
fi
|
||||||
CC="gcc $BUILDOPTIONS" \
|
CC="gcc $BUILDOPTIONS -fPIC" \
|
||||||
CXX="g++ $BUILDOPTIONS" \
|
CXX="g++ $BUILDOPTIONS -fPIC" \
|
||||||
USE_ARCH=$UARCH \
|
USE_ARCH=$UARCH \
|
||||||
./configure --target=$TARGET \
|
./configure --target=$TARGET \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
@ -110,6 +111,7 @@ mk() {
|
|||||||
--enable-mmx &&
|
--enable-mmx &&
|
||||||
make -j $NUMCPU &&
|
make -j $NUMCPU &&
|
||||||
make -j $NUMCPU DESTDIR=$TMPROOT install
|
make -j $NUMCPU DESTDIR=$TMPROOT install
|
||||||
|
GenDynLib $TMPROOT/usr/$LIBDIR/libfame.a 0.9.1
|
||||||
}
|
}
|
||||||
|
|
||||||
#Funktion wird nach Ablauf des Make Prozesses ausgeführt, und kann
|
#Funktion wird nach Ablauf des Make Prozesses ausgeführt, und kann
|
||||||
|
@ -82,32 +82,34 @@ premk() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
mk32() {
|
mk32() {
|
||||||
CC="gcc $BUILDOPTIONS32" \
|
CC="gcc $BUILDOPTIONS32 -fPIC" \
|
||||||
CXX="g++ $BUILDOPTIONS32" \
|
CXX="g++ $BUILDOPTIONS32 -fPIC" \
|
||||||
USE_ARCH=$UARCH \
|
USE_ARCH=$UARCH \
|
||||||
./configure --target=$TARGET32 \
|
./configure --target=$TARGET32 \
|
||||||
--prefix=/usr/X11R7 \
|
--prefix=/usr \
|
||||||
--with-gnu-ld &&
|
--with-gnu-ld &&
|
||||||
make -j $NUMCPU &&
|
make -j $NUMCPU &&
|
||||||
make -j $NUMCPU DESTDIR=$TMPROOT install
|
make -j $NUMCPU DESTDIR=$TMPROOT install
|
||||||
CheckError "Make install process failed !" 1
|
CheckError "Make install process failed !" 1
|
||||||
make distclean
|
make distclean
|
||||||
|
GenDynLib32 $TMPROOT/usr/lib/libghttp.a 1.0.9
|
||||||
}
|
}
|
||||||
|
|
||||||
mk() {
|
mk() {
|
||||||
if [ "$MK64BIT" == "true" ];then
|
if [ "$MK64BIT" == "true" ];then
|
||||||
ADDOPTIONS="--libdir=/usr/X11R7/lib64"
|
ADDOPTIONS="--libdir=/usr/lib64"
|
||||||
fi
|
fi
|
||||||
CC="gcc $BUILDOPTIONS" \
|
CC="gcc $BUILDOPTIONS -fPIC" \
|
||||||
CXX="g++ $BUILDOPTIONS" \
|
CXX="g++ $BUILDOPTIONS -fPIC" \
|
||||||
USE_ARCH=$UARCH \
|
USE_ARCH=$UARCH \
|
||||||
./configure --target=$TARGET \
|
./configure --target=$TARGET \
|
||||||
--prefix=/usr/X11R7 \
|
--prefix=/usr \
|
||||||
$ADDOPTIONS \
|
$ADDOPTIONS \
|
||||||
--with-gnu-ld &&
|
--with-gnu-ld &&
|
||||||
make -j $NUMCPU &&
|
make -j $NUMCPU &&
|
||||||
make -j $NUMCPU DESTDIR=$TMPROOT install
|
make -j $NUMCPU DESTDIR=$TMPROOT install
|
||||||
CheckError "Make install process failed !" 1
|
CheckError "Make install process failed !" 1
|
||||||
|
GenDynLib $TMPROOT/usr/$LIBDIR/libghttp.a 1.0.9
|
||||||
}
|
}
|
||||||
|
|
||||||
postmk() {
|
postmk() {
|
||||||
|
@ -86,6 +86,7 @@ mk32() {
|
|||||||
CXX="g++ $BUILDOPTIONS32" \
|
CXX="g++ $BUILDOPTIONS32" \
|
||||||
USE_ARCH=$UARCH \
|
USE_ARCH=$UARCH \
|
||||||
./configure --target=$TARGET32 \
|
./configure --target=$TARGET32 \
|
||||||
|
--libdir=\${prefix}/lib \
|
||||||
--x-includes=/usr/X11R7/include \
|
--x-includes=/usr/X11R7/include \
|
||||||
--x-libraries=/usr/X11R7/lib \
|
--x-libraries=/usr/X11R7/lib \
|
||||||
--prefix=/usr
|
--prefix=/usr
|
||||||
@ -95,14 +96,11 @@ mk32() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
mk() {
|
mk() {
|
||||||
if [ "$MK64BIT" == "true" ]; then
|
|
||||||
ADDOPTIONS="--libdir=\${prefix}/lib64"
|
|
||||||
fi
|
|
||||||
CC="gcc $BUILDOPTIONS" \
|
CC="gcc $BUILDOPTIONS" \
|
||||||
CXX="g++ $BUILDOPTIONS" \
|
CXX="g++ $BUILDOPTIONS" \
|
||||||
USE_ARCH=$UARCH \
|
USE_ARCH=$UARCH \
|
||||||
./configure --target=$TARGET \
|
./configure --target=$TARGET \
|
||||||
$ADDOPTIONS \
|
--libdir=\${prefix}/$LIBDIR \
|
||||||
--x-includes=/usr/X11R7/include \
|
--x-includes=/usr/X11R7/include \
|
||||||
--x-libraries=/usr/X11R7/$LIBDIR \
|
--x-libraries=/usr/X11R7/$LIBDIR \
|
||||||
--prefix=/usr
|
--prefix=/usr
|
||||||
@ -111,6 +109,5 @@ mk() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
postmk() {
|
postmk() {
|
||||||
mkdir -p $TMPROOT/usr/lib
|
echo "Nothing to do for postmk()"
|
||||||
cp -a $TMPROOT/lib/* $TMPROOT/usr/lib
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user