minix/commands/flex-2.5.4/build

17 lines
435 B
Text
Raw Normal View History

2005-09-19 15:15:15 +02:00
#!/bin/sh
2006-07-18 16:52:53 +02:00
CCACHE=config.cache
rm -f $CCACHE
2006-07-21 16:56:23 +02:00
make distclean
L=libfl.a
YACC=/usr/bin/yacc RANLIB=true AR=ar CONFIG_SHELL=/bin/bigsh CC=cc /bin/bigsh ./configure --prefix=/usr
2006-07-21 16:55:33 +02:00
make clean all install
mv /usr/lib/$L /usr/lib/i386
2006-07-18 16:52:53 +02:00
if [ -f /usr/gnu/bin/gcc ]
then PATH=/usr/gnu/bin:$PATH
rm -f $CCACHE
YACC=/usr/bin/yacc CC=gcc CONFIG_SHELL=/bin/bigsh AR=gar /bin/bigsh ./configure --prefix=/usr/local/gnu
2006-07-21 16:55:33 +02:00
make clean libfl.a install
fi