~ubuntu-branches/ubuntu/natty/curl/natty-security

« back to all changes in this revision

Viewing changes to .pc/gnutls/src/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Bhavani Shankar
  • Date: 2010-06-20 13:56:28 UTC
  • mfrom: (3.4.7 sid)
  • Revision ID: james.westby@ubuntu.com-20100620135628-e30tp9jldq6hq985
Tags: 7.21.0-1ubuntu1
* Merge from debian unstable.  Remaining changes: LP: #596334
  - Keep build deps in main:
    - Drop build dependencies: stunnel, libssh2-1-dev
    - Add build-dependency on openssh-server
    - Drop libssh2-1-dev from libcurl4-openssl-dev's Depends.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#***************************************************************************
 
2
#                                  _   _ ____  _
 
3
#  Project                     ___| | | |  _ \| |
 
4
#                             / __| | | | |_) | |
 
5
#                            | (__| |_| |  _ <| |___
 
6
#                             \___|\___/|_| \_\_____|
 
7
#
 
8
# Copyright (C) 1998 - 2009, Daniel Stenberg, <daniel@haxx.se>, et al.
 
9
#
 
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.
 
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
 
16
# furnished to do so, under the terms of the COPYING file.
 
17
#
 
18
# This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
 
19
# KIND, either express or implied.
 
20
#
 
21
###########################################################################
 
22
AUTOMAKE_OPTIONS = foreign nostdinc
 
23
 
 
24
# Specify our include paths here, and do it relative to $(top_srcdir) and
 
25
# $(top_builddir), to ensure that these paths which belong to the library
 
26
# being currently built and tested are searched before the library which
 
27
# might possibly already be installed in the system.
 
28
#
 
29
# $(top_builddir)/include/curl for generated curlbuild.h included from curl.h
 
30
# $(top_builddir)/include for generated curlbuild.h included from lib/setup.h
 
31
# $(top_srcdir)/include is for libcurl's external include files
 
32
# $(top_builddir)/lib is for libcurl's generated lib/curl_config.h file
 
33
# $(top_builddir)/src is for curl's generated src/curl_config.h file
 
34
# $(top_srcdir)/lib is for libcurl's lib/setup.h and other "borrowed" files
 
35
# $(top_srcdir)/src is for curl's src/setup.h and "curl-private" files
 
36
 
 
37
INCLUDES = -I$(top_builddir)/include/curl \
 
38
           -I$(top_builddir)/include      \
 
39
           -I$(top_srcdir)/include        \
 
40
           -I$(top_builddir)/lib          \
 
41
           -I$(top_builddir)/src          \
 
42
           -I$(top_srcdir)/lib            \
 
43
           -I$(top_srcdir)/src
 
44
 
 
45
bin_PROGRAMS = curl
 
46
 
 
47
include Makefile.inc
 
48
 
 
49
curl_LDADD = $(top_builddir)/lib/libcurl.la -lrt @CURL_LIBS@
 
50
curl_DEPENDENCIES = $(top_builddir)/lib/libcurl.la
 
51
BUILT_SOURCES = hugehelp.c
 
52
CLEANFILES = hugehelp.c
 
53
# Use the C locale to ensure that only ASCII characters appear in the
 
54
# embedded text.
 
55
NROFF=env LC_ALL=C @NROFF@ @MANOPT@ # figured out by the configure script
 
56
 
 
57
EXTRA_DIST = mkhelp.pl makefile.dj Makefile.vc6 Makefile.b32 Makefile.m32 \
 
58
        Makefile.riscos curl_config.h.in macos/curl.mcp.xml.sit.hqx       \
 
59
        macos/MACINSTALL.TXT macos/src/curl_GUSIConfig.cpp vc6curlsrc.dsp \
 
60
        macos/src/macos_main.cpp config-amigaos.h makefile.amiga curl.rc  \
 
61
        Makefile.netware Makefile.inc Makefile.Watcom vc6curlsrc.dsw      \
 
62
        CMakeLists.txt
 
63
 
 
64
MANPAGE=$(top_srcdir)/docs/curl.1
 
65
README=$(top_srcdir)/docs/MANUAL
 
66
MKHELP=$(top_srcdir)/src/mkhelp.pl
 
67
HUGE=hugehelp.c
 
68
 
 
69
if USE_MANUAL
 
70
# Here are the stuff to create a built-in manual
 
71
 
 
72
if HAVE_LIBZ
 
73
# This generates the hugehelp.c file in both uncompressed and compressed formats
 
74
$(HUGE): $(README) $(MANPAGE)  mkhelp.pl
 
75
        echo '#include "setup.h"' > $(HUGE)
 
76
        echo '#ifndef HAVE_LIBZ' >> $(HUGE)
 
77
        $(NROFF) $(MANPAGE) | $(PERL) $(MKHELP) $(README) >> $(HUGE)
 
78
        echo '#else' >> $(HUGE)
 
79
        $(NROFF) $(MANPAGE) | $(PERL) $(MKHELP) -c $(README) >> $(HUGE)
 
80
        echo '#endif /* HAVE_LIBZ */' >> $(HUGE)
 
81
else # HAVE_LIBZ
 
82
# This generates the hugehelp.c file uncompressed only
 
83
$(HUGE): $(README) $(MANPAGE)  mkhelp.pl
 
84
        echo '#include "setup.h"' > $(HUGE)
 
85
        $(NROFF) $(MANPAGE) | $(PERL) $(MKHELP) $(README) >> $(HUGE)
 
86
endif
 
87
 
 
88
else # USE_MANUAL
 
89
# built-in manual has been disabled, make a blank file
 
90
$(HUGE):
 
91
        echo "/* built-in manual is disabled, blank function */" > $(HUGE)
 
92
        echo '#include "hugehelp.h"' >> $(HUGE)
 
93
        echo "void hugehelp(void) {}" >>$(HUGE)
 
94
endif