source: trunk/build_support/yat.am @ 1479

Last change on this file since 1479 was 1479, checked in by Peter, 13 years ago

fixes #405

Setting AM_*FLAGS in configure. There are two paths to end up in
AM_*FLAGS. 1) you are set through corresponding *FLAGS, then swapped
into EXTRA_*FLAGS, and finally concatenated into AM_*FLAGS. These
flags are also stored in EXTRA_*FLAGS and are used in yat-config to
let the user of yat know which flags are important when using
yat. Flags that are not important for using yat, but mostly useful
when building yat, are set directly to AM_*FLAGS.

It is, of course, an open question which flags should be propagated to
a user, but for now I chose to propagate, on top of those that are
essential, gsl flags -DHAVE_INLINE and -DGSL_RANGE_CHECK_OFF.

This probably makes yat.am obsolete, but I keep it for now.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.1 KB
Line 
1## $Id: yat.am 1479 2008-09-09 11:11:27Z peter $
2
3## Copyright (C) 2008 Peter Johansson
4##
5## This file is part of the yat library, http://dev.thep.lu.se/yat
6##
7## The yat library is free software; you can redistribute it and/or
8## modify it under the terms of the GNU General Public License as
9## published by the Free Software Foundation; either version 2 of the
10## License, or (at your option) any later version.
11##
12## The yat library is distributed in the hope that it will be useful,
13## but WITHOUT ANY WARRANTY; without even the implied warranty of
14## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15## General Public License for more details.
16##
17## You should have received a copy of the GNU General Public License
18## along with this program; if not, write to the Free Software
19## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
20## 02111-1307, USA.
21
22##
23## Automake snippet below is included in several Makefile.am, so we
24## only need to modify HERE rather than in several Makefile.am.
25##
26
27#AM_CPPFLAGS = -I$(top_srcdir) $(EXTRA_CPPFLAGS)
28#AM_CXXFLAGS = $(EXTRA_CXXFLAGS)
29#AM_LDFLAGS = $(EXTRA_LDFLAGS)
Note: See TracBrowser for help on using the repository browser.