Mercurial > mplayer.hg
annotate postproc/Makefile @ 7492:5465cbd5c5ef
Modern versions of OpenSSH listen on localhost to forward the X11 connection
(X11UseLocalhost defaults to yes). The following patch permits to consider
as non local any DISPLAY environment which port is greater or equal to 10
else mplayer tries a local optimization on a distant X server which doesn't
work.
patch by Denis.Ducamp@groar.org
author | arpi |
---|---|
date | Mon, 23 Sep 2002 21:17:30 +0000 |
parents | b69ddd4d3bb9 |
children | f483ab704252 |
rev | line source |
---|---|
2444 | 1 |
2 include ../config.mak | |
3 | |
4 LIBNAME = libpostproc.a | |
5 | |
2732 | 6 SRCS=postprocess.c swscale.c rgb2rgb.c yuv2rgb.c |
2444 | 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 | 9 |
7073
b69ddd4d3bb9
removed -W -Wall -g and other gcc-specific warning/debug options
arpi
parents:
6603
diff
changeset
|
10 CFLAGS = $(OPTFLAGS) $(MLIB_INC) -I. -I.. $(EXTRA_INC) |
2444 | 11 # -I/usr/X11R6/include/ |
12 | |
13 .SUFFIXES: .c .o | |
14 | |
15 # .PHONY: all clean | |
16 | |
17 .c.o: | |
18 $(CC) -c $(CFLAGS) -o $@ $< | |
19 | |
20 $(LIBNAME): $(OBJS) | |
21 $(AR) r $(LIBNAME) $(OBJS) | |
22 | |
23 all: $(LIBNAME) | |
24 | |
25 clean: | |
26 rm -f *.o *.a *~ | |
27 | |
28 distclean: | |
29 rm -f Makefile.bak *.o *.a *~ .depend | |
30 | |
31 dep: depend | |
32 | |
33 depend: | |
34 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend | |
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 | 39 # |
40 # include dependency files if they exist | |
41 # | |
42 ifneq ($(wildcard .depend),) | |
43 include .depend | |
44 endif |