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 change_orientation.png \
70 circlepointvector.png \
79 cylinderpointvector.png \
103 multirotationdouble.png \
104 multirotationsimple.png \
105 multitranslation.png \
106 multitranslationdouble.png \
107 multitranslationsimple.png \
119 planepointvector.png \
120 planeworkingface.png \
121 planeworkingvector.png \
122 planeworkingorigin.png \
141 supressHolesOnFaceShell.png \
147 toruspointvector.png \
148 translationDxyz.png \
149 translationPoints.png \
150 translationVector.png \
160 tree_group_vertex.png \
161 tree_group_edge.png \
162 tree_group_face.png \
163 tree_group_solid.png \
170 ellipsepointvector.png \
175 suppressintwires.png \
190 block_multitrsf_double.png \
191 block_multitrsf_simple.png \
197 check_blocks_compound.png \
207 # copy header files in common directory
209 include_list = include/salome/SALOMEconfig.h \
210 include/salome/GEOM_version.h
212 ifneq ($(HAVE_SSTREAM),yes)
213 include_list += include/salome/sstream
216 inc: idl $(include_list)
218 bin: bin/salome/VERSION
220 bin/salome/VERSION : bin/VERSION
224 include/salome/SALOMEconfig.h: salome_adm/unix/SALOMEconfig.ref
228 # test if SALOMEconfig.h has changed (contents)
229 salome_adm/unix/SALOMEconfig.ref: salome_adm/unix/SALOMEconfig.h
230 @if ! [ -a $@ ]; then \
233 if ! cmp $< $@; then \
237 include/salome/sstream: salome_adm/unix/sstream
241 include/salome/GEOM_version.h: GEOM_version.h
248 (cd idl ; $(MAKE) $@) || exit 1
250 # doc is already build : if you want to had documents, go manually to doc and run 'make doc'
252 # (cd doc && $(MAKE) $@) || exit 1
255 # finish libtool install
256 # @$(LT) --mode=finish $(libdir)
258 install-include: $(include_list)
259 $(INSTALL) -d $(includedir)
260 @for f in X $(include_list); do \
261 if test $$f != X; then \
262 ($(INSTALL_DATA) -p $$f $(includedir)/. || exit 1); \
266 # install script in $(bindir) :
267 install-bin: $(BIN_SCRIPT)
268 $(INSTALL) -d $(bindir)
269 if test $(BIN_SCRIPT)X != X; then \
270 $(INSTALL_PROGRAM) $^ $(bindir); \
273 uninstall: uninstall-idl
276 $(RM) $(idldir)/*.idl
278 distclean: distclean-other
281 -$(RM) salome_adm/unix/*~ salome_adm/unix/*% salome_adm/unix/*.bak salome_adm/unix/*.new salome_adm/unix/*.old
282 -$(RM) salome_adm/unix/make_*
283 -$(RM) salome_adm/unix/depend salome_adm/unix/SALOMEconfig.h
284 -$(RM) config.cache config.log config.status
288 install: install-bin install-include install-end