Mercurial > mplayer.hg
annotate libmpeg2/Makefile @ 10263:0df8816f4665
TiVo demuxer and sub-cc/osd decoder
patch by usenet@wingert.org
(http://tivo-mplayer.sourceforge.net/releases/MPlayer-20030501-tivo-patch.gz)
changes by me:
- spit demux_ty to demux_ty and demux_ty_osd (later handles mpeg user-data
decoding, ie sub-cc and osd)
- removed some cosmetics changes
- some compile fixes (gcc3 specific variable decl etc)
author | arpi |
---|---|
date | Mon, 09 Jun 2003 00:24:49 +0000 |
parents | 47984e3f54ce |
children | f486ad4016ad |
rev | line source |
---|---|
1 | 1 |
2 LIBNAME = libmpeg2.a | |
3 | |
4 include ../config.mak | |
5 | |
9852 | 6 SRCS = alloc.c cpu_accel.c cpu_state.c decode.c header.c idct.c idct_alpha.c idct_altivec.c idct_mlib.c idct_mmx.c motion_comp.c motion_comp_alpha.c motion_comp_altivec.c motion_comp_mlib.c motion_comp_mmx.c slice.c |
7 | |
866
91087aaea5c7
using gcc -MM instead of makedepend, make OBJS from SRCS where possible
arpi_esp
parents:
36
diff
changeset
|
8 OBJS = $(SRCS:.c=.o) |
1680
f6d2a4bc9bb5
Enable mediaLib support for Solaris on UltraSPARC CPUs
jkeil
parents:
1234
diff
changeset
|
9 INCLUDE = -I. -I../libvo -I.. $(EXTRA_INC) $(MLIB_INC) |
27 | 10 CFLAGS = $(OPTFLAGS) $(INCLUDE) -DMPG12PLAY |
1 | 11 |
12 .SUFFIXES: .c .o | |
13 | |
14 # .PHONY: all clean | |
15 | |
16 .c.o: | |
27 | 17 $(CC) -c $(CFLAGS) -o $@ $< |
1 | 18 |
1010 | 19 $(LIBNAME): $(OBJS) |
1 | 20 $(AR) r $(LIBNAME) $(OBJS) |
21 | |
22 all: $(LIBNAME) | |
23 | |
24 clean: | |
25 rm -f *.o *.a *~ | |
26 | |
27 distclean: | |
27 | 28 rm -f Makefile.bak *.o *.a *~ .depend |
1 | 29 |
27 | 30 dep: depend |
1 | 31 |
1010 | 32 depend: |
866
91087aaea5c7
using gcc -MM instead of makedepend, make OBJS from SRCS where possible
arpi_esp
parents:
36
diff
changeset
|
33 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend |
1 | 34 |
27 | 35 # |
36 # include dependency files if they exist | |
37 # | |
38 ifneq ($(wildcard .depend),) | |
39 include .depend | |
40 endif |