misc typo fixes
[ffmpeg.git] / libpostproc / Makefile
index 6f3527c..356ce2f 100644 (file)
@@ -4,26 +4,23 @@ include ../config.mak
 # Overload incdir, postproc include files go in a different directory.
 incdir=$(prefix)/include/postproc
 
-EXTRALIBS := -L../libavutil -lavutil$(BUILDSUF) $(EXTRALIBS)
+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
 
-CFLAGS  = -I.. -I$(SRC_PATH)/libavutil $(OPTFLAGS)
-# -I/usr/X11R6/include/
+include ../common.mak
 
-include $(SRC_PATH)/common.mak
-
-depend: postprocess.c
+depend dep: postprocess.c
 
 postprocess_pic.o: postprocess.c
        $(CC) -c $(CFLAGS) -fomit-frame-pointer -fPIC -DPIC -o $@ $<
 
+uninstall-headers::
+       -rmdir "$(prefix)/include/postproc"