changeset 14291:f4b8d6abce22

Install libdha into LIBDIR.
author reimar
date Sat, 01 Jan 2005 14:45:11 +0000
parents 488651c51aa3
children 12239a0d5408
files libdha/Makefile
diffstat 1 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/libdha/Makefile	Sat Jan 01 03:51:08 2005 +0000
+++ b/libdha/Makefile	Sat Jan 01 14:45:11 2005 +0000
@@ -78,10 +78,10 @@
 	$(CC) -MM $(CFLAGS) $(SRCS) 1>.depend
 
 install:
-	mkdir -p $(prefix)/lib
-	install -m 755 -s -p $(LIBNAME) $(prefix)/lib/$(LIBNAME)
-	rm -f $(prefix)/lib/libdha.so
-	ln -sf $(LIBNAME) $(prefix)/lib/$(SHORTNAME)
+	mkdir -p $(LIBDIR)
+	install -m 755 -s -p $(LIBNAME) $(LIBDIR)/$(LIBNAME)
+	rm -f $(LIBDIR)/libdha.so
+	ln -sf $(LIBNAME) $(LIBDIR)/$(SHORTNAME)
 ifeq ($(TARGET_OS),OpenBSD)
 	ldconfig -R
 else
@@ -89,7 +89,7 @@
 endif
 
 uninstall:
-	rm -f $(prefix)/lib/libdha.so $(prefix)/lib/$(SHORTNAME) $(prefix)/lib/$(LIBNAME)
+	rm -f $(LIBDIR)/libdha.so $(LIBDIR)/$(SHORTNAME) $(LIBDIR)/$(LIBNAME)
 ifeq ($(TARGET_OS),OpenBSD)
 	ldconfig -R
 else