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