include ../../../mk/rules.mk
include ../../../mk/init.mk

OBJECTIVE_LIBS_NOINST=	libavcodec.a

SOURCES = \
4xm.c                     raw.c		\
8bps.c                    resample.c	\
resample2.c	\
aasc.c          \
rpza.c	\
ac3enc.c                  huffyuv.c                 rtjpeg.c	\
adpcm.c                   \
adx.c                     imgconvert.c              shorten.c	\
alac.c                    imgresample.c             simple_idct.c \
allcodecs.c               \
smc.c	\
apiexample.c              \
asv1.c                    jfdctfst.c                sonic.c	\
audioconvert.c            jfdctint.c                svq1.c	\
avs.c                     \
jrevdct.c                 targa.c	\
bitstream.c               kmvc.c                    tiertexseqv.c \
bitstream_filter.c        lcl.c                     tiff.c	\
bmp.c                     truemotion1.c	\
cabac.c                   loco.c                    truemotion2.c	\
cavs.c                    lzo.c                     truespeech.c	\
cavsdsp.c                 mace.c                    tscc.c	\
mdct.c                    tta.c	\
cljr.c                    ulti.c	\
cook.c                    utils.c	\
cscd.c                    \
cyuv.c                    \
dct-test.c                \
dpcm.c                    \
dsicinav.c                \
dsputil.c                 vorbis.c	\
mpegaudio.c               vorbis_data.c \
dv.c                      mpegaudiodec.c            vorbis_enc.c \
dvbsub.c                  mpegvideo.c   \
dvbsubdec.c	\
dvdsub.c                  msrle.c                   \
dvdsubenc.c               msvideo1.c                \
error_resilience.c        \
eval.c                    oggvorbis.c               \
faac.c                    opt.c                     \
faandct.c                 parser.c                  wavpack.c	\
fdctref.c                 pcm.c                     wmadec.c	\
fft-test.c                png.c                     \
fft.c                     pnm.c                     wnv1.c	\
ffv1.c                    pthread.c                 ws-snd1.c	\
flac.c                    qdm2.c                    \
flacenc.c                 qdrw.c                    \
flashsv.c                 qpeg.c                    \
flicvideo.c               qtrle.c                   \
fraps.c                   ra144.c                   \
g726.c                    ra288.c                   \
gifdec.c                  rangecoder.c              zmbv.c	\
golomb.c                  ratecontrol.c

CFLAGS+=	$(PICFLAGS) -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -I../../.. -I../libavformat -I../libavutil -I.. -DHAVE_AV_CONFIG_H

OBJECTS=${SOURCES:.c=.o}

include ../../../mk/objective.mk

libavcodec.a: $(OBJECTS)
	$(AR) cq $@ $(OBJECTS)
