Reworking of DLL build rules.

Allows static libraries and DLLs to be built without having
to do a 'make clean' in between on Cygwin and MinGW targets.
The Cygwin build still crashes when SHARED_LIBRARIES = YES
though, loading Com.dll seems to cause the problem.
This commit is contained in:
Andrew Johnson
2012-07-27 16:24:39 -05:00
parent c23b907eee
commit 97490f6977
18 changed files with 305 additions and 264 deletions

View File

@ -50,10 +50,12 @@ STATIC_LDFLAGS_YES = -static
STATIC_LDFLAGS_NO =
SHRLIB_CFLAGS = -fPIC
SHRLIB_LDFLAGS = -shared -fPIC
SHRLIB_LDFLAGS = -shared -fPIC
LOADABLE_SHRLIB_LDFLAGS = -shared -fPIC
GNU_LDLIBS_YES = -lgcc
# Use GNU compiler flags to generate header dependancies files
HDEPENDS_METHOD = CFLAGS
# Use compiler flags to generate header dependancies files
HDEPENDS_METHOD = COMP
HDEPENDS_COMPFLAGS = -MM -MF $@