2010-02-05 13:05:25 +00:00
|
|
|
TOPDIR = ..\..
|
|
|
|
|
2011-04-12 07:40:12 +00:00
|
|
|
TARGET = opensc-minidriver.dll
|
2013-12-29 18:20:59 +00:00
|
|
|
OBJECTS = minidriver.obj versioninfo-minidriver.res
|
2016-06-22 14:35:17 +00:00
|
|
|
LIBS = $(TOPDIR)\src\libopensc\opensc_a.lib \
|
2017-10-27 14:54:18 +00:00
|
|
|
$(TOPDIR)\src\scconf\scconf.lib \
|
|
|
|
$(TOPDIR)\src\common\common.lib \
|
|
|
|
$(TOPDIR)\src\common\libscdl.lib \
|
|
|
|
$(TOPDIR)\src\ui\strings.lib \
|
|
|
|
$(TOPDIR)\src\ui\notify.lib \
|
|
|
|
$(TOPDIR)\src\sm\libsmiso.lib \
|
|
|
|
$(TOPDIR)\src\sm\libsmeac.lib \
|
|
|
|
$(TOPDIR)\src\pkcs15init\pkcs15init.lib
|
2010-02-05 13:05:25 +00:00
|
|
|
|
2016-06-22 14:35:17 +00:00
|
|
|
all: $(TARGET)
|
2011-02-18 20:48:22 +00:00
|
|
|
|
2016-06-22 14:35:17 +00:00
|
|
|
!INCLUDE $(TOPDIR)\win32\Make.rules.mak
|
2010-02-05 13:05:25 +00:00
|
|
|
|
2016-06-22 14:35:17 +00:00
|
|
|
$(TARGET): $(OBJECTS) $(LIBS)
|
2011-02-18 20:48:22 +00:00
|
|
|
echo LIBRARY $* > $*.def
|
|
|
|
echo EXPORTS >> $*.def
|
2011-04-12 07:40:12 +00:00
|
|
|
type minidriver.exports >> $*.def
|
2018-07-27 13:50:41 +00:00
|
|
|
link /dll $(LINKFLAGS) /def:$*.def /out:$(TARGET) $(OBJECTS) $(LIBS) $(ZLIB_LIB) $(OPENPACE_LIB) $(OPENSSL_LIB) ws2_32.lib gdi32.lib Comctl32.lib advapi32.lib Crypt32.lib User32.lib bcrypt.lib DelayImp.lib Rpcrt4.lib Shell32.lib Comctl32.lib Winmm.lib /DELAYLOAD:bcrypt.dll
|
2011-01-20 12:58:30 +00:00
|
|
|
if EXIST $(TARGET).manifest mt -manifest $(TARGET).manifest -outputresource:$(TARGET);2
|