openbsd-ports/net/gaim/patches/patch-plugins_ssl_Makefile_in
2005-07-23 20:57:02 +00:00

79 lines
3.3 KiB
Plaintext

$OpenBSD: patch-plugins_ssl_Makefile_in,v 1.8 2005/07/23 20:57:02 brad Exp $
--- plugins/ssl/Makefile.in.orig Thu Jul 7 21:57:03 2005
+++ plugins/ssl/Makefile.in Sat Jul 23 14:49:21 2005
@@ -59,6 +59,10 @@ am__installdirs = "$(DESTDIR)$(plugindir
pluginLTLIBRARIES_INSTALL = $(INSTALL)
LTLIBRARIES = $(plugin_LTLIBRARIES)
am__DEPENDENCIES_1 =
+@PLUGINS_TRUE@ssl_openssl_la_DEPENDENCIES = $(am__DEPENDENCIES_1)
+am__ssl_openssl_la_SOURCES_DIST = ssl-openssl.c
+@PLUGINS_TRUE@am_ssl_openssl_la_OBJECTS = ssl-openssl.lo
+ssl_openssl_la_OBJECTS = $(am_ssl_openssl_la_OBJECTS)
@PLUGINS_TRUE@ssl_gnutls_la_DEPENDENCIES = $(am__DEPENDENCIES_1)
am__ssl_gnutls_la_SOURCES_DIST = ssl-gnutls.c
@PLUGINS_TRUE@am_ssl_gnutls_la_OBJECTS = ssl-gnutls.lo
@@ -87,7 +91,7 @@ LINK = $(LIBTOOL) --tag=CC --mode=link $
$(AM_LDFLAGS) $(LDFLAGS) -o $@
SOURCES = $(ssl_gnutls_la_SOURCES) $(ssl_nss_la_SOURCES) \
$(ssl_la_SOURCES)
-DIST_SOURCES = $(am__ssl_gnutls_la_SOURCES_DIST) \
+DIST_SOURCES = $(am__ssl_openssl_la_SOURCES_DIST) $(am__ssl_gnutls_la_SOURCES_DIST) \
$(am__ssl_nss_la_SOURCES_DIST) $(am__ssl_la_SOURCES_DIST)
ETAGS = etags
CTAGS = ctags
@@ -224,6 +228,8 @@ MSGMERGE = @MSGMERGE@
NSS_CFLAGS = @NSS_CFLAGS@
NSS_LIBS = @NSS_LIBS@
OBJEXT = @OBJEXT@
+OPENSSL_CFLAGS = @OPENSSL_CFLAGS@
+OPENSSL_LIBS = @OPENSSL_LIBS@
PACKAGE = @PACKAGE@
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
PACKAGE_NAME = @PACKAGE_NAME@
@@ -361,16 +367,20 @@ EXTRA_DIST = \
plugindir = $(libdir)/gaim
ssl_la_LDFLAGS = -module -avoid-version $(GLIB_LIBS)
+ssl_openssl_la_LDFLAGS = -module -avoid-version $(GLIB_LIBS)
ssl_gnutls_la_LDFLAGS = -module -avoid-version $(GLIB_LIBS)
ssl_nss_la_LDFLAGS = -module -avoid-version $(GLIB_LIBS)
@PLUGINS_TRUE@plugin_LTLIBRARIES = \
@PLUGINS_TRUE@ ssl.la \
+@PLUGINS_TRUE@ ssl-openssl.la \
@PLUGINS_TRUE@ ssl-gnutls.la \
@PLUGINS_TRUE@ ssl-nss.la
@PLUGINS_TRUE@ssl_la_SOURCES = ssl.c
+@PLUGINS_TRUE@ssl_openssl_la_SOURCES = ssl-openssl.c
@PLUGINS_TRUE@ssl_gnutls_la_SOURCES = ssl-gnutls.c
@PLUGINS_TRUE@ssl_nss_la_SOURCES = ssl-nss.c
+@PLUGINS_TRUE@ssl_openssl_la_LIBADD = $(OPENSSL_LIBS)
@PLUGINS_TRUE@ssl_gnutls_la_LIBADD = $(GNUTLS_LIBS)
@PLUGINS_TRUE@ssl_nss_la_LIBADD = $(NSS_LIBS)
AM_CPPFLAGS = \
@@ -380,6 +390,7 @@ AM_CPPFLAGS = \
$(DEBUG_CFLAGS) \
$(GTK_CFLAGS) \
$(PLUGIN_CFLAGS) \
+ $(OPENSSL_CFLAGS) \
$(NSS_CFLAGS) \
$(GNUTLS_CFLAGS)
@@ -443,6 +454,8 @@ clean-pluginLTLIBRARIES:
echo "rm -f \"$${dir}/so_locations\""; \
rm -f "$${dir}/so_locations"; \
done
+ssl-openssl.la: $(ssl_openssl_la_OBJECTS) $(ssl_openssl_la_DEPENDENCIES)
+ $(LINK) -rpath $(plugindir) $(ssl_openssl_la_LDFLAGS) $(ssl_openssl_la_OBJECTS) $(ssl_openssl_la_LIBADD) $(LIBS)
ssl-gnutls.la: $(ssl_gnutls_la_OBJECTS) $(ssl_gnutls_la_DEPENDENCIES)
$(LINK) $(am_ssl_gnutls_la_rpath) $(ssl_gnutls_la_LDFLAGS) $(ssl_gnutls_la_OBJECTS) $(ssl_gnutls_la_LIBADD) $(LIBS)
ssl-nss.la: $(ssl_nss_la_OBJECTS) $(ssl_nss_la_DEPENDENCIES)
@@ -456,6 +469,7 @@ mostlyclean-compile:
distclean-compile:
-rm -f *.tab.c
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ssl-openssl.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ssl-gnutls.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ssl-nss.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ssl.Plo@am__quote@