Changeset 83


Ignore:
Timestamp:
04/08/08 17:48:19 (4 years ago)
Author:
alonbl
Message:

engine_pkcs11 MSVC fixups

added a Makefile.mak at top to handle the winconfig.h to config.h

update src/Makefile.mak to include /I..\ to get config.h and

use engine_pkcs11.exports for def file
take care of manifest.

removed src/makedef.pl

removed src/engine_pkcs11.def (old version) is created from .exports

added a winconfig.h - so far does not need anything in it.

By Douglas E. Engert

Location:
trunk
Files:
2 added
1 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/Makefile.mak

    r18 r83  
    88LIBP11_LIB = C:\libp11\lib\libp11.lib 
    99 
    10 COPTS = /Zi /MD /nologo /DHAVE_CONFIG_H $(OPENSSL_INC) $(LIBP11_INC) /D_WIN32_WINNT=0x0400 /DHAVE_OPENSSL 
     10COPTS = /Zi /MD /nologo /I..\ /DHAVE_CONFIG_H $(OPENSSL_INC) $(LIBP11_INC) /D_WIN32_WINNT=0x0400 /DWIN32_LEAN_AND_MEAN /DHAVE_OPENSSL 
    1111LINKFLAGS = /DEBUG /NOLOGO /INCREMENTAL:NO /MACHINE:IX86 
    1212 
     
    2222 
    2323$(TARGET): $(OBJECTS) . 
     24        echo LIBRARY $* > $*.def 
     25        echo EXPORTS >> $*.def 
     26        type $*.exports >> $*.def 
    2427        link $(LINKFLAGS) /dll /def:$*.def /implib:$*.lib /out:$(TARGET) $(OBJECTS) $(OPENSSL_LIB) $(LIBP11_LIB) gdi32.lib 
     28        if EXIST $*.dll.manifest mt -manifest $*.dll.manifest -outputresource:$*.dll;2 
Note: See TracChangeset for help on using the changeset viewer.