1999-04-19 02:06:54 +08:00
|
|
|
#!/bin/sh
|
1999-12-02 10:14:06 +08:00
|
|
|
# $Id$
|
1999-04-19 02:06:54 +08:00
|
|
|
|
2002-06-24 11:05:00 +08:00
|
|
|
while test $# -gt 0; do
|
|
|
|
if test "$1" = "--copy"; then
|
|
|
|
automake_flags=--copy
|
|
|
|
fi
|
1999-08-03 05:43:37 +08:00
|
|
|
|
2002-06-24 11:05:00 +08:00
|
|
|
if test "$1" = "--ZendEngine2"; then
|
|
|
|
ZENDDIR=ZendEngine2
|
|
|
|
echo "Using Zend Engine 2 code"
|
|
|
|
fi
|
1999-07-17 20:27:54 +08:00
|
|
|
|
2002-06-24 11:05:00 +08:00
|
|
|
shift
|
|
|
|
done
|
2002-06-23 23:47:40 +08:00
|
|
|
|
2002-06-24 11:05:00 +08:00
|
|
|
if test -z "$ZENDDIR"; then
|
2002-06-24 00:31:54 +08:00
|
|
|
ZENDDIR=Zend
|
2002-06-24 11:05:00 +08:00
|
|
|
echo "using default Zend directory"
|
2002-06-24 00:31:54 +08:00
|
|
|
fi
|
|
|
|
|
2000-08-24 13:55:19 +08:00
|
|
|
rm -f generated_lists
|
|
|
|
|
2002-07-20 22:33:09 +08:00
|
|
|
${MAKE:-make} -s -f build/build.mk AMFLAGS="$automake_flags" ZENDDIR="$ZENDDIR"
|