nginx/auto/lib/pcre/make

44 lines
1.3 KiB
Plaintext
Raw Normal View History

2004-03-01 14:00:04 -06:00
2004-03-09 13:47:07 -06:00
case $CC in
2004-03-01 14:00:04 -06:00
2004-03-09 13:47:07 -06:00
cl)
makefile=makefile.msvc
;;
wcl386)
makefile=makefile.owc
;;
esac
case $PLATFORM in
win32)
2004-03-11 09:42:41 -06:00
cp auto/lib/pcre/patch.pcre.in $PCRE
cp auto/lib/pcre/patch.config.in $PCRE
2004-03-09 13:47:07 -06:00
cp auto/lib/pcre/$makefile $PCRE
2004-03-11 15:34:52 -06:00
echo "$PCRE/pcre.lib:" >> $MAKEFILE
2004-03-09 13:47:07 -06:00
echo " cd $PCRE" >> $MAKEFILE
2004-03-11 15:34:52 -06:00
echo " \$(MAKE) -f $makefile CPU_OPT=$CPU_OPT LIBC=$LIBC">> $MAKEFILE
2004-03-09 13:47:07 -06:00
echo " cd ..\\..\\.." >> $MAKEFILE
;;
*)
2004-03-11 15:34:52 -06:00
PCRE_OPT="CFLAGS=\"$PCRE_OPT\""
2004-03-11 09:42:41 -06:00
2004-03-11 15:34:52 -06:00
echo "$PCRE/pcre.h:" >> $MAKEFILE
2004-03-09 13:47:07 -06:00
echo " cd $PCRE \\" >> $MAKEFILE
2004-03-10 14:56:39 -06:00
echo " && CC=$CC $PCRE_OPT \\" >> $MAKEFILE
2004-03-11 15:34:52 -06:00
echo " ./configure --disable-shared" >> $MAKEFILE
echo >> $MAKEFILE
echo "$PCRE/.libs/libpcre.a: $PCRE/pcre.h" >> $MAKEFILE
echo " cd $PCRE \\" >> $MAKEFILE
echo " && \$(MAKE) libpcre.la" >> $MAKEFILE
2004-03-09 13:47:07 -06:00
;;
esac
echo >> $MAKEFILE