Salome HOME
Fix a bug (crash when adding an hexahedron from ids).
[modules/smesh.git] / Makefile.in
1 # -* Makefile *- 
2 #
3 # Author : Patrick GOLDBRONN (CEA)
4 # Date : 28/06/2001
5 # $Header$
6 #
7
8 # source path
9 top_srcdir=@top_srcdir@
10 top_builddir=.
11 srcdir=@srcdir@
12 VPATH=.:@srcdir@:@top_srcdir@/bin:@top_srcdir@/resources:./bin:@top_srcdir@/idl
13
14
15 @COMMENCE@
16
17 SUBDIRS = idl src
18
19 RESOURCES_FILES = \
20 delete.png  \
21 mesh_add_sub.png \
22 mesh_algo_hexa.png \
23 mesh_algo_mefisto.png \
24 mesh_algo_quad.png \
25 mesh_algo_regular.png \
26 mesh_algo_tetra.png \
27 mesh_angle.png \
28 mesh_area.png \
29 mesh_aspect.png \
30 mesh_compute.png \
31 mesh_connectivity.png \
32 mesh_diagonal.png \
33 mesh_edit.png \
34 mesh_hexa_n.png \
35 mesh_hexa.png \
36 mesh_hypo_area.png \
37 mesh_hypo_length.png \
38 mesh_hypo_segment.png \
39 mesh_hypo_volume.png \
40 mesh_info.png \
41 mesh_init.png \
42 mesh_length.png \
43 mesh_line_n.png \
44 mesh_line.png \
45 mesh_move_node.png \
46 mesh_orientation.png \
47 mesh.png \
48 mesh_pyramid_n.png \
49 mesh_pyramid.png \
50 mesh_quad_n.png \
51 mesh_quad.png \
52 mesh_rem_element.png \
53 mesh_rem_node.png \
54 mesh_set_algo.png \
55 mesh_set_hypo.png \
56 mesh_shading.png \
57 mesh_shrink.png \
58 mesh_skew.png \
59 mesh_taper.png \
60 mesh_tetra_n.png \
61 mesh_tetra.png \
62 mesh_tree_algo_hexa.png \
63 mesh_tree_algo_mefisto.png \
64 mesh_tree_algo.png \
65 mesh_tree_algo_quad.png \
66 mesh_tree_algo_regular.png \
67 mesh_tree_algo_tetra.png \
68 mesh_tree_hypo_area.png \
69 mesh_tree_hypo_length.png \
70 mesh_tree_hypo.png \
71 mesh_tree_hypo_segment.png \
72 mesh_tree_hypo_volume.png \
73 mesh_tree_mesh.png \
74 mesh_tree_mesh_warn.png \
75 mesh_triangle_n.png \
76 mesh_triangle.png \
77 mesh_update.png \
78 mesh_vertex_n.png \
79 mesh_vertex.png \
80 mesh_wireframe.png \
81 mesh_wrap.png \
82 ModuleMesh.png \
83 select1.png \
84 SMESH_en.xml \
85 SMESHCatalog.xml \
86 flight_solid.brep
87
88 BIN_SCRIPT= \
89 VERSION
90
91 # copy header files in common directory
92 ifeq ($(HAVE_SSTREAM),yes)
93   include_list=include/salome/SALOMEconfig.h
94 else
95   include_list=include/salome/SALOMEconfig.h include/salome/sstream
96 endif
97
98 inc: idl $(include_list)
99
100 include/salome/SALOMEconfig.h: salome_adm/unix/SALOMEconfig.ref
101         -$(RM) $@
102         $(LN_S) ../../$< $@
103
104 # test if SALOMEconfig.h has changed (contents)
105 salome_adm/unix/SALOMEconfig.ref: salome_adm/unix/SALOMEconfig.h
106         @if ! [ -a $@ ]; then \
107           cp -p $< $@;        \
108         fi;                   \
109         if ! cmp $< $@; then  \
110           cp -p $< $@;        \
111         fi;                   \
112
113 include/salome/sstream: salome_adm/unix/sstream
114         -$(RM) $@
115         $(LN_S) ../../$< $@
116
117 depend: depend_idl
118
119 depend_idl:
120         (cd idl ; $(MAKE) $@) || exit 1
121
122 # doc is already build : if you want to had documents, go manually to doc and run 'make doc'
123 #doc:
124 #       (cd doc && $(MAKE) $@) || exit 1
125
126 install-end:
127 # finish libtool install
128 #       @$(LT) --mode=finish $(libdir)
129
130 install-include: $(include_list)
131         $(INSTALL) -d  $(includedir)
132         @for f in X $(include_list); do                         \
133            if test $$f != X; then                               \
134              ($(INSTALL_DATA) $$f $(includedir)/. || exit 1);   \
135            fi;                                                  \
136         done
137
138 # install script in $(bindir) :
139 install-bin: $(BIN_SCRIPT)
140         $(INSTALL) -d  $(bindir)
141         if test $(BIN_SCRIPT)X != X; then                       \
142                 $(INSTALL_PROGRAM) $^ $(bindir);                \
143         fi
144
145 uninstall: uninstall-idl
146
147 uninstall-idl:
148         $(RM) $(idldir)/*.idl
149
150 distclean: distclean-other
151
152 distclean-other:
153         -$(RM) salome_adm/unix/*~ salome_adm/unix/*% salome_adm/unix/*.bak salome_adm/unix/*.new salome_adm/unix/*.old
154         -$(RM) salome_adm/unix/make_* 
155         -$(RM) salome_adm/unix/depend salome_adm/unix/SALOMEconfig.h 
156         -$(RM) config.cache config.log config.status 
157
158 @MODULE@
159
160 install: install-bin install-include install-end
161