From 6889ea11a1279717184766f92b6b81e76db2b8d7 Mon Sep 17 00:00:00 2001 From: aurel Date: Mon, 27 Feb 2006 22:44:22 +0000 Subject: [PATCH] update config.mak to match ffmpeg's version (fix alpha compilation) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17701 b3059339-0415-0410-9bf9-f77b7e298cf2 --- common.mak | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/common.mak b/common.mak index 4bc8b118b5..3bcf1e96e6 100644 --- a/common.mak +++ b/common.mak @@ -19,7 +19,7 @@ ifeq ($(TARGET_ARCH_SPARC64),yes) CFLAGS+= -mcpu=ultrasparc -mtune=ultrasparc endif -SRCS = $(OBJS:.o=.c) $(ASM_OBJS:.o=.S) $(CPPOBJS:.o=.cpp) +SRCS := $(OBJS:.o=.c) $(ASM_OBJS:.o=.S) $(CPPOBJS:.o=.cpp) OBJS := $(OBJS) $(ASM_OBJS) $(CPPOBJS) STATIC_OBJS := $(OBJS) $(STATIC_OBJS) SHARED_OBJS := $(OBJS) $(SHARED_OBJS) @@ -71,6 +71,7 @@ install: install-libs install-headers install-libs: $(INSTLIBTARGETS) install-lib-shared: $(SLIBNAME) + install -d "$(libdir)" ifeq ($(CONFIG_WIN32),yes) install $(INSTALLSTRIP) -m 755 $(SLIBNAME) "$(prefix)" else @@ -83,9 +84,12 @@ else endif install-lib-static: $(LIB) + install -d "$(libdir)" install -m 644 $(LIB) "$(libdir)" install-headers: + install -d "$(incdir)" + install -d "$(libdir)/pkgconfig" install -m 644 $(addprefix "$(SRC_DIR)"/,$(HEADERS)) "$(incdir)" install -m 644 $(BUILD_ROOT)/lib$(NAME).pc "$(libdir)/pkgconfig"