|
|
781ac1 |
LDFLAGS_IMPLIB += -Wl,--output-def
|
|
|
781ac1 |
LDFLAGS_IMPLIB += -Wl,$(IMPLIB_DEF)
|
|
|
781ac1 |
|
|
|
781ac1 |
implib: implib-ver implib-soname implib-solink
|
|
|
781ac1 |
|
|
|
781ac1 |
implib-ver: shared-lib $(IMPLIB_VER)
|
|
|
781ac1 |
|
|
|
781ac1 |
implib-soname: shared-lib $(IMPLIB_SONAME)
|
|
|
781ac1 |
|
|
|
781ac1 |
implib-solink: shared-lib $(IMPLIB_SOLINK)
|
|
|
781ac1 |
|
|
|
781ac1 |
$(IMPLIB_DEF): shared-lib
|
|
|
781ac1 |
|
|
|
781ac1 |
$(IMPLIB_VER): $(IMPLIB_DEF)
|
|
|
781ac1 |
$(DLLTOOL) -l $(IMPLIB_VER) -d $(IMPLIB_DEF) -D $(DSO_VER)
|
|
|
781ac1 |
|
|
|
781ac1 |
$(IMPLIB_SONAME): $(IMPLIB_DEF)
|
|
|
781ac1 |
$(DLLTOOL) -l $(IMPLIB_SONAME) -d $(IMPLIB_DEF) -D $(DSO_SONAME)
|
|
|
781ac1 |
|
|
|
781ac1 |
$(IMPLIB_SOLINK): $(IMPLIB_SONAME)
|
|
|
781ac1 |
rm -f $(IMPLIB_SOLINK).tmp
|
|
|
781ac1 |
ln -s $(IMP_SONAME) $(IMPLIB_SOLINK).tmp
|
|
|
781ac1 |
mv $(IMPLIB_SOLINK).tmp $(IMPLIB_SOLINK)
|
|
|
781ac1 |
|
|
|
781ac1 |
install-implib: install-implib-ver \
|
|
|
781ac1 |
install-implib-soname \
|
|
|
781ac1 |
install-implib-solink
|
|
|
781ac1 |
|
|
|
781ac1 |
install-implib-ver: implib-ver
|
|
|
781ac1 |
mkdir -p $(DESTDIR)$(LIBDIR)
|
|
|
781ac1 |
cp $(IMPLIB_VER) $(DESTDIR)$(LIBDIR)
|
|
|
781ac1 |
|
|
|
781ac1 |
install-implib-soname: implib-soname
|
|
|
781ac1 |
mkdir -p $(DESTDIR)$(LIBDIR)
|
|
|
781ac1 |
cp $(IMPLIB_SONAME) $(DESTDIR)$(LIBDIR)
|
|
|
781ac1 |
|
|
|
781ac1 |
install-implib-solink: implib-soname
|
|
|
781ac1 |
mkdir -p $(DESTDIR)$(LIBDIR)
|
|
|
781ac1 |
rm -f $@.tmp
|
|
|
781ac1 |
ln -s $(IMP_SONAME) $@.tmp
|
|
|
781ac1 |
mv $@.tmp $(DESTDIR)$(LIBDIR)/$(IMP_SOLINK)
|
|
|
781ac1 |
|
|
|
781ac1 |
clean-implib:
|
|
|
781ac1 |
rm -f $(SHARED_LIB)
|
|
|
781ac1 |
rm -f $(IMPLIB_DEF)
|
|
|
781ac1 |
rm -f $(IMPLIB_VER)
|
|
|
781ac1 |
rm -f $(IMPLIB_SONAME)
|
|
|
781ac1 |
rm -f $(IMPLIB_SOLINK)
|