1## Process this file with automake to produce Makefile.inx 2## 3## Original author: 4## Mohammad Akhlaghi <mohammad@akhlaghi.org> 5## Contributing author(s): 6## Copyright (C) 2017-2021, Free Software Foundation, Inc. 7## 8## Gnuastro is free software: you can redistribute it and/or modify it 9## under the terms of the GNU General Public License as published by 10## the Free Software Foundation, either version 3 of the License, or 11## (at your option) any later version. 12## 13## Gnuastro is distributed in the hope that it will be useful, but 14## WITHOUT ANY WARRANTY; without even the implied warranty of 15## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 16## General Public License for more details. 17## 18## You should have received a copy of the GNU General Public License 19## along with Gnuastro. If not, see <http://www.gnu.org/licenses/>. 20 21 22## Necessary pre-processer and linker flags. 23AM_LDFLAGS = -L\$(top_builddir)/lib 24AM_CPPFLAGS = -I\$(top_builddir)/bootstrapped/lib \ 25 -I\$(top_srcdir)/bootstrapped/lib \ 26 -I\$(top_srcdir)/lib 27 28 29 30## Program definition (name, linking, sources and headers) 31bin_PROGRAMS = astmatch 32 33## Reason for linking with 'libgnu' described in 'bin/TEMPLATE/Makefile.am'. 34astmatch_LDADD = $(top_builddir)/bootstrapped/lib/libgnu.la \ 35 -lgnuastro $(CONFIG_LDADD) 36 37astmatch_SOURCES = main.c ui.c match.c 38 39EXTRA_DIST = main.h authors-cite.h args.h ui.h match.h 40 41 42 43## The configuration file (distribute and install). 44## NOTE: the man page is created in doc/Makefile.am 45dist_sysconf_DATA = astmatch.conf 46