comparison Makefile @ 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 6a388c616fa3
children 1127b4455bec
comparison
equal deleted inserted replaced
3043:583020ce54a8 3044:ed98beb48872
394 endif 394 endif
395 395
396 SRCS := $(OBJS:.o=.c) $(ASM_OBJS:.o=.S) 396 SRCS := $(OBJS:.o=.c) $(ASM_OBJS:.o=.S)
397 OBJS := $(OBJS) $(ASM_OBJS) 397 OBJS := $(OBJS) $(ASM_OBJS)
398 398
399 LIB= $(LIBPREF)avcodec$(LIBSUF) 399 NAME=avcodec
400 LIBAVUTIL= $(SRC_PATH)/libavutil/$(LIBPREF)avutil$(LIBSUF) 400 LIBAVUTIL= $(SRC_PATH)/libavutil/$(LIBPREF)avutil$(LIBSUF)
401 ifeq ($(BUILD_SHARED),yes) 401 ifeq ($(BUILD_SHARED),yes)
402 LIBVERSION=$(LAVCVERSION) 402 LIBVERSION=$(LAVCVERSION)
403 LIBMAJOR=$(LAVCMAJOR) 403 LIBMAJOR=$(LAVCMAJOR)
404 NAME=avcodec
405 SLIBNAME= $(SLIBPREF)avcodec$(SLIBSUF)
406 endif 404 endif
407 TESTS= imgresample-test dct-test motion-test fft-test 405 TESTS= imgresample-test dct-test motion-test fft-test
408 406
409 all: $(LIB) $(SLIBNAME) 407 all: $(LIB) $(SLIBNAME)
410 408