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