comparison Makefile @ 14:3a23d45bd4e4 libavutil

Move Darwin shared library build peculiarities to configure.
author diego
date Thu, 12 Jan 2006 00:00:00 +0000
parents ce8f9f4390c3
children 0e94608e337f
comparison
equal deleted inserted replaced
13:aedb6bd881b9 14:3a23d45bd4e4
22 22
23 LIB= $(LIBPREF)avutil$(LIBSUF) 23 LIB= $(LIBPREF)avutil$(LIBSUF)
24 ifeq ($(BUILD_SHARED),yes) 24 ifeq ($(BUILD_SHARED),yes)
25 LIBVERSION=$(LAVUMAJOR) 25 LIBVERSION=$(LAVUMAJOR)
26 SLIBNAME= $(SLIBPREF)avutil$(SLIBSUF) 26 SLIBNAME= $(SLIBPREF)avutil$(SLIBSUF)
27 ifeq ($(CONFIG_DARWIN),yes)
28 SHFLAGS += -Wl,-install_name,$(libdir)/$(SLIBNAME),-current_version,$(SPPVERSION),-compatibility_version,$(SPPVERSION)
29 endif
30 endif 27 endif
31 28
32 all: $(LIB) $(SLIBNAME) 29 all: $(LIB) $(SLIBNAME)
33 30
34 $(LIB): $(OBJS) 31 $(LIB): $(OBJS)