changeset 3044:ed98beb48872 libavcodec

Move library name generation to configure, simplifies build system a bit more.
author diego
date Sat, 14 Jan 2006 15:54:58 +0000
parents 583020ce54a8
children c5e521489fdf
files Makefile libpostproc/Makefile
diffstat 2 files changed, 2 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Sat Jan 14 15:00:10 2006 +0000
+++ b/Makefile	Sat Jan 14 15:54:58 2006 +0000
@@ -396,13 +396,11 @@
 SRCS := $(OBJS:.o=.c) $(ASM_OBJS:.o=.S)
 OBJS := $(OBJS) $(ASM_OBJS)
 
-LIB= $(LIBPREF)avcodec$(LIBSUF)
+NAME=avcodec
 LIBAVUTIL= $(SRC_PATH)/libavutil/$(LIBPREF)avutil$(LIBSUF)
 ifeq ($(BUILD_SHARED),yes)
 LIBVERSION=$(LAVCVERSION)
 LIBMAJOR=$(LAVCMAJOR)
-NAME=avcodec
-SLIBNAME= $(SLIBPREF)avcodec$(SLIBSUF)
 endif
 TESTS= imgresample-test dct-test motion-test fft-test
 
--- a/libpostproc/Makefile	Sat Jan 14 15:00:10 2006 +0000
+++ b/libpostproc/Makefile	Sat Jan 14 15:54:58 2006 +0000
@@ -3,12 +3,10 @@
 
 VPATH=$(SRC_PATH)/libavcodec/libpostproc
 
-LIB = $(LIBPREF)postproc$(LIBSUF)
+NAME=postproc
 ifeq ($(SHARED_PP),yes)
 LIBVERSION=$(SPPVERSION)
 LIBMAJOR=$(SPPMAJOR)
-NAME=postproc
-SLIBNAME = $(SLIBPREF)postproc$(SLIBSUF)
 endif
 
 OBJS=postprocess.o