Mercurial > mplayer.hg
annotate libmpeg2/Makefile @ 13395:07708ec98d87
New MD5 sum video output driver. For every frame, it calculates the MD5 sum
and writes a list of those sums to an, optionally specified, output file.
It does not rely on external programs to be installed. The MD5 sum code is
borrowed from the uCIFS library, written by Christopher R. Hertel in 2004
and released under the LGPL license.
Note: This driver is not yet activated and will not be compiled and linked
to libvo. A separate patch will take care of that. This is just for adding
the files to the repository.
author | ivo |
---|---|
date | Mon, 20 Sep 2004 01:01:08 +0000 |
parents | 23971209fd32 |
children | cbadd7b190b2 |
rev | line source |
---|---|
1 | 1 |
2 LIBNAME = libmpeg2.a | |
3 | |
4 include ../config.mak | |
5 | |
13118 | 6 SRCS = alloc.c cpu_accel.c cpu_state.c decode.c header.c idct.c motion_comp.c slice.c |
9852 | 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) |
12932 | 9 INCLUDE = -I. -I../libvo -I.. $(EXTRA_INC) |
27 | 10 CFLAGS = $(OPTFLAGS) $(INCLUDE) -DMPG12PLAY |
1 | 11 |
13118 | 12 ifeq ($(TARGET_ARCH_X86),yes) |
13 SRCS += idct_mmx.c motion_comp_mmx.c | |
14 endif | |
15 | |
16 ifeq ($(TARGET_ARCH_X86_64),yes) | |
17 SRCS += idct_mmx.c motion_comp_mmx.c | |
18 endif | |
19 | |
10268
f486ad4016ad
libmpeg2-altivec patch by Magnus Damm <damm@opensource.se>:
arpi
parents:
9852
diff
changeset
|
20 ifeq ($(TARGET_ALTIVEC),yes) |
f486ad4016ad
libmpeg2-altivec patch by Magnus Damm <damm@opensource.se>:
arpi
parents:
9852
diff
changeset
|
21 SRCS += motion_comp_altivec.c idct_altivec.c |
f486ad4016ad
libmpeg2-altivec patch by Magnus Damm <damm@opensource.se>:
arpi
parents:
9852
diff
changeset
|
22 endif |
f486ad4016ad
libmpeg2-altivec patch by Magnus Damm <damm@opensource.se>:
arpi
parents:
9852
diff
changeset
|
23 |
13018
adb93ef6b07f
Improved SPARC CPU detection and SPARC compilation fixes.
diego
parents:
12932
diff
changeset
|
24 ifeq ($(TARGET_VIS),yes) |
adb93ef6b07f
Improved SPARC CPU detection and SPARC compilation fixes.
diego
parents:
12932
diff
changeset
|
25 SRCS += motion_comp_vis.c |
adb93ef6b07f
Improved SPARC CPU detection and SPARC compilation fixes.
diego
parents:
12932
diff
changeset
|
26 endif |
adb93ef6b07f
Improved SPARC CPU detection and SPARC compilation fixes.
diego
parents:
12932
diff
changeset
|
27 |
13118 | 28 ifeq ($(TARGET_ARCH_ALPHA),yes) |
29 SRCS += idct_alpha.c motion_comp_alpha.c | |
30 endif | |
31 | |
1 | 32 .SUFFIXES: .c .o |
33 | |
34 # .PHONY: all clean | |
35 | |
36 .c.o: | |
27 | 37 $(CC) -c $(CFLAGS) -o $@ $< |
1 | 38 |
1010 | 39 $(LIBNAME): $(OBJS) |
1 | 40 $(AR) r $(LIBNAME) $(OBJS) |
12632 | 41 $(RANLIB) $(LIBNAME) |
1 | 42 |
43 all: $(LIBNAME) | |
44 | |
45 clean: | |
46 rm -f *.o *.a *~ | |
47 | |
48 distclean: | |
27 | 49 rm -f Makefile.bak *.o *.a *~ .depend |
1 | 50 |
27 | 51 dep: depend |
1 | 52 |
1010 | 53 depend: |
866
91087aaea5c7
using gcc -MM instead of makedepend, make OBJS from SRCS where possible
arpi_esp
parents:
36
diff
changeset
|
54 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend |
1 | 55 |
27 | 56 # |
57 # include dependency files if they exist | |
58 # | |
59 ifneq ($(wildcard .depend),) | |
60 include .depend | |
61 endif |