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 \
122 planepointvector.png \
123 planeworkingface.png \
124 planeworkingvector.png \
125 planeworkingorigin.png \
144 supressHolesOnFaceShell.png \
150 toruspointvector.png \
151 translationDxyz.png \
152 translationPoints.png \
153 translationVector.png \
163 tree_group_vertex.png \
164 tree_group_edge.png \
165 tree_group_face.png \
166 tree_group_solid.png \
173 ellipsepointvector.png \
178 suppressintwires.png \
193 block_multitrsf_double.png \
194 block_multitrsf_simple.png \
201 check_blocks_compound.png \
211 # copy header files in common directory
213 include_list = include/salome/SALOMEconfig.h \
214 include/salome/GEOM_version.h
216 ifneq ($(HAVE_SSTREAM),yes)
217 include_list += include/salome/sstream
220 inc: idl $(include_list)
222 bin: bin/salome/VERSION
224 bin/salome/VERSION : bin/VERSION
228 include/salome/SALOMEconfig.h: salome_adm/unix/SALOMEconfig.ref
232 # test if SALOMEconfig.h has changed (contents)
233 salome_adm/unix/SALOMEconfig.ref: salome_adm/unix/SALOMEconfig.h
234 @if ! [ -a $@ ]; then \
237 if ! cmp $< $@; then \
241 include/salome/sstream: salome_adm/unix/sstream
245 include/salome/GEOM_version.h: GEOM_version.h
252 (cd idl ; $(MAKE) $@) || exit 1
254 # doc is already build : if you want to had documents, go manually to doc and run 'make doc'
256 # (cd doc && $(MAKE) $@) || exit 1
259 # finish libtool install
260 # @$(LT) --mode=finish $(libdir)
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); \
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); \
277 uninstall: uninstall-idl
280 $(RM) $(idldir)/*.idl
282 distclean: 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
292 install: install-bin install-include install-end