annotate postproc/Makefile @ 2994:4e30e2c6dcb9

dvd playing bug fixed
author pontscho
date Mon, 19 Nov 2001 09:48:59 +0000
parents 66764532e1e6
children 86910f54c391
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2444
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
1
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
2 include ../config.mak
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
3
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
4 LIBNAME = libpostproc.a
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
5
2732
ae79207a3055 Move yuv2rgb to postprocess
nick
parents: 2504
diff changeset
6 SRCS=postprocess.c swscale.c rgb2rgb.c yuv2rgb.c
2444
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
7 OBJS=$(SRCS:.c=.o)
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
8
2732
ae79207a3055 Move yuv2rgb to postprocess
nick
parents: 2504
diff changeset
9 ifeq ($(TARGET_ARCH_X86),yes)
ae79207a3055 Move yuv2rgb to postprocess
nick
parents: 2504
diff changeset
10 SRCS += yuv2rgb_mmx.c
ae79207a3055 Move yuv2rgb to postprocess
nick
parents: 2504
diff changeset
11 endif
ae79207a3055 Move yuv2rgb to postprocess
nick
parents: 2504
diff changeset
12
2927
66764532e1e6 postproc/ dir now respects --with-extraincdir
gabucino
parents: 2732
diff changeset
13 CFLAGS = $(OPTFLAGS) $(MLIB_INC) -I. -I.. -Wall $(EXTRA_INC)
2444
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
14 # -I/usr/X11R6/include/
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
15
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
16 .SUFFIXES: .c .o
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
17
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
18 # .PHONY: all clean
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
19
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
20 .c.o:
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
21 $(CC) -c $(CFLAGS) -o $@ $<
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
22
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
23 $(LIBNAME): $(OBJS)
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
24 $(AR) r $(LIBNAME) $(OBJS)
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
25
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
26 all: $(LIBNAME)
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
27
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
28 clean:
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
29 rm -f *.o *.a *~
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
30
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
31 distclean:
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
32 rm -f Makefile.bak *.o *.a *~ .depend
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
33
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
34 dep: depend
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
35
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
36 depend:
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
37 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
38
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
39 #
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
40 # include dependency files if they exist
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
41 #
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
42 ifneq ($(wildcard .depend),)
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
43 include .depend
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
44 endif