Subversion Repositories shark

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
1624 giacomo 1
# Makefile for mpeg2decode
2
 
3
# Copyright (C) 1996, MPEG Software Simulation Group. All Rights Reserved.
4
 
5
#
6
# Disclaimer of Warranty
7
#
8
# These software programs are available to the user without any license fee or
9
# royalty on an "as is" basis.  The MPEG Software Simulation Group disclaims
10
# any and all warranties, whether express, implied, or statuary, including any
11
# implied warranties or merchantability or of fitness for a particular
12
# purpose.  In no event shall the copyright-holder be liable for any
13
# incidental, punitive, or consequential damages of any kind whatsoever
14
# arising from the use of these programs.
15
#
16
# This disclaimer of warranty extends to the user of these programs and user's
17
# customers, employees, agents, transferees, successors, and assigns.
18
#
19
# The MPEG Software Simulation Group does not represent or warrant that the
20
# programs furnished hereunder are free of infringement of any third-party
21
# patents.
22
#
23
# Commercial implementations of MPEG-1 and MPEG-2 video, including shareware,
24
# are subject to royalty fees to patent holders.  Many of these patents are
25
# general enough such that they are unavoidable regardless of implementation
26
# design.
27
#
28
#
29
 
30
#WARNINGS = -Wall
31
#VERIFY = -DVERIFY
32
 
33
#disable this flag if you do not want bitstream element tracing
34
#this will speed up the decoder some since it does not have to test
35
#the trace flag at several critical inner loop locations.
36
TRACE = -DTRACE
37
 
38
#disable this flag if you do not need verbose trace, such as
39
#header information
40
VERBOSE = -DVERBOSE
41
 
42
# uncomment the following two lines if you want to include X11 support
43
 
44
#USE_DISP = -DDISPLAY
45
#LIBS = -lX11
46
 
47
# uncomment the following two lines if you want to use shared memory
48
# (faster display if server and client run on the same machine)
49
 
50
#USE_SHMEM = -DSH_MEM
51
#LIBS = -lXext -lX11
52
 
53
# if your X11 include files / libraries are in a non standard location:
54
# set INCLUDEDIR to -I followed by the appropriate include file path and
55
# set LIBRARYDIR to -L followed by the appropriate library path and
56
 
57
#INCLUDEDIR = -I/usr/openwin/include
58
#LIBRARYDIR = -L/usr/openwin/lib
59
 
60
#
61
# GNU gcc
62
#
63
CC = gcc
64
CFLAGS = -O2 $(USE_DISP) $(USE_SHMEM) $(INCLUDEDIR) $(TRACE) $(VERBOSE) $(VERIFY) $(WARNINGS)
65
 
66
OBJ = mpeg2dec.o getpic.o motion.o getvlc.o gethdr.o getblk.o getbits.o store.o recon.o spatscal.o idct.o idctref.o display.o systems.o subspic.o verify.o
67
 
68
all: mpeg2decode
69
 
70
pc: mpeg2dec.exe
71
 
72
clean:
73
	rm -f *.o *% core mpeg2decode
74
 
75
mpeg2dec.exe: mpeg2decode
76
	coff2exe mpeg2dec
77
 
78
mpeg2decode: $(OBJ)
79
	$(CC) $(CFLAGS) $(LIBRARYDIR) -o mpeg2decode $(OBJ) -lm $(LIBS)
80
 
81
display.o : display.c config.h global.h mpeg2dec.h
82
getbits.o : getbits.c config.h global.h mpeg2dec.h
83
getblk.o : getblk.c config.h global.h mpeg2dec.h
84
gethdr.o : gethdr.c config.h global.h mpeg2dec.h
85
getpic.o : getpic.c config.h global.h mpeg2dec.h
86
getvlc.o : getvlc.c config.h global.h mpeg2dec.h getvlc.h
87
idct.o : idct.c config.h
88
idctref.o : idctref.c config.h
89
motion.o : motion.c config.h global.h mpeg2dec.h
90
mpeg2dec.o : mpeg2dec.c config.h global.h mpeg2dec.h
91
recon.o : recon.c config.h global.h mpeg2dec.h
92
spatscal.o : spatscal.c config.h global.h mpeg2dec.h
93
store.o : store.c config.h global.h mpeg2dec.h
94
 
95
# additions since July 4, 1994 edition
96
systems.o : systems.c config.h global.h mpeg2dec.h
97
subspic.o : subspic.c config.h global.h mpeg2dec.h
98
verify.o:   verify.c config.h global.h mpeg2dec.h