#
# Makefile for the Linux IPSEC feature
#
# $Id: Makefile,v 0.5 1997/06/03 04:24:48 ji Rel $
#
# $Log: Makefile,v $
# Revision 0.5  1997/06/03 04:24:48  ji
# Added ESP-3DES-MD5-96
#
# Revision 0.4  1997/01/15 01:32:59  ji
# Added new transforms.
#
# Revision 0.3  1996/11/20 14:22:53  ji
# *** empty log message ***
#
#
# 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).
#
# Note 2! The CFLAGS definition is now in the main makefile...

O_TARGET := ipsec.o
O_OBJS := ipsec_init.o ipsec_xform.o ipsec_netlink.o ipsec_radij.o radij.o ipsec_tunnel.o ipsec_ipe4.o ipsec_md5c.o ipsec_sha1.o libdeslite.o
M_OBJS := $(O_TARGET)


ifeq ($(CONFIG_IPSEC_AH),y)
O_OBJS += ipsec_ah.o
endif

ifeq ($(CONFIG_IPSEC_AH_MD5),y)
O_OBJS += ipsec_ahmd5.o
endif

ifeq ($(CONFIG_IPSEC_AH_HMAC_MD5),y)
O_OBJS += ipsec_ahhmacmd5.o
endif

ifeq ($(CONFIG_IPSEC_AH_HMAC_SHA1),y)
O_OBJS += ipsec_ahhmacsha1.o
endif

ifeq ($(CONFIG_IPSEC_ESP),y)
O_OBJS += ipsec_esp.o
endif

ifeq ($(CONFIG_IPSEC_ESP_DES_CBC),y)
O_OBJS += ipsec_espdes.o
endif

ifeq ($(CONFIG_IPSEC_ESP_DES_MD5),y)
O_OBJS += ipsec_espdesmd5.o
endif

ifeq ($(CONFIG_IPSEC_ESP_3DES_MD5),y)
O_OBJS += ipsec_esp3desmd5.o
endif

ifeq ($(CONFIG_IPSEC_ESP_3DES_MD5_96),y)
O_OBJS += ipsec_esp3desmd596.o
endif

include $(TOPDIR)/Rules.make

tar:
		tar -cvf /dev/f1 .

libdeslite.o:
	( cd libdeslite; $(MAKE) libdeslite.o; cp libdeslite.o .. )
	
