1## Process this file with automake to produce Makefile.in 2 3## Copyright (C) 2010 X. Andrade 4## 5## This program is free software; you can redistribute it and/or modify 6## it under the terms of the GNU General Public License as published by 7## the Free Software Foundation; either version 2, or (at your option) 8## any later version. 9## 10## This program is distributed in the hope that it will be useful, 11## but WITHOUT ANY WARRANTY; without even the implied warranty of 12## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13## GNU General Public License for more details. 14## 15## You should have received a copy of the GNU General Public License 16## along with this program; if not, write to the Free Software 17## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 18## 02110-1301, USA. 19## 20 21opencldir = $(pkgdatadir)/opencl 22 23dist_opencl_DATA = \ 24 cl_global.h \ 25 cl_complex.h \ 26 cl_rtype.h \ 27 cuda_compat.h \ 28 vpsi.cl \ 29 set_zero.cl \ 30 set_one.cl \ 31 operate.cl \ 32 axpy.cl \ 33 projector.cl \ 34 pack.cl \ 35 copy.cl \ 36 mesh_batch_single.cl \ 37 subarray.cl \ 38 density.cl \ 39 phase.cl \ 40 phase_spiral.cl \ 41 mesh_batch.cl \ 42 rotate.cl \ 43 points.cl \ 44 trsm.cl \ 45 mul.cl \ 46 mesh_to_cube.cl \ 47 convert.cl \ 48 boundaries.cl \ 49 forces.cl \ 50 mod_sqr.cl \ 51 uvw_to_xyz.cl \ 52 curl.cl 53 54# In order to get `make check' working with a `VPATH' build (e. g. to use 55# the `distcheck' target) the pseudopotential files have to be accessible 56# in the build tree. 57check: 58 for f in $(dist_opencl_DATA); do \ 59 if [ ! -e $$f -o $$f -ot $(srcdir)/$$f ]; then \ 60 cp $(srcdir)/$$f $$f; \ 61 fi \ 62 done 63 64check-short: check 65check-long: check 66 67clean-local: 68 if [ -n "$(top_builddir)" -a "$(top_builddir)" != "$(top_srcdir)" ]; then \ 69 rm -f $(dist_opencl_DATA); \ 70 fi 71 72.PHONY: check check-short check-long 73