Commit 1e482fe6 authored by Dan Fandrich's avatar Dan Fandrich
Browse files

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.
parent 80e7f9b9
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -6,6 +6,11 @@

                                  Changelog

Daniel Fandrich (30 Mar 2008)
- 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.

Version 7.18.1 (30 March 2008)

Daniel Stenberg (28 Mar 2008)
+1 −1
Original line number Diff line number Diff line
@@ -72,7 +72,7 @@ test-torture:
endif

examples:
	@(cd docs/examples; $(MAKE) all)
	@(cd docs/examples; $(MAKE) check)

#
# Build source and binary rpms. For rpm-3.0 and above, the ~/.rpmmacros
+2 −2
Original line number Diff line number Diff line
@@ -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' ...

+1 −1
Original line number Diff line number Diff line
@@ -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

+1 −1
Original line number Diff line number Diff line
# 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 \
Loading