1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59
|
# Makefile for KLIPS 3DES kernel code as a module for 2.6 kernels
#
# Makefile for KLIPS kernel code as a module
# Copyright (C) 2002-2004 Michael Richardson <mcr@xelerance.com>
#
# This program is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the
# Free Software Foundation; either version 2 of the License, or (at your
# option) any later version. See <http://www.fsf.org/copyleft/gpl.txt>.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# for more details.
#
# RCSID $Id: Makefile.fs2_6,v 1.1.10.1 2005/08/12 16:10:05 ken Exp $
#
# Note! Dependencies are done automagically by 'make dep', which also
# removes any old dependencies. DON'T put your own dependencies here
# unless it's something special (ie not a .c file).
#
obj-$(CONFIG_KLIPS_ENC_AES) += ipsec_alg_aes.o
obj-$(CONFIG_KLIPS_ENC_AES) += aes_xcbc_mac.o
obj-$(CONFIG_KLIPS_ENC_AES) += aes_cbc.o
ifeq ($(strip ${SUBARCH}),)
SUBARCH:=${ARCH}
endif
# the assembly version expects frame pointers, which are
# optional in many kernel builds. If you want speed, you should
# probably use cryptoapi code instead.
USEASSEMBLY=${SUBARCH}${CONFIG_FRAME_POINTER}
ifeq (${USEASSEMBLY},i386y)
obj-$(CONFIG_KLIPS_ENC_AES) += aes-i586.o
else
obj-$(CONFIG_KLIPS_ENC_AES) += aes.o
endif
#
# $Log: Makefile.fs2_6,v $
# Revision 1.1.10.1 2005/08/12 16:10:05 ken
# do not use assembly code with there are no frame pointers
#
# Revision 1.2 2005/08/12 14:13:58 mcr
# do not use assembly code with there are no frame pointers,
# as it does not have the right linkages.
#
# Revision 1.1 2004/08/17 03:31:34 mcr
# klips 2.6 edits.
#
#
# Local Variables:
# compile-command: "(cd ../../.. && source umlsetup.sh && make -C ${POOLSPACE} module/ipsec.o)"
# End Variables:
#
|