Have pkcs15init as a DLL instead of as a static lib file

git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2334 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
sth 2005-05-04 13:17:26 +00:00
parent 246a31be8c
commit 14e03407c1
1 changed files with 4 additions and 4 deletions

View File

@ -1,6 +1,6 @@
TOPDIR = ..\..
TARGET = pkcs15init.lib
TARGET = pkcs15init.dll
HEADERS = pkcs15-init.h keycache.h
HEADERSDIR = $(TOPDIR)\src\include\opensc
@ -12,8 +12,8 @@ OBJECTS = profile.obj pkcs15-lib.obj keycache.obj \
all: install-headers $(TARGET)
$(TARGET): $(OBJECTS)
lib /nologo /machine:ix86 /out:$(TARGET) $(OBJECTS)
!INCLUDE $(TOPDIR)\win32\Make.rules.mak
$(TARGET): $(OBJECTS)
perl $(TOPDIR)\win32\makedef.pl $*.def $* $(OBJECTS)
link $(LINKFLAGS) /dll /def:$*.def /implib:$*.lib /out:$(TARGET) $(OBJECTS) ..\scconf\scconf.lib ..\scdl\scdl.lib ..\common\common.lib ..\libopensc\opensc.lib winscard.lib $(OPENSSL_LIB) gdi32.lib