[MPlayer-cvslog] r22798 - trunk/libdha/Makefile
diego
subversion at mplayerhq.hu
Sat Mar 24 15:20:24 CET 2007
Author: diego
Date: Sat Mar 24 15:20:24 2007
New Revision: 22798
Modified:
trunk/libdha/Makefile
Log:
Build shared lib on all platforms.
Modified: trunk/libdha/Makefile
==============================================================================
--- trunk/libdha/Makefile (original)
+++ trunk/libdha/Makefile Sat Mar 24 15:20:24 2007
@@ -5,9 +5,6 @@ MINOR_VERSION = 0
VERSION = $(MAJOR_VERSION).$(MINOR_VERSION)
LIBNAME = libdha.so
-ifeq ($(TARGET_WIN32),yes)
-LIBNAME = libdha.a
-endif
SRCS_MPLAYER = libdha.c \
mtrr.c \
@@ -28,13 +25,9 @@ all: pci_names.c $(LIBNAME)
include ../mpcommon.mak
$(LIBNAME): $(OBJS_MPLAYER)
-ifeq ($(TARGET_WIN32),yes)
- $(AR) r $@ $^
-else
$(CC) -shared -Wl,-soname -Wl,$@ -o $@ $^ $(EXTRALIBS)
ln -sf $@ $@.$(VERSION)
ln -sf $@ $@.$(MAJOR_VERSION)
-endif
pci_names.c: oth/pci.db
LC_ALL=C $(AWK) -f pci_db2c.awk $<
More information about the MPlayer-cvslog
mailing list