win32: build: stop using .def files
authorRyan Lortie <desrt@desrt.ca>
Sun, 13 Jan 2013 20:41:03 +0000 (15:41 -0500)
committerRyan Lortie <desrt@desrt.ca>
Mon, 14 Jan 2013 03:59:40 +0000 (22:59 -0500)
commit068a119f7401efe68c0fdbfaea86c5e55c0ed7d5
tree2246b1cdb6cc58fbf69a78f4f0e677757af91fac
parent2e7669f5cc46927602108c328fbbeb846bd09218
win32: build: stop using .def files

With visibility now under the control of __declspec(dllexport) we no
longer need to build .def files or use them for building our various
.dll files.

.def files used to be installed (even though it is only really useful
when creating the .dll or .lib file).  Don't do that anymore either.

The Makefiles still contain rules to create a .lib file for use with
Visual Studio and these rules require .def files.  There are special
requirements to using these rules (like having installed and setup
Microsoft tools for use during the build) and therefore the problem of
creating a .def file for use with them is left open to anyone willing to
make the effort.  Many options are available depending on which
toolchain is in use (dlltool, pexport, gendef, dumpbin.exe, just to name
a few).

If we can find a free tool for creating .lib files in the future, we
should probably revisit this issue and add proper support back to our
build system.
gio/Makefile.am
glib/Makefile.am
gmodule/Makefile.am
gobject/Makefile.am