Mercurial > pidgin
annotate libpurple/plugins/ssl/Makefile.am @ 24294:e39cafdbe089
Only build SSL plugins if the corresponding library is present.
Previously, stub versions of the plugins were built which refused to load if
the corresponding library was missing, which seems ... unconventional to me.
author | Will Thompson <will.thompson@collabora.co.uk> |
---|---|
date | Sat, 25 Oct 2008 14:33:54 +0000 |
parents | 441945083737 |
children | bcad7dc4b453 |
rev | line source |
---|---|
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1 EXTRA_DIST = \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
2 Makefile.mingw |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
3 |
16583
ce049678a67b
soname versioning of libpurple. Should help resolve debian bug 421282
Stu Tomlinson <stu@nosnilmot.com>
parents:
16285
diff
changeset
|
4 plugindir = $(libdir)/purple-$(PURPLE_MAJOR_VERSION) |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
5 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
6 ssl_la_LDFLAGS = -module -avoid-version |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
7 ssl_gnutls_la_LDFLAGS = -module -avoid-version |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
8 ssl_nss_la_LDFLAGS = -module -avoid-version |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
9 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
10 if PLUGINS |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
11 |
24294
e39cafdbe089
Only build SSL plugins if the corresponding library is present.
Will Thompson <will.thompson@collabora.co.uk>
parents:
16754
diff
changeset
|
12 # I'm sorry to report that Automake Conditionals don't support |
e39cafdbe089
Only build SSL plugins if the corresponding library is present.
Will Thompson <will.thompson@collabora.co.uk>
parents:
16754
diff
changeset
|
13 # if USE_GNUTLS && USE_NSS |
e39cafdbe089
Only build SSL plugins if the corresponding library is present.
Will Thompson <will.thompson@collabora.co.uk>
parents:
16754
diff
changeset
|
14 # but only support testing a single variable. Hence: |
e39cafdbe089
Only build SSL plugins if the corresponding library is present.
Will Thompson <will.thompson@collabora.co.uk>
parents:
16754
diff
changeset
|
15 |
e39cafdbe089
Only build SSL plugins if the corresponding library is present.
Will Thompson <will.thompson@collabora.co.uk>
parents:
16754
diff
changeset
|
16 if USE_GNUTLS |
e39cafdbe089
Only build SSL plugins if the corresponding library is present.
Will Thompson <will.thompson@collabora.co.uk>
parents:
16754
diff
changeset
|
17 if USE_NSS |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
18 plugin_LTLIBRARIES = \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
19 ssl.la \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
20 ssl-gnutls.la \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
21 ssl-nss.la |
24294
e39cafdbe089
Only build SSL plugins if the corresponding library is present.
Will Thompson <will.thompson@collabora.co.uk>
parents:
16754
diff
changeset
|
22 else |
e39cafdbe089
Only build SSL plugins if the corresponding library is present.
Will Thompson <will.thompson@collabora.co.uk>
parents:
16754
diff
changeset
|
23 plugin_LTLIBRARIES = \ |
e39cafdbe089
Only build SSL plugins if the corresponding library is present.
Will Thompson <will.thompson@collabora.co.uk>
parents:
16754
diff
changeset
|
24 ssl.la \ |
e39cafdbe089
Only build SSL plugins if the corresponding library is present.
Will Thompson <will.thompson@collabora.co.uk>
parents:
16754
diff
changeset
|
25 ssl-gnutls.la |
e39cafdbe089
Only build SSL plugins if the corresponding library is present.
Will Thompson <will.thompson@collabora.co.uk>
parents:
16754
diff
changeset
|
26 endif |
e39cafdbe089
Only build SSL plugins if the corresponding library is present.
Will Thompson <will.thompson@collabora.co.uk>
parents:
16754
diff
changeset
|
27 else |
e39cafdbe089
Only build SSL plugins if the corresponding library is present.
Will Thompson <will.thompson@collabora.co.uk>
parents:
16754
diff
changeset
|
28 if USE_NSS |
e39cafdbe089
Only build SSL plugins if the corresponding library is present.
Will Thompson <will.thompson@collabora.co.uk>
parents:
16754
diff
changeset
|
29 plugin_LTLIBRARIES = \ |
e39cafdbe089
Only build SSL plugins if the corresponding library is present.
Will Thompson <will.thompson@collabora.co.uk>
parents:
16754
diff
changeset
|
30 ssl.la \ |
e39cafdbe089
Only build SSL plugins if the corresponding library is present.
Will Thompson <will.thompson@collabora.co.uk>
parents:
16754
diff
changeset
|
31 ssl-nss.la |
e39cafdbe089
Only build SSL plugins if the corresponding library is present.
Will Thompson <will.thompson@collabora.co.uk>
parents:
16754
diff
changeset
|
32 else |
e39cafdbe089
Only build SSL plugins if the corresponding library is present.
Will Thompson <will.thompson@collabora.co.uk>
parents:
16754
diff
changeset
|
33 plugin_LTLIBRARIES = \ |
e39cafdbe089
Only build SSL plugins if the corresponding library is present.
Will Thompson <will.thompson@collabora.co.uk>
parents:
16754
diff
changeset
|
34 ssl.la |
e39cafdbe089
Only build SSL plugins if the corresponding library is present.
Will Thompson <will.thompson@collabora.co.uk>
parents:
16754
diff
changeset
|
35 endif |
e39cafdbe089
Only build SSL plugins if the corresponding library is present.
Will Thompson <will.thompson@collabora.co.uk>
parents:
16754
diff
changeset
|
36 endif |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
37 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
38 ssl_la_SOURCES = ssl.c |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
39 ssl_gnutls_la_SOURCES = ssl-gnutls.c |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
40 ssl_nss_la_SOURCES = ssl-nss.c |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
41 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
42 ssl_la_LIBADD = $(GLIB_LIBS) |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
43 ssl_gnutls_la_LIBADD = $(GLIB_LIBS) $(GNUTLS_LIBS) |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
44 ssl_nss_la_LIBADD = $(GLIB_LIBS) $(NSS_LIBS) |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
45 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
46 endif # PLUGINS |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
47 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
48 AM_CPPFLAGS = \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
49 -DDATADIR=\"$(datadir)\" \ |
15886
b4a3c28bbd76
A couple more gaims bite the dust
Stu Tomlinson <stu@nosnilmot.com>
parents:
15807
diff
changeset
|
50 -DLIBDIR=\"$(libdir)/libpurple\" \ |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
51 -I$(top_srcdir)/libpurple \ |
16754
441945083737
Now that version.h is a generated source file, we need to add
Stu Tomlinson <stu@nosnilmot.com>
parents:
16583
diff
changeset
|
52 -I$(top_builddir)/libpurple \ |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
53 $(DEBUG_CFLAGS) \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
54 $(GLIB_CFLAGS) \ |
15807
887ed73d426c
Only use gnutls and nss CFLAGS for the relevant plugins, not for all SSL
Stu Tomlinson <stu@nosnilmot.com>
parents:
15461
diff
changeset
|
55 $(PLUGIN_CFLAGS) |
887ed73d426c
Only use gnutls and nss CFLAGS for the relevant plugins, not for all SSL
Stu Tomlinson <stu@nosnilmot.com>
parents:
15461
diff
changeset
|
56 |
887ed73d426c
Only use gnutls and nss CFLAGS for the relevant plugins, not for all SSL
Stu Tomlinson <stu@nosnilmot.com>
parents:
15461
diff
changeset
|
57 ssl_gnutls_la_CFLAGS = $(AM_CPPFLAGS) $(GNUTLS_CFLAGS) |
887ed73d426c
Only use gnutls and nss CFLAGS for the relevant plugins, not for all SSL
Stu Tomlinson <stu@nosnilmot.com>
parents:
15461
diff
changeset
|
58 ssl_nss_la_CFLAGS = $(AM_CPPFLAGS) $(NSS_CFLAGS) |