annotate postproc/Makefile @ 9426:c9dcb67e9638

moving postprocess code to libavcodec
author michael
date Fri, 14 Feb 2003 21:45:45 +0000
parents 1e8f3293a822
children 98712065a08d
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
7946
f483ab704252 postprocessing cleanup:
michael
parents: 7073
diff changeset
4 SWSLIB = libswscale.a
2444
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
5
7946
f483ab704252 postprocessing cleanup:
michael
parents: 7073
diff changeset
6 SWSSRCS=swscale.c rgb2rgb.c yuv2rgb.c
f483ab704252 postprocessing cleanup:
michael
parents: 7073
diff changeset
7 SWSOBJS=$(SWSSRCS:.c=.o)
8231
dff74a42db56 fixing compilation of cs_test
michael
parents: 8098
diff changeset
8 CS_TEST_OBJS=cs_test.o rgb2rgb.o ../cpudetect.o ../mp_msg.o ../libvo/aclib.o
2444
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
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
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:
9402
1e8f3293a822 avoid #include "../
michael
parents: 8231
diff changeset
18 $(CC) -c $(CFLAGS) -I.. -o $@ $<
2444
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
19
9426
c9dcb67e9638 moving postprocess code to libavcodec
michael
parents: 9402
diff changeset
20 all: $(SWSLIB)
2444
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
21
7946
f483ab704252 postprocessing cleanup:
michael
parents: 7073
diff changeset
22 $(SWSLIB): $(SWSOBJS)
f483ab704252 postprocessing cleanup:
michael
parents: 7073
diff changeset
23 $(AR) r $(SWSLIB) $(SWSOBJS)
2444
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
24
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
25 clean:
7946
f483ab704252 postprocessing cleanup:
michael
parents: 7073
diff changeset
26 rm -f *.o *.a *~ *.so
2444
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
27
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
28 distclean:
7946
f483ab704252 postprocessing cleanup:
michael
parents: 7073
diff changeset
29 rm -f Makefile.bak *.o *.a *~ *.so .depend
2444
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:
8098
2fa1e3aa518a fixing dependancies
michael
parents: 7994
diff changeset
34 $(CC) -MM $(CFLAGS) $(SWSSRCS) postprocess.c 1>.depend
2444
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