OpenCores
URL https://opencores.org/ocsvn/mpeg2fpga/mpeg2fpga/trunk

Subversion Repositories mpeg2fpga

[/] [mpeg2fpga/] [trunk/] [tools/] [mpeg2dec/] [Makefile] - Blame information for rev 2

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 kdv
# 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 -DDEBUG
32
# for use with gprof
33
#PROF= -DPROFILE -pg
34
 
35
#disable this flag if you do not want bitstream element tracing
36
#this will speed up the decoder some since it does not have to test
37
#the trace flag at several critical inner loop locations.
38
TRACE = -DTRACE
39
 
40
#disable this flag if you do not need verbose trace, such as
41
#header information
42
VERBOSE = -DVERBOSE
43
 
44
# uncomment the following two lines if you want to include X11 support
45
 
46
#USE_DISP = -DDISPLAY -DHAVE_MMX
47
USE_DISP = -DDISPLAY
48
LIBS = -lX11
49
 
50
# uncomment the following two lines if you want to use shared memory
51
# (faster display if server and client run on the same machine)
52
 
53
USE_SHMEM = -DSH_MEM
54
LIBS = -L/usr/X11R6/lib -lXext -lX11
55
 
56
# if your X11 include files / libraries are in a non standard location:
57
# set INCLUDEDIR to -I followed by the appropriate include file path and
58
# set LIBRARYDIR to -L followed by the appropriate library path and
59
 
60
#INCLUDEDIR = -I/usr/openwin/include
61
#LIBRARYDIR = -L/usr/openwin/lib
62
#INCLUDEDIR = -I/Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/include/
63
#LIBRARYDIR = -L/Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/lib/
64
 
65
#
66
# GNU gcc
67
#
68
#CC = egcs -g -O2 -march=pentiumpro -fargument-noalias-global #-fstrict-aliasing
69
CC=gcc
70
CFLAGS = $(USE_DISP) $(USE_SHMEM) $(INCLUDEDIR) $(TRACE) $(VERBOSE) $(VERIFY) $(WARNINGS) $(PROF)
71
 
72
#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 mmxidct.o
73
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
74
 
75
all: mpeg2decode
76
 
77
pc: mpeg2dec.exe
78
 
79
clean:
80
        rm -f *.o *% core mpeg2decode
81
 
82
mpeg2dec.exe: mpeg2decode
83
        coff2exe mpeg2dec
84
 
85
mpeg2decode: $(OBJ)
86
        $(CC) $(CFLAGS) $(LIBRARYDIR) -o mpeg2decode $(OBJ) -lm $(LIBS) $(PROF)
87
 
88
display.o : display.c config.h global.h mpeg2dec.h
89
getbits.o : getbits.c config.h global.h mpeg2dec.h
90
getblk.o : getblk.c config.h global.h mpeg2dec.h
91
gethdr.o : gethdr.c config.h global.h mpeg2dec.h
92
getpic.o : getpic.c config.h global.h mpeg2dec.h
93
getvlc.o : getvlc.c config.h global.h mpeg2dec.h getvlc.h
94
idct.o : idct.c config.h
95
idctref.o : idctref.c config.h
96
motion.o : motion.c config.h global.h mpeg2dec.h
97
mpeg2dec.o : mpeg2dec.c config.h global.h mpeg2dec.h
98
recon.o : recon.c config.h global.h mpeg2dec.h
99
spatscal.o : spatscal.c config.h global.h mpeg2dec.h
100
store.o : store.c config.h global.h mpeg2dec.h
101
 
102
# additions since July 4, 1994 edition
103
systems.o : systems.c config.h global.h mpeg2dec.h
104
subspic.o : subspic.c config.h global.h mpeg2dec.h
105
verify.o:   verify.c config.h global.h mpeg2dec.h

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.