3 ### Build script for basic utilities
5 ### (c) 2013 Straylight/Edgeware
8 ###----- Licensing notice ---------------------------------------------------
10 ### This file is part of Catacomb.
12 ### Catacomb 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.
17 ### Catacomb 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.
22 ### You should have received a copy of the GNU Library General Public
23 ### License along with Catacomb; if not, write to the Free
24 ### Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
25 ### MA 02111-1307, USA.
27 include $(top_srcdir)/vars.am
29 noinst_LTLIBRARIES = libbase.la
32 TEST_LIBS = libbase.la
34 ###--------------------------------------------------------------------------
37 ## The locked-memory arena.
38 pkginclude_HEADERS += arena.h
39 libbase_la_SOURCES += arena.c
41 ## Constant-type operations.
42 pkginclude_HEADERS += ct.h
43 libbase_la_SOURCES += ct.c ct-test.c
45 ## CPU-specific dispatch.
46 pkginclude_HEADERS += dispatch.h
47 libbase_la_SOURCES += dispatch.c
49 libbase_la_SOURCES += dispatch-x86ish.S
52 libbase_la_SOURCES += dispatch-x86ish.S
55 ## Acceptable key-size descriptions.
56 pkginclude_HEADERS += keysz.h
57 libbase_la_SOURCES += keysz.c keysz-conv.c
59 ## System-level memory locking.
60 pkginclude_HEADERS += lmem.h
61 libbase_la_SOURCES += lmem.c
63 ## Clearing secrets from memory.
64 pkginclude_HEADERS += paranoia.h
66 ## Reservoir handling.
67 pkginclude_HEADERS += rsvr.h
68 libbase_la_SOURCES += rsvr.c
69 TESTS += rsvr.t$(EXEEXT)
72 ## Base definitions for assembler source.
73 EXTRA_DIST += asm-common.h
76 libbase_la_SOURCES += regdump.c regdump.h
78 libbase_la_SOURCES += regdump-x86ish.S
81 libbase_la_SOURCES += regdump-x86ish.S
84 libbase_la_SOURCES += regdump-arm.S
87 libbase_la_SOURCES += regdump-arm64.S
91 ###----- That's all, folks --------------------------------------------------