summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--auto/make7
-rw-r--r--auto/modules/java2
-rw-r--r--auto/modules/perl2
-rw-r--r--auto/modules/php2
-rw-r--r--auto/modules/python2
-rw-r--r--auto/modules/ruby2
6 files changed, 7 insertions, 10 deletions
diff --git a/auto/make b/auto/make
index a5899c53..4b1e76fc 100644
--- a/auto/make
+++ b/auto/make
@@ -78,9 +78,6 @@ $NXT_VERSION_H: version
$echo '#define NXT_VERSION "\$(NXT_VERSION)"' > $NXT_VERSION_H
$echo '#define NXT_VERNUM \$(NXT_VERNUM)' >> $NXT_VERSION_H
-$NXT_BUILD_DIR/src/nxt_unit.o: $NXT_VERSION_H
-$NXT_BUILD_DIR/src/nxt_lib.o: $NXT_VERSION_H
-
END
@@ -119,7 +116,7 @@ do
nxt_dep_post=`nxt_gen_dep_post`
cat << END >> $NXT_MAKEFILE
-$NXT_BUILD_DIR/$nxt_obj: $nxt_src
+$NXT_BUILD_DIR/$nxt_obj: $nxt_src $NXT_VERSION_H
\$(CC) -c \$(CFLAGS) \$(NXT_LIB_INCS) $NXT_LIB_AUX_CFLAGS \\
-o $NXT_BUILD_DIR/$nxt_obj \\
$nxt_dep_flags \\
@@ -265,7 +262,7 @@ do
nxt_dep_post=`nxt_gen_dep_post`
cat << END >> $NXT_MAKEFILE
-$NXT_BUILD_DIR/$nxt_obj: $nxt_src
+$NXT_BUILD_DIR/$nxt_obj: $nxt_src $NXT_VERSION_H
\$(CC) -c \$(CFLAGS) \$(NXT_INCS) \\
$NXT_LIB_AUX_CFLAGS \\
-o $NXT_BUILD_DIR/$nxt_obj \\
diff --git a/auto/modules/java b/auto/modules/java
index 24ee4927..b0fd62f1 100644
--- a/auto/modules/java
+++ b/auto/modules/java
@@ -336,7 +336,7 @@ for nxt_src in $NXT_JAVA_MODULE_SRCS; do
cat << END >> $NXT_MAKEFILE
-$NXT_BUILD_DIR/$nxt_obj: $nxt_src
+$NXT_BUILD_DIR/$nxt_obj: $nxt_src $NXT_VERSION_H
mkdir -p $NXT_BUILD_DIR/src/java
\$(CC) -c \$(CFLAGS) \$(NXT_INCS) $NXT_JAVA_INCLUDE \\
$nxt_dep_flags \\
diff --git a/auto/modules/perl b/auto/modules/perl
index a4fd5437..e9d7e109 100644
--- a/auto/modules/perl
+++ b/auto/modules/perl
@@ -164,7 +164,7 @@ for nxt_src in $NXT_PERL_MODULE_SRCS; do
cat << END >> $NXT_MAKEFILE
-$NXT_BUILD_DIR/$nxt_obj: $nxt_src
+$NXT_BUILD_DIR/$nxt_obj: $nxt_src $NXT_VERSION_H
mkdir -p $NXT_BUILD_DIR/src/perl
\$(CC) -c \$(CFLAGS) $NXT_PERL_CFLAGS \$(NXT_INCS) $NXT_PERL_INCLUDE \\
$nxt_dep_flags \\
diff --git a/auto/modules/php b/auto/modules/php
index 362bbc69..97d1ac43 100644
--- a/auto/modules/php
+++ b/auto/modules/php
@@ -203,7 +203,7 @@ for nxt_src in $NXT_PHP_MODULE_SRCS; do
cat << END >> $NXT_MAKEFILE
-$NXT_BUILD_DIR/$nxt_obj: $nxt_src
+$NXT_BUILD_DIR/$nxt_obj: $nxt_src $NXT_VERSION_H
\$(CC) -c \$(CFLAGS) \$(NXT_INCS) $NXT_PHP_INCLUDE \\
-DNXT_ZEND_SIGNAL_STARTUP=$NXT_ZEND_SIGNAL_STARTUP \\
$nxt_dep_flags \\
diff --git a/auto/modules/python b/auto/modules/python
index e298f5b9..abd145c9 100644
--- a/auto/modules/python
+++ b/auto/modules/python
@@ -149,7 +149,7 @@ for nxt_src in $NXT_PYTHON_MODULE_SRCS; do
cat << END >> $NXT_MAKEFILE
-$NXT_BUILD_DIR/$nxt_obj: $nxt_src
+$NXT_BUILD_DIR/$nxt_obj: $nxt_src $NXT_VERSION_H
\$(CC) -c \$(CFLAGS) \$(NXT_INCS) $NXT_PYTHON_INCLUDE \\
$nxt_dep_flags \\
-o $NXT_BUILD_DIR/$nxt_obj $nxt_src
diff --git a/auto/modules/ruby b/auto/modules/ruby
index 7d379f2f..407406ce 100644
--- a/auto/modules/ruby
+++ b/auto/modules/ruby
@@ -160,7 +160,7 @@ for nxt_src in $NXT_RUBY_MODULE_SRCS; do
cat << END >> $NXT_MAKEFILE
-$NXT_BUILD_DIR/$nxt_obj: $nxt_src
+$NXT_BUILD_DIR/$nxt_obj: $nxt_src $NXT_VERSION_H
mkdir -p $NXT_BUILD_DIR/src/ruby
\$(CC) -c \$(CFLAGS) \$(NXT_INCS) $NXT_RUBY_INCPATH \\
$nxt_dep_flags \\