1 ## Process this file with automake to produce Makefile.in
2 # Copyright (C) 2002, 2003, 2004, 2005 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)
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../lib/src -I$(top_srcdir)/lib/src
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