2 # Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc.
4 # This file is part of Assuan.
6 # Assuan is free software; you can redistribute it and/or modify it
7 # under the terms of the GNU Lesser General Public License as
8 # published by the Free Software Foundation; either version 2.1 of
9 # the License, or (at your option) any later version.
11 # Assuan is distributed in the hope that it will be useful, but
12 # 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 this program; if not, see <http://www.gnu.org/licenses/>.
18 ## Process this file with automake to produce Makefile.in
20 EXTRA_DIST = mkerrors funopen.c
21 BUILT_SOURCES = assuan-errors.c
22 MOSTLYCLEANFILES = assuan-errors.c
25 libassuan_pth = libassuan-pth.la
40 assuan-pipe-connect.c \
41 assuan-socket-connect.c \
42 assuan-pipe-server.c \
48 noinst_LTLIBRARIES = libassuan.la $(libassuan_pth)
49 libassuan_la_SOURCES = $(common_sources) assuan-io.c
50 libassuan_la_CFLAGS = $(AM_CFLAGS)
51 libassuan_la_LIBADD = @LTLIBOBJS@
54 libassuan_pth_la_SOURCES = $(common_sources) assuan-io-pth.c
55 libassuan_pth_la_CFLAGS = $(AM_CFLAGS) $(PTH_CFLAGS)
56 libassuan_pth_la_LIBADD = @LTLIBOBJS@
59 assuan-errors.c : assuan.h mkerrors
60 $(srcdir)/mkerrors < $(srcdir)/assuan.h > assuan-errors.c