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