1## Process this file with automake to produce Makefile.in 2 3## Copyright (C) 2002 M. Marques, A. Castro, A. Rubio, G. Bertsch 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 21SUBDIRS = pseudopotentials recipes util opencl quadrature 22 23dta1dir = $(pkgdatadir) 24dist_dta1_DATA = logo \ 25 filter_mask.data \ 26 gequad.data \ 27 marching_cubes_edges.data \ 28 marching_cubes_triangles.data \ 29 gdlib.png 30 31dta2dir = $(pkgdatadir) 32dist_dta2_DATA = variables varinfo 33 34CLEANFILES = variables varinfo varinfo_orig 35 36varinfo: 37 $(top_srcdir)/build/mk_varinfo.pl -s $(top_srcdir) -b $(top_builddir) 38 39variables: 40 $(top_srcdir)/build/mk_varinfo.pl -s $(top_srcdir) -b $(top_builddir) 41 42check: 43 @for f in $(dist_dta1_DATA) $(dist_dta2_DATA); do \ 44 if [ ! -e $$f -o $$f -ot $(srcdir)/$$f ]; then \ 45 cp $(srcdir)/$$f $$f; \ 46 fi \ 47 done 48 49check-short: check 50check-long: check 51 52clean-local: 53 if [ -n "$(top_builddir)" -a "$(top_builddir)" != "$(top_srcdir)" ]; then \ 54 rm -f $(dist_dta1_DATA); \ 55 fi 56 57.PHONY: check check-short check-long 58