Add GS2.
[gsasl.git] / lib / src / Makefile.am
blobf515d9bf662cf5f51a2e95d03a5638c52c4998b5
1 ## Process this file with automake to produce Makefile.in
2 # Copyright (C) 2002, 2003, 2004, 2005, 2006 Simon Josefsson.
4 # This file is part of GNU SASL Library.
6 # GNU SASL Library is free software; you can redistribute it and/or
7 # modify it under the terms of the GNU Lesser General Public License
8 # as published by the Free Software Foundation; either version 2.1 of
9 # the License, or (at your option) any later version.
11 # GNU SASL Library is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14 # Lesser General Public License for more details.
16 # You should have received a copy of the GNU Lesser General Public
17 # License along with GNU SASL Library; if not, write to the Free
18 # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
19 # MA 02110-1301, USA.
21 lib_LTLIBRARIES = libgsasl.la
23 AM_CPPFLAGS = -I$(srcdir)/../gl -I../gl -I$(srcdir)/..
24 DEFS = -DLOCALEDIR=\"$(datadir)/locale\" @DEFS@
26 EXTRA_DIST = doxygen.c
28 include_HEADERS = gsasl.h gsasl-mech.h gsasl-compat.h
30 libgsasl_la_LDFLAGS = -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \
31         -export-symbols-regex '^(gsasl|GSASL).*' -no-undefined
32 libgsasl_la_LIBADD = ../gl/libgl.la @LTLIBINTL@ @LTLIBIDN@
33 libgsasl_la_SOURCES = internal.h \
34         init.c done.c register.c error.c version.c \
35         callback.c property.c \
36         supportp.c suggest.c listmech.c \
37         xstart.c xstep.c xfinish.c xcode.c \
38         base64.c md5pwd.c crypto.c \
39         saslprep.c
41 if OBSOLETE
42 libgsasl_la_SOURCES += obsolete.c
43 endif
45 # Plugins:
46 if EXTERNAL
47 libgsasl_la_LIBADD += ../external/libgsasl-external.la
48 endif
50 if ANONYMOUS
51 libgsasl_la_LIBADD += ../anonymous/libgsasl-anonymous.la
52 endif
54 if PLAIN
55 libgsasl_la_LIBADD += ../plain/libgsasl-plain.la
56 endif
58 if LOGIN
59 libgsasl_la_LIBADD += ../login/libgsasl-login.la
60 endif
62 if CRAM_MD5
63 libgsasl_la_LIBADD += ../cram-md5/libgsasl-cram_md5.la
64 endif
66 if DIGEST_MD5
67 libgsasl_la_LIBADD += ../digest-md5/libgsasl-digest_md5.la
68 endif
70 if NTLM
71 libgsasl_la_LIBADD += ../ntlm/libgsasl-ntlm.la
72 endif
74 if GSSAPI
75 libgsasl_la_LIBADD += ../gssapi/libgsasl-gssapi.la
76 endif                   
78 if GS2
79 libgsasl_la_LIBADD += ../gs2/libgsasl-gs2.la
80 endif                   
82 if SECURID
83 libgsasl_la_LIBADD += ../securid/libgsasl-securid.la
84 endif                   
86 if KERBEROS_V5
87 libgsasl_la_LIBADD += ../kerberos_v5/libgsasl-kerberos_v5.la
88 endif