Add.
[gsasl.git] / lib / gs2 / Makefile.am
blob339ac6c235716c333d9a2bd8334f7fbbace28f7e
1 ## Process this file with automake to produce Makefile.in
2 # Copyright (C) 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 AM_CPPFLAGS = -I$(srcdir)/../src -I../src -I$(srcdir)/../gl -I../gl
23 EXTRA_DIST = README
25 noinst_LTLIBRARIES = libgsasl-gs2.la
26 libgsasl_gs2_la_SOURCES = gs2.h mechinfo.c \
27         gs2parser.h gs2parser.c
29 if CLIENT
30 libgsasl_gs2_la_SOURCES += client.c
31 endif
33 if SERVER
34 libgsasl_gs2_la_SOURCES += server.c
35 endif
37 LDADD = libgsasl-gs2.la ../gl/libgl.la
39 ctests = test-parser$(EXEEXT)
40 TESTS = $(ctests)       
41 check_PROGRAMS = $(ctests)