Salome HOME
PAL13375: batch with scripts based upon smesh.py and geompy.py. Init salome in geompy.py.
[modules/geom.git] / Makefile.in
1 #  Copyright (C) 2005  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 # -* Makefile *- 
21 #
22 # Author : Patrick GOLDBRONN (CEA)
23 # Date : 28/06/2001
24 # $Header$
25 #
26
27 # source path
28 top_srcdir=@top_srcdir@
29 top_builddir=.
30 srcdir=@srcdir@
31 VPATH=.:@srcdir@:@top_srcdir@/bin:./bin/salome:./resources:@top_srcdir@/resources:./bin:@top_srcdir@/idl
32
33
34 @COMMENCE@
35
36 SUBDIRS = idl src doc adm_local
37
38 RESOURCES_FILES = \
39 GEOM_en.xml \
40 GEOM_fr.xml \
41 GEOM.config \
42 GEOMCatalog.xml \
43 SalomeApp.xml \
44 GEOMDS_Resources \
45 ImportExport \
46 ShHealing \
47 arc.png \
48 archimede.png \
49 axisinertia.png \
50 basicproperties.png \
51 bounding.png \
52 box.png \
53 box2points.png \
54 boxdxyz.png \
55 build_compound.png \
56 build_edge.png \
57 build_face.png \
58 build_shell.png \
59 build_solid.png \
60 build_wire.png \
61 centergravity.png \
62 chamfer.png \
63 chamferall.png \
64 chamferedge.png \
65 chamferface.png \
66 change_orientation.png \
67 check.png \
68 circle.png \
69 circlepointvector.png \
70 circle3points.png \
71 common.png \
72 cone.png \
73 conedxyz.png \
74 conepointvector.png \
75 cut.png \
76 cylinder.png \
77 cylinderdxyz.png \
78 cylinderpointvector.png \
79 delete.png \
80 display.png \
81 displayonly.png \
82 displayall.png \
83 erase.png \
84 eraseall.png \
85 fillet.png \
86 filletall.png \
87 filletedge.png \
88 filletface.png \
89 filling.png \
90 fuse.png \
91 geometry.png \
92 line.png \
93 line2points.png \
94 lineedge.png \
95 linepointvector.png \
96 mindist.png \
97 mirrorPoint.png \
98 mirrorAxe.png \
99 mirrorPlane.png \
100 ModuleGeom.png \
101 multirotation.png \
102 multirotationdouble.png \
103 multirotationsimple.png \
104 multitranslation.png \
105 multitranslationdouble.png \
106 multitranslationsimple.png \
107 offset.png \
108 orientation.png \
109 partition.png \
110 partitionkeep.png \
111 partitionplane.png \
112 pipe.png \
113 plane.png \
114 planeWorking.png \
115 planedxyz.png \
116 plane3points.png \
117 planeface.png \
118 planepointvector.png \
119 planeworkingface.png \
120 planeworkingvector.png \
121 planeworkingorigin.png \
122 point2.png \
123 pointonedge.png \
124 polyline.png \
125 prism.png \
126 prism2.png \
127 revol.png \
128 rotate.png \
129 scale.png \
130 section.png \
131 select1.png \
132 sewing.png \
133 shading.png \
134 sketch.png \
135 sphere.png \
136 spheredxyz.png \
137 spherepoint.png \
138 subshape.png \
139 supressHolesOnFaceShell.png \
140 supressface.png \
141 supresshole.png \
142 tolerance.png \
143 torus.png \
144 torusdxyz.png \
145 toruspointvector.png \
146 translationDxyz.png \
147 translationPoints.png \
148 translationVector.png \
149 tree_compound.png \
150 tree_compsolid.png \
151 tree_edge.png \
152 tree_face.png \
153 tree_shape.png \
154 tree_shell.png \
155 tree_solid.png \
156 tree_vertex.png \
157 tree_wire.png \
158 tree_group_vertex.png \
159 tree_group_edge.png \
160 tree_group_face.png \
161 tree_group_solid.png \
162 tree_lcs.png \
163 vector.png \
164 vector2points.png \
165 vectordxyz.png \
166 whatis.png \
167 ellipse.png \
168 ellipsepointvector.png \
169 bezier.png \
170 interpol.png \
171 spline.png \
172 closecontour.png \
173 suppressintwires.png \
174 marker.png \
175 marker2.png \
176 marker3.png \
177 position.png \
178 position2.png \
179 free_bound.png \
180 point_coord.png \
181 point3.png \
182 shapeprocess.png \
183 block_2f.png \
184 block_6f.png \
185 block_face_2e.png \
186 block_face_4e.png \
187 block_face_4v.png \
188 block_multitrsf_double.png \
189 block_multitrsf_simple.png \
190 tree_block.png \
191 subblock.png \
192 group_new.png \
193 group_edit.png \
194 glue.png \
195 check_blocks_compound.png \
196 free_faces.png \
197 propagate.png \
198 redo.png \
199 undo.png
200
201
202 BIN_SCRIPT= \
203 VERSION
204
205 # copy header files in common directory
206
207 include_list = include/salome/SALOMEconfig.h \
208                include/salome/GEOM_version.h
209
210 ifneq ($(HAVE_SSTREAM),yes)
211         include_list += include/salome/sstream
212 endif
213
214 inc: idl $(include_list)
215
216 bin: bin/salome/VERSION
217
218 bin/salome/VERSION : bin/VERSION
219         -$(RM) $@
220         $(LN_S) ../../$< $@
221
222 include/salome/SALOMEconfig.h: salome_adm/unix/SALOMEconfig.ref
223         -$(RM) $@
224         $(LN_S) ../../$< $@
225
226 # test if SALOMEconfig.h has changed (contents)
227 salome_adm/unix/SALOMEconfig.ref: salome_adm/unix/SALOMEconfig.h
228         @if ! [ -a $@ ]; then \
229           cp -p -f $< $@;        \
230         fi;                   \
231         if ! cmp $< $@; then  \
232           cp -p -f $< $@;        \
233         fi;                   \
234
235 include/salome/sstream: salome_adm/unix/sstream
236         -$(RM) $@
237         $(LN_S) ../../$< $@
238
239 include/salome/GEOM_version.h: GEOM_version.h
240         -$(RM) $@
241         $(LN_S) ../../$< $@
242
243 depend: depend_idl
244
245 depend_idl:
246         (cd idl ; $(MAKE) $@) || exit 1
247
248 # doc is already build : if you want to had documents, go manually to doc and run 'make doc'
249 #doc:
250 #       (cd doc && $(MAKE) $@) || exit 1
251
252 install-end:
253 # finish libtool install
254 #       @$(LT) --mode=finish $(libdir)
255
256 install-include: $(include_list)
257         $(INSTALL) -d  $(includedir)
258         @for f in X $(include_list); do                                 \
259            if test $$f != X; then                                       \
260              ($(INSTALL_DATA) -p $$f $(includedir)/. || exit 1);        \
261            fi;                                                          \
262         done
263
264 # install script in $(bindir) :
265 install-bin: $(BIN_SCRIPT)
266         $(INSTALL) -d  $(bindir)
267         if test $(BIN_SCRIPT)X != X; then                       \
268                 $(INSTALL_PROGRAM) $^ $(bindir);                \
269         fi
270
271 uninstall: uninstall-idl
272
273 uninstall-idl:
274         $(RM) $(idldir)/*.idl
275
276 distclean: distclean-other
277
278 distclean-other:
279         -$(RM) salome_adm/unix/*~ salome_adm/unix/*% salome_adm/unix/*.bak salome_adm/unix/*.new salome_adm/unix/*.old
280         -$(RM) salome_adm/unix/make_* 
281         -$(RM) salome_adm/unix/depend salome_adm/unix/SALOMEconfig.h 
282         -$(RM) config.cache config.log config.status 
283
284 @MODULE@
285
286 install: install-bin install-include install-end
287