3 ## $Id: Makefile.m4,v 1.3 2004/04/08 01:36:15 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 AUTOMAKE_OPTIONS = foreign
31 ## --- Building test rigs ---
33 define(`aestests', `dnl
34 _(`cast256', `CAST256')`'dnl
35 _(`serpent', `Serpent', `-v rev=1')`'dnl
36 _(`twofish', `Twofish')`'dnl
37 _(`rijndael', `Rijndael')`'dnl
38 _(`mars', `MARS')`'dnl
41 all: Makefile define(`_', ` $(srcdir)/$1')aestests
44 $(srcdir)/$1: $(srcdir)/$1.aes
45 cd $(srcdir); ./aes-trans $2 $3 <$1.aes >$1
49 MAINTAINERCLEANFILES = define(`_', ` $(srcdir)/$1')aestests
51 ## --- Building the Makefile ---
53 $(srcdir)/Makefile.am: $(srcdir)/Makefile.m4
54 cd $(srcdir); m4 Makefile.m4 >Makefile.am
56 ##----- That's all, folks ---------------------------------------------------