2003-05-12 20:51:31 +06:00
|
|
|
# -* Makefile *-
|
|
|
|
#
|
|
|
|
# Author : Patrick GOLDBRONN (CEA)
|
|
|
|
# Date : 28/06/2001
|
|
|
|
# $Header$
|
|
|
|
#
|
|
|
|
|
|
|
|
# source path
|
|
|
|
top_srcdir=@top_srcdir@
|
|
|
|
top_builddir=.
|
|
|
|
srcdir=@srcdir@
|
|
|
|
VPATH=.:@srcdir@:@top_srcdir@/bin:@top_srcdir@/resources:./bin:@top_srcdir@/idl
|
|
|
|
|
|
|
|
|
|
|
|
@COMMENCE@
|
|
|
|
|
2004-06-16 21:24:55 +06:00
|
|
|
SUBDIRS = idl src doc
|
2003-05-12 20:51:31 +06:00
|
|
|
|
|
|
|
RESOURCES_FILES = \
|
2003-05-16 13:44:36 +06:00
|
|
|
GEOM_en.xml \
|
|
|
|
GEOM_fr.xml \
|
2004-06-16 21:24:55 +06:00
|
|
|
GEOM.config \
|
2003-05-19 18:01:24 +06:00
|
|
|
GEOMCatalog.xml \
|
2003-05-20 17:20:26 +06:00
|
|
|
GEOMDS_Resources \
|
2004-12-01 15:39:14 +05:00
|
|
|
ImportExport \
|
|
|
|
ShHealing \
|
2003-05-12 20:51:31 +06:00
|
|
|
arc.png \
|
|
|
|
archimede.png \
|
|
|
|
axisinertia.png \
|
|
|
|
basicproperties.png \
|
|
|
|
bounding.png \
|
|
|
|
box.png \
|
|
|
|
box2points.png \
|
|
|
|
boxdxyz.png \
|
|
|
|
build_compound.png \
|
|
|
|
build_edge.png \
|
|
|
|
build_face.png \
|
|
|
|
build_shell.png \
|
|
|
|
build_solid.png \
|
|
|
|
build_wire.png \
|
|
|
|
centergravity.png \
|
|
|
|
chamfer.png \
|
|
|
|
chamferall.png \
|
|
|
|
chamferedge.png \
|
|
|
|
chamferface.png \
|
|
|
|
check.png \
|
|
|
|
circle.png \
|
|
|
|
circlepointvector.png \
|
2004-12-01 15:39:14 +05:00
|
|
|
circle3points.png \
|
2003-05-12 20:51:31 +06:00
|
|
|
common.png \
|
|
|
|
cone.png \
|
|
|
|
conedxyz.png \
|
|
|
|
conepointvector.png \
|
|
|
|
cut.png \
|
|
|
|
cylinder.png \
|
|
|
|
cylinderdxyz.png \
|
|
|
|
cylinderpointvector.png \
|
|
|
|
delete.png \
|
|
|
|
display.png \
|
2004-12-01 15:39:14 +05:00
|
|
|
displayonly.png \
|
2003-05-12 20:51:31 +06:00
|
|
|
displayall.png \
|
|
|
|
erase.png \
|
|
|
|
eraseall.png \
|
|
|
|
fillet.png \
|
|
|
|
filletall.png \
|
|
|
|
filletedge.png \
|
|
|
|
filletface.png \
|
|
|
|
filling.png \
|
|
|
|
fuse.png \
|
|
|
|
geometry.png \
|
|
|
|
line.png \
|
|
|
|
line2points.png \
|
|
|
|
lineedge.png \
|
|
|
|
linepointvector.png \
|
|
|
|
mindist.png \
|
2004-12-01 15:39:14 +05:00
|
|
|
mirrorPoint.png \
|
|
|
|
mirrorAxe.png \
|
2003-05-12 20:51:31 +06:00
|
|
|
mirrorPlane.png \
|
|
|
|
ModuleGeom.png \
|
|
|
|
multirotation.png \
|
|
|
|
multirotationdouble.png \
|
|
|
|
multirotationsimple.png \
|
|
|
|
multitranslation.png \
|
|
|
|
multitranslationdouble.png \
|
|
|
|
multitranslationsimple.png \
|
2004-12-01 15:39:14 +05:00
|
|
|
offset.png \
|
2003-05-12 20:51:31 +06:00
|
|
|
orientation.png \
|
|
|
|
partition.png \
|
|
|
|
partitionkeep.png \
|
2004-12-01 15:39:14 +05:00
|
|
|
partitionplane.png \
|
2003-05-12 20:51:31 +06:00
|
|
|
pipe.png \
|
|
|
|
plane.png \
|
|
|
|
planeWorking.png \
|
|
|
|
planedxyz.png \
|
2004-12-01 15:39:14 +05:00
|
|
|
plane3points.png \
|
2003-05-12 20:51:31 +06:00
|
|
|
planeface.png \
|
|
|
|
planepointvector.png \
|
|
|
|
planeworkingface.png \
|
2004-12-01 15:39:14 +05:00
|
|
|
planeworkingvector.png \
|
|
|
|
planeworkingorigin.png \
|
2003-05-12 20:51:31 +06:00
|
|
|
point2.png \
|
|
|
|
pointonedge.png \
|
2004-12-01 15:39:14 +05:00
|
|
|
polyline.png \
|
2003-05-12 20:51:31 +06:00
|
|
|
prism.png \
|
|
|
|
revol.png \
|
|
|
|
rotate.png \
|
|
|
|
scale.png \
|
|
|
|
section.png \
|
|
|
|
select1.png \
|
|
|
|
sewing.png \
|
|
|
|
shading.png \
|
|
|
|
sketch.png \
|
|
|
|
sphere.png \
|
|
|
|
spheredxyz.png \
|
|
|
|
spherepoint.png \
|
|
|
|
subshape.png \
|
|
|
|
supressHolesOnFaceShell.png \
|
|
|
|
supressface.png \
|
|
|
|
supresshole.png \
|
|
|
|
tolerance.png \
|
|
|
|
torus.png \
|
|
|
|
torusdxyz.png \
|
|
|
|
toruspointvector.png \
|
2004-12-01 15:39:14 +05:00
|
|
|
translationDxyz.png \
|
|
|
|
translationPoints.png \
|
|
|
|
translationVector.png \
|
2003-05-12 20:51:31 +06:00
|
|
|
tree_compound.png \
|
|
|
|
tree_compsolid.png \
|
|
|
|
tree_edge.png \
|
|
|
|
tree_face.png \
|
|
|
|
tree_shape.png \
|
|
|
|
tree_shell.png \
|
|
|
|
tree_solid.png \
|
|
|
|
tree_vertex.png \
|
|
|
|
tree_wire.png \
|
2004-12-01 15:39:14 +05:00
|
|
|
tree_group_vertex.png \
|
|
|
|
tree_group_edge.png \
|
|
|
|
tree_group_face.png \
|
|
|
|
tree_group_solid.png \
|
|
|
|
tree_lcs.png \
|
2003-05-12 20:51:31 +06:00
|
|
|
vector.png \
|
|
|
|
vector2points.png \
|
|
|
|
vectordxyz.png \
|
2003-07-09 21:01:54 +06:00
|
|
|
whatis.png \
|
|
|
|
ellipse.png \
|
2004-12-01 15:39:14 +05:00
|
|
|
ellipsepointvector.png \
|
|
|
|
bezier.png \
|
|
|
|
interpol.png \
|
|
|
|
spline.png \
|
|
|
|
closecontour.png \
|
|
|
|
suppressintwires.png \
|
|
|
|
marker.png \
|
|
|
|
marker2.png \
|
|
|
|
marker3.png \
|
|
|
|
position.png \
|
|
|
|
position2.png \
|
|
|
|
free_bound.png \
|
|
|
|
point_coord.png \
|
|
|
|
point3.png \
|
|
|
|
shapeprocess.png \
|
|
|
|
block_2f.png \
|
|
|
|
block_6f.png \
|
|
|
|
block_face_2e.png \
|
|
|
|
block_face_4e.png \
|
|
|
|
block_face_4v.png \
|
|
|
|
block_multitrsf_double.png \
|
|
|
|
block_multitrsf_simple.png \
|
|
|
|
tree_block.png \
|
|
|
|
subblock.png \
|
|
|
|
group_new.png \
|
|
|
|
group_edit.png \
|
2005-01-20 11:24:17 +05:00
|
|
|
glue.png \
|
|
|
|
check_blocks_compound.png \
|
|
|
|
free_faces.png \
|
|
|
|
propagate.png
|
|
|
|
|
2003-05-12 20:51:31 +06:00
|
|
|
|
2003-05-28 13:22:04 +06:00
|
|
|
BIN_SCRIPT= \
|
|
|
|
VERSION
|
|
|
|
|
2003-05-12 20:51:31 +06:00
|
|
|
# copy header files in common directory
|
|
|
|
ifeq ($(HAVE_SSTREAM),yes)
|
2003-05-28 22:22:04 +06:00
|
|
|
include_list=include/salome/SALOMEconfig.h
|
2003-05-12 20:51:31 +06:00
|
|
|
else
|
2003-05-28 22:22:04 +06:00
|
|
|
include_list=include/salome/SALOMEconfig.h include/salome/sstream
|
2003-05-12 20:51:31 +06:00
|
|
|
endif
|
|
|
|
|
|
|
|
inc: idl $(include_list)
|
|
|
|
|
2003-06-12 16:38:56 +06:00
|
|
|
include/salome/SALOMEconfig.h: salome_adm/unix/SALOMEconfig.ref
|
2003-05-12 20:51:31 +06:00
|
|
|
-$(RM) $@
|
|
|
|
$(LN_S) ../../$< $@
|
|
|
|
|
2003-06-12 16:38:56 +06:00
|
|
|
# test if SALOMEconfig.h has changed (contents)
|
|
|
|
salome_adm/unix/SALOMEconfig.ref: salome_adm/unix/SALOMEconfig.h
|
|
|
|
@if ! [ -a $@ ]; then \
|
2004-06-16 21:24:55 +06:00
|
|
|
cp -p -f $< $@; \
|
2003-06-12 16:38:56 +06:00
|
|
|
fi; \
|
|
|
|
if ! cmp $< $@; then \
|
2004-06-16 21:24:55 +06:00
|
|
|
cp -p -f $< $@; \
|
2003-06-12 16:38:56 +06:00
|
|
|
fi; \
|
|
|
|
|
2003-05-12 20:51:31 +06:00
|
|
|
include/salome/sstream: salome_adm/unix/sstream
|
|
|
|
-$(RM) $@
|
|
|
|
$(LN_S) ../../$< $@
|
|
|
|
|
|
|
|
depend: depend_idl
|
|
|
|
|
|
|
|
depend_idl:
|
|
|
|
(cd idl ; $(MAKE) $@) || exit 1
|
|
|
|
|
|
|
|
# doc is already build : if you want to had documents, go manually to doc and run 'make doc'
|
|
|
|
#doc:
|
|
|
|
# (cd doc && $(MAKE) $@) || exit 1
|
|
|
|
|
|
|
|
install-end:
|
|
|
|
# finish libtool install
|
|
|
|
# @$(LT) --mode=finish $(libdir)
|
|
|
|
|
|
|
|
install-include: $(include_list)
|
|
|
|
$(INSTALL) -d $(includedir)
|
2004-06-16 21:24:55 +06:00
|
|
|
@for f in X $(include_list); do \
|
|
|
|
if test $$f != X; then \
|
|
|
|
($(INSTALL_DATA) -p $$f $(includedir)/. || exit 1); \
|
|
|
|
fi; \
|
2003-05-12 20:51:31 +06:00
|
|
|
done
|
|
|
|
|
|
|
|
# install script in $(bindir) :
|
|
|
|
install-bin: $(BIN_SCRIPT)
|
|
|
|
$(INSTALL) -d $(bindir)
|
|
|
|
if test $(BIN_SCRIPT)X != X; then \
|
|
|
|
$(INSTALL_PROGRAM) $^ $(bindir); \
|
|
|
|
fi
|
|
|
|
|
|
|
|
uninstall: uninstall-idl
|
|
|
|
|
|
|
|
uninstall-idl:
|
|
|
|
$(RM) $(idldir)/*.idl
|
|
|
|
|
|
|
|
distclean: distclean-other
|
|
|
|
|
|
|
|
distclean-other:
|
|
|
|
-$(RM) salome_adm/unix/*~ salome_adm/unix/*% salome_adm/unix/*.bak salome_adm/unix/*.new salome_adm/unix/*.old
|
|
|
|
-$(RM) salome_adm/unix/make_*
|
|
|
|
-$(RM) salome_adm/unix/depend salome_adm/unix/SALOMEconfig.h
|
|
|
|
-$(RM) config.cache config.log config.status
|
|
|
|
|
|
|
|
@MODULE@
|
|
|
|
|
|
|
|
install: install-bin install-include install-end
|
|
|
|
|