Prefer "*FUNC_NAME(" over "* FUNC_NAME(" for XXX_configuration() and
[libav.git] / libpostproc / Makefile
dissimilarity index 94%
index 452c105..bd0b71e 100644 (file)
@@ -1,26 +1,10 @@
-
-include ../config.mak
-
-# Overload incdir, postproc include files go in a different directory.
-INCDIR=$(prefix)/include/postproc
-
-EXTRALIBS := -L$(BUILD_ROOT)/libavutil -lavutil$(BUILDSUF) $(EXTRALIBS)
-
-NAME=postproc
-LIBVERSION=$(SPPVERSION)
-LIBMAJOR=$(SPPMAJOR)
-
-STATIC_OBJS=postprocess.o
-SHARED_OBJS=postprocess_pic.o
-
-HEADERS = postprocess.h
-
-include ../common.mak
-
-depend dep: postprocess.c
-
-postprocess_pic.o: postprocess.c
-       $(CC) -c $(CFLAGS) -fomit-frame-pointer -fPIC -DPIC -o $@ $<
-
-uninstall-headers::
-       -rmdir "$(prefix)/include/postproc"
+include $(SUBDIR)../config.mak
+
+NAME = postproc
+FFLIBS = avutil
+
+HEADERS = postprocess.h
+
+OBJS = postprocess.o
+
+include $(SUBDIR)../subdir.mak