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 \
198 check_blocks_compound.png \
208 # copy header files in common directory
210 include_list = include/salome/SALOMEconfig.h \
211 include/salome/GEOM_version.h
213 ifneq ($(HAVE_SSTREAM),yes)
214 include_list += include/salome/sstream
217 inc: idl $(include_list)
219 bin: bin/salome/VERSION
221 bin/salome/VERSION : bin/VERSION
225 include/salome/SALOMEconfig.h: salome_adm/unix/SALOMEconfig.ref
229 # test if SALOMEconfig.h has changed (contents)
230 salome_adm/unix/SALOMEconfig.ref: salome_adm/unix/SALOMEconfig.h
231 @if ! [ -a $@ ]; then \
234 if ! cmp $< $@; then \
238 include/salome/sstream: salome_adm/unix/sstream
242 include/salome/GEOM_version.h: GEOM_version.h
249 (cd idl ; $(MAKE) $@) || exit 1
251 # doc is already build : if you want to had documents, go manually to doc and run 'make doc'
253 # (cd doc && $(MAKE) $@) || exit 1
256 # finish libtool install
257 # @$(LT) --mode=finish $(libdir)
259 install-include: $(include_list)
260 $(INSTALL) -d $(includedir)
261 @for f in X $(include_list); do \
262 if test $$f != X; then \
263 ($(INSTALL_DATA) -p $$f $(includedir)/. || exit 1); \
267 # install script in $(bindir) :
268 install-bin: $(BIN_SCRIPT)
269 $(INSTALL) -d $(bindir)
270 if test $(BIN_SCRIPT)X != X; then \
271 $(INSTALL_PROGRAM) $^ $(bindir); \
274 uninstall: uninstall-idl
277 $(RM) $(idldir)/*.idl
279 distclean: distclean-other
282 -$(RM) salome_adm/unix/*~ salome_adm/unix/*% salome_adm/unix/*.bak salome_adm/unix/*.new salome_adm/unix/*.old
283 -$(RM) salome_adm/unix/make_*
284 -$(RM) salome_adm/unix/depend salome_adm/unix/SALOMEconfig.h
285 -$(RM) config.cache config.log config.status
289 install: install-bin install-include install-end