1# This file is part of libdaemon.
2#
3# Copyright 2003-2008 Lennart Poettering
4#
5# libdaemon is free software; you can redistribute it and/or modify it
6# under the terms of the GNU Lesser General Public License as
7# published by the Free Software Foundation, either version 2.1 of the
8# License, or (at your option) any later version.
9#
10# libdaemon is distributed in the hope that it will be useful, but
11# WITHOUT ANY WARRANTY; without even the implied warranty of
12# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13# Lesser General Public License for more details.
14#
15# You should have received a copy of the GNU Lesser General Public
16# License along with libdaemon. If not, see
17# <http://www.gnu.org/licenses/>.
18
19AM_CPPFLAGS='-DLOCALSTATEDIR="$(localstatedir)"'
20
21pkginclude_HEADERS = \
22	dlog.h \
23	dfork.h \
24	dsignal.h \
25	dnonblock.h \
26	dpid.h \
27	dexec.h \
28	daemon.h
29
30lib_LTLIBRARIES = libdaemon.la
31
32libdaemon_la_SOURCES = \
33	dlog.c \
34	dfork.c \
35	dsignal.c \
36	dnonblock.c \
37	dpid.c \
38	dexec.c \
39	daemon.h \
40	$(pkg_include_HEADERS)
41
42libdaemon_la_LDFLAGS = -version-info $(LIBDAEMON_VERSION_INFO) $(LDFLAGS_NOUNDEFINED)
43