Salome HOME
IMP NPAL13547: Checkbox to kill SALOME completely.
[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.salome-platform.org/ or email : webmaster.salome@opencascade.com
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   HDFPersist
31
32 SUBDIR_CORBA = \
33   DF \
34   Logger \
35   SALOMETraceCollector \
36   Utils \
37   NamingService \
38   GenericObj \
39   Registry \
40   ModuleCatalog \
41   ResourcesManager \
42   Notification \
43   NOTIFICATION_SWIG \
44   Container \
45   TestContainer \
46   Launcher \
47   LifeCycleCORBA \
48   LifeCycleCORBA_SWIG \
49   SALOMEDSClient \
50   TOOLSDS \
51   SALOMEDSImpl \
52   SALOMEDS \
53   KERNEL_PY \
54   ModuleGenerator \
55   Communication \
56   Communication_SWIG \
57   DSC
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   LifeCycleCORBA_SWIG/Test \
70   SALOMEDSImpl/Test \
71   SALOMEDS/Test
72
73 SUBDIR_CPPUNIT_GENERAL = \
74   UnitTests
75
76 SUBDIR_MPI = \
77   MPIContainer \
78   TestMPIContainer
79
80 SUBDIR_BATCH= \
81   Batch \
82   Batch_SWIG
83
84 SUBDIR_PARALLEL= ParallelContainer
85                  
86
87 DIST_SUBDIRS = \
88   $(SUBDIR_BASE) \
89   $(SUBDIR_CORBA) \
90   $(SUBDIR_MPI) \
91   $(SUBDIR_PARALLEL) \
92   $(SUBDIR_BATCH) \
93   $(SUBDIR_CPPUNIT_BASE) \
94   $(SUBDIR_CPPUNIT_CORBA) \
95   $(SUBDIR_CPPUNIT_GENERAL)
96
97 #
98 # The following packages are built under conditions.
99 # A condition is defined using the macro AM_CONDITIONAL (see the
100 # check_cppunit for example with CPPUNIT_IS_OK.
101 #
102
103 SUBDIRS = $(SUBDIR_BASE)
104
105 if WITH_BATCH
106   SUBDIRS += $(SUBDIR_BATCH)
107 endif
108
109 if CORBA_GEN
110   SUBDIRS += $(SUBDIR_CORBA)
111 endif
112
113 #if MPI_IS_OK
114 #  SUBDIRS += $(SUBDIR_MPI)
115 #endif
116
117 if CPPUNIT_IS_OK
118 if CORBA_GEN
119   SUBDIRS += \
120         $(SUBDIR_CPPUNIT_BASE)   \
121         $(SUBDIR_CPPUNIT_CORBA)  \
122         $(SUBDIR_CPPUNIT_GENERAL)
123 else
124   SUBDIRS += \
125         $(SUBDIR_CPPUNIT_BASE)   \
126         $(SUBDIR_CPPUNIT_GENERAL)
127 endif
128 endif
129 if WITH_PACO_PARALLEL
130 SUBDIRS += $(SUBDIR_PARALLEL)
131 endif