Sha256: 030864dc39980346c0a86ed53b64dd9b9dc88f92080473ce74ea67172dd4084d

Contents?: true

Size: 1.31 KB

Versions: 24

Compression:

Stored size: 1.31 KB

Contents

# Copyright (C) Igor Sysoev
# Copyright (C) Nginx, Inc.


case "$NGX_CC_NAME" in

    msvc*)
        ngx_makefile=makefile.msvc
        ngx_opt="CPU_OPT=\"$CPU_OPT\" LIBC=$LIBC"
        ngx_pcre="PCRE=\"$PCRE\""
    ;;

    owc*)
        ngx_makefile=makefile.owc
        ngx_opt="CPU_OPT=\"$CPU_OPT\""
        ngx_pcre=`echo PCRE=\"$PCRE\" | sed -e "s/\//$ngx_regex_dirsep/g"`
    ;;

    bcc)
        ngx_makefile=makefile.bcc
        ngx_opt="-DCPU_OPT=\"$CPU_OPT\""
        ngx_pcre=`echo \-DPCRE=\"$PCRE\" | sed -e "s/\//$ngx_regex_dirsep/g"`
    ;;

esac


case "$NGX_PLATFORM" in

    win32)

        cat << END                                            >> $NGX_MAKEFILE

`echo "$PCRE/pcre.lib:	$NGX_MAKEFILE" | sed -e "s/\//$ngx_regex_dirsep/g"`
	\$(MAKE) -f auto/lib/pcre/$ngx_makefile $ngx_pcre $ngx_opt

`echo "$PCRE/pcre.h:" | sed -e "s/\//$ngx_regex_dirsep/g"`
	\$(MAKE) -f auto/lib/pcre/$ngx_makefile $ngx_pcre pcre.h

END

    ;;

    *)
        cat << END                                            >> $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_CONF_OPT

$PCRE/.libs/libpcre.a:	$PCRE/Makefile
	cd $PCRE \\
	&& \$(MAKE) libpcre.la

END

    ;;

esac

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
nginxtra-1.4.7.9 vendor/nginx/auto/lib/pcre/make
nginxtra-1.4.6.9 vendor/nginx/auto/lib/pcre/make
nginxtra-1.4.5.9 vendor/nginx/auto/lib/pcre/make
nginxtra-1.4.4.9 vendor/nginx/auto/lib/pcre/make
nginxtra-1.4.3.9 vendor/nginx/auto/lib/pcre/make
nginxtra-1.4.2.9 vendor/nginx/auto/lib/pcre/make
nginxtra-1.4.1.9 vendor/nginx/auto/lib/pcre/make
nginxtra-1.4.0.9 vendor/nginx/auto/lib/pcre/make
nginxtra-1.4.0.8 vendor/nginx/auto/lib/pcre/make
nginxtra-1.2.8.8 vendor/nginx/auto/lib/pcre/make
nginxtra-1.2.7.8 vendor/nginx/auto/lib/pcre/make
nginxtra-1.2.6.8 vendor/nginx/auto/lib/pcre/make
nginxtra-1.2.6.7 vendor/nginx/auto/lib/pcre/make
nginxtra-1.2.5.7 vendor/nginx/auto/lib/pcre/make
nginxtra-1.2.4.7 vendor/nginx/auto/lib/pcre/make
nginxtra-1.2.3.7 vendor/nginx/auto/lib/pcre/make
nginxtra-1.2.3.6 vendor/nginx/auto/lib/pcre/make
nginxtra-1.2.3.5 vendor/nginx/auto/lib/pcre/make
nginxtra-1.2.3.4 vendor/nginx/auto/lib/pcre/make
nginxtra-1.2.2.4 vendor/nginx/auto/lib/pcre/make