summaryrefslogtreecommitdiffhomepage
path: root/auto/modules/php/make
diff options
context:
space:
mode:
authorMax Romanov <max.romanov@nginx.com>2017-06-23 19:20:08 +0300
committerMax Romanov <max.romanov@nginx.com>2017-06-23 19:20:08 +0300
commit5a43bd0bfd1eaa60dede7beb3206a53e8d008fa4 (patch)
tree1b5fed79ddee1a884e117c7710593a3dfe298d94 /auto/modules/php/make
parentfa6582d9ad581451c8406ec2022b5df23676d0bb (diff)
downloadunit-5a43bd0bfd1eaa60dede7beb3206a53e8d008fa4.tar.gz
unit-5a43bd0bfd1eaa60dede7beb3206a53e8d008fa4.tar.bz2
PHP app request processing.
Diffstat (limited to '')
-rw-r--r--auto/modules/php/make24
1 files changed, 24 insertions, 0 deletions
diff --git a/auto/modules/php/make b/auto/modules/php/make
new file mode 100644
index 00000000..f4bd7f97
--- /dev/null
+++ b/auto/modules/php/make
@@ -0,0 +1,24 @@
+
+# Copyright (C) Max Romanov
+# Copyright (C) NGINX, Inc.
+
+
+$echo >> $NXT_MAKEFILE
+$echo >> $NXT_MAKEFILE
+
+
+# The php module object files.
+
+for nxt_src in $NXT_PHP_MODULE_SRCS
+do
+ nxt_obj=`$echo $nxt_src | sed -e "s/\.c$/\.o/"`
+ cat << END >> $NXT_MAKEFILE
+
+$NXT_BUILD_DIR/$nxt_obj: $nxt_src
+ \$(CC) -c \$(CFLAGS) \$(NXT_INCS) $NXT_PHP_INCLUDE \\
+ $NXT_LIB_AUX_CFLAGS \\
+ -o $NXT_BUILD_DIR/$nxt_obj \\
+ $nxt_src
+END
+
+done