changeset 81:8d1245b4d7fb libpostproc

Install headers in $prefix/include/$libname Install each library's headers in $prefix/include/$libname. The installed headers use #include "lib*/*.h"; applications are expected to do the same. Specify only $prefix/include in .pc files.
author mru
date Mon, 25 Feb 2008 09:22:11 +0000
parents 279387224d8c
children f69ff6d3abe3
files Makefile postprocess.h
diffstat 2 files changed, 1 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Wed Feb 20 01:23:04 2008 +0000
+++ b/Makefile	Mon Feb 25 09:22:11 2008 +0000
@@ -1,9 +1,6 @@
 
 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
@@ -15,6 +12,3 @@
 OBJS = postprocess.o
 
 include ../common.mak
-
-uninstall-headers::
-	-rmdir "$(prefix)/include/postproc"
--- a/postprocess.h	Wed Feb 20 01:23:04 2008 +0000
+++ b/postprocess.h	Mon Feb 25 09:22:11 2008 +0000
@@ -27,7 +27,7 @@
  *     external api for the pp stuff
  */
 
-#include "avutil.h"
+#include "libavutil/avutil.h"
 
 #define LIBPOSTPROC_VERSION_TRIPLET 51,1,0