Ticket #1548: Makefile

File Makefile, 37.6 KB (added by dinama@…, 8 years ago)
Line 
1
2CC = cc
3CFLAGS = -pipe -O -Wall -Wextra -Wpointer-arith -Wconditional-uninitialized -Wno-unused-parameter -Werror -g
4CPP = cc -E
5LINK = $(CC)
6
7
8ALL_INCS = -I src/core \ -I src/event \ -I src/event/modules \ -I src/os/unix \ -I objs \ -I src/http \ -I src/http/modules
9
10
11CORE_DEPS = src/core/nginx.h \ src/core/ngx_config.h \ src/core/ngx_core.h \ src/core/ngx_log.h \ src/core/ngx_palloc.h \ src/core/ngx_array.h \ src/core/ngx_list.h \ src/core/ngx_hash.h \ src/core/ngx_buf.h \ src/core/ngx_queue.h \ src/core/ngx_string.h \ src/core/ngx_parse.h \ src/core/ngx_parse_time.h \ src/core/ngx_inet.h \ src/core/ngx_file.h \ src/core/ngx_crc.h \ src/core/ngx_crc32.h \ src/core/ngx_murmurhash.h \ src/core/ngx_md5.h \ src/core/ngx_sha1.h \ src/core/ngx_rbtree.h \ src/core/ngx_radix_tree.h \ src/core/ngx_rwlock.h \ src/core/ngx_slab.h \ src/core/ngx_times.h \ src/core/ngx_shmtx.h \ src/core/ngx_connection.h \ src/core/ngx_cycle.h \ src/core/ngx_conf_file.h \ src/core/ngx_module.h \ src/core/ngx_resolver.h \ src/core/ngx_open_file_cache.h \ src/core/ngx_crypt.h \ src/core/ngx_proxy_protocol.h \ src/core/ngx_syslog.h \ src/event/ngx_event.h \ src/event/ngx_event_timer.h \ src/event/ngx_event_posted.h \ src/event/ngx_event_connect.h \ src/event/ngx_event_pipe.h \ src/os/unix/ngx_time.h \ src/os/unix/ngx_errno.h \ src/os/unix/ngx_alloc.h \ src/os/unix/ngx_files.h \ src/os/unix/ngx_channel.h \ src/os/unix/ngx_shmem.h \ src/os/unix/ngx_process.h \ src/os/unix/ngx_setaffinity.h \ src/os/unix/ngx_setproctitle.h \ src/os/unix/ngx_atomic.h \ src/os/unix/ngx_gcc_atomic_x86.h \ src/os/unix/ngx_thread.h \ src/os/unix/ngx_socket.h \ src/os/unix/ngx_os.h \ src/os/unix/ngx_user.h \ src/os/unix/ngx_dlopen.h \ src/os/unix/ngx_process_cycle.h \ src/os/unix/ngx_linux_config.h \ src/os/unix/ngx_linux.h \ src/core/ngx_regex.h \ objs/ngx_auto_config.h
12
13
14CORE_INCS = -I src/core \ -I src/event \ -I src/event/modules \ -I src/os/unix \ -I objs
15
16
17HTTP_DEPS = src/http/ngx_http.h \ src/http/ngx_http_request.h \ src/http/ngx_http_config.h \ src/http/ngx_http_core_module.h \ src/http/ngx_http_cache.h \ src/http/ngx_http_variables.h \ src/http/ngx_http_script.h \ src/http/ngx_http_upstream.h \ src/http/ngx_http_upstream_round_robin.h \ src/http/modules/ngx_http_ssi_filter_module.h
18
19
20HTTP_INCS = -I src/http \ -I src/http/modules
21
22
23build: binary modules manpage
24
25binary: objs/nginx
26
27objs/nginx: objs/src/core/nginx.o \ objs/src/core/ngx_log.o \ objs/src/core/ngx_palloc.o \ objs/src/core/ngx_array.o \ objs/src/core/ngx_list.o \ objs/src/core/ngx_hash.o \ objs/src/core/ngx_buf.o \ objs/src/core/ngx_queue.o \ objs/src/core/ngx_output_chain.o \ objs/src/core/ngx_string.o \ objs/src/core/ngx_parse.o \ objs/src/core/ngx_parse_time.o \ objs/src/core/ngx_inet.o \ objs/src/core/ngx_file.o \ objs/src/core/ngx_crc32.o \ objs/src/core/ngx_murmurhash.o \ objs/src/core/ngx_md5.o \ objs/src/core/ngx_sha1.o \ objs/src/core/ngx_rbtree.o \ objs/src/core/ngx_radix_tree.o \ objs/src/core/ngx_slab.o \ objs/src/core/ngx_times.o \ objs/src/core/ngx_shmtx.o \ objs/src/core/ngx_connection.o \ objs/src/core/ngx_cycle.o \ objs/src/core/ngx_spinlock.o \ objs/src/core/ngx_rwlock.o \ objs/src/core/ngx_cpuinfo.o \ objs/src/core/ngx_conf_file.o \ objs/src/core/ngx_module.o \ objs/src/core/ngx_resolver.o \ objs/src/core/ngx_open_file_cache.o \ objs/src/core/ngx_crypt.o \ objs/src/core/ngx_proxy_protocol.o \ objs/src/core/ngx_syslog.o \ objs/src/event/ngx_event.o \ objs/src/event/ngx_event_timer.o \ objs/src/event/ngx_event_posted.o \ objs/src/event/ngx_event_accept.o \ objs/src/event/ngx_event_connect.o \ objs/src/event/ngx_event_pipe.o \ objs/src/os/unix/ngx_time.o \ objs/src/os/unix/ngx_errno.o \ objs/src/os/unix/ngx_alloc.o \ objs/src/os/unix/ngx_files.o \ objs/src/os/unix/ngx_socket.o \ objs/src/os/unix/ngx_recv.o \ objs/src/os/unix/ngx_readv_chain.o \ objs/src/os/unix/ngx_udp_recv.o \ objs/src/os/unix/ngx_send.o \ objs/src/os/unix/ngx_writev_chain.o \ objs/src/os/unix/ngx_udp_send.o \ objs/src/os/unix/ngx_udp_sendmsg_chain.o \ objs/src/os/unix/ngx_channel.o \ objs/src/os/unix/ngx_shmem.o \ objs/src/os/unix/ngx_process.o \ objs/src/os/unix/ngx_daemon.o \ objs/src/os/unix/ngx_setaffinity.o \ objs/src/os/unix/ngx_setproctitle.o \ objs/src/os/unix/ngx_posix_init.o \ objs/src/os/unix/ngx_user.o \ objs/src/os/unix/ngx_dlopen.o \ objs/src/os/unix/ngx_process_cycle.o \ objs/src/os/unix/ngx_linux_init.o \ objs/src/event/modules/ngx_epoll_module.o \ objs/src/os/unix/ngx_linux_sendfile_chain.o \ objs/src/core/ngx_regex.o \ objs/src/http/ngx_http.o \ objs/src/http/ngx_http_core_module.o \ objs/src/http/ngx_http_special_response.o \ objs/src/http/ngx_http_request.o \ objs/src/http/ngx_http_parse.o \ objs/src/http/modules/ngx_http_log_module.o \ objs/src/http/ngx_http_request_body.o \ objs/src/http/ngx_http_variables.o \ objs/src/http/ngx_http_script.o \ objs/src/http/ngx_http_upstream.o \ objs/src/http/ngx_http_upstream_round_robin.o \ objs/src/http/ngx_http_file_cache.o \ objs/src/http/ngx_http_write_filter_module.o \ objs/src/http/ngx_http_header_filter_module.o \ objs/src/http/modules/ngx_http_chunked_filter_module.o \ objs/src/http/modules/ngx_http_range_filter_module.o \ objs/src/http/modules/ngx_http_gzip_filter_module.o \ objs/src/http/ngx_http_postpone_filter_module.o \ objs/src/http/modules/ngx_http_ssi_filter_module.o \ objs/src/http/modules/ngx_http_charset_filter_module.o \ objs/src/http/modules/ngx_http_userid_filter_module.o \ objs/src/http/modules/ngx_http_headers_filter_module.o \ objs/src/http/ngx_http_copy_filter_module.o \ objs/src/http/modules/ngx_http_not_modified_filter_module.o \ objs/src/http/modules/ngx_http_static_module.o \ objs/src/http/modules/ngx_http_autoindex_module.o \ objs/src/http/modules/ngx_http_index_module.o \ objs/src/http/modules/ngx_http_mirror_module.o \ objs/src/http/modules/ngx_http_try_files_module.o \ objs/src/http/modules/ngx_http_auth_basic_module.o \ objs/src/http/modules/ngx_http_access_module.o \ objs/src/http/modules/ngx_http_limit_conn_module.o \ objs/src/http/modules/ngx_http_limit_req_module.o \ objs/src/http/modules/ngx_http_geo_module.o \ objs/src/http/modules/ngx_http_map_module.o \ objs/src/http/modules/ngx_http_split_clients_module.o \ objs/src/http/modules/ngx_http_referer_module.o \ objs/src/http/modules/ngx_http_rewrite_module.o \ objs/src/http/modules/ngx_http_proxy_module.o \ objs/src/http/modules/ngx_http_fastcgi_module.o \ objs/src/http/modules/ngx_http_uwsgi_module.o \ objs/src/http/modules/ngx_http_scgi_module.o \ objs/src/http/modules/ngx_http_memcached_module.o \ objs/src/http/modules/ngx_http_empty_gif_module.o \ objs/src/http/modules/ngx_http_browser_module.o \ objs/src/http/modules/ngx_http_upstream_hash_module.o \ objs/src/http/modules/ngx_http_upstream_ip_hash_module.o \ objs/src/http/modules/ngx_http_upstream_least_conn_module.o \ objs/src/http/modules/ngx_http_upstream_keepalive_module.o \ objs/src/http/modules/ngx_http_upstream_zone_module.o \ objs/ngx_modules.o
28
29 $(LINK) -o objs/nginx objs/src/core/nginx.o \ objs/src/core/ngx_log.o \ objs/src/core/ngx_palloc.o \ objs/src/core/ngx_array.o \ objs/src/core/ngx_list.o \ objs/src/core/ngx_hash.o \ objs/src/core/ngx_buf.o \ objs/src/core/ngx_queue.o \ objs/src/core/ngx_output_chain.o \ objs/src/core/ngx_string.o \ objs/src/core/ngx_parse.o \ objs/src/core/ngx_parse_time.o \ objs/src/core/ngx_inet.o \ objs/src/core/ngx_file.o \ objs/src/core/ngx_crc32.o \ objs/src/core/ngx_murmurhash.o \ objs/src/core/ngx_md5.o \ objs/src/core/ngx_sha1.o \ objs/src/core/ngx_rbtree.o \ objs/src/core/ngx_radix_tree.o \ objs/src/core/ngx_slab.o \ objs/src/core/ngx_times.o \ objs/src/core/ngx_shmtx.o \ objs/src/core/ngx_connection.o \ objs/src/core/ngx_cycle.o \ objs/src/core/ngx_spinlock.o \ objs/src/core/ngx_rwlock.o \ objs/src/core/ngx_cpuinfo.o \ objs/src/core/ngx_conf_file.o \ objs/src/core/ngx_module.o \ objs/src/core/ngx_resolver.o \ objs/src/core/ngx_open_file_cache.o \ objs/src/core/ngx_crypt.o \ objs/src/core/ngx_proxy_protocol.o \ objs/src/core/ngx_syslog.o \ objs/src/event/ngx_event.o \ objs/src/event/ngx_event_timer.o \ objs/src/event/ngx_event_posted.o \ objs/src/event/ngx_event_accept.o \ objs/src/event/ngx_event_connect.o \ objs/src/event/ngx_event_pipe.o \ objs/src/os/unix/ngx_time.o \ objs/src/os/unix/ngx_errno.o \ objs/src/os/unix/ngx_alloc.o \ objs/src/os/unix/ngx_files.o \ objs/src/os/unix/ngx_socket.o \ objs/src/os/unix/ngx_recv.o \ objs/src/os/unix/ngx_readv_chain.o \ objs/src/os/unix/ngx_udp_recv.o \ objs/src/os/unix/ngx_send.o \ objs/src/os/unix/ngx_writev_chain.o \ objs/src/os/unix/ngx_udp_send.o \ objs/src/os/unix/ngx_udp_sendmsg_chain.o \ objs/src/os/unix/ngx_channel.o \ objs/src/os/unix/ngx_shmem.o \ objs/src/os/unix/ngx_process.o \ objs/src/os/unix/ngx_daemon.o \ objs/src/os/unix/ngx_setaffinity.o \ objs/src/os/unix/ngx_setproctitle.o \ objs/src/os/unix/ngx_posix_init.o \ objs/src/os/unix/ngx_user.o \ objs/src/os/unix/ngx_dlopen.o \ objs/src/os/unix/ngx_process_cycle.o \ objs/src/os/unix/ngx_linux_init.o \ objs/src/event/modules/ngx_epoll_module.o \ objs/src/os/unix/ngx_linux_sendfile_chain.o \ objs/src/core/ngx_regex.o \ objs/src/http/ngx_http.o \ objs/src/http/ngx_http_core_module.o \ objs/src/http/ngx_http_special_response.o \ objs/src/http/ngx_http_request.o \ objs/src/http/ngx_http_parse.o \ objs/src/http/modules/ngx_http_log_module.o \ objs/src/http/ngx_http_request_body.o \ objs/src/http/ngx_http_variables.o \ objs/src/http/ngx_http_script.o \ objs/src/http/ngx_http_upstream.o \ objs/src/http/ngx_http_upstream_round_robin.o \ objs/src/http/ngx_http_file_cache.o \ objs/src/http/ngx_http_write_filter_module.o \ objs/src/http/ngx_http_header_filter_module.o \ objs/src/http/modules/ngx_http_chunked_filter_module.o \ objs/src/http/modules/ngx_http_range_filter_module.o \ objs/src/http/modules/ngx_http_gzip_filter_module.o \ objs/src/http/ngx_http_postpone_filter_module.o \ objs/src/http/modules/ngx_http_ssi_filter_module.o \ objs/src/http/modules/ngx_http_charset_filter_module.o \ objs/src/http/modules/ngx_http_userid_filter_module.o \ objs/src/http/modules/ngx_http_headers_filter_module.o \ objs/src/http/ngx_http_copy_filter_module.o \ objs/src/http/modules/ngx_http_not_modified_filter_module.o \ objs/src/http/modules/ngx_http_static_module.o \ objs/src/http/modules/ngx_http_autoindex_module.o \ objs/src/http/modules/ngx_http_index_module.o \ objs/src/http/modules/ngx_http_mirror_module.o \ objs/src/http/modules/ngx_http_try_files_module.o \ objs/src/http/modules/ngx_http_auth_basic_module.o \ objs/src/http/modules/ngx_http_access_module.o \ objs/src/http/modules/ngx_http_limit_conn_module.o \ objs/src/http/modules/ngx_http_limit_req_module.o \ objs/src/http/modules/ngx_http_geo_module.o \ objs/src/http/modules/ngx_http_map_module.o \ objs/src/http/modules/ngx_http_split_clients_module.o \ objs/src/http/modules/ngx_http_referer_module.o \ objs/src/http/modules/ngx_http_rewrite_module.o \ objs/src/http/modules/ngx_http_proxy_module.o \ objs/src/http/modules/ngx_http_fastcgi_module.o \ objs/src/http/modules/ngx_http_uwsgi_module.o \ objs/src/http/modules/ngx_http_scgi_module.o \ objs/src/http/modules/ngx_http_memcached_module.o \ objs/src/http/modules/ngx_http_empty_gif_module.o \ objs/src/http/modules/ngx_http_browser_module.o \ objs/src/http/modules/ngx_http_upstream_hash_module.o \ objs/src/http/modules/ngx_http_upstream_ip_hash_module.o \ objs/src/http/modules/ngx_http_upstream_least_conn_module.o \ objs/src/http/modules/ngx_http_upstream_keepalive_module.o \ objs/src/http/modules/ngx_http_upstream_zone_module.o \ objs/ngx_modules.o \ -ldl -lpthread -lcrypt -lpcre -lz \ -Wl,-E
30
31
32
33modules:
34
35objs/ngx_modules.o: $(CORE_DEPS) objs/ngx_modules.c
36 $(CC) -c $(CFLAGS) $(CORE_INCS) -o objs/ngx_modules.o objs/ngx_modules.c
37
38
39objs/src/core/nginx.o: $(CORE_DEPS) src/core/nginx.c
40 $(CC) -c $(CFLAGS) $(CORE_INCS) -o objs/src/core/nginx.o src/core/nginx.c
41
42
43objs/src/core/ngx_log.o: $(CORE_DEPS) src/core/ngx_log.c
44 $(CC) -c $(CFLAGS) $(CORE_INCS) -o objs/src/core/ngx_log.o src/core/ngx_log.c
45
46
47objs/src/core/ngx_palloc.o: $(CORE_DEPS) src/core/ngx_palloc.c
48 $(CC) -c $(CFLAGS) $(CORE_INCS) -o objs/src/core/ngx_palloc.o src/core/ngx_palloc.c
49
50
51objs/src/core/ngx_array.o: $(CORE_DEPS) src/core/ngx_array.c
52 $(CC) -c $(CFLAGS) $(CORE_INCS) -o objs/src/core/ngx_array.o src/core/ngx_array.c
53
54
55objs/src/core/ngx_list.o: $(CORE_DEPS) src/core/ngx_list.c
56 $(CC) -c $(CFLAGS) $(CORE_INCS) -o objs/src/core/ngx_list.o src/core/ngx_list.c
57
58
59objs/src/core/ngx_hash.o: $(CORE_DEPS) src/core/ngx_hash.c
60 $(CC) -c $(CFLAGS) $(CORE_INCS) -o objs/src/core/ngx_hash.o src/core/ngx_hash.c
61
62
63objs/src/core/ngx_buf.o: $(CORE_DEPS) src/core/ngx_buf.c
64 $(CC) -c $(CFLAGS) $(CORE_INCS) -o objs/src/core/ngx_buf.o src/core/ngx_buf.c
65
66
67objs/src/core/ngx_queue.o: $(CORE_DEPS) src/core/ngx_queue.c
68 $(CC) -c $(CFLAGS) $(CORE_INCS) -o objs/src/core/ngx_queue.o src/core/ngx_queue.c
69
70
71objs/src/core/ngx_output_chain.o: $(CORE_DEPS) src/core/ngx_output_chain.c
72 $(CC) -c $(CFLAGS) $(CORE_INCS) -o objs/src/core/ngx_output_chain.o src/core/ngx_output_chain.c
73
74
75objs/src/core/ngx_string.o: $(CORE_DEPS) src/core/ngx_string.c
76 $(CC) -c $(CFLAGS) $(CORE_INCS) -o objs/src/core/ngx_string.o src/core/ngx_string.c
77
78
79objs/src/core/ngx_parse.o: $(CORE_DEPS) src/core/ngx_parse.c
80 $(CC) -c $(CFLAGS) $(CORE_INCS) -o objs/src/core/ngx_parse.o src/core/ngx_parse.c
81
82
83objs/src/core/ngx_parse_time.o: $(CORE_DEPS) src/core/ngx_parse_time.c
84 $(CC) -c $(CFLAGS) $(CORE_INCS) -o objs/src/core/ngx_parse_time.o src/core/ngx_parse_time.c
85
86
87objs/src/core/ngx_inet.o: $(CORE_DEPS) src/core/ngx_inet.c
88 $(CC) -c $(CFLAGS) $(CORE_INCS) -o objs/src/core/ngx_inet.o src/core/ngx_inet.c
89
90
91objs/src/core/ngx_file.o: $(CORE_DEPS) src/core/ngx_file.c
92 $(CC) -c $(CFLAGS) $(CORE_INCS) -o objs/src/core/ngx_file.o src/core/ngx_file.c
93
94
95objs/src/core/ngx_crc32.o: $(CORE_DEPS) src/core/ngx_crc32.c
96 $(CC) -c $(CFLAGS) $(CORE_INCS) -o objs/src/core/ngx_crc32.o src/core/ngx_crc32.c
97
98
99objs/src/core/ngx_murmurhash.o: $(CORE_DEPS) src/core/ngx_murmurhash.c
100 $(CC) -c $(CFLAGS) $(CORE_INCS) -o objs/src/core/ngx_murmurhash.o src/core/ngx_murmurhash.c
101
102
103objs/src/core/ngx_md5.o: $(CORE_DEPS) src/core/ngx_md5.c
104 $(CC) -c $(CFLAGS) $(CORE_INCS) -o objs/src/core/ngx_md5.o src/core/ngx_md5.c
105
106
107objs/src/core/ngx_sha1.o: $(CORE_DEPS) src/core/ngx_sha1.c
108 $(CC) -c $(CFLAGS) $(CORE_INCS) -o objs/src/core/ngx_sha1.o src/core/ngx_sha1.c
109
110
111objs/src/core/ngx_rbtree.o: $(CORE_DEPS) src/core/ngx_rbtree.c
112 $(CC) -c $(CFLAGS) $(CORE_INCS) -o objs/src/core/ngx_rbtree.o src/core/ngx_rbtree.c
113
114
115objs/src/core/ngx_radix_tree.o: $(CORE_DEPS) src/core/ngx_radix_tree.c
116 $(CC) -c $(CFLAGS) $(CORE_INCS) -o objs/src/core/ngx_radix_tree.o src/core/ngx_radix_tree.c
117
118
119objs/src/core/ngx_slab.o: $(CORE_DEPS) src/core/ngx_slab.c
120 $(CC) -c $(CFLAGS) $(CORE_INCS) -o objs/src/core/ngx_slab.o src/core/ngx_slab.c
121
122
123objs/src/core/ngx_times.o: $(CORE_DEPS) src/core/ngx_times.c
124 $(CC) -c $(CFLAGS) $(CORE_INCS) -o objs/src/core/ngx_times.o src/core/ngx_times.c
125
126
127objs/src/core/ngx_shmtx.o: $(CORE_DEPS) src/core/ngx_shmtx.c
128 $(CC) -c $(CFLAGS) $(CORE_INCS) -o objs/src/core/ngx_shmtx.o src/core/ngx_shmtx.c
129
130
131objs/src/core/ngx_connection.o: $(CORE_DEPS) src/core/ngx_connection.c
132 $(CC) -c $(CFLAGS) $(CORE_INCS) -o objs/src/core/ngx_connection.o src/core/ngx_connection.c
133
134
135objs/src/core/ngx_cycle.o: $(CORE_DEPS) src/core/ngx_cycle.c
136 $(CC) -c $(CFLAGS) $(CORE_INCS) -o objs/src/core/ngx_cycle.o src/core/ngx_cycle.c
137
138
139objs/src/core/ngx_spinlock.o: $(CORE_DEPS) src/core/ngx_spinlock.c
140 $(CC) -c $(CFLAGS) $(CORE_INCS) -o objs/src/core/ngx_spinlock.o src/core/ngx_spinlock.c
141
142
143objs/src/core/ngx_rwlock.o: $(CORE_DEPS) src/core/ngx_rwlock.c
144 $(CC) -c $(CFLAGS) $(CORE_INCS) -o objs/src/core/ngx_rwlock.o src/core/ngx_rwlock.c
145
146
147objs/src/core/ngx_cpuinfo.o: $(CORE_DEPS) src/core/ngx_cpuinfo.c
148 $(CC) -c $(CFLAGS) $(CORE_INCS) -o objs/src/core/ngx_cpuinfo.o src/core/ngx_cpuinfo.c
149
150
151objs/src/core/ngx_conf_file.o: $(CORE_DEPS) src/core/ngx_conf_file.c
152 $(CC) -c $(CFLAGS) $(CORE_INCS) -o objs/src/core/ngx_conf_file.o src/core/ngx_conf_file.c
153
154
155objs/src/core/ngx_module.o: $(CORE_DEPS) src/core/ngx_module.c
156 $(CC) -c $(CFLAGS) $(CORE_INCS) -o objs/src/core/ngx_module.o src/core/ngx_module.c
157
158
159objs/src/core/ngx_resolver.o: $(CORE_DEPS) src/core/ngx_resolver.c
160 $(CC) -c $(CFLAGS) $(CORE_INCS) -o objs/src/core/ngx_resolver.o src/core/ngx_resolver.c
161
162
163objs/src/core/ngx_open_file_cache.o: $(CORE_DEPS) src/core/ngx_open_file_cache.c
164 $(CC) -c $(CFLAGS) $(CORE_INCS) -o objs/src/core/ngx_open_file_cache.o src/core/ngx_open_file_cache.c
165
166
167objs/src/core/ngx_crypt.o: $(CORE_DEPS) src/core/ngx_crypt.c
168 $(CC) -c $(CFLAGS) $(CORE_INCS) -o objs/src/core/ngx_crypt.o src/core/ngx_crypt.c
169
170
171objs/src/core/ngx_proxy_protocol.o: $(CORE_DEPS) src/core/ngx_proxy_protocol.c
172 $(CC) -c $(CFLAGS) $(CORE_INCS) -o objs/src/core/ngx_proxy_protocol.o src/core/ngx_proxy_protocol.c
173
174
175objs/src/core/ngx_syslog.o: $(CORE_DEPS) src/core/ngx_syslog.c
176 $(CC) -c $(CFLAGS) $(CORE_INCS) -o objs/src/core/ngx_syslog.o src/core/ngx_syslog.c
177
178
179objs/src/event/ngx_event.o: $(CORE_DEPS) src/event/ngx_event.c
180 $(CC) -c $(CFLAGS) $(CORE_INCS) -o objs/src/event/ngx_event.o src/event/ngx_event.c
181
182
183objs/src/event/ngx_event_timer.o: $(CORE_DEPS) src/event/ngx_event_timer.c
184 $(CC) -c $(CFLAGS) $(CORE_INCS) -o objs/src/event/ngx_event_timer.o src/event/ngx_event_timer.c
185
186
187objs/src/event/ngx_event_posted.o: $(CORE_DEPS) src/event/ngx_event_posted.c
188 $(CC) -c $(CFLAGS) $(CORE_INCS) -o objs/src/event/ngx_event_posted.o src/event/ngx_event_posted.c
189
190
191objs/src/event/ngx_event_accept.o: $(CORE_DEPS) src/event/ngx_event_accept.c
192 $(CC) -c $(CFLAGS) $(CORE_INCS) -o objs/src/event/ngx_event_accept.o src/event/ngx_event_accept.c
193
194
195objs/src/event/ngx_event_connect.o: $(CORE_DEPS) src/event/ngx_event_connect.c
196 $(CC) -c $(CFLAGS) $(CORE_INCS) -o objs/src/event/ngx_event_connect.o src/event/ngx_event_connect.c
197
198
199objs/src/event/ngx_event_pipe.o: $(CORE_DEPS) src/event/ngx_event_pipe.c
200 $(CC) -c $(CFLAGS) $(CORE_INCS) -o objs/src/event/ngx_event_pipe.o src/event/ngx_event_pipe.c
201
202
203objs/src/os/unix/ngx_time.o: $(CORE_DEPS) src/os/unix/ngx_time.c
204 $(CC) -c $(CFLAGS) $(CORE_INCS) -o objs/src/os/unix/ngx_time.o src/os/unix/ngx_time.c
205
206
207objs/src/os/unix/ngx_errno.o: $(CORE_DEPS) src/os/unix/ngx_errno.c
208 $(CC) -c $(CFLAGS) $(CORE_INCS) -o objs/src/os/unix/ngx_errno.o src/os/unix/ngx_errno.c
209
210
211objs/src/os/unix/ngx_alloc.o: $(CORE_DEPS) src/os/unix/ngx_alloc.c
212 $(CC) -c $(CFLAGS) $(CORE_INCS) -o objs/src/os/unix/ngx_alloc.o src/os/unix/ngx_alloc.c
213
214
215objs/src/os/unix/ngx_files.o: $(CORE_DEPS) src/os/unix/ngx_files.c
216 $(CC) -c $(CFLAGS) $(CORE_INCS) -o objs/src/os/unix/ngx_files.o src/os/unix/ngx_files.c
217
218
219objs/src/os/unix/ngx_socket.o: $(CORE_DEPS) src/os/unix/ngx_socket.c
220 $(CC) -c $(CFLAGS) $(CORE_INCS) -o objs/src/os/unix/ngx_socket.o src/os/unix/ngx_socket.c
221
222
223objs/src/os/unix/ngx_recv.o: $(CORE_DEPS) src/os/unix/ngx_recv.c
224 $(CC) -c $(CFLAGS) $(CORE_INCS) -o objs/src/os/unix/ngx_recv.o src/os/unix/ngx_recv.c
225
226
227objs/src/os/unix/ngx_readv_chain.o: $(CORE_DEPS) src/os/unix/ngx_readv_chain.c
228 $(CC) -c $(CFLAGS) $(CORE_INCS) -o objs/src/os/unix/ngx_readv_chain.o src/os/unix/ngx_readv_chain.c
229
230
231objs/src/os/unix/ngx_udp_recv.o: $(CORE_DEPS) src/os/unix/ngx_udp_recv.c
232 $(CC) -c $(CFLAGS) $(CORE_INCS) -o objs/src/os/unix/ngx_udp_recv.o src/os/unix/ngx_udp_recv.c
233
234
235objs/src/os/unix/ngx_send.o: $(CORE_DEPS) src/os/unix/ngx_send.c
236 $(CC) -c $(CFLAGS) $(CORE_INCS) -o objs/src/os/unix/ngx_send.o src/os/unix/ngx_send.c
237
238
239objs/src/os/unix/ngx_writev_chain.o: $(CORE_DEPS) src/os/unix/ngx_writev_chain.c
240 $(CC) -c $(CFLAGS) $(CORE_INCS) -o objs/src/os/unix/ngx_writev_chain.o src/os/unix/ngx_writev_chain.c
241
242
243objs/src/os/unix/ngx_udp_send.o: $(CORE_DEPS) src/os/unix/ngx_udp_send.c
244 $(CC) -c $(CFLAGS) $(CORE_INCS) -o objs/src/os/unix/ngx_udp_send.o src/os/unix/ngx_udp_send.c
245
246
247objs/src/os/unix/ngx_udp_sendmsg_chain.o: $(CORE_DEPS) src/os/unix/ngx_udp_sendmsg_chain.c
248 $(CC) -c $(CFLAGS) $(CORE_INCS) -o objs/src/os/unix/ngx_udp_sendmsg_chain.o src/os/unix/ngx_udp_sendmsg_chain.c
249
250
251objs/src/os/unix/ngx_channel.o: $(CORE_DEPS) src/os/unix/ngx_channel.c
252 $(CC) -c $(CFLAGS) $(CORE_INCS) -o objs/src/os/unix/ngx_channel.o src/os/unix/ngx_channel.c
253
254
255objs/src/os/unix/ngx_shmem.o: $(CORE_DEPS) src/os/unix/ngx_shmem.c
256 $(CC) -c $(CFLAGS) $(CORE_INCS) -o objs/src/os/unix/ngx_shmem.o src/os/unix/ngx_shmem.c
257
258
259objs/src/os/unix/ngx_process.o: $(CORE_DEPS) src/os/unix/ngx_process.c
260 $(CC) -c $(CFLAGS) $(CORE_INCS) -o objs/src/os/unix/ngx_process.o src/os/unix/ngx_process.c
261
262
263objs/src/os/unix/ngx_daemon.o: $(CORE_DEPS) src/os/unix/ngx_daemon.c
264 $(CC) -c $(CFLAGS) $(CORE_INCS) -o objs/src/os/unix/ngx_daemon.o src/os/unix/ngx_daemon.c
265
266
267objs/src/os/unix/ngx_setaffinity.o: $(CORE_DEPS) src/os/unix/ngx_setaffinity.c
268 $(CC) -c $(CFLAGS) $(CORE_INCS) -o objs/src/os/unix/ngx_setaffinity.o src/os/unix/ngx_setaffinity.c
269
270
271objs/src/os/unix/ngx_setproctitle.o: $(CORE_DEPS) src/os/unix/ngx_setproctitle.c
272 $(CC) -c $(CFLAGS) $(CORE_INCS) -o objs/src/os/unix/ngx_setproctitle.o src/os/unix/ngx_setproctitle.c
273
274
275objs/src/os/unix/ngx_posix_init.o: $(CORE_DEPS) src/os/unix/ngx_posix_init.c
276 $(CC) -c $(CFLAGS) $(CORE_INCS) -o objs/src/os/unix/ngx_posix_init.o src/os/unix/ngx_posix_init.c
277
278
279objs/src/os/unix/ngx_user.o: $(CORE_DEPS) src/os/unix/ngx_user.c
280 $(CC) -c $(CFLAGS) $(CORE_INCS) -o objs/src/os/unix/ngx_user.o src/os/unix/ngx_user.c
281
282
283objs/src/os/unix/ngx_dlopen.o: $(CORE_DEPS) src/os/unix/ngx_dlopen.c
284 $(CC) -c $(CFLAGS) $(CORE_INCS) -o objs/src/os/unix/ngx_dlopen.o src/os/unix/ngx_dlopen.c
285
286
287objs/src/os/unix/ngx_process_cycle.o: $(CORE_DEPS) src/os/unix/ngx_process_cycle.c
288 $(CC) -c $(CFLAGS) $(CORE_INCS) -o objs/src/os/unix/ngx_process_cycle.o src/os/unix/ngx_process_cycle.c
289
290
291objs/src/os/unix/ngx_linux_init.o: $(CORE_DEPS) src/os/unix/ngx_linux_init.c
292 $(CC) -c $(CFLAGS) $(CORE_INCS) -o objs/src/os/unix/ngx_linux_init.o src/os/unix/ngx_linux_init.c
293
294
295objs/src/event/modules/ngx_epoll_module.o: $(CORE_DEPS) src/event/modules/ngx_epoll_module.c
296 $(CC) -c $(CFLAGS) $(CORE_INCS) -o objs/src/event/modules/ngx_epoll_module.o src/event/modules/ngx_epoll_module.c
297
298
299objs/src/os/unix/ngx_linux_sendfile_chain.o: $(CORE_DEPS) src/os/unix/ngx_linux_sendfile_chain.c
300 $(CC) -c $(CFLAGS) $(CORE_INCS) -o objs/src/os/unix/ngx_linux_sendfile_chain.o src/os/unix/ngx_linux_sendfile_chain.c
301
302
303objs/src/core/ngx_regex.o: $(CORE_DEPS) src/core/ngx_regex.c
304 $(CC) -c $(CFLAGS) $(CORE_INCS) -o objs/src/core/ngx_regex.o src/core/ngx_regex.c
305
306
307objs/src/http/ngx_http.o: $(CORE_DEPS) $(HTTP_DEPS) src/http/ngx_http.c
308 $(CC) -c $(CFLAGS) $(CORE_INCS) $(HTTP_INCS) -o objs/src/http/ngx_http.o src/http/ngx_http.c
309
310
311objs/src/http/ngx_http_core_module.o: $(CORE_DEPS) $(HTTP_DEPS) src/http/ngx_http_core_module.c
312 $(CC) -c $(CFLAGS) $(CORE_INCS) $(HTTP_INCS) -o objs/src/http/ngx_http_core_module.o src/http/ngx_http_core_module.c
313
314
315objs/src/http/ngx_http_special_response.o: $(CORE_DEPS) $(HTTP_DEPS) src/http/ngx_http_special_response.c
316 $(CC) -c $(CFLAGS) $(CORE_INCS) $(HTTP_INCS) -o objs/src/http/ngx_http_special_response.o src/http/ngx_http_special_response.c
317
318
319objs/src/http/ngx_http_request.o: $(CORE_DEPS) $(HTTP_DEPS) src/http/ngx_http_request.c
320 $(CC) -c $(CFLAGS) $(CORE_INCS) $(HTTP_INCS) -o objs/src/http/ngx_http_request.o src/http/ngx_http_request.c
321
322
323objs/src/http/ngx_http_parse.o: $(CORE_DEPS) $(HTTP_DEPS) src/http/ngx_http_parse.c
324 $(CC) -c $(CFLAGS) $(CORE_INCS) $(HTTP_INCS) -o objs/src/http/ngx_http_parse.o src/http/ngx_http_parse.c
325
326
327objs/src/http/modules/ngx_http_log_module.o: $(CORE_DEPS) $(HTTP_DEPS) src/http/modules/ngx_http_log_module.c
328 $(CC) -c $(CFLAGS) $(CORE_INCS) $(HTTP_INCS) -o objs/src/http/modules/ngx_http_log_module.o src/http/modules/ngx_http_log_module.c
329
330
331objs/src/http/ngx_http_request_body.o: $(CORE_DEPS) $(HTTP_DEPS) src/http/ngx_http_request_body.c
332 $(CC) -c $(CFLAGS) $(CORE_INCS) $(HTTP_INCS) -o objs/src/http/ngx_http_request_body.o src/http/ngx_http_request_body.c
333
334
335objs/src/http/ngx_http_variables.o: $(CORE_DEPS) $(HTTP_DEPS) src/http/ngx_http_variables.c
336 $(CC) -c $(CFLAGS) $(CORE_INCS) $(HTTP_INCS) -o objs/src/http/ngx_http_variables.o src/http/ngx_http_variables.c
337
338
339objs/src/http/ngx_http_script.o: $(CORE_DEPS) $(HTTP_DEPS) src/http/ngx_http_script.c
340 $(CC) -c $(CFLAGS) $(CORE_INCS) $(HTTP_INCS) -o objs/src/http/ngx_http_script.o src/http/ngx_http_script.c
341
342
343objs/src/http/ngx_http_upstream.o: $(CORE_DEPS) $(HTTP_DEPS) src/http/ngx_http_upstream.c
344 $(CC) -c $(CFLAGS) $(CORE_INCS) $(HTTP_INCS) -o objs/src/http/ngx_http_upstream.o src/http/ngx_http_upstream.c
345
346
347objs/src/http/ngx_http_upstream_round_robin.o: $(CORE_DEPS) $(HTTP_DEPS) src/http/ngx_http_upstream_round_robin.c
348 $(CC) -c $(CFLAGS) $(CORE_INCS) $(HTTP_INCS) -o objs/src/http/ngx_http_upstream_round_robin.o src/http/ngx_http_upstream_round_robin.c
349
350
351objs/src/http/ngx_http_file_cache.o: $(CORE_DEPS) $(HTTP_DEPS) src/http/ngx_http_file_cache.c
352 $(CC) -c $(CFLAGS) $(CORE_INCS) $(HTTP_INCS) -o objs/src/http/ngx_http_file_cache.o src/http/ngx_http_file_cache.c
353
354
355objs/src/http/ngx_http_write_filter_module.o: $(CORE_DEPS) $(HTTP_DEPS) src/http/ngx_http_write_filter_module.c
356 $(CC) -c $(CFLAGS) $(CORE_INCS) $(HTTP_INCS) -o objs/src/http/ngx_http_write_filter_module.o src/http/ngx_http_write_filter_module.c
357
358
359objs/src/http/ngx_http_header_filter_module.o: $(CORE_DEPS) $(HTTP_DEPS) src/http/ngx_http_header_filter_module.c
360 $(CC) -c $(CFLAGS) $(CORE_INCS) $(HTTP_INCS) -o objs/src/http/ngx_http_header_filter_module.o src/http/ngx_http_header_filter_module.c
361
362
363objs/src/http/modules/ngx_http_chunked_filter_module.o: $(CORE_DEPS) $(HTTP_DEPS) src/http/modules/ngx_http_chunked_filter_module.c
364 $(CC) -c $(CFLAGS) $(CORE_INCS) $(HTTP_INCS) -o objs/src/http/modules/ngx_http_chunked_filter_module.o src/http/modules/ngx_http_chunked_filter_module.c
365
366
367objs/src/http/modules/ngx_http_range_filter_module.o: $(CORE_DEPS) $(HTTP_DEPS) src/http/modules/ngx_http_range_filter_module.c
368 $(CC) -c $(CFLAGS) $(CORE_INCS) $(HTTP_INCS) -o objs/src/http/modules/ngx_http_range_filter_module.o src/http/modules/ngx_http_range_filter_module.c
369
370
371objs/src/http/modules/ngx_http_gzip_filter_module.o: $(CORE_DEPS) $(HTTP_DEPS) src/http/modules/ngx_http_gzip_filter_module.c
372 $(CC) -c $(CFLAGS) $(CORE_INCS) $(HTTP_INCS) -o objs/src/http/modules/ngx_http_gzip_filter_module.o src/http/modules/ngx_http_gzip_filter_module.c
373
374
375objs/src/http/ngx_http_postpone_filter_module.o: $(CORE_DEPS) $(HTTP_DEPS) src/http/ngx_http_postpone_filter_module.c
376 $(CC) -c $(CFLAGS) $(CORE_INCS) $(HTTP_INCS) -o objs/src/http/ngx_http_postpone_filter_module.o src/http/ngx_http_postpone_filter_module.c
377
378
379objs/src/http/modules/ngx_http_ssi_filter_module.o: $(CORE_DEPS) $(HTTP_DEPS) src/http/modules/ngx_http_ssi_filter_module.c
380 $(CC) -c $(CFLAGS) $(CORE_INCS) $(HTTP_INCS) -o objs/src/http/modules/ngx_http_ssi_filter_module.o src/http/modules/ngx_http_ssi_filter_module.c
381
382
383objs/src/http/modules/ngx_http_charset_filter_module.o: $(CORE_DEPS) $(HTTP_DEPS) src/http/modules/ngx_http_charset_filter_module.c
384 $(CC) -c $(CFLAGS) $(CORE_INCS) $(HTTP_INCS) -o objs/src/http/modules/ngx_http_charset_filter_module.o src/http/modules/ngx_http_charset_filter_module.c
385
386
387objs/src/http/modules/ngx_http_userid_filter_module.o: $(CORE_DEPS) $(HTTP_DEPS) src/http/modules/ngx_http_userid_filter_module.c
388 $(CC) -c $(CFLAGS) $(CORE_INCS) $(HTTP_INCS) -o objs/src/http/modules/ngx_http_userid_filter_module.o src/http/modules/ngx_http_userid_filter_module.c
389
390
391objs/src/http/modules/ngx_http_headers_filter_module.o: $(CORE_DEPS) $(HTTP_DEPS) src/http/modules/ngx_http_headers_filter_module.c
392 $(CC) -c $(CFLAGS) $(CORE_INCS) $(HTTP_INCS) -o objs/src/http/modules/ngx_http_headers_filter_module.o src/http/modules/ngx_http_headers_filter_module.c
393
394
395objs/src/http/ngx_http_copy_filter_module.o: $(CORE_DEPS) $(HTTP_DEPS) src/http/ngx_http_copy_filter_module.c
396 $(CC) -c $(CFLAGS) $(CORE_INCS) $(HTTP_INCS) -o objs/src/http/ngx_http_copy_filter_module.o src/http/ngx_http_copy_filter_module.c
397
398
399objs/src/http/modules/ngx_http_not_modified_filter_module.o: $(CORE_DEPS) $(HTTP_DEPS) src/http/modules/ngx_http_not_modified_filter_module.c
400 $(CC) -c $(CFLAGS) $(CORE_INCS) $(HTTP_INCS) -o objs/src/http/modules/ngx_http_not_modified_filter_module.o src/http/modules/ngx_http_not_modified_filter_module.c
401
402
403objs/src/http/modules/ngx_http_static_module.o: $(CORE_DEPS) $(HTTP_DEPS) src/http/modules/ngx_http_static_module.c
404 $(CC) -c $(CFLAGS) $(CORE_INCS) $(HTTP_INCS) -o objs/src/http/modules/ngx_http_static_module.o src/http/modules/ngx_http_static_module.c
405
406
407objs/src/http/modules/ngx_http_autoindex_module.o: $(CORE_DEPS) $(HTTP_DEPS) src/http/modules/ngx_http_autoindex_module.c
408 $(CC) -c $(CFLAGS) $(CORE_INCS) $(HTTP_INCS) -o objs/src/http/modules/ngx_http_autoindex_module.o src/http/modules/ngx_http_autoindex_module.c
409
410
411objs/src/http/modules/ngx_http_index_module.o: $(CORE_DEPS) $(HTTP_DEPS) src/http/modules/ngx_http_index_module.c
412 $(CC) -c $(CFLAGS) $(CORE_INCS) $(HTTP_INCS) -o objs/src/http/modules/ngx_http_index_module.o src/http/modules/ngx_http_index_module.c
413
414
415objs/src/http/modules/ngx_http_mirror_module.o: $(CORE_DEPS) $(HTTP_DEPS) src/http/modules/ngx_http_mirror_module.c
416 $(CC) -c $(CFLAGS) $(CORE_INCS) $(HTTP_INCS) -o objs/src/http/modules/ngx_http_mirror_module.o src/http/modules/ngx_http_mirror_module.c
417
418
419objs/src/http/modules/ngx_http_try_files_module.o: $(CORE_DEPS) $(HTTP_DEPS) src/http/modules/ngx_http_try_files_module.c
420 $(CC) -c $(CFLAGS) $(CORE_INCS) $(HTTP_INCS) -o objs/src/http/modules/ngx_http_try_files_module.o src/http/modules/ngx_http_try_files_module.c
421
422
423objs/src/http/modules/ngx_http_auth_basic_module.o: $(CORE_DEPS) $(HTTP_DEPS) src/http/modules/ngx_http_auth_basic_module.c
424 $(CC) -c $(CFLAGS) $(CORE_INCS) $(HTTP_INCS) -o objs/src/http/modules/ngx_http_auth_basic_module.o src/http/modules/ngx_http_auth_basic_module.c
425
426
427objs/src/http/modules/ngx_http_access_module.o: $(CORE_DEPS) $(HTTP_DEPS) src/http/modules/ngx_http_access_module.c
428 $(CC) -c $(CFLAGS) $(CORE_INCS) $(HTTP_INCS) -o objs/src/http/modules/ngx_http_access_module.o src/http/modules/ngx_http_access_module.c
429
430
431objs/src/http/modules/ngx_http_limit_conn_module.o: $(CORE_DEPS) $(HTTP_DEPS) src/http/modules/ngx_http_limit_conn_module.c
432 $(CC) -c $(CFLAGS) $(CORE_INCS) $(HTTP_INCS) -o objs/src/http/modules/ngx_http_limit_conn_module.o src/http/modules/ngx_http_limit_conn_module.c
433
434
435objs/src/http/modules/ngx_http_limit_req_module.o: $(CORE_DEPS) $(HTTP_DEPS) src/http/modules/ngx_http_limit_req_module.c
436 $(CC) -c $(CFLAGS) $(CORE_INCS) $(HTTP_INCS) -o objs/src/http/modules/ngx_http_limit_req_module.o src/http/modules/ngx_http_limit_req_module.c
437
438
439objs/src/http/modules/ngx_http_geo_module.o: $(CORE_DEPS) $(HTTP_DEPS) src/http/modules/ngx_http_geo_module.c
440 $(CC) -c $(CFLAGS) $(CORE_INCS) $(HTTP_INCS) -o objs/src/http/modules/ngx_http_geo_module.o src/http/modules/ngx_http_geo_module.c
441
442
443objs/src/http/modules/ngx_http_map_module.o: $(CORE_DEPS) $(HTTP_DEPS) src/http/modules/ngx_http_map_module.c
444 $(CC) -c $(CFLAGS) $(CORE_INCS) $(HTTP_INCS) -o objs/src/http/modules/ngx_http_map_module.o src/http/modules/ngx_http_map_module.c
445
446
447objs/src/http/modules/ngx_http_split_clients_module.o: $(CORE_DEPS) $(HTTP_DEPS) src/http/modules/ngx_http_split_clients_module.c
448 $(CC) -c $(CFLAGS) $(CORE_INCS) $(HTTP_INCS) -o objs/src/http/modules/ngx_http_split_clients_module.o src/http/modules/ngx_http_split_clients_module.c
449
450
451objs/src/http/modules/ngx_http_referer_module.o: $(CORE_DEPS) $(HTTP_DEPS) src/http/modules/ngx_http_referer_module.c
452 $(CC) -c $(CFLAGS) $(CORE_INCS) $(HTTP_INCS) -o objs/src/http/modules/ngx_http_referer_module.o src/http/modules/ngx_http_referer_module.c
453
454
455objs/src/http/modules/ngx_http_rewrite_module.o: $(CORE_DEPS) $(HTTP_DEPS) src/http/modules/ngx_http_rewrite_module.c
456 $(CC) -c $(CFLAGS) $(CORE_INCS) $(HTTP_INCS) -o objs/src/http/modules/ngx_http_rewrite_module.o src/http/modules/ngx_http_rewrite_module.c
457
458
459objs/src/http/modules/ngx_http_proxy_module.o: $(CORE_DEPS) $(HTTP_DEPS) src/http/modules/ngx_http_proxy_module.c
460 $(CC) -c $(CFLAGS) $(CORE_INCS) $(HTTP_INCS) -o objs/src/http/modules/ngx_http_proxy_module.o src/http/modules/ngx_http_proxy_module.c
461
462
463objs/src/http/modules/ngx_http_fastcgi_module.o: $(CORE_DEPS) $(HTTP_DEPS) src/http/modules/ngx_http_fastcgi_module.c
464 $(CC) -c $(CFLAGS) $(CORE_INCS) $(HTTP_INCS) -o objs/src/http/modules/ngx_http_fastcgi_module.o src/http/modules/ngx_http_fastcgi_module.c
465
466
467objs/src/http/modules/ngx_http_uwsgi_module.o: $(CORE_DEPS) $(HTTP_DEPS) src/http/modules/ngx_http_uwsgi_module.c
468 $(CC) -c $(CFLAGS) $(CORE_INCS) $(HTTP_INCS) -o objs/src/http/modules/ngx_http_uwsgi_module.o src/http/modules/ngx_http_uwsgi_module.c
469
470
471objs/src/http/modules/ngx_http_scgi_module.o: $(CORE_DEPS) $(HTTP_DEPS) src/http/modules/ngx_http_scgi_module.c
472 $(CC) -c $(CFLAGS) $(CORE_INCS) $(HTTP_INCS) -o objs/src/http/modules/ngx_http_scgi_module.o src/http/modules/ngx_http_scgi_module.c
473
474
475objs/src/http/modules/ngx_http_memcached_module.o: $(CORE_DEPS) $(HTTP_DEPS) src/http/modules/ngx_http_memcached_module.c
476 $(CC) -c $(CFLAGS) $(CORE_INCS) $(HTTP_INCS) -o objs/src/http/modules/ngx_http_memcached_module.o src/http/modules/ngx_http_memcached_module.c
477
478
479objs/src/http/modules/ngx_http_empty_gif_module.o: $(CORE_DEPS) $(HTTP_DEPS) src/http/modules/ngx_http_empty_gif_module.c
480 $(CC) -c $(CFLAGS) $(CORE_INCS) $(HTTP_INCS) -o objs/src/http/modules/ngx_http_empty_gif_module.o src/http/modules/ngx_http_empty_gif_module.c
481
482
483objs/src/http/modules/ngx_http_browser_module.o: $(CORE_DEPS) $(HTTP_DEPS) src/http/modules/ngx_http_browser_module.c
484 $(CC) -c $(CFLAGS) $(CORE_INCS) $(HTTP_INCS) -o objs/src/http/modules/ngx_http_browser_module.o src/http/modules/ngx_http_browser_module.c
485
486
487objs/src/http/modules/ngx_http_upstream_hash_module.o: $(CORE_DEPS) $(HTTP_DEPS) src/http/modules/ngx_http_upstream_hash_module.c
488 $(CC) -c $(CFLAGS) $(CORE_INCS) $(HTTP_INCS) -o objs/src/http/modules/ngx_http_upstream_hash_module.o src/http/modules/ngx_http_upstream_hash_module.c
489
490
491objs/src/http/modules/ngx_http_upstream_ip_hash_module.o: $(CORE_DEPS) $(HTTP_DEPS) src/http/modules/ngx_http_upstream_ip_hash_module.c
492 $(CC) -c $(CFLAGS) $(CORE_INCS) $(HTTP_INCS) -o objs/src/http/modules/ngx_http_upstream_ip_hash_module.o src/http/modules/ngx_http_upstream_ip_hash_module.c
493
494
495objs/src/http/modules/ngx_http_upstream_least_conn_module.o: $(CORE_DEPS) $(HTTP_DEPS) src/http/modules/ngx_http_upstream_least_conn_module.c
496 $(CC) -c $(CFLAGS) $(CORE_INCS) $(HTTP_INCS) -o objs/src/http/modules/ngx_http_upstream_least_conn_module.o src/http/modules/ngx_http_upstream_least_conn_module.c
497
498
499objs/src/http/modules/ngx_http_upstream_keepalive_module.o: $(CORE_DEPS) $(HTTP_DEPS) src/http/modules/ngx_http_upstream_keepalive_module.c
500 $(CC) -c $(CFLAGS) $(CORE_INCS) $(HTTP_INCS) -o objs/src/http/modules/ngx_http_upstream_keepalive_module.o src/http/modules/ngx_http_upstream_keepalive_module.c
501
502
503objs/src/http/modules/ngx_http_upstream_zone_module.o: $(CORE_DEPS) $(HTTP_DEPS) src/http/modules/ngx_http_upstream_zone_module.c
504 $(CC) -c $(CFLAGS) $(CORE_INCS) $(HTTP_INCS) -o objs/src/http/modules/ngx_http_upstream_zone_module.o src/http/modules/ngx_http_upstream_zone_module.c
505
506
507manpage: objs/nginx.8
508
509objs/nginx.8: man/nginx.8 objs/ngx_auto_config.h
510 sed -e "s|%%PREFIX%%|/usr/local/nginx|" \
511 -e "s|%%PID_PATH%%|/usr/local/nginx/logs/nginx.pid|" \
512 -e "s|%%CONF_PATH%%|/usr/local/nginx/conf/nginx.conf|" \
513 -e "s|%%ERROR_LOG_PATH%%|/usr/local/nginx/logs/error.log|" \
514 < man/nginx.8 > $@
515
516install: build
517 test -d '$(DESTDIR)/usr/local/nginx' || mkdir -p '$(DESTDIR)/usr/local/nginx'
518
519 test -d '$(DESTDIR)/usr/local/nginx/sbin' \
520 || mkdir -p '$(DESTDIR)/usr/local/nginx/sbin'
521 test ! -f '$(DESTDIR)/usr/local/nginx/sbin/nginx' \
522 || mv '$(DESTDIR)/usr/local/nginx/sbin/nginx' \
523 '$(DESTDIR)/usr/local/nginx/sbin/nginx.old'
524 cp objs/nginx '$(DESTDIR)/usr/local/nginx/sbin/nginx'
525
526 test -d '$(DESTDIR)/usr/local/nginx/conf' \
527 || mkdir -p '$(DESTDIR)/usr/local/nginx/conf'
528
529 cp conf/koi-win '$(DESTDIR)/usr/local/nginx/conf'
530 cp conf/koi-utf '$(DESTDIR)/usr/local/nginx/conf'
531 cp conf/win-utf '$(DESTDIR)/usr/local/nginx/conf'
532
533 test -f '$(DESTDIR)/usr/local/nginx/conf/mime.types' \
534 || cp conf/mime.types '$(DESTDIR)/usr/local/nginx/conf'
535 cp conf/mime.types '$(DESTDIR)/usr/local/nginx/conf/mime.types.default'
536
537 test -f '$(DESTDIR)/usr/local/nginx/conf/fastcgi_params' \
538 || cp conf/fastcgi_params '$(DESTDIR)/usr/local/nginx/conf'
539 cp conf/fastcgi_params \
540 '$(DESTDIR)/usr/local/nginx/conf/fastcgi_params.default'
541
542 test -f '$(DESTDIR)/usr/local/nginx/conf/fastcgi.conf' \
543 || cp conf/fastcgi.conf '$(DESTDIR)/usr/local/nginx/conf'
544 cp conf/fastcgi.conf '$(DESTDIR)/usr/local/nginx/conf/fastcgi.conf.default'
545
546 test -f '$(DESTDIR)/usr/local/nginx/conf/uwsgi_params' \
547 || cp conf/uwsgi_params '$(DESTDIR)/usr/local/nginx/conf'
548 cp conf/uwsgi_params \
549 '$(DESTDIR)/usr/local/nginx/conf/uwsgi_params.default'
550
551 test -f '$(DESTDIR)/usr/local/nginx/conf/scgi_params' \
552 || cp conf/scgi_params '$(DESTDIR)/usr/local/nginx/conf'
553 cp conf/scgi_params \
554 '$(DESTDIR)/usr/local/nginx/conf/scgi_params.default'
555
556 test -f '$(DESTDIR)/usr/local/nginx/conf/nginx.conf' \
557 || cp conf/nginx.conf '$(DESTDIR)/usr/local/nginx/conf/nginx.conf'
558 cp conf/nginx.conf '$(DESTDIR)/usr/local/nginx/conf/nginx.conf.default'
559
560 test -d '$(DESTDIR)/usr/local/nginx/logs' \
561 || mkdir -p '$(DESTDIR)/usr/local/nginx/logs'
562
563 test -d '$(DESTDIR)/usr/local/nginx/logs' \
564 || mkdir -p '$(DESTDIR)/usr/local/nginx/logs'
565
566 test -d '$(DESTDIR)/usr/local/nginx/html' \
567 || cp -R html '$(DESTDIR)/usr/local/nginx'
568
569 test -d '$(DESTDIR)/usr/local/nginx/logs' \
570 || mkdir -p '$(DESTDIR)/usr/local/nginx/logs'