Salome HOME
SWP12966 - MutiFile is not saved correctly
[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   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   LifeCycleCORBA \
47   LifeCycleCORBA_SWIG \
48   SALOMEDSClient \
49   TOOLSDS \
50   SALOMEDSImpl \
51   SALOMEDS \
52   KERNEL_PY \
53   ModuleGenerator \
54   Communication \
55   Communication_SWIG
56
57 SUBDIR_CPPUNIT_BASE= \
58   Basics/Test \
59   SALOMELocalTrace/Test
60
61 SUBDIR_CPPUNIT_CORBA = \
62   Logger/Test \
63   SALOMETraceCollector/Test \
64   Utils/Test \
65   NamingService/Test \
66   LifeCycleCORBA/Test \
67   LifeCycleCORBA_SWIG/Test \
68   SALOMEDSImpl/Test \
69   SALOMEDS/Test
70
71 SUBDIR_CPPUNIT_GENERAL = \
72   UnitTests
73
74 SUBDIR_MPI = \
75   MPIContainer \
76   TestMPIContainer
77
78 SUBDIR_BATCH= \
79   Batch \
80   Batch_SWIG
81
82 DIST_SUBDIRS = \
83   $(SUBDIR_BASE) \
84   $(SUBDIR_CORBA) \
85   $(SUBDIR_MPI) \
86   $(SUBDIR_BATCH) \
87   $(SUBDIR_CPPUNIT_BASE) \
88   $(SUBDIR_CPPUNIT_CORBA) \
89   $(SUBDIR_CPPUNIT_GENERAL)
90
91 #
92 # The following packages are built under conditions.
93 # A condition is defined using the macro AM_CONDITIONAL (see the
94 # check_cppunit for example with CPPUNIT_IS_OK.
95 #
96
97 SUBDIRS = $(SUBDIR_BASE)
98
99 if CORBA_GEN
100   SUBDIRS += $(SUBDIR_CORBA)
101 endif
102
103 if MPI_IS_OK
104   SUBDIRS += $(SUBDIR_MPI)
105 endif
106
107 if WITH_BATCH
108   SUBDIRS += $(SUBDIR_BATCH)
109 endif
110
111 if CPPUNIT_IS_OK
112 if CORBA_GEN
113   SUBDIRS += \
114         $(SUBDIR_CPPUNIT_BASE)   \
115         $(SUBDIR_CPPUNIT_CORBA)  \
116         $(SUBDIR_CPPUNIT_GENERAL)
117 else
118   SUBDIRS += \
119         $(SUBDIR_CPPUNIT_BASE)   \
120         $(SUBDIR_CPPUNIT_GENERAL)
121 endif
122 endif
123