fix make dependecies: pcre-6.5+ already has pcre.h

This commit is contained in:
Igor Sysoev 2007-04-18 11:09:38 +00:00
parent de92bcccee
commit 5dbc83df06

View File

@ -53,14 +53,16 @@ END
*)
cat << END >> $NGX_MAKEFILE
$PCRE/pcre.h: $NGX_MAKEFILE
$PCRE/pcre.h: $PCRE/Makefile
$PCRE/Makefile: $NGX_MAKEFILE
cd $PCRE \\
&& if [ -f Makefile ]; then \$(MAKE) distclean; fi \\
&& CC="\$(CC)" CFLAGS="$PCRE_OPT" \\
./configure --disable-shared
$PCRE/.libs/libpcre.a: $PCRE/pcre.h
$PCRE/.libs/libpcre.a: $PCRE/Makefile
cd $PCRE \\
&& \$(MAKE) libpcre.la