changeset 4260:032207ff2a87

install libSAD headers
author mf0102 <0102@gmx.at>
date Sat, 09 Feb 2008 19:20:19 +0100
parents 92642f860860
children 80cdcabbc373
files src/libSAD/Makefile src/libSAD/common.h
diffstat 2 files changed, 13 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/libSAD/Makefile	Sat Feb 09 01:05:36 2008 +0300
+++ b/src/libSAD/Makefile	Sat Feb 09 19:20:19 2008 +0100
@@ -1,9 +1,16 @@
+include ../../buildsys.mk
+include ../../extra.mk
+
+PACKAGE = libSAD
+
 STATIC_LIB_NOINST = libSAD.a
 SRCS = dither.c \
        dither_ops.c \
        noicegen.c
 
-include ../../buildsys.mk
-include ../../extra.mk
 
-CPPFLAGS += ${SIMD_CFLAGS}
+INCLUDES = libSAD.h \
+           common.h \
+           dither.h
+
+CPPFLAGS += ${SIMD_CFLAGS} -I../..
--- a/src/libSAD/common.h	Sat Feb 09 01:05:36 2008 +0300
+++ b/src/libSAD/common.h	Sat Feb 09 19:20:19 2008 +0100
@@ -34,7 +34,9 @@
 #define FALSE 0
 #endif
 
-#include "../../config.h"
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
 
 typedef int SAD_error;