chiark / gitweb /
Infrastructure: Split the files into subdirectories.
[mLib] / sel / Makefile.am
1 ### -*-makefile-*-
2 ###
3 ### Build script for event-driven networking
4 ###
5 ### (c) 2009 Straylight/Edgeware
6 ###
7
8 ###----- Licensing notice ---------------------------------------------------
9 ###
10 ### This file is part of the mLib utilities library.
11 ###
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.
16 ###
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.
21 ###
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.
26
27 include $(top_srcdir)/vars.am
28
29 noinst_LTLIBRARIES       = libsel.la
30 libsel_la_SOURCES        =
31
32 ###--------------------------------------------------------------------------
33 ### Component files.
34
35 ## Core event selection.
36 pkginclude_HEADERS      += sel.h
37 libsel_la_SOURCES       += sel.c
38 LIBMANS                 += sel.3
39
40 ## Waiting for buffers to fill.
41 pkginclude_HEADERS      += selbuf.h selpk.h
42 libsel_la_SOURCES       += selbuf.c selpk.c
43 LIBMANS                 += selbuf.3 selpk.3
44
45 ## RFC931 identification.
46 pkginclude_HEADERS      += ident.h
47 libsel_la_SOURCES       += ident.c
48 LIBMANS                 += ident.3
49
50 ## Nonblocking connections.
51 pkginclude_HEADERS      += conn.h
52 libsel_la_SOURCES       += conn.c
53 LIBMANS                 += conn.3
54
55 ## Signal handling
56 pkginclude_HEADERS      += sig.h
57 libsel_la_SOURCES       += sig.c
58 LIBMANS                 += sig.3
59
60 ## Name resolution.
61 pkginclude_HEADERS      += bres.h
62 LIBMANS                 += bres.3
63
64 if WITH_ADNS
65 libsel_la_SOURCES       += bres-adns.c
66 else
67 libsel_la_SOURCES       += bres.c
68 pkglibexec_PROGRAMS      = bres
69 bres_SOURCES             = bres.c
70 bres_CPPFLAGS            = -DBRES_STANDALONE $(AM_CPPFLAGS)
71 bres_LDADD               =
72 endif
73
74 ###----- That's all, folks --------------------------------------------------