annotate libmpeg2/Makefile @ 20729:6cf79142b5a7

Remove bogus comment lines.
author diego
date Tue, 07 Nov 2006 16:40:22 +0000
parents 4f71ed7cb512
children 618d1857f4c4
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)
19037
7a9a9748e045 OPTFLAGS already includes EXTRA_INC.
diego
parents: 17943
diff changeset
16 INCLUDE = -I. -I../libvo -I..
19420
4f71ed7cb512 Move all internal -I parameters to the front of CFLAGS to avoid using external
diego
parents: 19132
diff changeset
17 CFLAGS = $(INCLUDE) $(OPTFLAGS) -DMPG12PLAY
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
18
19132
0945c6e242c6 remove duplicate code and fix issue of compiling mmx code when we
rfelker
parents: 19037
diff changeset
19 ifeq ($(TARGET_MMX),yes)
13118
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
10268
f486ad4016ad libmpeg2-altivec patch by Magnus Damm <damm@opensource.se>:
arpi
parents: 9852
diff changeset
23 ifeq ($(TARGET_ALTIVEC),yes)
f486ad4016ad libmpeg2-altivec patch by Magnus Damm <damm@opensource.se>:
arpi
parents: 9852
diff changeset
24 SRCS += motion_comp_altivec.c idct_altivec.c
f486ad4016ad libmpeg2-altivec patch by Magnus Damm <damm@opensource.se>:
arpi
parents: 9852
diff changeset
25 endif
f486ad4016ad libmpeg2-altivec patch by Magnus Damm <damm@opensource.se>:
arpi
parents: 9852
diff changeset
26
13018
adb93ef6b07f Improved SPARC CPU detection and SPARC compilation fixes.
diego
parents: 12932
diff changeset
27 ifeq ($(TARGET_VIS),yes)
adb93ef6b07f Improved SPARC CPU detection and SPARC compilation fixes.
diego
parents: 12932
diff changeset
28 SRCS += motion_comp_vis.c
adb93ef6b07f Improved SPARC CPU detection and SPARC compilation fixes.
diego
parents: 12932
diff changeset
29 endif
adb93ef6b07f Improved SPARC CPU detection and SPARC compilation fixes.
diego
parents: 12932
diff changeset
30
13118
23971209fd32 more TARGET_* conditionals
henry
parents: 13018
diff changeset
31 ifeq ($(TARGET_ARCH_ALPHA),yes)
23971209fd32 more TARGET_* conditionals
henry
parents: 13018
diff changeset
32 SRCS += idct_alpha.c motion_comp_alpha.c
23971209fd32 more TARGET_* conditionals
henry
parents: 13018
diff changeset
33 endif
23971209fd32 more TARGET_* conditionals
henry
parents: 13018
diff changeset
34
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
35 .SUFFIXES: .c .o
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
36
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
37 # .PHONY: all clean
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
38
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
39 .c.o:
27
f0f2a9174225 New dependency system
arpi_esp
parents: 1
diff changeset
40 $(CC) -c $(CFLAGS) -o $@ $<
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
41
1010
6d3a6d42c831 dependency stuff fixed
arpi_esp
parents: 866
diff changeset
42 $(LIBNAME): $(OBJS)
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
43 $(AR) r $(LIBNAME) $(OBJS)
12632
80973aa180a5 ranlib cleanup by Dan Christiansen
alex
parents: 10572
diff changeset
44 $(RANLIB) $(LIBNAME)
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
45
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
46 all: $(LIBNAME)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
47
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
48 clean:
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
49 rm -f *.o *.a *~
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
50
17488
ce1ba8fd57e7 Make clean/distclean behave uniformly in all directories.
diego
parents: 14013
diff changeset
51 distclean: clean
ce1ba8fd57e7 Make clean/distclean behave uniformly in all directories.
diego
parents: 14013
diff changeset
52 rm -f .depend
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
53
27
f0f2a9174225 New dependency system
arpi_esp
parents: 1
diff changeset
54 dep: depend
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
55
1010
6d3a6d42c831 dependency stuff fixed
arpi_esp
parents: 866
diff changeset
56 depend:
866
91087aaea5c7 using gcc -MM instead of makedepend, make OBJS from SRCS where possible
arpi_esp
parents: 36
diff changeset
57 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
58
27
f0f2a9174225 New dependency system
arpi_esp
parents: 1
diff changeset
59 #
f0f2a9174225 New dependency system
arpi_esp
parents: 1
diff changeset
60 # include dependency files if they exist
f0f2a9174225 New dependency system
arpi_esp
parents: 1
diff changeset
61 #
f0f2a9174225 New dependency system
arpi_esp
parents: 1
diff changeset
62 ifneq ($(wildcard .depend),)
f0f2a9174225 New dependency system
arpi_esp
parents: 1
diff changeset
63 include .depend
f0f2a9174225 New dependency system
arpi_esp
parents: 1
diff changeset
64 endif