### Imakefile for mpeg2play

### uncomment the following two lines if you want to use shared memory
### (faster display if server and client run on the same machine)

USE_SHMEM = -DSH_MEM
SHM_LIB = -lXext

### uncomment the following line to activate calculation of decoding speed
### (frames per second) and frame rate control (-fn option)

USE_TIME = -DUSE_TIME

### no changes need to be made after this line

EXTRA_DEFINES = $(USE_SHMEM) $(USE_TIME)
EXTRA_INCLUDES = -I. -Ibitmaps
LOCAL_LIBRARIES = $(SHM_LIB) -lXm -lXt -lX11 -lm 

PROGRAM = mpeg2play
SRCS = mpeg2play.c getpic.c motion.c getvlc.c gethdr.c getblk.c \
 getbits.c recon.c spatscal.c idct.c display.c
OBJS = $(SRCS:.c=.o)

NormalProgramTarget($(PROGRAM),$(OBJS),,$(LOCAL_LIBRARIES),)
