Packaging: clean spec file
[platform/upstream/libgsasl.git] / plain / Makefile.am
1 # Copyright (C) 2002-2012 Simon Josefsson
2 #
3 # This file is part of GNU SASL Library.
4 #
5 # GNU SASL Library is free software; you can redistribute it and/or
6 # modify it under the terms of the GNU Lesser General Public License
7 # as published by the Free Software Foundation; either version 2.1 of
8 # the License, or (at your option) any later version.
9 #
10 # GNU SASL Library is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13 # Lesser General Public License for more details.
14 #
15 # You should have received a copy of the GNU Lesser General Public
16 # License along with GNU SASL Library; if not, write to the Free
17 # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
18 # MA 02110-1301, USA.
19
20 AM_CFLAGS = $(WERROR_CFLAGS) $(WSTACK_CFLAGS) $(WARN_CFLAGS)
21 AM_CFLAGS += $(CFLAG_VISIBILITY)
22 AM_CPPFLAGS = -I$(srcdir)/../src -I../src -I$(srcdir)/../gl -I../gl
23
24 noinst_LTLIBRARIES = libgsasl-plain.la
25 libgsasl_plain_la_SOURCES = plain.h mechinfo.c
26
27 if CLIENT
28 libgsasl_plain_la_SOURCES += client.c
29 endif
30
31 if SERVER
32 libgsasl_plain_la_SOURCES += server.c
33 endif