diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-03-15 09:14:35 +0000 |
---|---|---|
committer | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-03-15 09:14:35 +0000 |
commit | 5bf5aebe9202b6aabe19d334b7657be6961ae91d (patch) | |
tree | 9dd0b06c18413016b7a0016ac35e04c649e68f9a /libdha/Makefile | |
parent | b10bac0b6ac09ecc8e7d73548c8213f33f9b450a (diff) | |
download | mpv-5bf5aebe9202b6aabe19d334b7657be6961ae91d.tar.bz2 mpv-5bf5aebe9202b6aabe19d334b7657be6961ae91d.tar.xz |
Use versioned names explicitly instead of employed backwards-named variables.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22602 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libdha/Makefile')
-rw-r--r-- | libdha/Makefile | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/libdha/Makefile b/libdha/Makefile index ec7eab1deb..59ec7e5d38 100644 --- a/libdha/Makefile +++ b/libdha/Makefile @@ -4,12 +4,9 @@ MAJOR_VERSION = 1 MINOR_VERSION = 0 VERSION = $(MAJOR_VERSION).$(MINOR_VERSION) -LIBNAME = libdha.so.$(VERSION) -SHORTNAME = libdha.so.$(MAJOR_VERSION) -VSHORTNAME = libdha.so +LIBNAME = libdha.so ifeq ($(TARGET_WIN32),yes) LIBNAME = libdha.a -SHORTNAME = libdha.a endif SRCS_MPLAYER = libdha.c \ @@ -41,8 +38,8 @@ ifeq ($(TARGET_WIN32),yes) $(AR) r $@ $^ else $(CC) -shared -Wl,-soname -Wl,$@ -o $@ $^ $(EXTRALIBS) - ln -sf $@ $(SHORTNAME) - ln -sf $@ $(VSHORTNAME) + ln -sf $@ $@.$(VERSION) + ln -sf $@ $@.$(MAJOR_VERSION) endif pci_names.c: oth/pci.db @@ -63,11 +60,11 @@ dep depend: pci_names.c install: -mkdir -p $(LIBDIR) $(INSTALL) -m 755 $(INSTALLSTRIP) -p $(LIBNAME) $(LIBDIR)/$(LIBNAME) - ln -sf $(LIBNAME) $(LIBDIR)/$(SHORTNAME) + ln -sf $(LIBNAME) $(LIBDIR)/$(LIBNAME).$(MAJOR_VERSION) -$(LDCONFIG) uninstall: - rm -f $(LIBDIR)/libdha.so $(LIBDIR)/$(SHORTNAME) $(LIBDIR)/$(LIBNAME) + rm -f $(LIBDIR)/$(LIBNAME) $(LIBDIR)/$(LIBNAME).$(MAJOR_VERSION) $(LIBDIR)/$(LIBNAME).$(VERSION) -$(LDCONFIG) -include .depend |