make compilation of pnm.c optional
authorAurelien Jacobs <aurel@gnuage.org>
Thu, 10 May 2007 23:16:56 +0000 (23:16 +0000)
committerAurelien Jacobs <aurel@gnuage.org>
Thu, 10 May 2007 23:16:56 +0000 (23:16 +0000)
Originally committed as revision 8989 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/Makefile

index 1ebb9538230bf20868d751a942b68028c5986770..cc4938b0a313687a8bc3ea45a8670ff28c5cad64 100644 (file)
@@ -35,7 +35,6 @@ OBJS= bitstream.o \
       vp3dsp.o \
       h264idct.o \
       rangecoder.o \
       vp3dsp.o \
       h264idct.o \
       rangecoder.o \
-      pnm.o pnm_common.o \
       h263.o \
       opt.o \
       bitstream_filter.o \
       h263.o \
       opt.o \
       bitstream_filter.o \
@@ -119,8 +118,13 @@ OBJS-$(CONFIG_MSRLE_DECODER)           += msrle.o
 OBJS-$(CONFIG_MSVIDEO1_DECODER)        += msvideo1.o
 OBJS-$(CONFIG_MSZH_DECODER)            += lcl.o
 OBJS-$(CONFIG_NUV_DECODER)             += nuv.o rtjpeg.o
 OBJS-$(CONFIG_MSVIDEO1_DECODER)        += msvideo1.o
 OBJS-$(CONFIG_MSZH_DECODER)            += lcl.o
 OBJS-$(CONFIG_NUV_DECODER)             += nuv.o rtjpeg.o
+OBJS-$(CONFIG_PAM_ENCODER)             += pnm.o pnm_common.o
+OBJS-$(CONFIG_PBM_ENCODER)             += pnm.o pnm_common.o
+OBJS-$(CONFIG_PGM_ENCODER)             += pnm.o pnm_common.o
+OBJS-$(CONFIG_PGMYUV_ENCODER)          += pnm.o pnm_common.o
 OBJS-$(CONFIG_PNG_DECODER)             += png.o
 OBJS-$(CONFIG_PNG_ENCODER)             += png.o
 OBJS-$(CONFIG_PNG_DECODER)             += png.o
 OBJS-$(CONFIG_PNG_ENCODER)             += png.o
+OBJS-$(CONFIG_PPM_ENCODER)             += pnm.o pnm_common.o
 OBJS-$(CONFIG_PTX_DECODER)             += ptx.o
 OBJS-$(CONFIG_QDM2_DECODER)            += qdm2.o
 OBJS-$(CONFIG_QDRAW_DECODER)           += qdrw.o
 OBJS-$(CONFIG_PTX_DECODER)             += ptx.o
 OBJS-$(CONFIG_QDM2_DECODER)            += qdm2.o
 OBJS-$(CONFIG_QDRAW_DECODER)           += qdrw.o