Added pwmd_socket_type() which sets a parameter to PWMD_SOCKET_UDS or
[libpwmd.git] / assuan / Makefile.am
blob830af19a539b699a1b16d1629d4531d2a72d92f3
1 # Assuan Makefile
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
24 if HAVE_PTH
25 libassuan_pth = libassuan-pth.la
26 else
27 libassuan_pth = 
28 endif
30 common_sources = \
31         assuan.h \
32         assuan-defs.h \
33         assuan-util.c \
34         assuan-errors.c \
35         assuan-buffer.c \
36         assuan-handler.c \
37         assuan-inquire.c \
38         assuan-connect.c \
39         assuan-client.c \
40         assuan-pipe-connect.c \
41         assuan-socket-connect.c \
42         assuan-pipe-server.c \
43         assuan-uds.c \
44         assuan-logging.c \
45         assuan-listen.c \
46         assuan-socket.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@
53 if HAVE_PTH
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@
57 endif
59 assuan-errors.c : assuan.h mkerrors
60         $(srcdir)/mkerrors < $(srcdir)/assuan.h > assuan-errors.c