chiark / gitweb /
sel/sig.c: Discard return value without provoking other warnings.
[mLib] / Makefile.am
... / ...
CommitLineData
1### -*-makefile-*-
2###
3### Top-level build for mLib
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
27include $(top_srcdir)/vars.am
28
29SUBDIRS =
30
31###--------------------------------------------------------------------------
32### Top-level library.
33
34lib_LTLIBRARIES = libmLib.la
35libmLib_la_LDFLAGS = -version-info $(LIBTOOL_VERSION_INFO)
36libmLib_la_SOURCES =
37libmLib_la_LIBADD =
38
39###--------------------------------------------------------------------------
40### Package-configuration file.
41
42pkgconfigdir = $(libdir)/pkgconfig
43pkgconfig_DATA = mLib.pc
44EXTRA_DIST += mLib.pc.in
45CLEANFILES += mLib.pc
46
47mLib.pc: mLib.pc.in Makefile
48 $(AM_V_GEN)$(confsubst) $(srcdir)/mLib.pc.in >$@.new \
49 $(SUBSTITUTIONS) && \
50 mv $@.new $@
51
52###--------------------------------------------------------------------------
53### Subdirectories.
54###
55### Note: There are implicit dependencies between the subdirectories. Be
56### careful about reordering them.
57
58## Utilities.
59SUBDIRS += utils
60libmLib_la_LIBADD += utils/libutils.la
61
62## Memory allocation.
63SUBDIRS += mem
64libmLib_la_LIBADD += mem/libmem.la
65
66## User interface.
67SUBDIRS += ui
68libmLib_la_LIBADD += ui/libui.la
69
70## Hashing.
71SUBDIRS += hash
72libmLib_la_LIBADD += hash/libhash.la
73
74## Data structures.
75SUBDIRS += struct
76libmLib_la_LIBADD += struct/libstruct.la
77
78## Encoding and decoding.
79SUBDIRS += codec
80libmLib_la_LIBADD += codec/libcodec.la
81
82## System utilities.
83SUBDIRS += sys
84libmLib_la_LIBADD += sys/libsys.la
85
86## Buffering.
87SUBDIRS += buf
88libmLib_la_LIBADD += buf/libbuf.la
89
90## Event-driven networking.
91SUBDIRS += sel
92libmLib_la_LIBADD += sel/libsel.la
93
94## Testing.
95SUBDIRS += test
96libmLib_la_LIBADD += test/libtest.la
97
98## Tracing.
99SUBDIRS += trace
100libmLib_la_LIBADD += trace/libtrace.la
101
102###--------------------------------------------------------------------------
103### Testing.
104
105SUBDIRS += t
106
107###--------------------------------------------------------------------------
108### Distribution.
109
110## Release number.
111dist-hook::
112 echo $(VERSION) >$(distdir)/RELEASE
113
114## Additional build tools.
115EXTRA_DIST += config/confsubst
116EXTRA_DIST += config/auto-version
117EXTRA_DIST += config/maninst
118
119###--------------------------------------------------------------------------
120### Debian.
121
122## General stuff.
123EXTRA_DIST += debian/rules debian/copyright
124EXTRA_DIST += debian/control debian/changelog
125EXTRA_DIST += debian/mlib2.install
126EXTRA_DIST += debian/mlib2-adns.install
127EXTRA_DIST += debian/mlib-dev.install
128EXTRA_DIST += debian/mlib-bin.install
129
130###----- That's all, folks --------------------------------------------------