annotate postproc/Makefile @ 6603:6eab60ea6c11

colorspace converter tests (memory corruption tests at different width/src/dst) quite impressive results only 1 of the 13 rgb->rgb converters fails for the c versions ... sadly only 1 of the mmx converters passes though :( ... i feared allready that last mplayerxp merge reversed the bugfixes :((((
author michael
date Sat, 29 Jun 2002 15:01:23 +0000
parents 86910f54c391
children b69ddd4d3bb9
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)
6603
6eab60ea6c11 colorspace converter tests (memory corruption tests at different width/src/dst)
michael
parents: 3143
diff changeset
8 CS_TEST_OBJS=cs_test.o rgb2rgb.o ../cpudetect.o ../mp_msg.o
2444
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
9
2927
66764532e1e6 postproc/ dir now respects --with-extraincdir
gabucino
parents: 2732
diff changeset
10 CFLAGS = $(OPTFLAGS) $(MLIB_INC) -I. -I.. -Wall $(EXTRA_INC)
2444
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
11 # -I/usr/X11R6/include/
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
12
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
13 .SUFFIXES: .c .o
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
14
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
15 # .PHONY: all clean
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
16
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
17 .c.o:
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
18 $(CC) -c $(CFLAGS) -o $@ $<
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
19
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
20 $(LIBNAME): $(OBJS)
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
21 $(AR) r $(LIBNAME) $(OBJS)
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
22
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
23 all: $(LIBNAME)
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
24
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
25 clean:
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
26 rm -f *.o *.a *~
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
27
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
28 distclean:
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
29 rm -f Makefile.bak *.o *.a *~ .depend
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
30
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
31 dep: depend
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
32
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
33 depend:
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
34 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
35
6603
6eab60ea6c11 colorspace converter tests (memory corruption tests at different width/src/dst)
michael
parents: 3143
diff changeset
36 cs_test: $(CS_TEST_OBJS)
6eab60ea6c11 colorspace converter tests (memory corruption tests at different width/src/dst)
michael
parents: 3143
diff changeset
37 $(CC) $(CS_TEST_OBJS) -o cs_test
6eab60ea6c11 colorspace converter tests (memory corruption tests at different width/src/dst)
michael
parents: 3143
diff changeset
38
2444
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