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