1 |
# Makefile.am - build tests |
2 |
# Copyright (C) 2007, 2008, 2009 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 |
encodings \ |
20 |
gethostbyname \ |
21 |
http-client-bad-body \ |
22 |
http-client-bad-url \ |
23 |
http-client-close-after-request \ |
24 |
http-server-bad-body \ |
25 |
http-server-bad-headers \ |
26 |
http-server-charset \ |
27 |
http-server-chunked \ |
28 |
http-server-close-immediately \ |
29 |
http-server-empty-header-value \ |
30 |
json \ |
31 |
mkdirs \ |
32 |
recursive-dir-list \ |
33 |
streams |
34 |
|
35 |
AM_CFLAGS = @XP_DEF@ -I../js -I../js/obj |
36 |
AM_CXXFLAGS = @XP_DEF@ -I../js -I../js/obj |
37 |
|
38 |
asprintf_SOURCES = asprintf.c ../util.c |
39 |
|
40 |
encodings_SOURCES = encodings.c ../encoding.c ../util.c |
41 |
encodings_LDADD = @LIBICONV@ |
42 |
|
43 |
gethostbyname_SOURCES = gethostbyname.c ../http-host.c ../util.c |
44 |
gethostbyname_LDADD = @EXTRA_SOCKET_LIBS@ |
45 |
|
46 |
http_client_bad_body_SOURCES = http-client-bad-body.c ../http-url.c ../util.c |
47 |
http_client_bad_body_LDADD = @EXTRA_SOCKET_LIBS@ |
48 |
|
49 |
http_client_bad_url_SOURCES = http-client-bad-url.c ../util.c |
50 |
http_client_bad_url_LDADD = @EXTRA_SOCKET_LIBS@ |
51 |
|
52 |
http_client_close_after_request_LDADD = @EXTRA_SOCKET_LIBS@ |
53 |
|
54 |
http_server_bad_body_LDADD = @EXTRA_SOCKET_LIBS@ |
55 |
|
56 |
http_server_bad_headers_LDADD = @EXTRA_SOCKET_LIBS@ |
57 |
|
58 |
http_server_charset_SOURCES = http-server-charset.c ../stream.c ../util.c |
59 |
http_server_charset_LDADD = @EXTRA_SOCKET_LIBS@ |
60 |
|
61 |
http_server_chunked_SOURCES = http-server-chunked.c ../stream.c ../util.c |
62 |
http_server_chunked_LDADD = @EXTRA_SOCKET_LIBS@ |
63 |
|
64 |
http_server_close_immediately_LDADD = @EXTRA_SOCKET_LIBS@ |
65 |
|
66 |
http_server_empty_header_value_LDADD = @EXTRA_SOCKET_LIBS@ |
67 |
|
68 |
json_SOURCES = json.c ../encoding.c ../highlight.c ../instrument-js.cpp ../resource-manager.c ../stream.c ../util.c |
69 |
json_LDADD = ../js/obj/libjs.a -lm @LIBICONV@ @EXTRA_TIMER_LIBS@ |
70 |
|
71 |
mkdirs_SOURCES = mkdirs.c ../util.c |
72 |
|
73 |
recursive_dir_list_SOURCES = recursive-dir-list.c ../util.c |
74 |
|
75 |
streams_SOURCES = streams.c ../stream.c ../util.c |
76 |
|
77 |
TESTS = encodings.sh \ |
78 |
fatal.sh \ |
79 |
help.sh \ |
80 |
invalid-option.sh \ |
81 |
instrumented-source-directory.sh \ |
82 |
javascript.sh \ |
83 |
javascript-ignore.sh \ |
84 |
javascript-utf-8.sh \ |
85 |
mozilla.sh \ |
86 |
no-arguments.sh \ |
87 |
recursive.sh \ |
88 |
recursive-crlf.sh \ |
89 |
recursive-exclude.sh \ |
90 |
recursive-fatal.sh \ |
91 |
recursive-no-instrument.sh \ |
92 |
same-directory.sh \ |
93 |
version.sh \ |
94 |
asprintf.sh \ |
95 |
mkdirs.sh \ |
96 |
recursive-dir-list.sh \ |
97 |
streams.sh \ |
98 |
charset.sh \ |
99 |
chunked.sh \ |
100 |
gethostbyname.sh \ |
101 |
json.sh \ |
102 |
proxy.sh \ |
103 |
proxy-bad-request-body.sh \ |
104 |
proxy-bad-response-body.sh \ |
105 |
proxy-bad-response-body-javascript.sh \ |
106 |
proxy-bad-response-headers.sh \ |
107 |
proxy-empty-header-value.sh \ |
108 |
proxy-no-server.sh \ |
109 |
proxy-url.sh \ |
110 |
server.sh \ |
111 |
server-bad-requests.sh \ |
112 |
server-close-after-request.sh \ |
113 |
server-content-types.sh \ |
114 |
server-directory-listing.sh \ |
115 |
server-directory-redirect.sh \ |
116 |
server-encoded-url.sh \ |
117 |
server-error.sh \ |
118 |
server-help.sh \ |
119 |
server-ip-address.sh \ |
120 |
server-shutdown.sh \ |
121 |
server-shutdown-bad-method.sh \ |
122 |
server-special-file.sh \ |
123 |
server-unreadable-directory.sh \ |
124 |
server-unreadable-file.sh \ |
125 |
server-verbose.sh \ |
126 |
server-version.sh \ |
127 |
store.sh \ |
128 |
store-bad-json.sh \ |
129 |
store-bad-request-body.sh \ |
130 |
store-bad-response-headers.sh \ |
131 |
store-escaped-characters.sh \ |
132 |
store-server-bad-body.sh \ |
133 |
store-server-closes-immediately.sh \ |
134 |
store-source-not-found.sh \ |
135 |
store-unreadable-json.sh \ |
136 |
store-unwritable-json.sh |