123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124 |
- HTMLPAGES = testcurl.html runtests.html
- PDFPAGES = testcurl.pdf runtests.pdf
- MANDISTPAGES = runtests.1.dist testcurl.1.dist
- IMP = python_dependencies/impacket
- SMBDEPS = $(IMP)/__init__.py $(IMP)/nmb.py $(IMP)/nt_errors.py \
- $(IMP)/ntlm.py $(IMP)/smb.py $(IMP)/smb3.py $(IMP)/smb3structs.py \
- $(IMP)/smbserver.py $(IMP)/spnego.py $(IMP)/structure.py \
- $(IMP)/uuid.py $(IMP)/version.py smbserver.py curl_test_data.py
- EXTRA_DIST = ftpserver.pl httpserver.pl secureserver.pl runtests.pl getpart.pm \
- FILEFORMAT README stunnel.pem memanalyze.pl testcurl.pl valgrind.pm ftp.pm \
- sshserver.pl sshhelp.pm pathhelp.pm testcurl.1 runtests.1 \
- serverhelp.pm tftpserver.pl rtspserver.pl directories.pm symbol-scan.pl \
- CMakeLists.txt mem-include-scan.pl valgrind.supp http_pipe.py extern-scan.pl \
- manpage-scan.pl nroff-scan.pl http2-server.pl dictserver.py \
- negtelnetserver.py $(SMBDEPS)
- DISTCLEANFILES = configurehelp.pm
- if BUILD_UNITTESTS
- BUILD_UNIT = unit
- DIST_UNIT =
- else
- BUILD_UNIT =
- DIST_UNIT = unit
- endif
- SUBDIRS = certs data server libtest $(BUILD_UNIT)
- DIST_SUBDIRS = $(SUBDIRS) $(DIST_UNIT)
- PERLFLAGS = -I$(srcdir)
- CLEANFILES = .http.pid .https.pid .ftp.pid .ftps.pid $(MANDISTPAGES)
- MAN2HTML= roffit $< >$@
- curl:
- @cd $(top_builddir) && $(MAKE)
- if CROSSCOMPILING
- TEST = @echo "NOTICE: we can't run the tests when cross-compiling!"
- else
- TEST = srcdir=$(srcdir) $(PERL) $(PERLFLAGS) $(srcdir)/runtests.pl
- TEST_Q = -a -s
- TEST_AM = -a -am
- TEST_F = -a -p -r
- TEST_T = -a -t
- TEST_E = -a -e
- TEST_NF = -a -p !flaky
- endif
- perlcheck:
- @if ! test -x "$(PERL)"; then echo "No perl!"; exit 2; fi
- test: perlcheck all
- $(TEST) $(TFLAGS)
- quiet-test: perlcheck all
- $(TEST) $(TEST_Q) $(TFLAGS)
- am-test: perlcheck all
- $(TEST) $(TEST_AM) $(TFLAGS)
- full-test: perlcheck all
- $(TEST) $(TEST_F) $(TFLAGS)
- nonflaky-test: perlcheck all
- $(TEST) $(TEST_NF) $(TFLAGS)
- torture-test: perlcheck all
- $(TEST) $(TEST_T) $(TFLAGS)
- event-test: perlcheck all
- $(TEST) $(TEST_E) $(TFLAGS)
- .1.html:
- $(MAN2HTML)
- .1.pdf:
- @(foo=`echo $@ | sed -e 's/\.[0-9]$$//g'`; \
- groff -Tps -man $< >$$foo.ps; \
- ps2pdf $$foo.ps $@; \
- rm $$foo.ps; \
- echo "converted $< to $@")
- checksrc:
- cd libtest && $(MAKE) checksrc
- cd unit && $(MAKE) checksrc
- cd server && $(MAKE) checksrc
- if CURLDEBUG
- all-local: checksrc
- endif
|