chiark / gitweb /
Infrastructure: Split the files into subdirectories.
[mLib] / sel / Makefile.am
diff --git a/sel/Makefile.am b/sel/Makefile.am
new file mode 100644 (file)
index 0000000..2e87e7d
--- /dev/null
@@ -0,0 +1,74 @@
+### -*-makefile-*-
+###
+### Build script for event-driven networking
+###
+### (c) 2009 Straylight/Edgeware
+###
+
+###----- Licensing notice ---------------------------------------------------
+###
+### This file is part of the mLib utilities library.
+###
+### mLib is free software; you can redistribute it and/or modify
+### it under the terms of the GNU Library General Public License as
+### published by the Free Software Foundation; either version 2 of the
+### License, or (at your option) any later version.
+###
+### mLib is distributed in the hope that it will be useful,
+### but WITHOUT ANY WARRANTY; without even the implied warranty of
+### MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+### GNU Library General Public License for more details.
+###
+### You should have received a copy of the GNU Library General Public
+### License along with mLib; if not, write to the Free
+### Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
+### MA 02111-1307, USA.
+
+include $(top_srcdir)/vars.am
+
+noinst_LTLIBRARIES      = libsel.la
+libsel_la_SOURCES       =
+
+###--------------------------------------------------------------------------
+### Component files.
+
+## Core event selection.
+pkginclude_HEADERS     += sel.h
+libsel_la_SOURCES      += sel.c
+LIBMANS                        += sel.3
+
+## Waiting for buffers to fill.
+pkginclude_HEADERS     += selbuf.h selpk.h
+libsel_la_SOURCES      += selbuf.c selpk.c
+LIBMANS                        += selbuf.3 selpk.3
+
+## RFC931 identification.
+pkginclude_HEADERS     += ident.h
+libsel_la_SOURCES      += ident.c
+LIBMANS                        += ident.3
+
+## Nonblocking connections.
+pkginclude_HEADERS     += conn.h
+libsel_la_SOURCES      += conn.c
+LIBMANS                        += conn.3
+
+## Signal handling
+pkginclude_HEADERS     += sig.h
+libsel_la_SOURCES      += sig.c
+LIBMANS                        += sig.3
+
+## Name resolution.
+pkginclude_HEADERS     += bres.h
+LIBMANS                        += bres.3
+
+if WITH_ADNS
+libsel_la_SOURCES      += bres-adns.c
+else
+libsel_la_SOURCES      += bres.c
+pkglibexec_PROGRAMS     = bres
+bres_SOURCES            = bres.c
+bres_CPPFLAGS           = -DBRES_STANDALONE $(AM_CPPFLAGS)
+bres_LDADD              =
+endif
+
+###----- That's all, folks --------------------------------------------------