perl (1108:8788f96701d5) perl (1217:ed8c4e263152)
1
2# Copyright (C) Alexander Borisov
3# Copyright (C) NGINX, Inc.
4
5
6shift
7
8for nxt_option; do

--- 150 unchanged lines hidden (view full) ---

159 nxt_obj=${nxt_src%.c}-$NXT_PERL_MODULE.o
160 nxt_dep=${nxt_src%.c}-$NXT_PERL_MODULE.dep
161 nxt_dep_flags=`nxt_gen_dep_flags`
162 nxt_dep_post=`nxt_gen_dep_post`
163 nxt_objs="$nxt_objs $NXT_BUILD_DIR/$nxt_obj"
164
165 cat << END >> $NXT_MAKEFILE
166
1
2# Copyright (C) Alexander Borisov
3# Copyright (C) NGINX, Inc.
4
5
6shift
7
8for nxt_option; do

--- 150 unchanged lines hidden (view full) ---

159 nxt_obj=${nxt_src%.c}-$NXT_PERL_MODULE.o
160 nxt_dep=${nxt_src%.c}-$NXT_PERL_MODULE.dep
161 nxt_dep_flags=`nxt_gen_dep_flags`
162 nxt_dep_post=`nxt_gen_dep_post`
163 nxt_objs="$nxt_objs $NXT_BUILD_DIR/$nxt_obj"
164
165 cat << END >> $NXT_MAKEFILE
166
167$NXT_BUILD_DIR/$nxt_obj: $nxt_src
167$NXT_BUILD_DIR/$nxt_obj: $nxt_src $NXT_VERSION_H
168 mkdir -p $NXT_BUILD_DIR/src/perl
169 \$(CC) -c \$(CFLAGS) $NXT_PERL_CFLAGS \$(NXT_INCS) $NXT_PERL_INCLUDE \\
170 $nxt_dep_flags \\
171 -o $NXT_BUILD_DIR/$nxt_obj $nxt_src
172 $nxt_dep_post
173
174-include $NXT_BUILD_DIR/$nxt_dep
175

--- 34 unchanged lines hidden ---
168 mkdir -p $NXT_BUILD_DIR/src/perl
169 \$(CC) -c \$(CFLAGS) $NXT_PERL_CFLAGS \$(NXT_INCS) $NXT_PERL_INCLUDE \\
170 $nxt_dep_flags \\
171 -o $NXT_BUILD_DIR/$nxt_obj $nxt_src
172 $nxt_dep_post
173
174-include $NXT_BUILD_DIR/$nxt_dep
175

--- 34 unchanged lines hidden ---