ruby (863:175bb94e4c74) ruby (1217:ed8c4e263152)
1
2# Copyright (C) Alexander Borisov
3# Copyright (C) NGINX, Inc.
4
5
6shift
7
8for nxt_option; do

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

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

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

155 nxt_obj=${nxt_src%.c}-$NXT_RUBY_MODULE.o
156 nxt_dep=${nxt_src%.c}-$NXT_RUBY_MODULE.dep
157 nxt_dep_flags=`nxt_gen_dep_flags`
158 nxt_dep_post=`nxt_gen_dep_post`
159 nxt_objs="$nxt_objs $NXT_BUILD_DIR/$nxt_obj"
160
161 cat << END >> $NXT_MAKEFILE
162
163$NXT_BUILD_DIR/$nxt_obj: $nxt_src
163$NXT_BUILD_DIR/$nxt_obj: $nxt_src $NXT_VERSION_H
164 mkdir -p $NXT_BUILD_DIR/src/ruby
165 \$(CC) -c \$(CFLAGS) \$(NXT_INCS) $NXT_RUBY_INCPATH \\
166 $nxt_dep_flags \\
167 -o $NXT_BUILD_DIR/$nxt_obj $nxt_src
168 $nxt_dep_post
169
170-include $NXT_BUILD_DIR/$nxt_dep
171

--- 34 unchanged lines hidden ---
164 mkdir -p $NXT_BUILD_DIR/src/ruby
165 \$(CC) -c \$(CFLAGS) \$(NXT_INCS) $NXT_RUBY_INCPATH \\
166 $nxt_dep_flags \\
167 -o $NXT_BUILD_DIR/$nxt_obj $nxt_src
168 $nxt_dep_post
169
170-include $NXT_BUILD_DIR/$nxt_dep
171

--- 34 unchanged lines hidden ---