chiark / gitweb /
@@@ more mess
[mLib] / codec / Makefile.am
1 ### -*-makefile-*-
2 ###
3 ### Build script for encoding and decoding
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       = libcodec.la
30 libcodec_la_SOURCES      =
31
32 ###--------------------------------------------------------------------------
33 ### Component files.
34
35 ## Codec base.
36 pkginclude_HEADERS      += codec.h
37 libcodec_la_SOURCES     += codec.c
38 EXTRA_DIST              += codec.3.in
39 LIBMANS                 += codec.3
40
41 ## null
42 libcodec_la_SOURCES     += null-codec.c
43
44 ## Simple binary base-conversion codecs.
45 pkginclude_HEADERS      += base64.h base32.h hex.h
46 libcodec_la_SOURCES     += baseconv.c
47 EXTRA_DIST              += base64.3.in
48 LIBMANS                 += base64.3
49
50 ## form-urlencoded
51 pkginclude_HEADERS      += url.h
52 libcodec_la_SOURCES     += url.c
53 EXTRA_DIST              += url.3.in
54 LIBMANS                 += url.3
55
56 ## Test program.
57 bin_PROGRAMS            += bincode
58 EXTRA_DIST              += bincode.1.in
59 PROGMANS                += bincode.1
60
61 bincode_SOURCES          = bincode.c
62 bincode_LDADD            = libcodec.la
63 bincode_LDADD           += ../mem/libmem.la
64 bincode_LDADD           += ../struct/libstruct.la
65 bincode_LDADD           += $(UTIL_LIBS)
66
67 ###----- That's all, folks --------------------------------------------------