Salome HOME
Updated for new method MakePartitionNonSelfIntersectedShape
[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 rotatepnt.png \
130 scale.png \
131 section.png \
132 select1.png \
133 sewing.png \
134 shading.png \
135 sketch.png \
136 sphere.png \
137 spheredxyz.png \
138 spherepoint.png \
139 subshape.png \
140 supressHolesOnFaceShell.png \
141 supressface.png \
142 supresshole.png \
143 tolerance.png \
144 torus.png \
145 torusdxyz.png \
146 toruspointvector.png \
147 translationDxyz.png \
148 translationPoints.png \
149 translationVector.png \
150 tree_compound.png \
151 tree_compsolid.png \
152 tree_edge.png \
153 tree_face.png \
154 tree_shape.png \
155 tree_shell.png \
156 tree_solid.png \
157 tree_vertex.png \
158 tree_wire.png \
159 tree_group_vertex.png \
160 tree_group_edge.png \
161 tree_group_face.png \
162 tree_group_solid.png \
163 tree_lcs.png \
164 vector.png \
165 vector2points.png \
166 vectordxyz.png \
167 whatis.png \
168 ellipse.png \
169 ellipsepointvector.png \
170 bezier.png \
171 interpol.png \
172 spline.png \
173 closecontour.png \
174 suppressintwires.png \
175 marker.png \
176 marker2.png \
177 marker3.png \
178 position.png \
179 position2.png \
180 free_bound.png \
181 point_coord.png \
182 point3.png \
183 shapeprocess.png \
184 block_2f.png \
185 block_6f.png \
186 block_face_2e.png \
187 block_face_4e.png \
188 block_face_4v.png \
189 block_multitrsf_double.png \
190 block_multitrsf_simple.png \
191 tree_block.png \
192 subblock.png \
193 group_new.png \
194 group_edit.png \
195 glue.png \
196 check_blocks_compound.png \
197 free_faces.png \
198 propagate.png \
199 redo.png \
200 undo.png
201
202
203 BIN_SCRIPT= \
204 VERSION
205
206 # copy header files in common directory
207
208 include_list = include/salome/SALOMEconfig.h \
209                include/salome/GEOM_version.h
210
211 ifneq ($(HAVE_SSTREAM),yes)
212         include_list += include/salome/sstream
213 endif
214
215 inc: idl $(include_list)
216
217 bin: bin/salome/VERSION
218
219 bin/salome/VERSION : bin/VERSION
220         -$(RM) $@
221         $(LN_S) ../../$< $@
222
223 include/salome/SALOMEconfig.h: salome_adm/unix/SALOMEconfig.ref
224         -$(RM) $@
225         $(LN_S) ../../$< $@
226
227 # test if SALOMEconfig.h has changed (contents)
228 salome_adm/unix/SALOMEconfig.ref: salome_adm/unix/SALOMEconfig.h
229         @if ! [ -a $@ ]; then \
230           cp -p -f $< $@;        \
231         fi;                   \
232         if ! cmp $< $@; then  \
233           cp -p -f $< $@;        \
234         fi;                   \
235
236 include/salome/sstream: salome_adm/unix/sstream
237         -$(RM) $@
238         $(LN_S) ../../$< $@
239
240 include/salome/GEOM_version.h: GEOM_version.h
241         -$(RM) $@
242         $(LN_S) ../../$< $@
243
244 depend: depend_idl
245
246 depend_idl:
247         (cd idl ; $(MAKE) $@) || exit 1
248
249 # doc is already build : if you want to had documents, go manually to doc and run 'make doc'
250 #doc:
251 #       (cd doc && $(MAKE) $@) || exit 1
252
253 install-end:
254 # finish libtool install
255 #       @$(LT) --mode=finish $(libdir)
256
257 install-include: $(include_list)
258         $(INSTALL) -d  $(includedir)
259         @for f in X $(include_list); do                                 \
260            if test $$f != X; then                                       \
261              ($(INSTALL_DATA) -p $$f $(includedir)/. || exit 1);        \
262            fi;                                                          \
263         done
264
265 # install script in $(bindir) :
266 install-bin: $(BIN_SCRIPT)
267         $(INSTALL) -d  $(bindir)
268         if test $(BIN_SCRIPT)X != X; then                       \
269                 $(INSTALL_PROGRAM) $^ $(bindir);                \
270         fi
271
272 uninstall: uninstall-idl
273
274 uninstall-idl:
275         $(RM) $(idldir)/*.idl
276
277 distclean: distclean-other
278
279 distclean-other:
280         -$(RM) salome_adm/unix/*~ salome_adm/unix/*% salome_adm/unix/*.bak salome_adm/unix/*.new salome_adm/unix/*.old
281         -$(RM) salome_adm/unix/make_* 
282         -$(RM) salome_adm/unix/depend salome_adm/unix/SALOMEconfig.h 
283         -$(RM) config.cache config.log config.status 
284
285 @MODULE@
286
287 install: install-bin install-include install-end
288