~ubuntu-branches/ubuntu/vivid/curl/vivid

« back to all changes in this revision

Viewing changes to .pc/99_nss.patch/tests/libtest/Makefile.am

  • Committer: Package Import Robot
  • Author(s): Sebastien Bacher
  • Date: 2013-05-07 12:16:37 UTC
  • mfrom: (3.4.37 sid)
  • Revision ID: package-import@ubuntu.com-20130507121637-9t3i98qgsyr9dw5d
Tags: 7.30.0-1ubuntu1
* Resynchronize on Debian. Remaining changes:
  - Drop dependencies not in main:
    + Build-Depends: Drop stunnel4 and libssh2-1-dev.
    + Drop libssh2-1-dev from binary package Depends.
  - Add new libcurl3-udeb package.
  - Add new curl-udeb package.
* Add warning to debian/patches/series.

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
#                            | (__| |_| |  _ <| |___
6
6
#                             \___|\___/|_| \_\_____|
7
7
#
8
 
# Copyright (C) 1998 - 2012, Daniel Stenberg, <daniel@haxx.se>, et al.
 
8
# Copyright (C) 1998 - 2013, 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
70
70
LDADD = $(SUPPORTFILES_LIBS)
71
71
DEPENDENCIES = $(top_builddir)/lib/libcurl-gnutls.la
72
72
 
73
 
# Mostly for Windows build targets, when using static libcurl
74
 
if USE_CPPFLAG_CURL_STATICLIB
75
 
AM_CPPFLAGS += -DCURL_STATICLIB
76
 
endif
77
 
 
78
73
# Makefile.inc provides the source defines (TESTUTIL, SUPPORTFILES,
79
74
# noinst_PROGRAMS, lib*_SOURCES, and lib*_CFLAGS)
80
75
include Makefile.inc
88
83
noinst_LTLIBRARIES =
89
84
endif
90
85
 
91
 
if NO_UNDEFINED
92
 
# The -no-undefined flag is crucial to build fine on some platforms
93
 
UNDEF = -no-undefined
94
 
endif
 
86
if USE_CPPFLAG_CURL_STATICLIB
 
87
AM_CPPFLAGS += -DCURL_STATICLIB
 
88
endif
 
89
 
 
90
AM_LDFLAGS =
 
91
AM_CFLAGS =
 
92
 
 
93
libhostname_la_CPPFLAGS_EXTRA =
 
94
libhostname_la_LDFLAGS_EXTRA = -module -avoid-version -rpath /nowhere
 
95
libhostname_la_CFLAGS_EXTRA =
 
96
 
 
97
if CURL_LT_SHLIB_USE_NO_UNDEFINED
 
98
libhostname_la_LDFLAGS_EXTRA += -no-undefined
 
99
endif
 
100
 
 
101
if CURL_LT_SHLIB_USE_MIMPURE_TEXT
 
102
libhostname_la_LDFLAGS_EXTRA += -mimpure-text
 
103
endif
 
104
 
 
105
if DOING_CURL_SYMBOL_HIDING
 
106
libhostname_la_CPPFLAGS_EXTRA += -DCURL_HIDDEN_SYMBOLS
 
107
libhostname_la_CFLAGS_EXTRA += $(CFLAG_CURL_SYMBOL_HIDING)
 
108
endif
 
109
 
 
110
libhostname_la_CPPFLAGS = $(AM_CPPFLAGS) $(libhostname_la_CPPFLAGS_EXTRA)
 
111
libhostname_la_LDFLAGS = $(AM_LDFLAGS) $(libhostname_la_LDFLAGS_EXTRA)
 
112
libhostname_la_CFLAGS = $(AM_CFLAGS) $(libhostname_la_CFLAGS_EXTRA)
95
113
 
96
114
libhostname_la_SOURCES = sethostname.c sethostname.h
97
115
 
98
116
libhostname_la_LIBADD =
99
117
libhostname_la_DEPENDENCIES =
100
 
libhostname_la_LDFLAGS = -module -avoid-version $(UNDEF) -rpath /nowhere
101
 
 
102
 
if DOING_CURL_SYMBOL_HIDING
103
 
libhostname_la_CPPFLAGS = $(AM_CPPFLAGS) -DCURL_HIDDEN_SYMBOLS
104
 
libhostname_la_CFLAGS = $(AM_CFLAGS) $(CFLAG_CURL_SYMBOL_HIDING)
105
 
else
106
 
libhostname_la_CPPFLAGS = $(AM_CPPFLAGS)
107
 
libhostname_la_CFLAGS = $(AM_CFLAGS)
108
 
endif