0
|
1
|
|
2 include ../config.mak
|
|
3
|
|
4 # Overload incdir, postproc include files go in a different directory.
|
|
5 incdir=$(prefix)/include/postproc
|
|
6
|
|
7 NAME=postproc
|
|
8 SUBDIR=libavcodec/libpostproc
|
|
9 ifeq ($(BUILD_SHARED),yes)
|
|
10 LIBVERSION=$(SPPVERSION)
|
|
11 LIBMAJOR=$(SPPMAJOR)
|
|
12 endif
|
|
13
|
|
14 STATIC_OBJS=postprocess.o
|
|
15 SHARED_OBJS=postprocess_pic.o
|
|
16
|
|
17 HEADERS = postprocess.h
|
|
18
|
|
19 CFLAGS = $(OPTFLAGS) $(MLIB_INC) -I. -I.. -I$(SRC_PATH)/libavcodec -I../.. $(EXTRA_INC)
|
|
20 # -I/usr/X11R6/include/
|
|
21
|
|
22 include $(SRC_PATH)/common.mak
|
|
23
|
|
24 ifeq ($(BUILD_SHARED),yes)
|
|
25 postprocess_pic.o: postprocess.c
|
|
26 $(CC) -c $(CFLAGS) -fomit-frame-pointer -fPIC -DPIC -I.. -I../.. -o $@ $<
|
|
27 endif
|
|
28
|