PKGDIR?= ../..
L4DIR ?= $(PKGDIR)/../..

# the name of your library
TARGET	= libvtpm.o.a

CFLAGS  = -ffunction-sections
RSA_SRC = desc.c digit.c md2c.c md5c.c nn.c prime.c \
          rsa.c r_encode.c r_dh.c r_enhanc.c r_keygen.c r_random.c r_stdlib.c


SRC_C_libvtpm.o.a	= vtpm.c rsaglue.c $(RSA_SRC)


VPATH += $(PKGDIR)/contrib/rsaref2/source
PRIVATE_INCDIR = $(PKGDIR)/include \
		 $(PKGDIR)/contrib/rsaref2/source
		 
WARNINGS = -Wall -Wstrict-prototypes

include $(L4DIR)/mk/lib.mk
