init revision e18a033b
1
2# Copyright (C) Igor Sysoev
3# Copyright (C) Nginx, Inc.
4
5
6NGX_MAKEFILE=$NGX_OBJS/Makefile
7NGX_MODULES_C=$NGX_OBJS/ngx_modules.c
8
9NGX_AUTO_HEADERS_H=$NGX_OBJS/ngx_auto_headers.h
10NGX_AUTO_CONFIG_H=$NGX_OBJS/ngx_auto_config.h
11
12NGX_AUTOTEST=$NGX_OBJS/autotest
13NGX_AUTOCONF_ERR=$NGX_OBJS/autoconf.err
14
15# STUBs
16NGX_ERR=$NGX_OBJS/autoconf.err
17MAKEFILE=$NGX_OBJS/Makefile
18
19
20NGX_PCH=
21NGX_USE_PCH=
22
23
24# check the echo's "-n" option and "\c" capability
25
26if echo "test\c" | grep c >/dev/null; then
27
28    if echo -n test | grep n >/dev/null; then
29        ngx_n=
30        ngx_c=
31
32    else
33        ngx_n=-n
34        ngx_c=
35    fi
36
37else
38    ngx_n=
39    ngx_c='\c'
40fi
41
42
43# create Makefile
44
45cat << END > Makefile
46
47default:	build
48
49clean:
50	rm -rf Makefile $NGX_OBJS
51END
52