~ubuntu-branches/ubuntu/lucid/curl/lucid-201101212007

« back to all changes in this revision

Viewing changes to lib/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Michael Vogt
  • Date: 2008-06-18 15:21:57 UTC
  • mfrom: (1.1.11 upstream)
  • Revision ID: james.westby@ubuntu.com-20080618152157-qq94aiequcq35w6b
Tags: 7.18.2-1ubuntu1
* Merge from debian unstable, remaining changes:
  - Drop the stunnel build dependency.
  - Drop the build-dependency on libdb4.5-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:
5
5
#                            | (__| |_| |  _ <| |___
6
6
#                             \___|\___/|_| \_\_____|
7
7
#
8
 
# Copyright (C) 1998 - 2007, Daniel Stenberg, <daniel@haxx.se>, et al.
 
8
# Copyright (C) 1998 - 2008, Daniel Stenberg, <daniel@haxx.se>, et al.
9
9
#
10
10
# This software is licensed as described in the file COPYING, which
11
11
# you should have received as part of this distribution. The terms
18
18
# This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
19
19
# KIND, either express or implied.
20
20
#
21
 
# $Id: Makefile.am,v 1.121 2007-10-29 10:19:07 bagder Exp $
 
21
# $Id: Makefile.am,v 1.128 2008-05-23 17:56:03 bagder Exp $
22
22
###########################################################################
23
23
AUTOMAKE_OPTIONS = foreign nostdinc
24
24
 
30
30
 
31
31
EXTRA_DIST = Makefile.b32 Makefile.m32 Makefile.vc6 Makefile.riscos     \
32
32
 $(DSP) curllib.dsw config-win32.h config-win32ce.h config-riscos.h     \
33
 
 config-mac.h config.h.in ca-bundle.crt makefile.dj config.dos          \
 
33
 config-mac.h config.h.in makefile.dj config.dos                \
34
34
 libcurl.framework.make libcurl.plist libcurl.rc config-amigaos.h       \
35
35
 amigaos.c amigaos.h makefile.amiga Makefile.netware nwlib.c nwos.c     \
36
36
 libcurl.imp msvcproj.head msvcproj.foot config-win32ce.h               \
37
 
 config-os400.h setup-os400.h \
38
 
 Makefile.Watcom config-tpf.h $(DOCS) $(VCPROJ)
 
37
 config-os400.h setup-os400.h config-symbian.h \
 
38
 Makefile.Watcom config-tpf.h $(DOCS) $(VCPROJ) mk-ca-bundle.pl
39
39
 
40
40
CLEANFILES = $(DSP) $(VCPROJ)
41
41
 
50
50
           -I$(top_builddir)/lib   \
51
51
           -I$(top_srcdir)/lib
52
52
 
53
 
VERSION=-version-info 4:1:0
 
53
VERSION=-version-info 5:0:1
54
54
 
55
55
# This flag accepts an argument of the form current[:revision[:age]]. So,
56
56
# passing -version-info 3:12:1 sets current to 3, revision to 12, and age to
101
101
WIN32SOURCES = $(CSOURCES)
102
102
WIN32HEADERS = $(HHEADERS) config-win32.h
103
103
 
104
 
BUILT_SOURCES = $(top_builddir)/lib/ca-bundle.h
105
 
 
106
 
$(top_builddir)/lib/ca-bundle.h: Makefile.in Makefile
107
 
        @if test -f $@; then \
108
 
          chmod 0644 $@; \
109
 
        fi
110
 
        echo "/* This file is generated automatically */" > $@
111
 
if CABUNDLE
112
 
        echo '#define CURL_CA_BUNDLE @CURL_CA_BUNDLE@' >> $@
113
 
else
114
 
        echo '#undef CURL_CA_BUNDLE /* unknown */' >> $@
115
 
endif
116
 
 
117
 
install-data-hook:
118
 
        @if test -n "@CURL_CA_BUNDLE@"; then \
119
 
          $(mkinstalldirs) `dirname $(DESTDIR)@CURL_CA_BUNDLE@`; \
120
 
          @INSTALL_DATA@ $(srcdir)/ca-bundle.crt $(DESTDIR)@CURL_CA_BUNDLE@; \
121
 
        fi
122
 
 
123
 
# this hook is mainly for non-unix systems to build even if configure
124
 
# isn't run
125
 
dist-hook:
126
 
        chmod 0644 $(distdir)/ca-bundle.h
127
 
        echo "/* ca bundle path set in here*/" > $(distdir)/ca-bundle.h
128
 
 
129
104
DSPOUT = | awk '{printf("%s\r\n", $$0)}' >> $(DSP)
130
105
VCPROJOUT = | awk '{printf("%s\r\n", $$0)}' >> $(VCPROJ)
131
106