]> SALOME platform Git repositories - samples/sierpinsky.git/blob - adm_local/unix/make_commence.in
Salome HOME
Canges in configure scripts.
[samples/sierpinsky.git] / adm_local / unix / make_commence.in
1 #=======================================================================
2 # This section of this makefile comes from the file 
3 # 'adm_local/unix/make_commence' which was generated with config.status
4 # from file adm_local/unix/make_commence.in
5 #=======================================================================
6
7 # common directories to put headerfiles
8 inc_builddir=$(top_builddir)/include/salome
9
10 @SET_MAKE@
11 SHELL=/bin/sh
12
13 # header missing
14
15 HAVE_SSTREAM=@HAVE_SSTREAM@
16
17
18 LIBS=@LIBS@
19 LIBSFORBIN=@LIBS@
20 LDFLAGS=@LDFLAGS@ -L$(top_builddir)/lib/salome -Xlinker -rpath-link -Xlinker $(top_builddir)/lib/salome
21 LDFLAGSFORBIN=@LDFLAGS@ -L$(top_builddir)/lib/salome -Xlinker -rpath-link -Xlinker $(KERNEL_ROOT_DIR)/lib/salome
22 # add libstdc++ to link c++ library with libtool !
23 LDFLAGS+= -lstdc++
24 LDFLAGSFORBIN+= -lstdc++
25
26 CP=@CP@
27
28 # CPP
29
30 CPP=@CPP@
31 CXXCPP=@CXXCPP@
32 CPPFLAGS=@CPPFLAGS@ -I$(inc_builddir) -I$(srcdir) -I.
33
34 # C
35
36 CC = @CC@
37 CFLAGS = @CFLAGS@
38 C_DEPEND_FLAG = @C_DEPEND_FLAG@
39
40 # C++
41
42 CXX = @CXX@
43 CXXFLAGS = @CXXFLAGS@ 
44 CXX_DEPEND_FLAG = @CXX_DEPEND_FLAG@
45
46 # BOOST Library
47
48 BOOST_CPPFLAGS = @BOOST_CPPFLAGS@
49
50 # JAVA
51
52 JAVA_INCLUDES = @JAVA_INCLUDES@
53 JAVA_LIBS = @JAVA_LIBS@
54 JAVA_LDPATH = @JAVA_LDPATH@
55
56 # PYTHON
57
58 PYTHON = @PYTHON@
59 PYTHONHOME = @PYTHONHOME@
60 PYTHON_INCLUDES = @PYTHON_INCLUDES@
61 PYTHON_LIBS = @PYTHON_LIBS@
62 PYTHON_VERSION = @PYTHON_VERSION@
63 # Changes from the SalomePro V1.2c
64 #PYTHON_SITE = @PYTHON_SITE@
65 #PYTHON_SITE_INSTALL = @PYTHON_SITE_INSTALL@
66 PYTHON_SITE = $(prefix)/lib/python$(PYTHON_VERSION)/site-packages
67 PYTHON_SITE_INSTALL = $(prefix)/lib/python$(PYTHON_VERSION)/site-packages/salome
68
69 # QT
70
71 QT_ROOT = @QT_ROOT@
72 QT_INCLUDES = @QT_INCLUDES@
73 QT_MT_INCLUDES = @QT_INCLUDES@ -DQT_THREAD_SUPPORT
74 QT_LIBS = @QT_LIBS@
75 QT_MT_LIBS = @QT_MT_LIBS@
76
77 MOC = @MOC@
78 UIC = @UIC@
79
80 # msg2qm
81
82 MSG2QM = @MSG2QM@
83
84 #QWT
85
86 QWT_INCLUDES=@QWT_INCLUDES@
87 QWT_LIBS=@QWT_LIBS@
88
89 # SIP
90 SIP = @SIP@
91 SIP_INCLUDES = @SIP_INCLUDES@
92 SIP_LIBS = @SIP_LIBS@
93
94 # PYQT
95 PYQT_SIPS = @PYQT_SIPS@
96 PYQT_LIBS = @PYQT_LIBS@
97
98 # openGL
99 OGL_INCLUDES=@OGL_INCLUDES@
100 OGL_LIBS=@OGL_LIBS@
101
102 # VTK
103 VTK_INCLUDES=@VTK_INCLUDES@
104 VTK_LIBS=@VTK_LIBS@
105
106 # HDF5
107
108 HDF5_INCLUDES=@HDF5_INCLUDES@
109 HDF5_LIBS=@HDF5_LIBS@
110 HDF5_MT_LIBS=@HDF5_MT_LIBS@
111
112 # MED2
113
114 MED2_INCLUDES=@MED2_INCLUDES@
115 MED2_LIBS=@MED2_LIBS@
116 MED2_MT_LIBS=@MED2_MT_LIBS@
117
118 # OpenCasCade
119
120 OCC_INCLUDES=@CAS_CPPFLAGS@
121 OCC_CXXFLAGS=@CAS_CXXFLAGS@
122
123 #OCC_KERNEL_LIBS=@CAS_KERNEL@
124 #OCC_OCAF_LIBS=@CAS_OCAF@
125 #OCC_VIEWER_LIBS=@CAS_VIEWER@
126 #OCC_MODELER_LIBS=@CAS_MODELER@
127 #OCC_DATAEXCHANGE_LIBS=@CAS_DATAEXCHANGE@
128 #OCC_LIBS=@CAS_LDFLAGS@
129 CAS_KERNEL=@CAS_KERNEL@
130 CAS_OCAF=@CAS_OCAF@
131 CAS_VIEWER=@CAS_VIEWER@
132 CAS_MODELER=@CAS_MODELER@
133 CAS_DATAEXCHANGE=@CAS_DATAEXCHANGE@
134 CAS_LDPATH=@CAS_LDPATH@
135
136 # MPICH
137
138 MPICH_INCLUDES=@MPICH_INCLUDES@
139 MPICH_LIBS=@MPICH_LIBS@
140
141 # Swig C++ Python
142
143 SWIG       = @SWIG@
144 SWIG_FLAGS = @SWIG_FLAGS@ -I$(inc_builddir) -I$(srcdir) -I.
145
146 # OMNIORB
147
148 OMNIORB_ROOT        = @OMNIORB_ROOT@
149 OMNIORB_INCLUDES    = @OMNIORB_INCLUDES@
150 OMNIORB_LIBS        = @OMNIORB_LIBS@
151 OMNIORB_CXXFLAGS    = @OMNIORB_CXXFLAGS@
152
153 OMNIORB_IDL         = @OMNIORB_IDL@
154 OMNIORB_IDLCXXFLAGS = @OMNIORB_IDLCXXFLAGS@
155 OMNIORB_IDLPYFLAGS  = @OMNIORB_IDLPYFLAGS@ -I$(top_srcdir)/idl -I$(top_builddir)/idl/salome -I$(KERNEL_ROOT_DIR)/idl/salome \
156            -I$(MED_ROOT_DIR)/idl/salome -I$(VISU_ROOT_DIR)/idl/salome -I$(RANDOMIZER_ROOT_DIR)/idl/salome 
157
158 OMNIORB_IDL_CLN_H   = @OMNIORB_IDL_CLN_H@
159 OMNIORB_IDL_CLN_CXX = @OMNIORB_IDL_CLN_CXX@
160 OMNIORB_IDL_CLN_OBJ = @OMNIORB_IDL_CLN_OBJ@
161
162 OMNIORB_IDL_SRV_H   = @OMNIORB_IDL_SRV_H@
163 OMNIORB_IDL_SRV_CXX = @OMNIORB_IDL_SRV_CXX@
164 OMNIORB_IDL_SRV_OBJ = @OMNIORB_IDL_SRV_OBJ@
165
166 # Default ORB
167
168 CORBA_ROOT        = @CORBA_ROOT@
169 CORBA_INCLUDES    = @CORBA_INCLUDES@
170 CORBA_LIBS        = @CORBA_LIBS@
171 CORBA_CXXFLAGS    = @CORBA_CXXFLAGS@
172
173 IDLCXXFLAGS = -bcxx @IDLCXXFLAGS@ -I$(top_srcdir)/idl -I$(top_builddir)/idl/salome -I$(KERNEL_ROOT_DIR)/idl/salome \
174            -I$(MED_ROOT_DIR)/idl/salome -I$(VISU_ROOT_DIR)/idl/salome -I$(RANDOMIZER_ROOT_DIR)/idl/salome
175
176 IDLPYFLAGS  = @IDLPYFLAGS@
177
178 IDL = @IDL@
179
180 IDL_CLN_H   = @IDL_CLN_H@
181 IDL_CLN_CXX = @IDL_CLN_CXX@
182 IDL_CLN_OBJ = @IDL_CLN_OBJ@
183
184 IDL_SRV_H   = @IDL_SRV_H@
185 IDL_SRV_CXX = @IDL_SRV_CXX@
186 IDL_SRV_OBJ = @IDL_SRV_OBJ@
187
188 CPPFLAGS+= $(CORBA_INCLUDES) 
189 CXXFLAGS+= $(CORBA_CXXFLAGS)
190
191 # add corba libs when link salome application ! 
192 #LDFLAGS+= $(CORBA_LIBS)
193 LIBS+=$(CORBA_LIBS)
194
195 DOXYGEN = @DOXYGEN@
196
197 ## Shared libraries
198 LT_STATIC_EXEC=@LT_STATIC_EXEC@
199 DYNAMIC_DIRS=@DYNAMIC_DIRS@
200 LT_LIB=libtool
201 LT=$(top_builddir)/libtool
202 LT_COMPILE=$(LT) --mode=compile $(CC)
203 LT_LINK_LIB=$(LT_LIB) --mode=link $(CC) -rpath $(libdir)
204 LT_LINK_EXE=$(LT) --mode=link $(CC) $(LT_STATIC_EXEC) -dlopen self -rpath $(bindir) $(DYNAMIC_DIRS)
205 LT_RUN=$(LT) --mode=execute
206 LT_INSTALL_PROG=$(LT) --mode=install $(INSTALL_PROGRAM)
207 LT_INSTALL_LIB=$(LT) --mode=install $(INSTALL_DATA)
208 LT_UNINSTALL=$(LT) --mode=uninstall $(RM)
209
210 INSTALL=@INSTALL@
211 INSTALL_PROGRAM=@INSTALL_PROGRAM@
212 INSTALL_DATA=@INSTALL_DATA@
213
214 # create a symbolic link (or a copie ?)
215 LN_S=@LN_S@
216
217 ## Installation points
218 prefix=@prefix@
219 exec_prefix=@exec_prefix@
220 bindir=@bindir@/salome
221 libdir=@libdir@/salome
222 # warning : if user give this path in configure we could have salome/salome :-(
223 includedir=@includedir@/salome
224 datadir=@datadir@/salome
225 idldir=$(prefix)/idl/salome
226 sharedpydir=@libdir@/python$(PYTHON_VERSION)/site-packages/salome/shared_modules
227 incmakedir=${prefix}/salome_adm/unix
228
229 docdir=$(datadir)/doc
230
231 #
232 # begin of package rules
233 #
234
235 .PHONY: all lib bin inc resources tests install uninstall dep depend depend_idl cleandep mostlyclean clean distclean
236
237 .SUFFIXES: .cxx .cc .c .f .o .lo .idl .py .i .ui .po .qm
238
239 all:
240         $(MAKE) inc
241         $(MAKE) depend_idl
242         $(MAKE) depend
243         $(MAKE) lib
244         $(MAKE) bin
245         $(MAKE) resources
246
247 #
248 # add target to build administrative files
249 #
250
251 Makefile: $(top_builddir)/config.status $(srcdir)/Makefile.in
252         cd $(top_builddir) ; ./config.status
253
254 $(top_builddir)/config.status: $(top_srcdir)/configure
255         cd $(top_builddir) ; ./config.status --recheck
256
257 # VPATH contain $(srcdir), so make configure is good in top_srcdir and we must add target configure otherwise :-)
258 ifneq ($(top_srcdir),$(srcdir))
259 configure: $(top_srcdir)/configure
260 endif
261
262 $(top_srcdir)/configure: $(top_srcdir)/configure.in $(top_srcdir)/aclocal.m4
263         cd $(top_srcdir) ; autoconf
264
265 $(top_srcdir)/configure.in: $(top_srcdir)/configure.in.base
266         cd $(top_srcdir) && ./build_configure
267
268
269 ACLOCAL_SRC = \
270 ac_cxx_bool.m4                    check_corba.m4                        \
271 ac_cxx_depend_flag.m4             check_hdf5.m4      enable_pthreads.m4 \
272 ac_cxx_mutable.m4                 check_mico.m4      libtool.m4         \
273 ac_cxx_namespaces.m4              check_omniorb.m4   pyembed.m4         \
274 ac_cxx_partial_specialization.m4  python.m4                             \
275 ac_cxx_typename.m4                check_pthreads.m4  check_cas.m4       \
276 ac_cc_warnings.m4                 check_swig.m4      check_boost.m4
277
278 ACLOCAL_GUI = \
279 check_vtk.m4                      check_opengl.m4    check_qt.m4        \
280 check_GUI.m4                      check_corba_in_GUI.m4
281
282 ACLOCAL_MED =                     check_Med.m4       check_Med2.m4
283 ACLOCAL_RAND =                    check_RANDOMIZER.m4
284 ACLOCAL_VISU =                    check_VISU.m4
285 ACLOCAL_CUR =                     check_gd.m4
286
287 $(top_srcdir)/aclocal.m4: $(ACLOCAL_SRC:%=@KERNEL_ROOT_DIR@/salome_adm/unix/config_files/%) \
288                                         $(ACLOCAL_GUI:%=@GUI_ROOT_DIR@/adm_local/unix/config_files/%) \
289                                         $(ACLOCAL_MED:%=@MED_ROOT_DIR@/adm_local/unix/config_files/%)
290                                         $(ACLOCAL_VISU:%=@VISU_ROOT_DIR@/adm_local/unix/config_files/%)
291         cd $(top_srcdir) ; aclocal --acdir=adm_local/unix/config_files -I @KERNEL_ROOT_DIR@/salome_adm/unix/config_files \
292                                                                         -I @GUI_ROOT_DIR@/adm_local/unix/config_files \
293                                                                         -I @MED_ROOT_DIR@/adm_local/unix/config_files \
294                                                                         -I @RANDOMIZER_ROOT_DIR@/adm_local/unix/config_files \
295                                                                         -I @VISU_ROOT_DIR@/adm_local/unix/config_files