Bump versions.
[gsasl.git] / src / Makefile.am
blobebb176fb690139afd8b520e8363e01d65af40eab
1 ## Process this file with automake to produce Makefile.in
2 # Copyright (C) 2002, 2003, 2004, 2005, 2007 Simon Josefsson.
4 # This file is part of GNU SASL.
6 # This program is free software: you can redistribute it and/or modify
7 # it under the terms of the GNU General Public License as published by
8 # the Free Software Foundation, either version 3 of the License, or
9 # (at your option) any later version.
11 # This program 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
14 # GNU General Public License for more details.
16 # You should have received a copy of the GNU General Public License
17 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
19 AM_CPPFLAGS = -I$(top_srcdir)/gl -I$(top_builddir)/gl \
20          -I$(top_srcdir)/lib/src -I$(top_builddir)/lib/src
22 bin_PROGRAMS = gsasl
24 BUILT_SOURCES = gsasl_cmd.c gsasl_cmd.h
25 gsasl_SOURCES = gsasl.c $(BUILT_SOURCES) gsasl.ggo \
26         imap.c imap.h smtp.c smtp.h \
27         callbacks.h callbacks.c internal.h
28 gsasl_LDADD = ../lib/src/libgsasl.la ../gl/libgl.la \
29         @LTLIBREADLINE@ @LTLIBGNUTLS@
31 localedir = $(datadir)/locale
33 DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@
35 $(BUILT_SOURCES): gsasl.ggo
36         gengetopt --unamed-opts="HOST [PORT]" --input $< --file-name gsasl_cmd