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 = libassuan-config.in mkerrors libassuan.m4
21 INCLUDES = -I.. -I$(top_srcdir)/include
22 BUILT_SOURCES = assuan-errors.c
23 MOSTLYCLEANFILES = assuan-errors.c
26 libassuan_pth = libassuan-pth.a
31 noinst_SCRIPTS = libassuan-config
32 m4datadir = $(datadir)/aclocal
33 noinst_DATA = libassuan.m4
34 noinst_LIBRARIES = $(libassuan_pth)
35 noinst_HEADERS = assuan.h
48 assuan-pipe-server.c \
49 assuan-socket-server.c \
50 assuan-pipe-connect.c \
51 assuan-socket-connect.c \
56 #libassuan_a_SOURCES = $(common_sources) assuan-io.c
57 #libassuan_a_LIBADD = @LIBOBJS@
60 libassuan_pth_a_SOURCES = $(common_sources) assuan-io-pth.c
61 libassuan_pth_a_CFLAGS = $(AM_CFLAGS) $(PTH_CFLAGS)
62 libassuan_pth_a_LIBADD = @LIBOBJS@
65 assuan-errors.c : assuan.h mkerrors
66 $(srcdir)/mkerrors < $(srcdir)/assuan.h > assuan-errors.c