[gegl/gsoc2011-opencl: 3/14] Changes in Makefiles - OpenCL Now there is libcl.la



commit dc93fbdf3fdd773013c0b4121e61108cce30ff79
Author: victor matheus de araujo <victormatheus gmail com>
Date:   Sun May 8 20:18:16 2011 -0300

    Changes in Makefiles - OpenCL Now there is libcl.la
    
    Signed-off-by: Victor Oliveira <victormatheus gmail com>

 configure.ac     |    9 +++++++++
 gegl/Makefile.am |    7 +++++--
 2 files changed, 14 insertions(+), 2 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 9d4eaee..4018efd 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1021,6 +1021,14 @@ AM_CONDITIONAL(HAVE_UMFPACK, test "x$have_umfpack" = "xyes")
 AC_SUBST(UMFPACK_CFLAGS)
 AC_SUBST(UMFPACK_LIBS)
 
+#######################
+# OPENCL
+#######################
+
+OPENCL_CFLAGS="$OPENCL_CFLAGS -ldt",
+OPENCL_LIBS="$OPENCL_LIBS -rdynamic",
+AC_SUBST(OPENCL_CFLAGS)
+AC_SUBST(OPENCL_LIBS)
 
 #######################
 # Check for other items
@@ -1082,6 +1090,7 @@ gegl/module/Makefile
 gegl/operation/Makefile
 gegl/process/Makefile
 gegl/property-types/Makefile
+gegl/opencl/Makefile
 libs/Makefile
 libs/rgbe/Makefile
 operations/Makefile
diff --git a/gegl/Makefile.am b/gegl/Makefile.am
index e41dfbe..094307c 100644
--- a/gegl/Makefile.am
+++ b/gegl/Makefile.am
@@ -9,7 +9,7 @@ if PLATFORM_WIN32
 no_undefined = -no-undefined
 endif
 
-SUBDIRS = buffer graph module operation process property-types
+SUBDIRS = buffer graph module operation process property-types opencl
 
 CLEANFILES =
 
@@ -22,6 +22,8 @@ AM_CPPFLAGS = \
 	-I$(top_srcdir)/gegl/property-types \
 	-I$(top_builddir)/gegl/operation \
 	-I$(top_srcdir)/gegl/operation \
+	-I$(top_builddir)/gegl/opencl \
+	-I$(top_srcdir)/gegl/opencl \
 	-DLIBDIR=\""$(libdir)"\" \
 	-DGEGL_LOCALEDIR=\""$(GEGL_LOCALEDIR)"\"
 
@@ -98,7 +100,8 @@ libgegl_ GEGL_API_VERSION@_la_LIBADD = \
 	$(top_builddir)/gegl/operation/liboperation.la		\
 	$(top_builddir)/gegl/graph/libgraph.la			\
 	$(top_builddir)/gegl/process/libprocess.la		\
-	$(top_builddir)/gegl/property-types/libpropertytypes.la
+	$(top_builddir)/gegl/property-types/libpropertytypes.la \
+	$(top_builddir)/gegl/opencl/libcl.la
 
 
 if HAVE_INTROSPECTION



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]