changeset 17700:a0c511c2d0bd

update config.mak to match ffmpeg's version (fix alpha compilation)
author aurel
date Mon, 27 Feb 2006 22:44:22 +0000
parents b742a2c71c25
children ed66aa736773
files common.mak
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/common.mak	Mon Feb 27 21:13:17 2006 +0000
+++ b/common.mak	Mon Feb 27 22:44:22 2006 +0000
@@ -19,7 +19,7 @@
 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-libs: $(INSTLIBTARGETS)
 
 install-lib-shared: $(SLIBNAME)
+	install -d "$(libdir)"
 ifeq ($(CONFIG_WIN32),yes)
 	install $(INSTALLSTRIP) -m 755 $(SLIBNAME) "$(prefix)"
 else
@@ -83,9 +84,12 @@
 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"