Annotation of embedaddon/nginx/auto/lib/pcre/make, revision 1.1

1.1     ! misho       1: 
        !             2: # Copyright (C) Igor Sysoev
        !             3: # Copyright (C) Nginx, Inc.
        !             4: 
        !             5: 
        !             6: case "$NGX_CC_NAME" in
        !             7: 
        !             8:     msvc*)
        !             9:         ngx_makefile=makefile.msvc
        !            10:         ngx_opt="CPU_OPT=\"$CPU_OPT\" LIBC=$LIBC"
        !            11:         ngx_pcre="PCRE=\"$PCRE\""
        !            12:     ;;
        !            13: 
        !            14:     owc*)
        !            15:         ngx_makefile=makefile.owc
        !            16:         ngx_opt="CPU_OPT=\"$CPU_OPT\""
        !            17:         ngx_pcre=`echo PCRE=\"$PCRE\" | sed -e "s/\//$ngx_regex_dirsep/g"`
        !            18:     ;;
        !            19: 
        !            20:     bcc)
        !            21:         ngx_makefile=makefile.bcc
        !            22:         ngx_opt="-DCPU_OPT=\"$CPU_OPT\""
        !            23:         ngx_pcre=`echo \-DPCRE=\"$PCRE\" | sed -e "s/\//$ngx_regex_dirsep/g"`
        !            24:     ;;
        !            25: 
        !            26: esac
        !            27: 
        !            28: 
        !            29: case "$NGX_PLATFORM" in
        !            30: 
        !            31:     win32)
        !            32: 
        !            33:         cat << END                                            >> $NGX_MAKEFILE
        !            34: 
        !            35: `echo "$PCRE/pcre.lib: $NGX_MAKEFILE" | sed -e "s/\//$ngx_regex_dirsep/g"`
        !            36:        \$(MAKE) -f auto/lib/pcre/$ngx_makefile $ngx_pcre $ngx_opt
        !            37: 
        !            38: `echo "$PCRE/pcre.h:" | sed -e "s/\//$ngx_regex_dirsep/g"`
        !            39:        \$(MAKE) -f auto/lib/pcre/$ngx_makefile $ngx_pcre pcre.h
        !            40: 
        !            41: END
        !            42: 
        !            43:     ;;
        !            44: 
        !            45:     *)
        !            46:         cat << END                                            >> $NGX_MAKEFILE
        !            47: 
        !            48: $PCRE/pcre.h:  $PCRE/Makefile
        !            49: 
        !            50: $PCRE/Makefile:        $NGX_MAKEFILE
        !            51:        cd $PCRE \\
        !            52:        && if [ -f Makefile ]; then \$(MAKE) distclean; fi \\
        !            53:        && CC="\$(CC)" CFLAGS="$PCRE_OPT" \\
        !            54:        ./configure --disable-shared $PCRE_CONF_OPT
        !            55: 
        !            56: $PCRE/.libs/libpcre.a: $PCRE/Makefile
        !            57:        cd $PCRE \\
        !            58:        && \$(MAKE) libpcre.la
        !            59: 
        !            60: END
        !            61: 
        !            62:     ;;
        !            63: 
        !            64: esac

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>