Salome HOME
3b43eb7e18d65a1c1e952abba7f9c100769ab3c7
[modules/kernel.git] / src / Makefile.am
1 #  Copyright (C) 2003  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
19 #
20 #
21 #
22 #  File   : Makefile.am
23 #  Author : Guillaume Boulant (CSSI)
24 #  Module : KERNEL
25 # $Header$
26
27 SUBDIR_BASE = \
28   Basics \
29   SALOMELocalTrace \
30   CASCatch \
31   HDFPersist
32
33 SUBDIR_CORBA = \
34   Logger \
35   SALOMETraceCollector \
36   Utils \
37   NamingService \
38   GenericObj \
39   Registry \
40   ModuleCatalog \
41   DataTypeCatalog \
42   RessourcesCatalog \
43   ResourcesManager \
44   Notification \
45   NOTIFICATION_SWIG \
46   Container \
47   TestContainer \
48   LifeCycleCORBA \
49   LifeCycleCORBA_SWIG \
50   SALOMEDSClient \
51   TOOLSDS \
52   SALOMEDSImpl \
53   SALOMEDS \
54   KERNEL_PY \
55   ModuleGenerator \
56   Communication \
57   Communication_SWIG
58
59 SUBDIR_CPPUNIT_BASE= \
60   Basics/Test \
61   SALOMELocalTrace/Test
62
63 SUBDIR_CPPUNIT_CORBA = \
64   Logger/Test \
65   SALOMETraceCollector/Test \
66   Utils/Test \
67   NamingService/Test \
68   LifeCycleCORBA/Test \
69   SALOMEDSImpl/Test \
70   SALOMEDS/Test
71
72 SUBDIR_CPPUNIT_GENERAL = \
73   UnitTests
74
75 SUBDIR_MPI = \
76   MPIContainer \
77   TestMPIContainer
78
79 SUBDIR_BATCH= \
80   Batch \
81   Batch_SWIG
82
83 DIST_SUBDIRS = \
84   $(SUBDIR_BASE) \
85   $(SUBDIR_CORBA) \
86   $(SUBDIR_MPI) \
87   $(SUBDIR_BATCH) \
88   $(SUBDIR_CPPUNIT_BASE) \
89   $(SUBDIR_CPPUNIT_CORBA) \
90   $(SUBDIR_CPPUNIT_GENERAL)
91
92 #
93 # The following packages are built under conditions.
94 # A condition is defined using the macro AM_CONDITIONAL (see the
95 # check_cppunit for example with CPPUNIT_IS_OK.
96 #
97
98 SUBDIRS = $(SUBDIR_BASE)
99
100 if CORBA_GEN
101   SUBDIRS += $(SUBDIR_CORBA)
102 endif
103
104 if MPI_IS_OK
105   SUBDIRS += $(SUBDIR_MPI)
106 endif
107
108 if WITH_BATCH
109   SUBDIRS += $(SUBDIR_BATCH)
110 endif
111
112 if CPPUNIT_IS_OK
113   SUBDIRS += $(SUBDIR_CPPUNIT_BASE)
114   SUBDIRS += $(SUBDIR_CPPUNIT_CORBA)
115   SUBDIRS += $(SUBDIR_CPPUNIT_GENERAL)
116 endif