Mercurial > libavcodec.hg
comparison Makefile @ 3032:63d7bab7b9ea libavcodec
Move Darwin shared library build peculiarities to configure.
author | diego |
---|---|
date | Thu, 12 Jan 2006 00:00:00 +0000 |
parents | 6bc2dc147ac5 |
children | d37065d8aeff |
comparison
equal
deleted
inserted
replaced
3031:0f5f311f2f94 | 3032:63d7bab7b9ea |
---|---|
388 sparc/%.o: sparc/%.c | 388 sparc/%.o: sparc/%.c |
389 $(CC) -mcpu=ultrasparc -mtune=ultrasparc $(CFLAGS) -c -o $@ $< | 389 $(CC) -mcpu=ultrasparc -mtune=ultrasparc $(CFLAGS) -c -o $@ $< |
390 endif | 390 endif |
391 ifeq ($(TARGET_ARCH_SPARC64),yes) | 391 ifeq ($(TARGET_ARCH_SPARC64),yes) |
392 CFLAGS+= -mcpu=ultrasparc -mtune=ultrasparc | 392 CFLAGS+= -mcpu=ultrasparc -mtune=ultrasparc |
393 endif | |
394 | |
395 # Darwin specific stuff | |
396 ifeq ($(CONFIG_DARWIN),yes) | |
397 SHFLAGS += -Wl,-install_name,$(libdir)/$(SLIBPREF)avcodec$(SLIBSUF),-current_version,$(SPPVERSION),-compatibility_version,$(SPPVERSION) | |
398 endif | 393 endif |
399 | 394 |
400 SRCS := $(OBJS:.o=.c) $(ASM_OBJS:.o=.S) | 395 SRCS := $(OBJS:.o=.c) $(ASM_OBJS:.o=.S) |
401 OBJS := $(OBJS) $(ASM_OBJS) | 396 OBJS := $(OBJS) $(ASM_OBJS) |
402 | 397 |