3 ## $Id: Makefile.m4,v 1.2 2001/04/29 18:11:20 mdw Exp $
5 ## Build test vector files
7 ## (c) 2000 Straylight/Edgeware
10 ##----- Licensing notice ----------------------------------------------------
12 ## This file is part of Catacomb.
14 ## Catacomb is free software; you can redistribute it and/or modify
15 ## it under the terms of the GNU Library General Public License as
16 ## published by the Free Software Foundation; either version 2 of the
17 ## License, or (at your option) any later version.
19 ## Catacomb is distributed in the hope that it will be useful,
20 ## but WITHOUT ANY WARRANTY; without even the implied warranty of
21 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 ## GNU Library General Public License for more details.
24 ## You should have received a copy of the GNU Library General Public
25 ## License along with Catacomb; if not, write to the Free
26 ## Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
27 ## MA 02111-1307, USA.
29 ##----- Revision history ----------------------------------------------------
31 ## $Log: Makefile.m4,v $
32 ## Revision 1.2 2001/04/29 18:11:20 mdw
33 ## New block cipher MARS.
35 ## Revision 1.1 2000/06/17 12:12:20 mdw
36 ## Build mLib test vector files from the AES files.
39 AUTOMAKE_OPTIONS = foreign
41 ## --- Building test rigs ---
43 define(`aestests', `dnl
44 _(`cast256', `CAST256')`'dnl
45 _(`serpent', `Serpent', `-v rev=1')`'dnl
46 _(`twofish', `Twofish')`'dnl
47 _(`rijndael', `Rijndael')`'dnl
48 _(`mars', `MARS')`'dnl
51 all: Makefile define(`_', ` $(srcdir)/$1')aestests
54 $(srcdir)/$1: $(srcdir)/$1.aes
55 cd $(srcdir); ./aes-trans $2 $3 <$1.aes >$1
59 MAINTAINERCLEANFILES = define(`_', ` $(srcdir)/$1')aestests
61 ## --- Building the Makefile ---
63 $(srcdir)/Makefile.am: $(srcdir)/Makefile.m4
64 cd $(srcdir); m4 Makefile.m4 >Makefile.am
66 ##----- That's all, folks ---------------------------------------------------