Salome HOME
Removed includes and libraries of OCC
[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         -I$(srcdir)/../Basics \
49         -I$(srcdir)/../SALOMELocalTrace \
50         -I$(srcdir)/../HDFPersist \
51         @HDF5_INCLUDES@
52
53 # This flag is used to resolve the dependencies of OCC libraries.
54 LDXMUFLAGS = -L/usr/X11R6/lib@LIB_LOCATION_SUFFIX@ -lXmu
55
56 # This local variable defines the list of dependant libraries common to all target in this package.
57 COMMON_LIBS =\
58         ../HDFPersist/libSalomeHDFPersist.la \
59         @HDF5_LIBS@ \
60         $(LDXMUFLAGS)
61
62
63 #
64 # ===============================================================
65 # Libraries targets
66 # ===============================================================
67 #
68 lib_LTLIBRARIES = libDF.la
69 libDF_la_SOURCES = \
70         DF_Attribute.cxx \
71         DF_Label.cxx \
72         DF_Document.cxx \
73         DF_Application.cxx \
74         DF_ChildIterator.cxx \
75         DF_Container.cxx \
76 \
77         DF_Attribute.hxx \
78         DF_Label.hxx \
79         DF_Application.hxx \
80         DF_Document.hxx \
81         DF_ChildIterator.hxx \
82         DF_Container.hxx \
83         DF_definitions.hxx      
84
85 libDF_la_CPPFLAGS = $(COMMON_CPPFLAGS)
86 libDF_la_LDFLAGS  = -no-undefined -version-info=0:0:0
87 libDF_la_LIBADD    = $(COMMON_LIBS)
88
89 #
90 # ===============================================================
91 # Executables targets
92 # ===============================================================
93 #
94 bin_PROGRAMS = testDF
95 testDF_SOURCES  = testDF.cxx
96 testDF_CPPFLAGS = $(COMMON_CPPFLAGS)
97 testDF_LDADD    = libDF.la $(COMMON_LIBS)
98