TOPDIR = ..\..

TARGET                  = libp11.dll

OBJECTS                 = p11_attr.obj p11_cert.obj p11_err.obj \
	p11_key.obj p11_load.obj p11_misc.obj p11_rsa.obj p11_slot.obj

all: $(TARGET)

!INCLUDE $(TOPDIR)\win32\Make.rules.mak

$(TARGET): $(OBJECTS) ..\scdl\scdl.lib 
	perl $(TOPDIR)\win32\makedef.pl $*.def $* $(OBJECTS)
	link $(LINKFLAGS) /dll /def:$*.def /implib:$*.lib /out:$(TARGET) $(OBJECTS) ..\scdl\scdl.lib $(OPENSSL_LIB)

TOPDIR = ..\..

TARGET                  = libp11.dll

HEADERS = libp11.h
HEADERSDIR = $(TOPDIR)\src\include

OBJECTS                 = p11_attr.obj p11_cert.obj p11_err.obj \
	p11_key.obj p11_load.obj p11_misc.obj p11_rsa.obj p11_slot.obj p11_ops.obj

all: install-headers $(TARGET)

!INCLUDE $(TOPDIR)\win32\Make.rules.mak

$(TARGET): $(OBJECTS) ..\scdl\scdl.lib 
	perl $(TOPDIR)\win32\makedef.pl $*.def $* $(OBJECTS)
	link $(LINKFLAGS) /dll /def:$*.def /implib:$*.lib /out:$(TARGET) $(OBJECTS) ..\pkcs11\libpkcs11.lib ..\scdl\scdl.lib $(OPENSSL_LIB)

Install libp11.h + small fixes
Install libp11.h + small fixes

git-svn-id: 444ed946b9c2220da791e84c3dd156a05f92db99@2430 c6295689-39f2-0310-b995-f0e70906c6a9
