Salome HOME
Using AutoTools for build procedure
[modules/smesh.git] / src / MEFISTO2 / Makefile.am
1 #  Copyright (C) 2005  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
2 #  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
3 #
4 #  This library is free software; you can redistribute it and/or
5 #  modify it under the terms of the GNU Lesser General Public
6 #  License as published by the Free Software Foundation; either
7 #  version 2.1 of the License.
8 #
9 #  This library is distributed in the hope that it will be useful,
10 #  but WITHOUT ANY WARRANTY; without even the implied warranty of
11 #  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12 #  Lesser General Public License for more details.
13 #
14 #  You should have received a copy of the GNU Lesser General Public
15 #  License along with this library; if not, write to the Free Software
16 #  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
17 #
18 #  See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
19 #
20 #  File   : Makefile.in
21 #  Author : 
22 #  Modified by : Alexander BORODIN (OCN) - autotools usage
23 #  Module : SMESH
24
25 include $(top_srcdir)/adm_local/unix/make_common_starter.am
26
27 # header files 
28 salomeinclude_HEADERS = \
29         aptrte.h Rn.h
30
31 # Libraries targets
32 lib_LTLIBRARIES = libMEFISTO2D.la
33 dist_libMEFISTO2D_la_SOURCES = \
34         aptrte.cxx \
35         trte.f
36
37 # additionnal information to compil and link file
38 libMEFISTO2D_la_CPPFLAGS = \
39         $(CAS_CPPFLAGS) \
40         $(KERNEL_CXXFLAGS)
41
42 libMEFISTO2D_la_LDFLAGS = \
43         $(KERNEL_LDFLAGS) -lSALOMELocalTrace
44
45 if USE_GFORTRAN
46 libMEFISTO2D_la_LDFLAGS += -lgfortran
47 else !USE_GFORTRAN
48 libMEFISTO2D_la_LDFLAGS += -lg2c
49 endif
50