1 |
# Makefile.am - build tests |
2 |
# Copyright (C) 2007, 2008 siliconforks.com |
3 |
# |
4 |
# This program is free software; you can redistribute it and/or modify |
5 |
# it under the terms of the GNU General Public License as published by |
6 |
# the Free Software Foundation; either version 2 of the License, or |
7 |
# (at your option) any later version. |
8 |
# |
9 |
# This program is distributed in the hope that it will be useful, |
10 |
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
11 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
12 |
# GNU General Public License for more details. |
13 |
# |
14 |
# You should have received a copy of the GNU General Public License along |
15 |
# with this program; if not, write to the Free Software Foundation, Inc., |
16 |
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. |
17 |
|
18 |
noinst_PROGRAMS = asprintf \ |
19 |
gethostbyname \ |
20 |
http-client-bad-body \ |
21 |
http-client-bad-url \ |
22 |
http-client-close-after-request \ |
23 |
http-server-bad-body \ |
24 |
http-server-bad-headers \ |
25 |
http-server-chunked \ |
26 |
http-server-close-immediately \ |
27 |
json \ |
28 |
mkdirs \ |
29 |
recursive-dir-list \ |
30 |
streams |
31 |
|
32 |
asprintf_SOURCES = asprintf.c ../util.c |
33 |
|
34 |
gethostbyname_SOURCES = gethostbyname.c ../http-host.c ../util.c |
35 |
gethostbyname_LDADD = @EXTRA_SOCKET_LIBS@ |
36 |
|
37 |
http_client_bad_body_SOURCES = http-client-bad-body.c ../http-url.c ../util.c |
38 |
http_client_bad_body_LDADD = @EXTRA_SOCKET_LIBS@ |
39 |
|
40 |
http_client_bad_url_SOURCES = http-client-bad-url.c ../util.c |
41 |
http_client_bad_url_LDADD = @EXTRA_SOCKET_LIBS@ |
42 |
|
43 |
http_client_close_after_request_LDADD = @EXTRA_SOCKET_LIBS@ |
44 |
|
45 |
http_server_bad_body_LDADD = @EXTRA_SOCKET_LIBS@ |
46 |
|
47 |
http_server_bad_headers_LDADD = @EXTRA_SOCKET_LIBS@ |
48 |
|
49 |
http_server_chunked_SOURCES = http-server-chunked.c ../stream.c ../util.c |
50 |
http_server_chunked_LDADD = @EXTRA_SOCKET_LIBS@ |
51 |
|
52 |
http_server_close_immediately_LDADD = @EXTRA_SOCKET_LIBS@ |
53 |
|
54 |
json_SOURCES = json.c ../instrument-js.c ../resource-manager.c ../stream.c ../util.c |
55 |
json_CPPFLAGS = -I../js/src |
56 |
json_LDFLAGS = -static |
57 |
json_LDADD = ../js/libjs.la -lm |
58 |
|
59 |
mkdirs_SOURCES = mkdirs.c ../util.c |
60 |
|
61 |
recursive_dir_list_SOURCES = recursive-dir-list.c ../util.c |
62 |
|
63 |
streams_SOURCES = streams.c ../stream.c ../util.c |
64 |
|
65 |
TESTS = fatal.sh \ |
66 |
help.sh \ |
67 |
invalid-option.sh \ |
68 |
javascript.sh \ |
69 |
no-arguments.sh \ |
70 |
recursive.sh \ |
71 |
recursive-crlf.sh \ |
72 |
recursive-fatal.sh \ |
73 |
recursive-no-instrument.sh \ |
74 |
same-directory.sh \ |
75 |
version.sh \ |
76 |
asprintf.sh \ |
77 |
mkdirs.sh \ |
78 |
recursive-dir-list.sh \ |
79 |
streams.sh \ |
80 |
chunked.sh \ |
81 |
gethostbyname.sh \ |
82 |
json.sh \ |
83 |
proxy.sh \ |
84 |
proxy-bad-request-body.sh \ |
85 |
proxy-bad-response-body.sh \ |
86 |
proxy-bad-response-body-javascript.sh \ |
87 |
proxy-bad-response-headers.sh \ |
88 |
proxy-no-server.sh \ |
89 |
proxy-url.sh \ |
90 |
server.sh \ |
91 |
server-close-after-request.sh \ |
92 |
server-content-types.sh \ |
93 |
server-directory-listing.sh \ |
94 |
server-directory-redirect.sh \ |
95 |
server-error.sh \ |
96 |
server-help.sh \ |
97 |
server-ip-address.sh \ |
98 |
server-shutdown.sh \ |
99 |
server-shutdown-bad-method.sh \ |
100 |
server-special-file.sh \ |
101 |
server-unreadable-directory.sh \ |
102 |
server-unreadable-file.sh \ |
103 |
server-version.sh \ |
104 |
server-verbose.sh \ |
105 |
store.sh \ |
106 |
store-bad-json.sh \ |
107 |
store-bad-request-body.sh \ |
108 |
store-bad-response-headers.sh \ |
109 |
store-escaped-characters.sh \ |
110 |
store-server-closes-immediately.sh \ |
111 |
store-server-bad-body.sh \ |
112 |
store-source-not-found.sh \ |
113 |
store-unreadable-json.sh \ |
114 |
store-unwritable-json.sh |