Mercurial > libavcodec.hg
comparison Makefile @ 3:1bdbd869c1f0 libavcodec
added CONFIG_AC3, CONFIG_MPGLIB, CONFIG_DECODERS and CONFIG_ENCODERS (Arpi: don't forget to put CONFIG_DECODERS in mplayer)
author | glantau |
---|---|
date | Mon, 23 Jul 2001 20:58:31 +0000 |
parents | 2e2c46c87460 |
children | 1b4461b5a7fb |
comparison
equal
deleted
inserted
replaced
2:2e2c46c87460 | 3:1bdbd869c1f0 |
---|---|
8 motion_est.o imgconvert.o imgresample.o msmpeg4.o \ | 8 motion_est.o imgconvert.o imgresample.o msmpeg4.o \ |
9 mpeg12.o h263dec.o rv10.o | 9 mpeg12.o h263dec.o rv10.o |
10 ASM_OBJS= | 10 ASM_OBJS= |
11 | 11 |
12 # currently using libac3 for ac3 decoding | 12 # currently using libac3 for ac3 decoding |
13 ifeq ($(CONFIG_AC3),yes) | |
13 OBJS+= ac3dec.o \ | 14 OBJS+= ac3dec.o \ |
14 libac3/bit_allocate.o libac3/bitstream.o libac3/downmix.o \ | 15 libac3/bit_allocate.o libac3/bitstream.o libac3/downmix.o \ |
15 libac3/imdct.o libac3/parse.o | 16 libac3/imdct.o libac3/parse.o |
17 endif | |
16 | 18 |
17 # currently using mpglib for mpeg audio decoding | 19 # currently using mpglib for mpeg audio decoding |
20 ifeq ($(CONFIG_MPGLIB),yes) | |
18 OBJS+= mpegaudiodec.o \ | 21 OBJS+= mpegaudiodec.o \ |
19 mpglib/layer1.o mpglib/layer2.o mpglib/layer3.o \ | 22 mpglib/layer1.o mpglib/layer2.o mpglib/layer3.o \ |
20 mpglib/dct64_i386.o mpglib/decode_i386.o mpglib/tabinit.o | 23 mpglib/dct64_i386.o mpglib/decode_i386.o mpglib/tabinit.o |
24 endif | |
21 | 25 |
22 # i386 mmx specific stuff | 26 # i386 mmx specific stuff |
23 ifeq ($(TARGET_MMX),yes) | 27 ifeq ($(TARGET_MMX),yes) |
24 ASM_OBJS += i386/fdct_mmx.o i386/sad_mmx.o | 28 ASM_OBJS += i386/fdct_mmx.o i386/sad_mmx.o |
25 OBJS += i386/fdctdata.o i386/cputest.o \ | 29 OBJS += i386/fdctdata.o i386/cputest.o \ |
69 imgresample-test: imgresample.c | 73 imgresample-test: imgresample.c |
70 $(CC) $(CFLAGS) -DTEST -o $@ $^ | 74 $(CC) $(CFLAGS) -DTEST -o $@ $^ |
71 | 75 |
72 dct-test: dct-test.o jfdctfst.o i386/fdct_mmx.o i386/fdctdata.o fdctref.o | 76 dct-test: dct-test.o jfdctfst.o i386/fdct_mmx.o i386/fdctdata.o fdctref.o |
73 $(CC) -o $@ $^ | 77 $(CC) -o $@ $^ |
78 | |
79 # | |
80 # include dependency files if they exist | |
81 # | |
82 ifneq ($(wildcard .depend),) | |
83 include .depend | |
84 endif |