diff src/Makefile.am @ 6738:6c95f01aaf49

[gaim-migrate @ 7270] Added optional GNUTLS support, which will also be used as a fallback if Mozilla NSS is not installed. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Thu, 04 Sep 2003 06:19:25 +0000
parents b7e113a59b51
children 1c06bdded08c
line wrap: on
line diff
--- a/src/Makefile.am	Thu Sep 04 05:36:09 2003 +0000
+++ b/src/Makefile.am	Thu Sep 04 06:19:25 2003 +0000
@@ -4,6 +4,8 @@
 		getopt1.c \
 		Makefile.mingw \
 		win_gaim.c \
+		ssl-nss.c \
+		ssl-gnutls.c \
 		win32/IdleTracker/Makefile.mingw \
 		win32/IdleTracker/idletrack.c \
 		win32/IdleTracker/idletrack.h \
@@ -43,6 +45,14 @@
 
 SUBDIRS = protocols
 
+if USE_NSS
+SSLSOURCES = ssl-nss.c
+endif
+
+if USE_GNUTLS
+SSLSOURCES = ssl-gnutls.c
+endif
+
 CORESOURCES = \
 	account.c \
 	account.h \
@@ -94,7 +104,8 @@
 	util.c \
 	util.h \
 	value.c \
-	value.h
+	value.h \
+	$(SSLSOURCES)
 
 bin_PROGRAMS = gaim gaim-remote
 gaim_SOURCES = \
@@ -165,7 +176,8 @@
 	$(SM_LIBS) \
 	$(INTLLIBS) \
 	$(GTKSPELL_LIBS) \
-	$(NSS_LIBS)
+	$(NSS_LIBS) \
+	$(GNUTLS_LIBS)
 
 gaim_remote_SOURCES = \
 	gaim-remote.c
@@ -185,4 +197,5 @@
 	$(DEBUG_CFLAGS) \
 	$(GTK_CFLAGS) \
 	$(GTKSPELL_CFLAGS) \
-	$(NSS_CFLAGS)
+	$(NSS_CFLAGS) \
+	$(GNUTLS_CFLAGS)