1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43
|
# Process this file with automake to produce Makefile.in (in this,
# and all subdirectories).
# Makefile.am for pocl/examples/kernel.
#
# Copyright (c) 2011 Universidad Rey Juan Carlos
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.
noinst_PROGRAMS = kernel sampler_address_clamp image_query_funcs test_shuffle
test_shuffle_SOURCES=test_shuffle.cc
kernel_SOURCES = kernel.c test_as_type.cl test_bitselect.cl test_convert_sat_regression.cl $(srcdir)/test_convert_type_*.cl test_fabs.cl test_fmin_fmax_fma.cl test_hadd.cl test_min_max.cl test_length_distance.cl test_rotate.cl test_short16.cl test_sizeof.cl test_block.cl test_printf.cl test_local_struct_array.cl test_frexp_modf.cl
kernel_LDADD = -lm @OPENCL_LIBS@ ../../lib/poclu/libpoclu.la
kernel_CFLAGS = -std=c99 @OPENCL_CFLAGS@
sampler_address_clamp_SOURCES = sampler_address_clamp.c test_sampler_address_clamp.cl
sampler_address_clamp_LDADD = -lm @OPENCL_LIBS@ ../../lib/poclu/libpoclu.la
smapler_address_clamp_CFLAGS = -std=c99 @OPENCL_CFLAGS@
image_query_funcs_SOURCES = image_query_funcs.c test_image_query_funcs.cl
image_query_funcs_LDADD = -lm @OPENCL_LIBS@ ../../lib/poclu/libpoclu.la
image_query_funcs_CFLAGS = -std=c99 @OPENCL_CFLAGS@
AM_CPPFLAGS = -I$(top_srcdir)/fix-include -I$(top_srcdir)/include -DSRCDIR='"$(abs_srcdir)"'
AM_LDFLAGS = @OPENCL_LIBS@ ../../lib/poclu/libpoclu.la -lm
EXTRA_DIST = test_block_expout.txt test_halfs.cl test_sizeof_expout.txt CMakeLists.txt
|