Unset the DISPLAY and TERM environment variables just before forking. A
[pwmd.git] / assuan / src / Makefile.am
blob3bfb125a044edd93bb78ad73ef49d94de56dcfb3
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 = libassuan-config.in mkerrors libassuan.m4
21 INCLUDES = -I.. -I$(top_srcdir)/include
22 BUILT_SOURCES = assuan-errors.c
23 MOSTLYCLEANFILES = assuan-errors.c
25 if HAVE_PTH
26 libassuan_pth = libassuan-pth.a
27 else
28 libassuan_pth = 
29 endif
31 noinst_SCRIPTS = libassuan-config
32 m4datadir = $(datadir)/aclocal
33 noinst_DATA = libassuan.m4
34 noinst_LIBRARIES = $(libassuan_pth)
35 noinst_HEADERS = assuan.h
38 common_sources = \
39         assuan-defs.h \
40         assuan-util.c \
41         assuan-errors.c \
42         assuan-buffer.c \
43         assuan-handler.c \
44         assuan-inquire.c \
45         assuan-listen.c \
46         assuan-connect.c \
47         assuan-client.c \
48         assuan-pipe-server.c \
49         assuan-socket-server.c \
50         assuan-pipe-connect.c \
51         assuan-socket-connect.c \
52         assuan-uds.c \
53         assuan-logging.c \
54         assuan-socket.c
56 #libassuan_a_SOURCES = $(common_sources) assuan-io.c
57 #libassuan_a_LIBADD = @LIBOBJS@
59 if HAVE_PTH
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@
63 endif
65 assuan-errors.c : assuan.h mkerrors
66         $(srcdir)/mkerrors < $(srcdir)/assuan.h > assuan-errors.c