changeset 8461:ace211f1ed2b

uninstall switch
author alex
date Sun, 15 Dec 2002 18:22:55 +0000
parents d09c74452323
children 800d77666843
files libdha/Makefile
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libdha/Makefile	Sun Dec 15 18:22:16 2002 +0000
+++ b/libdha/Makefile	Sun Dec 15 18:22:55 2002 +0000
@@ -72,6 +72,14 @@
 	ldconfig
 endif
 
+uninstall:
+	rm -f $(prefix)/lib/libdha.so $(prefix)/lib/$(SHORTNAME) $(prefix)/lib/$(LIBNAME)
+ifeq ($(TARGET_OS),OpenBSD)
+	ldconfig -R
+else
+	ldconfig
+endif
+
 #
 # include dependency files if they exist
 #