mirror of https://github.com/moparisthebest/curl
Compile most of the example apps in docs/examples when doing a 'make check'.
This commit is contained in:
parent
cf86f8cb78
commit
ffff8ddbef
|
@ -49,7 +49,7 @@ html:
|
||||||
pdf:
|
pdf:
|
||||||
cd docs; make pdf
|
cd docs; make pdf
|
||||||
|
|
||||||
check: test
|
check: test examples
|
||||||
|
|
||||||
if CROSSCOMPILING
|
if CROSSCOMPILING
|
||||||
test-full: test
|
test-full: test
|
||||||
|
@ -71,6 +71,9 @@ test-torture:
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
examples:
|
||||||
|
@(cd docs/examples; $(MAKE) all)
|
||||||
|
|
||||||
#
|
#
|
||||||
# Build source and binary rpms. For rpm-3.0 and above, the ~/.rpmmacros
|
# Build source and binary rpms. For rpm-3.0 and above, the ~/.rpmmacros
|
||||||
# must contain the following line:
|
# must contain the following line:
|
||||||
|
|
|
@ -2,17 +2,31 @@
|
||||||
# $Id$
|
# $Id$
|
||||||
#
|
#
|
||||||
|
|
||||||
AUTOMAKE_OPTIONS = foreign no-dependencies
|
AUTOMAKE_OPTIONS = foreign nostdinc
|
||||||
|
|
||||||
EXTRA_DIST = README curlgtk.c sepheaders.c simple.c postit2.c \
|
EXTRA_DIST = README Makefile.example makefile.dj $(COMPLICATED_EXAMPLES)
|
||||||
persistant.c ftpget.c Makefile.example multithread.c getinmemory.c \
|
|
||||||
ftpupload.c httpput.c simplessl.c ftpgetresp.c http-post.c \
|
INCLUDES = -I$(top_srcdir)/include/curl \
|
||||||
post-callback.c multi-app.c multi-double.c multi-single.c \
|
-I$(top_builddir)/lib \
|
||||||
multi-post.c fopen.c simplepost.c makefile.dj curlx.c https.c \
|
-I$(top_srcdir)/lib
|
||||||
multi-debugcallback.c fileupload.c getinfo.c ftp3rdparty.c debug.c \
|
|
||||||
anyauthput.c htmltitle.cc htmltidy.c opensslthreadlock.c \
|
LIBDIR = $(top_builddir)/lib
|
||||||
cookie_interface.c cacertinmem.c synctime.c sampleconv.c ftpuploadresume.c \
|
|
||||||
10-at-a-time.c hiperfifo.c ghiper.c
|
# Dependencies
|
||||||
|
LDADD = $(LIBDIR)/libcurl.la
|
||||||
|
|
||||||
|
# These are all libcurl example programs to be test compiled
|
||||||
|
noinst_PROGRAMS = 10-at-a-time anyauthput cookie_interface \
|
||||||
|
debug fileupload fopen ftpget ftpgetresp ftpupload \
|
||||||
|
getinfo getinmemory http-post httpput \
|
||||||
|
https multi-app multi-debugcallback multi-double \
|
||||||
|
multi-post multi-single persistant post-callback \
|
||||||
|
postit2 sepheaders simple simplepost simplessl
|
||||||
|
|
||||||
|
# These examples require external dependencies that may not be commonly
|
||||||
|
# available on POSIX systems, so don't bother attempting to compile them here.
|
||||||
|
COMPLICATED_EXAMPLES = \
|
||||||
|
curlgtk.c curlx.c htmltitle.cc cacertinmem.c ftpuploadresume.c \
|
||||||
|
ghiper.c hiperfifo.c htmltidy.c multithread.c \
|
||||||
|
opensslthreadlock.c sampleconv.c synctime.c
|
||||||
|
|
||||||
all:
|
|
||||||
@echo "done"
|
|
||||||
|
|
Loading…
Reference in New Issue