1 rule InvokeLibtoolFinish
3 # eventually invoke libtool --mode=finish after installation
4 if ! $(INVOKE_LIBTOOL_FINISH) && ! $(DESTDIR) {
5 INVOKE_LIBTOOL_FINISH = true ;
6 NotFile libtool_finish ;
7 Always libtool_finish ;
8 LibToolFinish libtool_finish ;
9 Depends install_lib : libtool_finish ;
11 Depends libtool_finish : $(<) ;
16 local target = libtoolclean ;
20 Depends clean : $(target) ;
21 LibToolClean $(target) ;
24 actions LibToolFinish bind INSTALLLIBS
26 $(LIBTOOL) --mode=finish $(libdir)
31 $(LIBTOOL) --mode=clean $(RM)
34 if ! $(LIBTOOL_VERBOSE)
36 LIBTOOL = "$(LIBTOOL) --quiet" ;