summaryrefslogtreecommitdiff
path: root/libpostproc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'libpostproc/Makefile')
-rw-r--r--libpostproc/Makefile28
1 files changed, 28 insertions, 0 deletions
diff --git a/libpostproc/Makefile b/libpostproc/Makefile
new file mode 100644
index 0000000000..2a7eb42c2c
--- /dev/null
+++ b/libpostproc/Makefile
@@ -0,0 +1,28 @@
+
+include ../config.mak
+
+# Overload incdir, postproc include files go in a different directory.
+incdir=$(prefix)/include/postproc
+
+NAME=postproc
+SUBDIR=libavcodec/libpostproc
+ifeq ($(BUILD_SHARED),yes)
+LIBVERSION=$(SPPVERSION)
+LIBMAJOR=$(SPPMAJOR)
+endif
+
+STATIC_OBJS=postprocess.o
+SHARED_OBJS=postprocess_pic.o
+
+HEADERS = postprocess.h
+
+CFLAGS = $(OPTFLAGS) $(MLIB_INC) -I. -I.. -I$(SRC_PATH)/libavcodec -I../.. $(EXTRA_INC)
+# -I/usr/X11R6/include/
+
+include $(SRC_PATH)/common.mak
+
+ifeq ($(BUILD_SHARED),yes)
+postprocess_pic.o: postprocess.c
+ $(CC) -c $(CFLAGS) -fomit-frame-pointer -fPIC -DPIC -I.. -I../.. -o $@ $<
+endif
+