#
# Makefile for the linux networking.
#
# 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...


all: crypto_dirs crypto.o

CRYPTO_DIRS := des md5 sha rc5 blowfish idea mars rc6 rijndael serpent twofish

CRYPTO_OBJS := $(join $(CRYPTO_DIRS),$(CRYPTO_DIRS:%=/%.o))

include $(TOPDIR)/Rules.make

crypto_dirs:
	set -e; for i in $(CRYPTO_DIRS); do make -C $$i all; done

crypto.o: $(CRYPTO_OBJS)
	$(LD) $(LD_RFLAG) -r -o $@ $(CRYPTO_OBJS)
