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 \
106 multirotationdouble.png \
107 multirotationsimple.png \
108 multitranslation.png \
109 multitranslationdouble.png \
110 multitranslationsimple.png \
123 planepointvector.png \
124 planeworkingface.png \
125 planeworkingvector.png \
126 planeworkingorigin.png \
145 supressHolesOnFaceShell.png \
151 toruspointvector.png \
152 translationDxyz.png \
153 translationPoints.png \
154 translationVector.png \
164 tree_group_vertex.png \
165 tree_group_edge.png \
166 tree_group_face.png \
167 tree_group_solid.png \
174 ellipsepointvector.png \
179 suppressintwires.png \
194 block_multitrsf_double.png \
195 block_multitrsf_simple.png \
202 check_blocks_compound.png \
212 # copy header files in common directory
214 include_list = include/salome/SALOMEconfig.h \
215 include/salome/GEOM_version.h
217 ifneq ($(HAVE_SSTREAM),yes)
218 include_list += include/salome/sstream
221 inc: idl $(include_list)
223 bin: bin/salome/VERSION
225 bin/salome/VERSION : bin/VERSION
229 include/salome/SALOMEconfig.h: salome_adm/unix/SALOMEconfig.ref
233 # test if SALOMEconfig.h has changed (contents)
234 salome_adm/unix/SALOMEconfig.ref: salome_adm/unix/SALOMEconfig.h
235 @if ! [ -a $@ ]; then \
238 if ! cmp $< $@; then \
242 include/salome/sstream: salome_adm/unix/sstream
246 include/salome/GEOM_version.h: GEOM_version.h
253 (cd idl ; $(MAKE) $@) || exit 1
255 # doc is already build : if you want to had documents, go manually to doc and run 'make doc'
257 # (cd doc && $(MAKE) $@) || exit 1
260 # finish libtool install
261 # @$(LT) --mode=finish $(libdir)
263 install-include: $(include_list)
264 $(INSTALL) -d $(includedir)
265 @for f in X $(include_list); do \
266 if test $$f != X; then \
267 ($(INSTALL_DATA) -p $$f $(includedir)/. || exit 1); \
271 # install script in $(bindir) :
272 install-bin: $(BIN_SCRIPT)
273 $(INSTALL) -d $(bindir)
274 if test $(BIN_SCRIPT)X != X; then \
275 $(INSTALL_PROGRAM) $^ $(bindir); \
278 uninstall: uninstall-idl
281 $(RM) $(idldir)/*.idl
283 distclean: distclean-other
286 -$(RM) salome_adm/unix/*~ salome_adm/unix/*% salome_adm/unix/*.bak salome_adm/unix/*.new salome_adm/unix/*.old
287 -$(RM) salome_adm/unix/make_*
288 -$(RM) salome_adm/unix/depend salome_adm/unix/SALOMEconfig.h
289 -$(RM) config.cache config.log config.status
293 install: install-bin install-include install-end