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