mirror of
https://git.code.sf.net/p/quake/quake2forge
synced 2024-12-13 06:01:19 +00:00
740faf6966
when needed and c routines otherwise - HAVE_MASM is off always (in configure.in), only switch it on if you've got masm and you're on windows...
29 lines
516 B
Bash
Executable file
29 lines
516 B
Bash
Executable file
#!/bin/sh
|
|
|
|
# bootstrap the build when checking out from CVS
|
|
|
|
# dodgy hack to use gmake if we're on bsd systems
|
|
if [ -x /usr/local/bin/gmake ]; then
|
|
MAKE=/usr/local/bin/gmake
|
|
else
|
|
MAKE=make
|
|
fi
|
|
|
|
if [ "$1" = "clean" ]; then
|
|
# clean up junk
|
|
|
|
if [ -f Makefile ]; then
|
|
$MAKE distclean
|
|
fi
|
|
find . -name Makefile.in -print | xargs rm -f
|
|
rm -f aclocal.m4 install-sh missing mkinstalldirs \
|
|
stamp-h.in tags configure config.*
|
|
|
|
else
|
|
|
|
aclocal
|
|
autoheader
|
|
automake --foreign --add-missing --copy
|
|
autoconf
|
|
|
|
fi
|