Salome HOME
Notebook initial version
[modules/kernel.git] / src / Makefile.am
1 #  Copyright (C) 2007-2008  CEA/DEN, EDF R&D, OPEN CASCADE
2 #
3 #  Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
4 #  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
5 #
6 #  This library is free software; you can redistribute it and/or
7 #  modify it under the terms of the GNU Lesser General Public
8 #  License as published by the Free Software Foundation; either
9 #  version 2.1 of the License.
10 #
11 #  This library is distributed in the hope that it will be useful,
12 #  but WITHOUT ANY WARRANTY; without even the implied warranty of
13 #  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14 #  Lesser General Public License for more details.
15 #
16 #  You should have received a copy of the GNU Lesser General Public
17 #  License along with this library; if not, write to the Free Software
18 #  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
19 #
20 #  See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
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   KERNEL_PY
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   ModuleGenerator \
55   Communication \
56   Communication_SWIG \
57   DSC \
58   Notebook
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_PARALLEL= ParallelContainer
82                  
83
84 DIST_SUBDIRS = \
85   $(SUBDIR_BASE) \
86   $(SUBDIR_CORBA) \
87   $(SUBDIR_MPI) \
88   $(SUBDIR_PARALLEL) \
89   $(SUBDIR_CPPUNIT_BASE) \
90   $(SUBDIR_CPPUNIT_CORBA) \
91   $(SUBDIR_CPPUNIT_GENERAL)
92
93 #
94 # The following packages are built under conditions.
95 # A condition is defined using the macro AM_CONDITIONAL (see the
96 # check_cppunit for example with CPPUNIT_IS_OK.
97 #
98
99 if WITHONLYLAUNCHER
100   SUBDIRS = Basics ResourcesManager Launcher
101 else
102
103 SUBDIRS = $(SUBDIR_BASE)
104
105 if CORBA_GEN
106   SUBDIRS += $(SUBDIR_CORBA)
107 endif
108
109 if MPI_IS_OK
110   SUBDIRS += $(SUBDIR_MPI)
111 endif
112
113 if CPPUNIT_IS_OK
114 if CORBA_GEN
115   SUBDIRS += \
116         $(SUBDIR_CPPUNIT_BASE)   \
117         $(SUBDIR_CPPUNIT_CORBA)  \
118         $(SUBDIR_CPPUNIT_GENERAL)
119 else
120   SUBDIRS += \
121         $(SUBDIR_CPPUNIT_BASE)   \
122         $(SUBDIR_CPPUNIT_GENERAL)
123 endif
124 endif
125 if WITH_PACO_PARALLEL
126   SUBDIRS += $(SUBDIR_PARALLEL)
127 endif
128
129 endif
130 EXTRA_DIST = win32pm