def2lib is a tool to create MS COFF import libraries from module definition files. The tool has also the capacity to generate libraries with undecorated function names.
Module definition file to MS COFF import library converter
Version 1.1 by Vortex
Usage : def2lib deffile.def [optional]
Optional : -nod no decoration in exported symbols
A typical def file should have the following format and all the symbols should be enclosed between double quotes:
kernel32.def
LIBRARY kernel32
EXPORTS
"_ActivateActCtx@8"
"_AddAtomA@4"
"_AddAtomW@4"
"_AddConsoleAliasA@12"
To create kernel32.lib from kernel32.def:
def2lib.exe kernel32.def
http://vortex.masmcode.com/files/def2lib11.zip