|
|
5443b5 |
ifeq ($(LTDL_DROP_IN_REPLACEMENT),yes)
|
|
|
5443b5 |
|
|
|
5443b5 |
LIBLTDL_SOLINK = $(OS_LIB_PREFIX)ltdl$(OS_LIB_SUFFIX)
|
|
|
5443b5 |
LIBLTDL_ARLINK = $(OS_LIB_PREFIX)ltdl$(OS_ARCHIVE_EXT)
|
|
|
5443b5 |
LIBLTDL_IMPLIB = $(OS_LIB_PREFIX)ltdl$(OS_IMPLIB_EXT)
|
|
|
5443b5 |
|
|
|
5443b5 |
install-headers-ltdl:
|
|
|
5443b5 |
mkdir -p $(DESTDIR)$(INCLUDEDIR)
|
|
|
5443b5 |
rm -f $(DESTDIR)$(INCLUDEDIR)/ltdl.h.tmp
|
|
|
33f575 |
cp -p $(SOURCE_DIR)/include/ltdl.h $(DESTDIR)$(INCLUDEDIR)/ltdl.h.tmp
|
|
|
5443b5 |
mv $(DESTDIR)$(INCLUDEDIR)/ltdl.h.tmp $(DESTDIR)$(INCLUDEDIR)/ltdl.h
|
|
|
5443b5 |
|
|
|
5443b5 |
install-shared-ltdl:
|
|
|
5443b5 |
rm -f lib/libltdl.so.tmp
|
|
|
5443b5 |
ln -s $(DSO_SOLINK) lib/libltdl.so.tmp
|
|
|
5443b5 |
mv lib/libltdl.so.tmp $(DESTDIR)$(LIBDIR)/$(LIBLTDL_SOLINK)
|
|
|
5443b5 |
|
|
|
5443b5 |
install-static-ltdl:
|
|
|
5443b5 |
rm -f lib/libltdl.a.tmp
|
|
|
5443b5 |
ln -s $(STATIC_LIB_NAME) lib/libltdl.a.tmp
|
|
|
5443b5 |
mv lib/libltdl.a.tmp $(DESTDIR)$(LIBDIR)/$(LIBLTDL_ARLINK)
|
|
|
5443b5 |
|
|
|
5443b5 |
install-implib-ltdl:
|
|
|
5443b5 |
rm -f lib/libltdl.lib.a.tmp
|
|
|
5443b5 |
ln -s $(IMP_SOLINK) lib/libltdl.lib.a.tmp
|
|
|
5443b5 |
mv lib/libltdl.lib.a.tmp $(DESTDIR)$(LIBDIR)/$(LIBLTDL_IMPLIB)
|
|
|
5443b5 |
|
|
|
5443b5 |
|
|
|
5443b5 |
install-headers: install-headers-ltdl
|
|
|
5443b5 |
install-static: install-static-ltdl
|
|
|
5443b5 |
install-shared: install-shared-ltdl
|
|
|
5443b5 |
|
|
|
5443b5 |
ifeq ($(CC_BINFMT),PE)
|
|
|
5443b5 |
install-shared: install-implib-ltdl
|
|
|
5443b5 |
endif
|
|
|
5443b5 |
|
|
|
5443b5 |
endif
|