annotate libpostproc/Makefile @ 159:660233346f4f libavcodec

postproc/ dir now respects --with-extraincdir Now that I'm fixing configure1, here comes configure2 ehh ;)
author gabucino
date Fri, 16 Nov 2001 19:13:03 +0000
parents 598fdb31f213
children dfdac3e25dcd
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
147
598fdb31f213 Move yuv2rgb to postprocess
nick
parents: 139
diff changeset
9 ifeq ($(TARGET_ARCH_X86),yes)
598fdb31f213 Move yuv2rgb to postprocess
nick
parents: 139
diff changeset
10 SRCS += yuv2rgb_mmx.c
598fdb31f213 Move yuv2rgb to postprocess
nick
parents: 139
diff changeset
11 endif
598fdb31f213 Move yuv2rgb to postprocess
nick
parents: 139
diff changeset
12
159
660233346f4f postproc/ dir now respects --with-extraincdir
gabucino
parents: 147
diff changeset
13 CFLAGS = $(OPTFLAGS) $(MLIB_INC) -I. -I.. -Wall $(EXTRA_INC)
127
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
14 # -I/usr/X11R6/include/
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
15
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
16 .SUFFIXES: .c .o
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
17
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
18 # .PHONY: all clean
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
19
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
20 .c.o:
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
21 $(CC) -c $(CFLAGS) -o $@ $<
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
22
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
23 $(LIBNAME): $(OBJS)
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
24 $(AR) r $(LIBNAME) $(OBJS)
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
25
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
26 all: $(LIBNAME)
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
27
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
28 clean:
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
29 rm -f *.o *.a *~
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
30
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
31 distclean:
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
32 rm -f Makefile.bak *.o *.a *~ .depend
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
33
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
34 dep: depend
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
35
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
36 depend:
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
37 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
38
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
39 #
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
40 # include dependency files if they exist
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
41 #
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
42 ifneq ($(wildcard .depend),)
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
43 include .depend
2fe8f116576c Independed compilation of SUBDIRS
nick
parents:
diff changeset
44 endif