Make pp_help a constant array of characters to move it to .rodata.
[ffmpeg.git] / libpostproc / Makefile
index 44434e8..a39470b 100644 (file)
@@ -2,25 +2,25 @@
 include ../config.mak
 
 # Overload incdir, postproc include files go in a different directory.
-incdir=$(prefix)/include/postproc
+INCDIR=$(prefix)/include/postproc
 
 EXTRALIBS := -L$(BUILD_ROOT)/libavutil -lavutil$(BUILDSUF) $(EXTRALIBS)
 
 NAME=postproc
-ifeq ($(BUILD_SHARED),yes)
 LIBVERSION=$(SPPVERSION)
 LIBMAJOR=$(SPPMAJOR)
-endif
-
-STATIC_OBJS=postprocess.o
-SHARED_OBJS=postprocess_pic.o
 
 HEADERS = postprocess.h
 
-include $(SRC_PATH)/common.mak
+include ../common.mak
+
+$(LIBNAME): postprocess.o
+$(SLIBNAME_WITH_MAJOR): postprocess_pic.o
 
 depend dep: postprocess.c
 
 postprocess_pic.o: postprocess.c
        $(CC) -c $(CFLAGS) -fomit-frame-pointer -fPIC -DPIC -o $@ $<
 
+uninstall-headers::
+       -rmdir "$(prefix)/include/postproc"