File: Makefile.am

package info (click to toggle)
nexus 4.4.3-9
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 26,864 kB
  • sloc: cpp: 34,928; ansic: 17,317; f90: 2,326; xml: 2,071; java: 1,953; fortran: 1,529; python: 766; makefile: 532; sh: 460; tcl: 173; lisp: 169
file content (67 lines) | stat: -rw-r--r-- 2,693 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
## Process this file with automake to produce Makefile.in
#====================================================================
#  NeXus - Neutron & X-ray Common Data Format
#  
#  $Id: Makefile.am 598 2005-08-19 16:19:15Z faa59 $
#  
#  Makefile for NeXus C++ bindings
#
#  Copyright (C) 2008 Freddie Akeroyd
#  
#  This library is free software; you can redistribute it and/or
#  modify it under the terms of the GNU Lesser General Public
#  License as published by the Free Software Foundation; either
#  version 2 of the License, or (at your option) any later version.
# 
#  This library is distributed in the hope that it will be useful,
#  but WITHOUT ANY WARRANTY; without even the implied warranty of
#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
#  Lesser General Public License for more details.
# 
#  You should have received a copy of the GNU Lesser General Public
#  License along with this library; if not, write to the Free 
#  Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, 
#  MA  02111-1307  USA
#             
#  For further information, see http://www.nexusformat.org/
#
#====================================================================
####################### Subversion Reposity details ########################
# Repository Location     $HeadURL$
# Revision of last commit $LastChangedRevision$ 
# Date of last commit     $LastChangedDate$
# Author of last commit   $LastChangedBy$
############################################################################
LIBNEXUS=$(top_builddir)/src/libNeXus.la
lib_LTLIBRARIES=libNeXusCPP.la

# nxincludedir=$(includedir)/nexus
nxincludedir=$(pkgincludedir)
nxinclude_HEADERS=NeXusFile.hpp NeXusException.hpp NeXusStream.hpp

libNeXusCPP_la_SOURCES=NeXusFile.hpp NeXusFile.cpp NeXusException.hpp NeXusException.cpp NeXusStream.hpp NeXusStream.cpp
libNeXusCPP_la_LIBADD=$(LIBNEXUS)
libNeXusCPP_la_LDFLAGS=@SHARED_LDFLAGS@ -version-info $(NXLTVERSINFO) -L$(top_builddir)/src/.libs

AM_CPPFLAGS=-I. -I$(top_srcdir)/include -DIN_NEXUS_CPP_LIBRARY=1

if MINGW_MSYS
MINGW_CXXFLAGS=-Wl,--export-all-symbols
msimplibdir = ${libdir}
libNeXusCPP.def: libNeXusCPP.la
	pexports .libs/libNeXusCPP-0.dll > libNeXusCPP.def
if HAVE_MS_LIB
msimplib_DATA = libNeXusCPP.dll.lib libNeXusCPP.dll.exp libNeXusCPP.def
libNeXusCPP.dll.exp: libNeXusCPP.dll.lib
libNeXusCPP.dll.lib: libNeXusCPP.def
	rm -f libNeXusCPP.dll.lib libNeXusCPP.dll.exp
	$(MS_LIB) /MACHINE:I386 /DEF:libNeXusCPP.def /OUT:libNeXusCPP.dll.lib
else
msimplib_DATA = libNeXusCPP.def
endif
endif

AM_CXXFLAGS=-prefer-pic $(MINGW_CXXFLAGS)
CLEANFILES=libNeXusCPP.def libNeXusCPP.dll.lib libNeXusCPP.dll.exp

include $(top_srcdir)/build_rules.am