2003-02-14 21:27:25 +00:00
|
|
|
|
2006-06-01 21:37:48 +00:00
|
|
|
include ../config.mak
|
2003-02-14 21:27:25 +00:00
|
|
|
|
2006-02-11 20:53:55 +00:00
|
|
|
# Overload incdir, postproc include files go in a different directory.
|
|
|
|
incdir=$(prefix)/include/postproc
|
|
|
|
|
2006-01-14 15:54:58 +00:00
|
|
|
NAME=postproc
|
2006-01-14 18:07:36 +00:00
|
|
|
ifeq ($(BUILD_SHARED),yes)
|
2006-01-14 03:39:02 +00:00
|
|
|
LIBVERSION=$(SPPVERSION)
|
|
|
|
LIBMAJOR=$(SPPMAJOR)
|
2003-02-14 21:27:25 +00:00
|
|
|
endif
|
|
|
|
|
2006-02-13 12:53:25 +00:00
|
|
|
STATIC_OBJS=postprocess.o
|
|
|
|
SHARED_OBJS=postprocess_pic.o
|
2003-02-14 21:27:25 +00:00
|
|
|
|
2006-02-13 12:53:25 +00:00
|
|
|
HEADERS = postprocess.h
|
2003-02-14 21:27:25 +00:00
|
|
|
|
2006-08-17 16:32:08 +00:00
|
|
|
CFLAGS = -I.. -I$(SRC_PATH)/libavcodec $(OPTFLAGS)
|
2006-02-13 12:53:25 +00:00
|
|
|
# -I/usr/X11R6/include/
|
2003-02-14 21:27:25 +00:00
|
|
|
|
2006-02-13 12:53:25 +00:00
|
|
|
include $(SRC_PATH)/common.mak
|
2003-02-14 21:27:25 +00:00
|
|
|
|
2006-01-14 18:07:36 +00:00
|
|
|
ifeq ($(BUILD_SHARED),yes)
|
2003-02-14 21:27:25 +00:00
|
|
|
postprocess_pic.o: postprocess.c
|
2006-08-17 09:55:37 +00:00
|
|
|
$(CC) -c $(CFLAGS) -fomit-frame-pointer -fPIC -DPIC -o $@ $<
|
2004-07-10 16:24:11 +00:00
|
|
|
endif
|
2006-02-11 16:50:45 +00:00
|
|
|
|