spelling
[libav.git] / libpostproc / Makefile
index a676536..a39470b 100644 (file)
@@ -2,25 +2,25 @@
 include ../config.mak
 
 # Overload incdir, postproc include files go in a different directory.
 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
 
 EXTRALIBS := -L$(BUILD_ROOT)/libavutil -lavutil$(BUILDSUF) $(EXTRALIBS)
 
 NAME=postproc
-ifeq ($(BUILD_SHARED),yes)
 LIBVERSION=$(SPPVERSION)
 LIBMAJOR=$(SPPMAJOR)
 LIBVERSION=$(SPPVERSION)
 LIBMAJOR=$(SPPMAJOR)
-endif
-
-STATIC_OBJS=postprocess.o
-SHARED_OBJS=postprocess_pic.o
 
 HEADERS = postprocess.h
 
 include ../common.mak
 
 
 HEADERS = postprocess.h
 
 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 $@ $<
 
 depend dep: postprocess.c
 
 postprocess_pic.o: postprocess.c
        $(CC) -c $(CFLAGS) -fomit-frame-pointer -fPIC -DPIC -o $@ $<
 
+uninstall-headers::
+       -rmdir "$(prefix)/include/postproc"