nginx/auto/lib/pcre/make

49 lines
1.1 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)
echo "$PCRE/pcre.lib:" >> $MAKEFILE
;;
*)
echo "$PCRE/.libs/libpcre.a:" >> $MAKEFILE
;;
esac
case $PLATFORM in
win32)
cp auto/lib/pcre/patch.pcre $PCRE
cp auto/lib/pcre/patch.config $PCRE
cp auto/lib/pcre/$makefile $PCRE
echo " cd $PCRE" >> $MAKEFILE
2004-03-10 14:56:39 -06:00
echo " \$(MAKE) -f $makefile CPU_OPT=$CPU_OPT" >> $MAKEFILE
2004-03-09 13:47:07 -06:00
echo " cd ..\\..\\.." >> $MAKEFILE
;;
*)
echo " cd $PCRE \\" >> $MAKEFILE
2004-03-10 14:56:39 -06:00
echo " && CC=$CC $PCRE_OPT \\" >> $MAKEFILE
echo " ./configure --disable-shared \\" >> $MAKEFILE
2004-03-09 13:47:07 -06:00
echo " && \$(MAKE)" >> $MAKEFILE
;;
esac
echo >> $MAKEFILE