I have upgraded to automake-1.8.3 and libtool-1.5.6 and still I am
running into trouble on my Gentoo box to get a library file to be
removed when I do make uninstall.
bash-2.05b$ sudo make uninstall
/bin/sh ../../../libtool-nofpic --mode=uninstall rm -f
'/usr/lib/xine/plugins/1.0.0/post/xineplug_post_planar.la'
make uninstall-hook
make[1]: Entering directory `/home/storri/src/xine-lib/src/post/planar'
make[1]: Leaving directory `/home/storri/src/xine-lib/src/post/planar'
bash-2.05b$ ls /usr/lib/xine/plugins/1.0.0/post/
xineplug_post_audio_filters.so xineplug_post_planar.so
xineplug_post_visualizations.so
xineplug_post_goom.so xineplug_post_switch.so
xineplug_post_mosaico.so xineplug_post_tvtime.so
As you can see here what make executes when the uninstall is done and
the result. I have included the Makefile.am to give people an idea of
what I am dealing with. Also attached is the Makefile.common.
Stephen
--
Email: [EMAIL PROTECTED]
include $(top_srcdir)/misc/Makefile.common
AM_CFLAGS = -I$(top_srcdir)/src/libffmpeg/libavcodec/libpostproc
POSTPROC_LIB = $(top_builddir)/src/libffmpeg/libavcodec/libpostproc/libpostprocess.la
libdir = $(XINE_PLUGINDIR)/post
lib_LTLIBRARIES = xineplug_post_planar.la
xineplug_post_planar_la_SOURCES = \
planar.c \
invert.c \
expand.c \
boxblur.c \
denoise3d.c \
eq.c \
eq2.c \
unsharp.c \
pp.c
xineplug_post_planar_la_DEPENDENCIES = $(POSTPROC_LIB)
xineplug_post_planar_la_LIBADD = $(XINE_LIB) $(POSTPROC_LIB) -lm
xineplug_post_planar_la_LDFLAGS = -avoid-version -module $(XINE_PLUGIN_MIN_SYMS)
$(POSTPROC_LIB):
cd $(top_builddir)/src/libffmpeg/libavcodec/libpostproc && $(MAKE)
libpostprocess.la
LIBTOOL = $(SHELL) $(top_builddir)/libtool-nofpic
XINE_LIB = $(top_builddir)/src/xine-engine/libxine.la
$(XINE_LIB):
@cd $(top_srcdir)/src/xine-engine && $(MAKE)
install-data-hook:
@if test $$MAKELEVEL -le 4 ; then \
if test -x "$(top_srcdir)/post-install.sh" ; then \
$(top_srcdir)/post-install.sh ; \
fi \
fi
pass1:
@$(MAKE) MULTIPASS_CFLAGS="$(PASS1_CFLAGS)"
pass2:
@$(MAKE) MULTIPASS_CFLAGS="$(PASS2_CFLAGS)"
debug:
@$(MAKE) CFLAGS="$(DEBUG_CFLAGS)"
install-debug: debug
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
@list='$(SUBDIRS)'; for subdir in $$list; do \
(cd $$subdir && $(MAKE) $@) || exit; \
done;
$(MAKE) $(AM_MAKEFLAGS) install-data-hook
install-includeHEADERS: $(include_HEADERS)
@$(NORMAL_INSTALL)
$(mkinstalldirs) $(DESTDIR)$(includedir)/xine
@list='$(include_HEADERS)'; for p in $$list; do \
if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/xine/$$p"; \
$(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/xine/$$p; \
done
uninstall-includeHEADERS:
@$(NORMAL_UNINSTALL)
list='$(include_HEADERS)'; for p in $$list; do \
rm -f $(DESTDIR)$(includedir)/xine/$$p; \
done
uninstall-hook:
@if test '$(libdir)' = '$(XINE_PLUGINDIR)'; then \
list='$(lib_LTLIBRARIES)'; for p in $$list; do \
p="`echo $$p | sed -e 's/\.la$$/\.so/g;s|^.*/||'`"; \
echo " rm -f $(DESTDIR)$(libdir)/$$p"; \
rm -f $(DESTDIR)$(libdir)/$$p; \
done; \
fi
mostlyclean-generic:
-rm -f *~ \#* .*~ .\#*
maintainer-clean-generic:
[EMAIL PROTECTED] "This command is intended for maintainers to use;"
[EMAIL PROTECTED] "it deletes files that may require special tools to rebuild."
-rm -f Makefile.in