annotate libpostproc/Makefile @ 229:f418b5c5ff67 libavcodec

PATCH by Rik Snel <rsnel@cube.dyndns.org> this patch enhances the jpeg header writer. It can be asked to omit quantisation and huffman tables and it can write different horizontal and vertical sampling factors. (the last thing is useless for libavcodec itself (because libavcodec only handles YUV420P at ecoder level), but the values are initialized so that operation of libavcodec is not impaired)
author arpi_esp
date Sat, 09 Feb 2002 01:23:41 +0000
parents dfdac3e25dcd
children 8f9fa4ec9cbb
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
127
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
1
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
2 include ../config.mak
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
3
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
4 LIBNAME = libpostproc.a
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
5
147
598fdb31f213 Move yuv2rgb to postprocess
nick
parents: 139
diff changeset
6 SRCS=postprocess.c swscale.c rgb2rgb.c yuv2rgb.c
127
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
7 OBJS=$(SRCS:.c=.o)
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
8
159
660233346f4f postproc/ dir now respects --with-extraincdir
gabucino
parents: 147
diff changeset
9 CFLAGS = $(OPTFLAGS) $(MLIB_INC) -I. -I.. -Wall $(EXTRA_INC)
127
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
10 # -I/usr/X11R6/include/
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
11
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
12 .SUFFIXES: .c .o
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
13
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
14 # .PHONY: all clean
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
15
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
16 .c.o:
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
17 $(CC) -c $(CFLAGS) -o $@ $<
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
18
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
19 $(LIBNAME): $(OBJS)
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
20 $(AR) r $(LIBNAME) $(OBJS)
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
21
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
22 all: $(LIBNAME)
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
23
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
24 clean:
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
25 rm -f *.o *.a *~
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
26
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
27 distclean:
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
28 rm -f Makefile.bak *.o *.a *~ .depend
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
29
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
30 dep: depend
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
31
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
32 depend:
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
33 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
34
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
35 #
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
36 # include dependency files if they exist
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
37 #
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
38 ifneq ($(wildcard .depend),)
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
39 include .depend
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
40 endif