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