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