2003-02-14 21:27:25 +00:00
|
|
|
|
|
|
|
include ../../config.mak
|
|
|
|
|
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-02-13 12:53:25 +00:00
|
|
|
SUBDIR=libavcodec/libpostproc
|
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-02-13 12:53:25 +00:00
|
|
|
CFLAGS = $(OPTFLAGS) $(MLIB_INC) -I. -I.. -I$(SRC_PATH)/libavcodec -I../.. $(EXTRA_INC)
|
|
|
|
# -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
|
|
|
|
$(CC) -c $(CFLAGS) -fomit-frame-pointer -fPIC -DPIC -I.. -I../.. -o $@ $<
|
2004-07-10 16:24:11 +00:00
|
|
|
endif
|
2006-02-11 16:50:45 +00:00
|
|
|
|