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