Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 89 lines (73 sloc) 2.607 kb
3c1bb36 @bagder use the *correct* header!
authored
1 #***************************************************************************
2 # _ _ ____ _
3 # Project ___| | | | _ \| |
4 # / __| | | | |_) | |
5 # | (__| |_| | _ <| |___
8433068 @bagder added our standard header
authored
6 # \___|\___/|_| \_\_____|
7 #
1fc5a41 @bagder test Makefile: only feature 'unit' once in the list of dirs
authored
8 # Copyright (C) 1998 - 2012, Daniel Stenberg, <daniel@haxx.se>, et al.
8433068 @bagder added our standard header
authored
9 #
3c1bb36 @bagder use the *correct* header!
authored
10 # This software is licensed as described in the file COPYING, which
11 # you should have received as part of this distribution. The terms
12 # are also available at http://curl.haxx.se/docs/copyright.html.
8433068 @bagder added our standard header
authored
13 #
14 # You may opt to use, copy, modify, merge, publish, distribute and/or sell
15 # copies of the Software, and permit persons to whom the Software is
3c1bb36 @bagder use the *correct* header!
authored
16 # furnished to do so, under the terms of the COPYING file.
8433068 @bagder added our standard header
authored
17 #
18 # This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
19 # KIND, either express or implied.
20 #
3c1bb36 @bagder use the *correct* header!
authored
21 ###########################################################################
2bf7293 @bagder provide HTML and PDF versions of the man pages in the dist archive
authored
22
0e76149 @bagder can you spell copy and paste error for me loud and clear? ;-P
authored
23 HTMLPAGES = testcurl.html runtests.html
24 PDFPAGES = testcurl.pdf runtests.pdf
2bf7293 @bagder provide HTML and PDF versions of the man pages in the dist archive
authored
25
5bec1b1 @yangtse secureserver.pl is now the test harness script used for SSL/TLS.
yangtse authored
26 EXTRA_DIST = ftpserver.pl httpserver.pl secureserver.pl runtests.pl getpart.pm \
b8417be @bagder removed ftpsserver.pl
authored
27 FILEFORMAT README stunnel.pem memanalyze.pl testcurl.pl valgrind.pm ftp.pm \
dd0b38b @bagder first take at bundling cmake-related files in the tarball
authored
28 sshserver.pl sshhelp.pm testcurl.1 runtests.1 $(HTMLPAGES) $(PDFPAGES) \
d0f6bde @yangtse Initial refactoring step for server name strings centralized generation
yangtse authored
29 CMakeLists.txt certs/scripts/*.sh certs/Server* certs/EdelCurlRoot* \
511031c @bagder dist: add new certs to tarball
authored
30 serverhelp.pm tftpserver.pl rtspserver.pl directories.pm symbol-scan.pl \
31 certs/srp-verifier-conf certs/srp-verifier-db
b915ca6 @bagder 'make distcheck' works now
authored
32
1fc5a41 @bagder test Makefile: only feature 'unit' once in the list of dirs
authored
33 # we have two variables here to make sure DIST_SUBDIRS won't get 'unit'
34 # added twice as then targets such as 'distclean' misbehave and try to
35 # do things twice in that subdir at times (and thus fails).
aa76dec @yangtse unit tests: more build adjustments
yangtse authored
36 if BUILD_UNITTESTS
37 BUILD_UNIT = unit
1fc5a41 @bagder test Makefile: only feature 'unit' once in the list of dirs
authored
38 DIST_UNIT =
aa76dec @yangtse unit tests: more build adjustments
yangtse authored
39 else
40 BUILD_UNIT =
1fc5a41 @bagder test Makefile: only feature 'unit' once in the list of dirs
authored
41 DIST_UNIT = unit
aa76dec @yangtse unit tests: more build adjustments
yangtse authored
42 endif
43
44 SUBDIRS = data server libtest $(BUILD_UNIT)
1fc5a41 @bagder test Makefile: only feature 'unit' once in the list of dirs
authored
45 DIST_SUBDIRS = $(SUBDIRS) $(DIST_UNIT)
3c0194b @bagder initial checkin
authored
46
7bb7550 @bagder fixes
authored
47 PERLFLAGS = -I$(srcdir)
48
9e81fd5 @bagder added CLEANFILES to make distcheck run fine
authored
49 CLEANFILES = .http.pid .https.pid .ftp.pid .ftps.pid
50
2bf7293 @bagder provide HTML and PDF versions of the man pages in the dist archive
authored
51 MAN2HTML= roffit < $< >$@
52
801626d @bagder Added a curl-target to make it easier to build from this dir
authored
53 curl:
c04ce95 @bagder cleaned up after David Byron's comment on the libcurl list, aug 5 2003
authored
54 @cd $(top_builddir) && $(MAKE)
801626d @bagder Added a curl-target to make it easier to build from this dir
authored
55
a8db25f @bagder the test targets won't invoke the test suite if curl is built cross-comp...
authored
56 if CROSSCOMPILING
57 TEST = @echo "NOTICE: we can't run the tests when cross-compiling!"
2332377 @dfandrich Added the --runtestsopts option to testcurl.pl to override the default
dfandrich authored
58 TEST_Q =
59 TEST_F =
60 TEST_T =
a8db25f @bagder the test targets won't invoke the test suite if curl is built cross-comp...
authored
61 else # if not cross-compiling:
62 TEST = srcdir=$(srcdir) $(PERL) $(PERLFLAGS) $(srcdir)/runtests.pl
598bc39 @dfandrich Add -a when running torture tests now that it's supported.
dfandrich authored
63 TEST_Q = -a -s
aeec8e0 @yangtse Added runtests.pl '-r' option for run time statistics
yangtse authored
64 TEST_F = -a -p -r
598bc39 @dfandrich Add -a when running torture tests now that it's supported.
dfandrich authored
65 TEST_T = -a -t
a8db25f @bagder the test targets won't invoke the test suite if curl is built cross-comp...
authored
66 endif
67
5e92b29 @bagder All test targets now run 'make all' before they prcoeed with the actual
authored
68 test: all
a8db25f @bagder the test targets won't invoke the test suite if curl is built cross-comp...
authored
69 $(TEST)
3c0194b @bagder initial checkin
authored
70
5e92b29 @bagder All test targets now run 'make all' before they prcoeed with the actual
authored
71 quiet-test: all
2332377 @dfandrich Added the --runtestsopts option to testcurl.pl to override the default
dfandrich authored
72 $(TEST) $(TEST_Q)
ec3054e @bagder make test in root now runs make quiet-test in the test dir
authored
73
5e92b29 @bagder All test targets now run 'make all' before they prcoeed with the actual
authored
74 full-test: all
2332377 @dfandrich Added the --runtestsopts option to testcurl.pl to override the default
dfandrich authored
75 $(TEST) $(TEST_F)
f39f7c2 @bagder 'make test-torture' in the root now runs a full torture test
authored
76
77 torture-test: all
2332377 @dfandrich Added the --runtestsopts option to testcurl.pl to override the default
dfandrich authored
78 $(TEST) $(TEST_T)
2bf7293 @bagder provide HTML and PDF versions of the man pages in the dist archive
authored
79
80 .1.html:
81 $(MAN2HTML)
82
83 .1.pdf:
84 @(foo=`echo $@ | sed -e 's/\.[0-9]$$//g'`; \
85 groff -Tps -man $< >$$foo.ps; \
86 ps2pdf $$foo.ps $@; \
87 rm $$foo.ps; \
88 echo "converted $< to $@")
Something went wrong with that request. Please try again.