source: trunk/bindings/f90/Makefile.am @ 1822

Revision 1752, 1.8 KB checked in by Freddie Akeroyd, 6 months ago (diff)

Pass down configure options and set library version. Refs #302

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1## Process this file with automake to produce Makefile.in
2#====================================================================
3#  NeXus - Neutron & X-ray Common Data Format
4
5#  $Id$
6
7#  Makefile for NeXus FORTRAN 90 bindings
8#
9#  Copyright (C) 2004 Freddie Akeroyd
10
11#  This library is free software; you can redistribute it and/or
12#  modify it under the terms of the GNU Lesser General Public
13#  License as published by the Free Software Foundation; either
14#  version 2 of the License, or (at your option) any later version.
15#
16#  This library is distributed in the hope that it will be useful,
17#  but WITHOUT ANY WARRANTY; without even the implied warranty of
18#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
19#  Lesser General Public License for more details.
20#
21#  You should have received a copy of the GNU Lesser General Public
22#  License along with this library; if not, write to the Free
23#  Software Foundation, Inc., 59 Temple Place, Suite 330, Boston,
24#  MA  02111-1307  USA
25#             
26#  For further information, see <http://www.nexusformat.org>
27#
28#
29#====================================================================
30lib_LTLIBRARIES = libNeXus90.la
31
32libNeXus90_la_SOURCES = NXmodule.f90 NXUmodule.f90
33libNeXus90_la_LIBADD = $(top_builddir)/src/libNeXus.la
34libNeXus90_la_LDFLAGS = @SHARED_LDFLAGS@ -version-info $(NXLTVERSINFO)
35libNeXus90_la_LINK = $(FCLINK)
36
37NXUmodule.o: NXUmodule.f90 NXmodule.o
38
39# This is needed as f90 is not supported as a valid tag in libtool
40# and the relink command (used during an install) which is written to
41# libNeXus90.la will not work.
42#all: all-am libNeXus90.la_orig
43
44#libNeXus90.la_orig: libNeXus90.la
45#       mv libNeXus90.la $@
46#       sed -e 's/--mode=relink/--mode=relink @LTF90LINKTAG@/' < $@ > libNeXus90.la
47#       touch $@
48
49include $(top_srcdir)/build_rules.am
50
51CLEANFILES = libNeXus90.la_orig nxmodule.mod nxumodule.mod
52
Note: See TracBrowser for help on using the repository browser.