annotate libmpeg2/Makefile @ 18701:b45c4e057999

Remove unnecessary rsync exclude.
author diego
date Wed, 14 Jun 2006 10:24:41 +0000
parents c127ce678083
children 7a9a9748e045
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
2 LIBNAME = libmpeg2.a
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
3
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
4 include ../config.mak
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
5
17943
c127ce678083 cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents: 17488
diff changeset
6 SRCS = alloc.c \
c127ce678083 cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents: 17488
diff changeset
7 cpu_accel.c\
c127ce678083 cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents: 17488
diff changeset
8 cpu_state.c \
c127ce678083 cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents: 17488
diff changeset
9 decode.c \
c127ce678083 cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents: 17488
diff changeset
10 header.c \
c127ce678083 cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents: 17488
diff changeset
11 idct.c \
c127ce678083 cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents: 17488
diff changeset
12 motion_comp.c \
c127ce678083 cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents: 17488
diff changeset
13 slice.c \
9852
47984e3f54ce Importing libmpeg2 from mpeg2dec-0.3.1
arpi
parents: 5515
diff changeset
14
866
91087aaea5c7 using gcc -MM instead of makedepend, make OBJS from SRCS where possible
arpi_esp
parents: 36
diff changeset
15 OBJS = $(SRCS:.c=.o)
12932
d0a8810e155c Importing libmpeg2 from mpeg2dec-0.4.0b
henry
parents: 12632
diff changeset
16 INCLUDE = -I. -I../libvo -I.. $(EXTRA_INC)
27
f0f2a9174225 New dependency system
arpi_esp
parents: 1
diff changeset
17 CFLAGS = $(OPTFLAGS) $(INCLUDE) -DMPG12PLAY
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
18
13118
23971209fd32 more TARGET_* conditionals
henry
parents: 13018
diff changeset
19 ifeq ($(TARGET_ARCH_X86),yes)
23971209fd32 more TARGET_* conditionals
henry
parents: 13018
diff changeset
20 SRCS += idct_mmx.c motion_comp_mmx.c
23971209fd32 more TARGET_* conditionals
henry
parents: 13018
diff changeset
21 endif
23971209fd32 more TARGET_* conditionals
henry
parents: 13018
diff changeset
22
23971209fd32 more TARGET_* conditionals
henry
parents: 13018
diff changeset
23 ifeq ($(TARGET_ARCH_X86_64),yes)
23971209fd32 more TARGET_* conditionals
henry
parents: 13018
diff changeset
24 SRCS += idct_mmx.c motion_comp_mmx.c
23971209fd32 more TARGET_* conditionals
henry
parents: 13018
diff changeset
25 endif
23971209fd32 more TARGET_* conditionals
henry
parents: 13018
diff changeset
26
10268
f486ad4016ad libmpeg2-altivec patch by Magnus Damm <damm@opensource.se>:
arpi
parents: 9852
diff changeset
27 ifeq ($(TARGET_ALTIVEC),yes)
f486ad4016ad libmpeg2-altivec patch by Magnus Damm <damm@opensource.se>:
arpi
parents: 9852
diff changeset
28 SRCS += motion_comp_altivec.c idct_altivec.c
f486ad4016ad libmpeg2-altivec patch by Magnus Damm <damm@opensource.se>:
arpi
parents: 9852
diff changeset
29 endif
f486ad4016ad libmpeg2-altivec patch by Magnus Damm <damm@opensource.se>:
arpi
parents: 9852
diff changeset
30
13018
adb93ef6b07f Improved SPARC CPU detection and SPARC compilation fixes.
diego
parents: 12932
diff changeset
31 ifeq ($(TARGET_VIS),yes)
adb93ef6b07f Improved SPARC CPU detection and SPARC compilation fixes.
diego
parents: 12932
diff changeset
32 SRCS += motion_comp_vis.c
adb93ef6b07f Improved SPARC CPU detection and SPARC compilation fixes.
diego
parents: 12932
diff changeset
33 endif
adb93ef6b07f Improved SPARC CPU detection and SPARC compilation fixes.
diego
parents: 12932
diff changeset
34
13118
23971209fd32 more TARGET_* conditionals
henry
parents: 13018
diff changeset
35 ifeq ($(TARGET_ARCH_ALPHA),yes)
23971209fd32 more TARGET_* conditionals
henry
parents: 13018
diff changeset
36 SRCS += idct_alpha.c motion_comp_alpha.c
23971209fd32 more TARGET_* conditionals
henry
parents: 13018
diff changeset
37 endif
23971209fd32 more TARGET_* conditionals
henry
parents: 13018
diff changeset
38
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
39 .SUFFIXES: .c .o
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
40
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
41 # .PHONY: all clean
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
42
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
43 .c.o:
27
f0f2a9174225 New dependency system
arpi_esp
parents: 1
diff changeset
44 $(CC) -c $(CFLAGS) -o $@ $<
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
45
1010
6d3a6d42c831 dependency stuff fixed
arpi_esp
parents: 866
diff changeset
46 $(LIBNAME): $(OBJS)
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
47 $(AR) r $(LIBNAME) $(OBJS)
12632
80973aa180a5 ranlib cleanup by Dan Christiansen
alex
parents: 10572
diff changeset
48 $(RANLIB) $(LIBNAME)
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
49
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
50 all: $(LIBNAME)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
51
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
52 clean:
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
53 rm -f *.o *.a *~
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
54
17488
ce1ba8fd57e7 Make clean/distclean behave uniformly in all directories.
diego
parents: 14013
diff changeset
55 distclean: clean
ce1ba8fd57e7 Make clean/distclean behave uniformly in all directories.
diego
parents: 14013
diff changeset
56 rm -f .depend
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
57
27
f0f2a9174225 New dependency system
arpi_esp
parents: 1
diff changeset
58 dep: depend
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
59
1010
6d3a6d42c831 dependency stuff fixed
arpi_esp
parents: 866
diff changeset
60 depend:
866
91087aaea5c7 using gcc -MM instead of makedepend, make OBJS from SRCS where possible
arpi_esp
parents: 36
diff changeset
61 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
62
27
f0f2a9174225 New dependency system
arpi_esp
parents: 1
diff changeset
63 #
f0f2a9174225 New dependency system
arpi_esp
parents: 1
diff changeset
64 # include dependency files if they exist
f0f2a9174225 New dependency system
arpi_esp
parents: 1
diff changeset
65 #
f0f2a9174225 New dependency system
arpi_esp
parents: 1
diff changeset
66 ifneq ($(wildcard .depend),)
f0f2a9174225 New dependency system
arpi_esp
parents: 1
diff changeset
67 include .depend
f0f2a9174225 New dependency system
arpi_esp
parents: 1
diff changeset
68 endif