Install libdha into LIBDIR.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14292 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar 2005-01-01 14:45:11 +00:00
parent f18153ca99
commit 4be95cc5f4
1 changed files with 5 additions and 5 deletions

View File

@ -78,10 +78,10 @@ depend: pci_names.c
$(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 @@ else
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