3 ### Build script for system utilities
5 ### (c) 2009 Straylight/Edgeware
8 ###----- Licensing notice ---------------------------------------------------
10 ### This file is part of the mLib utilities library.
12 ### mLib is free software; you can redistribute it and/or modify
13 ### it under the terms of the GNU Library General Public License as
14 ### published by the Free Software Foundation; either version 2 of the
15 ### License, or (at your option) any later version.
17 ### mLib is distributed in the hope that it will be useful,
18 ### but WITHOUT ANY WARRANTY; without even the implied warranty of
19 ### MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 ### GNU Library General Public License for more details.
22 ### You should have received a copy of the GNU Library General Public
23 ### License along with mLib; if not, write to the Free
24 ### Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
25 ### MA 02111-1307, USA.
27 include $(top_srcdir)/vars.am
29 noinst_LTLIBRARIES = libsys.la
32 ###--------------------------------------------------------------------------
36 pkginclude_HEADERS += daemonize.h
37 libsys_la_SOURCES += daemonize.c
38 LIBMANS += daemonize.3
40 ## Environment variables.
41 pkginclude_HEADERS += env.h
42 libsys_la_SOURCES += env.c
45 ## File and descriptor flags.
46 pkginclude_HEADERS += fdflags.h
47 libsys_la_SOURCES += fdflags.c
50 ## File descriptor passing.
51 pkginclude_HEADERS += fdpass.h
52 libsys_la_SOURCES += fdpass.c
55 ## Watching files for modification.
56 pkginclude_HEADERS += fwatch.h
57 libsys_la_SOURCES += fwatch.c
61 pkginclude_HEADERS += lock.h
62 libsys_la_SOURCES += lock.c
65 ## File descriptor juggling.
66 pkginclude_HEADERS += mdup.h
67 libsys_la_SOURCES += mdup.c
70 check_PROGRAMS += t/mdup.t
71 t_mdup_t_SOURCES = t/mdup-test.c
72 t_mdup_t_CPPFLAGS = $(TEST_CPPFLAGS)
73 t_mdup_t_LDFLAGS = -static
76 pkginclude_HEADERS += tv.h
77 libsys_la_SOURCES += tv.c
80 ###----- That's all, folks --------------------------------------------------