comparison auto/lib/pcre/make @ 2840:22c4c012c8c9

switch Win32 building to modern PCRE versions (starting from 7.1) instead of single old 4.4 version
author Igor Sysoev <igor@sysoev.ru>
date Wed, 13 May 2009 19:48:21 +0000
parents ecdc41bf2047
children 005fc2d5e84f 4919fb357a5d
comparison
equal deleted inserted replaced
2839:cb7739c822c6 2840:22c4c012c8c9
26 26
27 27
28 case "$NGX_PLATFORM" in 28 case "$NGX_PLATFORM" in
29 29
30 win32) 30 win32)
31 cp auto/lib/pcre/patch.pcre.in $PCRE
32 cp auto/lib/pcre/patch.pcre.in.owc $PCRE
33 cp auto/lib/pcre/patch.config.in $PCRE
34 cp auto/lib/pcre/patch.pcre.c $PCRE
35 31
36 cat << END >> $NGX_MAKEFILE 32 cat << END >> $NGX_MAKEFILE
37 33
38 `echo "$PCRE/pcre.h: $NGX_MAKEFILE" | sed -e "s/\//$ngx_regex_dirsep/g"` 34 `echo "$PCRE/pcre.lib: $NGX_MAKEFILE" | sed -e "s/\//$ngx_regex_dirsep/g"`
35 \$(MAKE) -f auto/lib/pcre/$ngx_makefile $ngx_pcre $ngx_opt
36
37 `echo "$PCRE/pcre.h:" | sed -e "s/\//$ngx_regex_dirsep/g"`
39 \$(MAKE) -f auto/lib/pcre/$ngx_makefile $ngx_pcre pcre.h 38 \$(MAKE) -f auto/lib/pcre/$ngx_makefile $ngx_pcre pcre.h
40
41 `echo "$PCRE/pcre.lib: $PCRE/pcre.h" | sed -e "s/\//$ngx_regex_dirsep/g"`
42 \$(MAKE) -f auto/lib/pcre/$ngx_makefile $ngx_pcre $ngx_opt
43 39
44 END 40 END
45 41
46 ;; 42 ;;
47 43
54 cd $PCRE \\ 50 cd $PCRE \\
55 && if [ -f Makefile ]; then \$(MAKE) distclean; fi \\ 51 && if [ -f Makefile ]; then \$(MAKE) distclean; fi \\
56 && CC="\$(CC)" CFLAGS="$PCRE_OPT" \\ 52 && CC="\$(CC)" CFLAGS="$PCRE_OPT" \\
57 ./configure --disable-shared 53 ./configure --disable-shared
58 54
59
60 $PCRE/.libs/libpcre.a: $PCRE/Makefile 55 $PCRE/.libs/libpcre.a: $PCRE/Makefile
61 cd $PCRE \\ 56 cd $PCRE \\
62 && \$(MAKE) libpcre.la 57 && \$(MAKE) libpcre.la
63 58
64 END 59 END