diff src/ffmpeg/Makefile @ 818:07107d476f32 trunk

[svn] - remove some more stuff - build libavcodec directly into the module
author nenolod
date Mon, 12 Mar 2007 13:49:56 -0700
parents 2eaaa3aa182b
children a53d893eb303
line wrap: on
line diff
--- a/src/ffmpeg/Makefile	Mon Mar 12 13:14:40 2007 -0700
+++ b/src/ffmpeg/Makefile	Mon Mar 12 13:49:56 2007 -0700
@@ -3,16 +3,86 @@
 
 OBJECTIVE_LIBS = libffmpeg$(SHARED_SUFFIX)
 
-SUBDIRS = libavcodec libavformat libavutil
+SUBDIRS = libavformat libavutil
 
 LIBDIR = $(plugindir)/$(INPUT_PLUGIN_DIR)
 
-LIBADD = ./libavcodec/libavcodec.a ./libavutil/libavutil.a ./libavformat/libavformat.a $(GTK_LIBS) $(GLIB_LIBS) $(PANGO_LIBS)
+LIBADD = ./libavutil/libavutil.a ./libavformat/libavformat.a $(GTK_LIBS) $(GLIB_LIBS) $(PANGO_LIBS)
 
-SOURCES = ffmpeg.c
+SOURCES = ffmpeg.c \
+	libavcodec/aasc.c \
+	libavcodec/ac3enc.c \
+	libavcodec/adpcm.c \
+	libavcodec/adx.c \
+	libavcodec/alac.c \
+	libavcodec/allcodecs.c \
+	libavcodec/apiexample.c \
+	libavcodec/audioconvert.c \
+	libavcodec/avs.c \
+	libavcodec/bitstream.c \
+	libavcodec/bitstream_filter.c \
+	libavcodec/cabac.c \
+	libavcodec/cook.c \
+	libavcodec/cscd.c \
+	libavcodec/dpcm.c \
+	libavcodec/dsicinav.c \
+	libavcodec/dsputil.c \
+	libavcodec/dvbsub.c \
+	libavcodec/dvbsubdec.c \
+	libavcodec/dvdsub.c \
+	libavcodec/dvdsubenc.c \
+	libavcodec/eval.c \
+	libavcodec/faac.c \
+	libavcodec/faandct.c \
+	libavcodec/fdctref.c \
+	libavcodec/fft.c \
+	libavcodec/ffv1.c \
+	libavcodec/flac.c \
+	libavcodec/flacenc.c \
+	libavcodec/flashsv.c \
+	libavcodec/flicvideo.c \
+	libavcodec/fraps.c \
+	libavcodec/g726.c \
+	libavcodec/golomb.c \
+	libavcodec/kmvc.c \
+	libavcodec/lcl.c \
+	libavcodec/loco.c \
+	libavcodec/lzo.c \
+	libavcodec/mace.c \
+	libavcodec/mdct.c \
+	libavcodec/mpegaudio.c \
+	libavcodec/mpegaudiodec.c \
+	libavcodec/msrle.c \
+	libavcodec/msvideo1.c \
+	libavcodec/opt.c \
+	libavcodec/parser.c \
+	libavcodec/pcm.c \
+	libavcodec/pthread.c \
+	libavcodec/qdm2.c \
+	libavcodec/qtrle.c \
+	libavcodec/ra144.c \
+	libavcodec/ra288.c \
+	libavcodec/rangecoder.c \
+	libavcodec/raw.c \
+	libavcodec/resample.c \
+	libavcodec/resample2.c \
+	libavcodec/rpza.c \
+	libavcodec/shorten.c \
+	libavcodec/simple_idct.c \
+	libavcodec/smc.c \
+	libavcodec/sonic.c \
+	libavcodec/truespeech.c \
+	libavcodec/tscc.c \
+	libavcodec/tta.c \
+	libavcodec/utils.c \
+	libavcodec/wavpack.c \
+	libavcodec/wmadec.c \
+	libavcodec/wnv1.c \
+	libavcodec/ws-snd1.c
 
 OBJECTS = ${SOURCES:.c=.o}
 
-CFLAGS += $(PICFLAGS) $(GTK_CFLAGS) $(GLIB_CFLAGS) $(PANGO_CFLAGS) -I../.. -I./libffwma -std=c99
+CFLAGS += $(PICFLAGS) $(GTK_CFLAGS) $(GLIB_CFLAGS) $(PANGO_CFLAGS) -I. -I../.. -I./libavformat \
+	-I./libavcodec -I./libavutil -std=c99 -DHAVE_AV_CONFIG_H
 
 include ../../mk/objective.mk