Salome HOME
PR: merge from branch BR_auto_V310 tag mergefrom_OCC_development_for_3_2_0a2_10mar06
[modules/kernel.git] / src / SALOMEDSImpl / Test / Makefile.am
1 #
2 #  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
3 #  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
4
5 #  This library is free software; you can redistribute it and/or 
6 #  modify it under the terms of the GNU Lesser General Public 
7 #  License as published by the Free Software Foundation; either 
8 #  version 2.1 of the License. 
9
10 #  This library is distributed in the hope that it will be useful, 
11 #  but WITHOUT ANY WARRANTY; without even the implied warranty of 
12 #  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
13 #  Lesser General Public License for more details. 
14
15 #  You should have received a copy of the GNU Lesser General Public 
16 #  License along with this library; if not, write to the Free Software 
17 #  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
18
19 #  See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
20 #
21 #
22 #
23 #  File   : Makefile.am
24 #  Author : Paul RASCLE
25 #  Module : KERNEL
26 #  $Header$
27
28 include $(top_srcdir)/salome_adm/unix/make_common_starter.am
29
30 #
31 # ===============================================================
32 # Files to be installed
33 # ===============================================================
34 #
35 # header files  
36 salomeinclude_HEADERS= SALOMEDSImplTest.hxx
37
38 # Scripts to be installed
39 dist_salomescript_SCRIPTS = TestSALOMEDSImpl.py
40
41 #
42 # ===============================================================
43 # Local definitions
44 # ===============================================================
45 #
46
47 # This directory defines the subdirectory src in the top source directory.
48 RPATH=../..
49
50 # This local variable defines the list of CPPFLAGS common to all target in this package.
51 COMMON_CPPFLAGS=\
52         @CPPUNIT_INCLUDES@ \
53         -I$(srcdir)/$(RPATH)/Basics -I$(srcdir)/$(RPATH)/Basics/Test \
54         -I$(srcdir)/$(RPATH)/SALOMELocalTrace -I$(srcdir)/$(RPATH)/SALOMELocalTrace/Test \
55         -I$(srcdir)/$(RPATH)/SALOMETraceCollector -I$(srcdir)/$(RPATH)/SALOMETraceCollector/Test \
56         -I$(srcdir)/$(RPATH)/NamingService -I$(srcdir)/$(RPATH)/NamingService/Test \
57         -I$(srcdir)/$(RPATH)/Utils -I$(srcdir)/$(RPATH)/Utils/Test \
58         -I$(srcdir)/$(RPATH)/ResourcesManager \
59         -I$(srcdir)/$(RPATH)/LifeCycleCORBA \
60         -I$(srcdir)/$(RPATH)/SALOMEDSImpl \
61         -I$(top_builddir)/salome_adm/unix \
62         -I$(top_builddir)/idl \
63         @CAS_CPPFLAGS@ @CAS_CXXFLAGS@ \
64         @CORBA_CXXFLAGS@ @CORBA_INCLUDES@
65
66 # This local variable defines the list of dependant libraries common to all target in this package.
67 COMMON_LIBS =\
68         @CPPUNIT_LIBS@ \
69         $(RPATH)/Basics/libSALOMEBasics.la \
70         $(RPATH)/ResourcesManager/libSalomeResourcesManager.la \
71         $(RPATH)/Container/libSalomeContainer.la \
72         $(RPATH)/NamingService/libSalomeNS.la \
73         $(RPATH)/Registry/libRegistry.la \
74         $(RPATH)/Notification/libSalomeNotification.la \
75         $(RPATH)/Utils/Test/libUtilsTest.la \
76         $(RPATH)/Utils/libOpUtil.la \
77         $(RPATH)/SALOMELocalTrace/Test/libSALOMELocalTraceTest.la \
78         $(RPATH)/SALOMELocalTrace/libSALOMELocalTrace.la \
79         $(RPATH)/SALOMETraceCollector/Test/libSALOMETraceCollectorTest.la \
80         $(RPATH)/SALOMEDSImpl/libSalomeDSImpl.la \
81         $(top_builddir)/idl/libSalomeIDLKernel.la
82
83 #
84 # ===============================================================
85 # Libraries targets
86 # ===============================================================
87 #
88 lib_LTLIBRARIES = libSALOMEDSImplTest.la 
89 libSALOMEDSImplTest_la_SOURCES = SALOMEDSImplTest.cxx
90 libSALOMEDSImplTest_la_CPPFLAGS = $(COMMON_CPPFLAGS)
91 libSALOMEDSImplTest_la_LDFLAGS  = -no-undefined -version-info=0:0:0
92 libSALOMEDSImplTest_la_LIBADD    = $(COMMON_LIBS)
93
94 #
95 # ===============================================================
96 # Executables targets
97 # ===============================================================
98 #
99 bin_PROGRAMS = TestSALOMEDSImpl
100 TestSALOMEDSImpl_SOURCES  = TestSALOMEDSImpl.cxx
101 TestSALOMEDSImpl_CPPFLAGS = $(COMMON_CPPFLAGS)
102 TestSALOMEDSImpl_LDADD    = \
103         libSALOMEDSImplTest.la ../libSalomeDSImpl.la \
104         $(RPATH)/NamingService/Test/libNamingServiceTest.la \
105         $(COMMON_LIBS)
106