diff options
author | Dan Fandrich <dan@coneharvesters.com> | 2008-03-31 03:01:13 +0000 |
---|---|---|
committer | Dan Fandrich <dan@coneharvesters.com> | 2008-03-31 03:01:13 +0000 |
commit | 1e482fe6a8dbc36a4e9ad19eb8fec98f240b5ed5 (patch) | |
tree | 6710477cf64587738a23963bb15d361bcf21b766 /docs | |
parent | 80e7f9b9de23d9de78697a6b946ec435c307a195 (diff) |
Changed the makefile so the doc/examples/ programs are never built in a
normal build/install (only with the 'make check' target), so that a
build failure in the examples isn't fatal.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/INSTALL | 4 | ||||
-rw-r--r-- | docs/examples/Makefile.am | 2 | ||||
-rw-r--r-- | docs/examples/Makefile.inc | 2 | ||||
-rw-r--r-- | docs/examples/Makefile.m32 | 4 |
4 files changed, 6 insertions, 6 deletions
diff --git a/docs/INSTALL b/docs/INSTALL index c3b18ecbf..d51e92ae7 100644 --- a/docs/INSTALL +++ b/docs/INSTALL @@ -709,8 +709,8 @@ REDUCING SIZE size of libcurl for embedded applications where binary size is an important factor. First, be sure to set the CFLAGS variable when configuring with any relevant compiler optimization flags to reduce the - size of the binary. For gcc, this would mean at minimum the -Os option - and probably the -march=X option as well, e.g.: + size of the binary. For gcc, this would mean at minimum the -Os option, + potentially the -march=X and -mdynamic-no-pic options as well, e.g.: ./configure CFLAGS='-Os' ... diff --git a/docs/examples/Makefile.am b/docs/examples/Makefile.am index 83980492b..83069d442 100644 --- a/docs/examples/Makefile.am +++ b/docs/examples/Makefile.am @@ -21,7 +21,7 @@ CPPFLAGS = -DCURL_NO_OLDIES $(STATICCPPFLAGS) # Dependencies LDADD = $(LIBDIR)/libcurl.la -# Makefile.inc provides the noinst_PROGRAMS and COMPLICATED_EXAMPLES defines +# Makefile.inc provides the check_PROGRAMS and COMPLICATED_EXAMPLES defines include Makefile.inc diff --git a/docs/examples/Makefile.inc b/docs/examples/Makefile.inc index 8753d4f4b..5d0c162a5 100644 --- a/docs/examples/Makefile.inc +++ b/docs/examples/Makefile.inc @@ -1,5 +1,5 @@ # These are all libcurl example programs to be test compiled -noinst_PROGRAMS = 10-at-a-time anyauthput cookie_interface \ +check_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 \ diff --git a/docs/examples/Makefile.m32 b/docs/examples/Makefile.m32 index e1ebab853..9fec1f42f 100644 --- a/docs/examples/Makefile.m32 +++ b/docs/examples/Makefile.m32 @@ -110,10 +110,10 @@ endif curl_LDADD += -lws2_32 -lwinmm COMPILE = $(CC) $(INCLUDES) $(CFLAGS) -# Makefile.inc provides the noinst_PROGRAMS and COMPLICATED_EXAMPLES defines +# Makefile.inc provides the check_PROGRAMS and COMPLICATED_EXAMPLES defines include Makefile.inc -example_PROGRAMS := $(patsubst %,%.exe,$(strip $(noinst_PROGRAMS))) +example_PROGRAMS := $(patsubst %,%.exe,$(strip $(check_PROGRAMS))) .SUFFIXES: .rc .res .o .exe |