From 6d95db6ea7eac746cee17def6ae899bac48de4a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Fri, 5 Jan 2007 21:07:34 +0000 Subject: [PATCH] Prune off stuff we don't use from imathsource git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19739 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/des/Makefile.am | 6 +----- lib/des/imath/import.sh | 2 ++ 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/lib/des/Makefile.am b/lib/des/Makefile.am index 1bd0f8208..26c62f194 100644 --- a/lib/des/Makefile.am +++ b/lib/des/Makefile.am @@ -118,12 +118,8 @@ libhcrypto_la_SOURCES = \ imathsource = \ imath/imath.c \ imath/imath.h \ - imath/imrat.c \ - imath/imrat.h \ imath/iprime.c \ - imath/iprime.h \ - imath/rsamath.c \ - imath/rsamath.h + imath/iprime.h $(libhcrypto_la_OBJECTS): hcrypto-link diff --git a/lib/des/imath/import.sh b/lib/des/imath/import.sh index 1349f7000..6fca6ae23 100644 --- a/lib/des/imath/import.sh +++ b/lib/des/imath/import.sh @@ -11,6 +11,8 @@ fi rm *.[ch] headers=`grep ^HDRS "$dir"/Makefile |sed 's/^HDRS=//' | sed 's/imdrover.h//'` +code=`echo $headers | sed 's/imrat.h//g'` +code=`echo $headers | sed 's/rsamath.h//g'` code=`echo $headers | sed 's/\.h/.c/g'` for a in $headers $code LICENSE ; do