Salome HOME
Removed CASCatch
[modules/kernel.git] / src / DF / Makefile.am
1 # Copyright (C) 2005  OPEN CASCADE, CEA, EDF R&D, LEG
2 #           PRINCIPIA R&D, EADS CCR, Lip6, BV, CEDRAT
3 # This library is free software; you can redistribute it and/or
4 # modify it under the terms of the GNU Lesser General Public
5 # License as published by the Free Software Foundation; either 
6 # version 2.1 of the License.
7
8 # This library is distributed in the hope that it will be useful 
9 # but WITHOUT ANY WARRANTY; without even the implied warranty of 
10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
11 # Lesser General Public License for more details.
12
13 # You should have received a copy of the GNU Lesser General Public  
14 # License along with this library; if not, write to the Free Software 
15 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
16
17 # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
18
19 #  File   : Makefile.am
20 #  Author : Guillaume Boulant (CSSI)
21 #  Module : KERNEL
22
23 include $(top_srcdir)/salome_adm/unix/make_common_starter.am
24
25 #
26 # ===============================================================
27 # Files to be installed
28 # ===============================================================
29 #
30 # header files  
31 salomeinclude_HEADERS= \
32         DF_Attribute.hxx \
33         DF_Label.hxx \
34         DF_Application.hxx \
35         DF_Document.hxx \
36         DF_ChildIterator.hxx \
37         DF_Container.hxx \
38         DF_definitions.hxx
39
40 #
41 # ===============================================================
42 # Local definitions
43 # ===============================================================
44 #
45
46 # This local variable defines the list of CPPFLAGS common to all target in this package.
47 COMMON_CPPFLAGS=\
48         @CAS_CPPFLAGS@ @CAS_CXXFLAGS@ \
49         -I$(srcdir)/../Basics \
50         -I$(srcdir)/../SALOMELocalTrace \
51         -I$(srcdir)/../HDFPersist \
52         @HDF5_INCLUDES@
53
54 # This flag is used to resolve the dependencies of OCC libraries.
55 LDXMUFLAGS = -L/usr/X11R6/lib@LIB_LOCATION_SUFFIX@ -lXmu
56
57 # This local variable defines the list of dependant libraries common to all target in this package.
58 COMMON_LIBS =\
59         ../HDFPersist/libSalomeHDFPersist.la \
60         @CAS_OCAF@ \
61         @HDF5_LIBS@ \
62         $(LDXMUFLAGS)
63
64
65 #
66 # ===============================================================
67 # Libraries targets
68 # ===============================================================
69 #
70 lib_LTLIBRARIES = libDF.la
71 libDF_la_SOURCES = \
72         DF_Attribute.cxx \
73         DF_Label.cxx \
74         DF_Document.cxx \
75         DF_Application.cxx \
76         DF_ChildIterator.cxx \
77         DF_Container.cxx \
78 \
79         DF_Attribute.hxx \
80         DF_Label.hxx \
81         DF_Application.hxx \
82         DF_Document.hxx \
83         DF_ChildIterator.hxx \
84         DF_Container.hxx \
85         DF_definitions.hxx      
86
87 libDF_la_CPPFLAGS = $(COMMON_CPPFLAGS)
88 libDF_la_LDFLAGS  = -no-undefined -version-info=0:0:0
89 libDF_la_LIBADD    = $(COMMON_LIBS)
90
91 #
92 # ===============================================================
93 # Executables targets
94 # ===============================================================
95 #
96 bin_PROGRAMS = testDF
97 testDF_SOURCES  = testDF.cxx
98 testDF_CPPFLAGS = $(COMMON_CPPFLAGS)
99 testDF_LDADD    = libDF.la $(COMMON_LIBS)
100