1 # Copyright (C) 2005 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
2 # CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
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.
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.
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
18 # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
22 # Author : Patrick GOLDBRONN (CEA)
28 top_srcdir=@top_srcdir@
31 VPATH=.:@srcdir@:@top_srcdir@/bin:./bin/salome:./resources:@top_srcdir@/resources:./bin:@top_srcdir@/idl
36 SUBDIRS = idl src doc adm_local
67 chamferedgefromface.png \
68 change_orientation.png \
71 circlepointvector.png \
73 circlecenter2pnts.png \
81 cylinderpointvector.png \
107 multirotationdouble.png \
108 multirotationsimple.png \
109 multitranslation.png \
110 multitranslationdouble.png \
111 multitranslationsimple.png \
124 planepointvector.png \
125 planeworkingface.png \
126 planeworkingvector.png \
127 planeworkingorigin.png \
130 point_line_intersection.png \
147 supressHolesOnFaceShell.png \
153 toruspointvector.png \
154 translationDxyz.png \
155 translationPoints.png \
156 translationVector.png \
166 tree_group_vertex.png \
167 tree_group_edge.png \
168 tree_group_face.png \
169 tree_group_solid.png \
176 ellipsepointvector.png \
181 suppressintwires.png \
196 block_multitrsf_double.png \
197 block_multitrsf_simple.png \
204 check_blocks_compound.png \
214 # copy header files in common directory
216 include_list = include/salome/SALOMEconfig.h \
217 include/salome/GEOM_version.h
219 ifneq ($(HAVE_SSTREAM),yes)
220 include_list += include/salome/sstream
223 inc: idl $(include_list)
225 bin: bin/salome/VERSION
227 bin/salome/VERSION : bin/VERSION
231 include/salome/SALOMEconfig.h: salome_adm/unix/SALOMEconfig.ref
235 # test if SALOMEconfig.h has changed (contents)
236 salome_adm/unix/SALOMEconfig.ref: salome_adm/unix/SALOMEconfig.h
237 @if ! [ -a $@ ]; then \
240 if ! cmp $< $@; then \
244 include/salome/sstream: salome_adm/unix/sstream
248 include/salome/GEOM_version.h: GEOM_version.h
255 (cd idl ; $(MAKE) $@) || exit 1
257 # doc is already build : if you want to had documents, go manually to doc and run 'make doc'
259 # (cd doc && $(MAKE) $@) || exit 1
262 # finish libtool install
263 # @$(LT) --mode=finish $(libdir)
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); \
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); \
280 uninstall: uninstall-idl
283 $(RM) $(idldir)/*.idl
285 distclean: 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
295 install: install-bin install-include install-end