Blame sofort/exrules/pe-common.mk

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