Subversion Repositories shark

Rev

Rev 43 | Blame | Compare with Previous | Last modification | View Log | RSS feed

#
# The mpeg library
#

# (see sources for copyrights)

ifndef BASE
BASE=../..
endif

include $(BASE)/config/config.mk

LIBRARY       = mpeg

OBJS_PATH     = $(BASE)/ports/mpeg

DECODER_SRC   = util.c          \
                video.c         \
                parseblock.c    \
                motionvector.c  \
                decoders.c      \
                jrevdct.c       \
                wrapper.c       \
                gdith.c         \
                gdithmni.c      \
                readfile.c      \
                16bit.c

DITHER_SRC    = fs2.c           \
                fs2fast.c       \
                fs4.c           \
                hybrid.c        \
                hybriderr.c     \
                2x2.c           \
                gray.c          \
                mono.c          \
                ordered.c       \
                ordered2.c      \
                mb_ordered.c

SRCS= $(DECODER_SRC) $(DITHER_SRC)

OBJS=   $(patsubst %.c,%.o,$(SRCS))

C_WARN += -Wno-unused -Wno-uninitialized -Wno-implicit-function-declaration \
          -Wno-switch -Wno-return-type

C_DEF  += -DNOCONTROLS
C_INC  += -I.

include $(BASE)/config/lib.mk