Mercurial > mplayer.hg
comparison libmpcodecs/Makefile @ 16165:a9f7eff9e437
Support new static libavcodec (depends on libavutil).
author | al |
---|---|
date | Mon, 01 Aug 2005 20:16:56 +0000 |
parents | 087142ef3a2d |
children | ae5caba38b89 |
comparison
equal
deleted
inserted
replaced
16164:ec76d55a25f1 | 16165:a9f7eff9e437 |
---|---|
181 | 181 |
182 ifeq ($(CONFIG_MP3LAME),yes) | 182 ifeq ($(CONFIG_MP3LAME),yes) |
183 ENCODER_SRCS += ae_lame.c | 183 ENCODER_SRCS += ae_lame.c |
184 endif | 184 endif |
185 | 185 |
186 LIBAV_INC = | |
187 ifeq ($(CONFIG_LIBAVUTIL),yes) | |
188 LIBAV_INC += -I../libavutil | |
189 endif | |
186 ifeq ($(CONFIG_LIBAVCODEC),yes) | 190 ifeq ($(CONFIG_LIBAVCODEC),yes) |
191 LIBAV_INC += -I../libavcodec | |
187 ENCODER_SRCS += ae_lavc.c | 192 ENCODER_SRCS += ae_lavc.c |
188 endif | 193 endif |
189 | 194 |
190 ifeq ($(MUSEPACK),yes) | 195 ifeq ($(MUSEPACK),yes) |
191 AUDIO_SRCS += ad_mpc.c | 196 AUDIO_SRCS += ad_mpc.c |
199 OBJS=$(SRCS:.c=.o) | 204 OBJS=$(SRCS:.c=.o) |
200 | 205 |
201 SRCS2=$(ENCODER_SRCS) | 206 SRCS2=$(ENCODER_SRCS) |
202 OBJS2=$(SRCS2:.c=.o) | 207 OBJS2=$(SRCS2:.c=.o) |
203 | 208 |
204 CFLAGS = $(OPTFLAGS) -I. -Inative -I.. -I../libmpdemux -I../loader $(EXTRA_INC) $(X264_INC) -D_GNU_SOURCE | 209 CFLAGS = $(OPTFLAGS) -I. -Inative -I.. -I../libmpdemux -I../loader $(LIBAV_INC) $(EXTRA_INC) $(X264_INC) -D_GNU_SOURCE |
205 | 210 |
206 .SUFFIXES: .c .o | 211 .SUFFIXES: .c .o |
207 | 212 |
208 # .PHONY: all clean | 213 # .PHONY: all clean |
209 | 214 |