Salome HOME
BUG: KERNEL/CMake: Added missing lines and fixed some problems for omniorbpy configur...
[modules/kernel.git] / src / Makefile.am
1 # Copyright (C) 2007-2013  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
23 #  File   : Makefile.am
24 #  Author : Guillaume Boulant (CSSI)
25 #  Module : KERNEL
26 # $Header$
27 #
28
29 include $(top_srcdir)/salome_adm/unix/make_common_starter.am
30
31 SUBDIR_BASE = \
32   Basics \
33   SALOMELocalTrace \
34   HDFPersist\
35   KERNEL_PY
36
37 SUBDIR_CORBA = \
38   DF \
39   Logger \
40   SALOMETraceCollector \
41   Utils \
42   NamingService \
43   GenericObj \
44   Registry \
45   ModuleCatalog \
46   ResourcesManager \
47   Notification \
48   NOTIFICATION_SWIG \
49   Container \
50   TestContainer \
51   Launcher \
52   LifeCycleCORBA \
53   LifeCycleCORBA_SWIG \
54   SALOMEDSClient \
55   TOOLSDS \
56   SALOMEDSImpl \
57   SALOMEDS \
58   KernelHelpers \
59   ModuleGenerator \
60   Communication \
61   Communication_SWIG \
62   DSC
63
64 SUBDIR_CPPUNIT_BASE= \
65   Basics/Test \
66   SALOMELocalTrace/Test
67
68 SUBDIR_CPPUNIT_CORBA = \
69   Logger/Test \
70   SALOMETraceCollector/Test \
71   Utils/Test \
72   NamingService/Test \
73   LifeCycleCORBA/Test \
74   LifeCycleCORBA_SWIG/Test \
75   SALOMEDSImpl/Test \
76   SALOMEDS/Test \
77   KernelHelpers/Test
78
79 SUBDIR_CPPUNIT_GENERAL = \
80   UnitTests
81
82 SUBDIR_MPI = \
83   MPIContainer \
84   TestMPIContainer
85
86 SUBDIR_PARALLEL= ParallelContainer
87                  
88
89 DIST_SUBDIRS = \
90   $(SUBDIR_BASE) \
91   $(SUBDIR_CORBA) \
92   $(SUBDIR_MPI) \
93   $(SUBDIR_PARALLEL) \
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 if WITHONLYLAUNCHER
105   SUBDIRS = Basics ResourcesManager Launcher
106 else
107
108 SUBDIRS = $(SUBDIR_BASE)
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
133
134 endif
135 EXTRA_DIST += win32pm