Update.
[gsasl.git] / src / Makefile.am
blobf66e7adf457a99a562810b3eaca7c17a1db0aa67
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 # GNU SASL 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 2, or (at your option)
9 # any later version.
11 # GNU SASL 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 GNU SASL; if not, write to the Free Software Foundation,
18 # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
20 AM_CPPFLAGS = -I$(top_srcdir)/gl -I$(top_builddir)/gl \
21          -I$(top_srcdir)/lib/src -I$(top_builddir)/lib/src
23 bin_PROGRAMS = gsasl
25 BUILT_SOURCES = gsasl_cmd.c gsasl_cmd.h
26 gsasl_SOURCES = gsasl.c $(BUILT_SOURCES) gsasl.ggo \
27         imap.c imap.h smtp.c smtp.h \
28         callbacks.h callbacks.c internal.h
29 gsasl_LDADD = ../lib/src/libgsasl.la ../gl/libgl.la \
30         @LTLIBREADLINE@ @LTLIBGNUTLS@
32 localedir = $(datadir)/locale
34 DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@
36 $(BUILT_SOURCES): gsasl.ggo
37         gengetopt --unamed-opts="HOST [PORT]" --input $< --file-name gsasl_cmd