Blame sofort/exrules/pe-common.mk

000825
DSO_REF_VER      = $(IMPLIB_VER)
000825
DSO_REF_SONAME   = $(IMPLIB_SONAME)
000825
DSO_REF_SOLINK   = $(IMPLIB_SOLINK)
000825
0efa8c
LDFLAGS_IMPLIB	+= -Wl,--output-def
0efa8c
LDFLAGS_IMPLIB	+= -Wl,$(IMPLIB_DEF)
0efa8c
1f5a23
LDFLAGS_SONAME	+= -Wl,-soname
1f5a23
LDFLAGS_SONAME	+= -Wl,$(DSO_SONAME)
1f5a23
LDFLAGS_SHARED	+= $(LDFLAGS_SONAME)
0efa8c
369a20
DSO_LIBPATH	?= loader
0efa8c
PE_SUBSYSTEM	?= windows
0efa8c
LDFLAGS_COMMON	+= -Wl,--subsystem=$(PE_SUBSYSTEM)
0efa8c
0efa8c
implib:			implib-ver package-implib-soname package-implib-solink
0efa8c
0efa8c
implib-ver:		shared-lib $(IMPLIB_VER)
0efa8c
0efa8c
implib-soname:		shared-lib $(IMPLIB_SONAME)
0efa8c
0efa8c
implib-solink:		shared-lib $(IMPLIB_SOLINK)
0efa8c
0efa8c
$(IMPLIB_DEF):		shared-lib
0efa8c
0efa8c
install-implib:		install-implib-ver \
0efa8c
			package-install-implib-soname \
0efa8c
			package-install-implib-solink
0efa8c
0efa8c
install-implib-ver:	implib-ver
0efa8c
			mkdir -p $(DESTDIR)$(LIBDIR)
0efa8c
			cp $(IMPLIB_VER) $(DESTDIR)$(LIBDIR)
0efa8c
0efa8c
clean-implib:
0efa8c
			rm -f $(SHARED_LIB)
0efa8c
			rm -f $(IMPLIB_DEF)
0efa8c
			rm -f $(IMPLIB_VER)
0efa8c
			rm -f $(IMPLIB_SONAME)
0efa8c
			rm -f $(IMPLIB_SOLINK)