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