Salome HOME
add icon for linear<->quadratic mesh conversion
[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 doc adm_local
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_aspect_3d.png \
31 mesh_compute.png \
32 mesh_connectivity.png \
33 mesh_diagonal.png \
34 mesh_edit.png \
35 mesh_hexa_n.png \
36 mesh_hexa.png \
37 mesh_hypo_area.png \
38 mesh_hypo_length.png \
39 mesh_hypo_segment.png \
40 mesh_hypo_volume.png \
41 mesh_hypo_edit.png \
42 mesh_info.png \
43 advanced_mesh_info.png \
44 standard_mesh_info.png \
45 mesh_init.png \
46 mesh_length.png \
47 mesh_length_2d.png \
48 mesh_free_edges.png \
49 mesh_free_edges_2d.png \
50 mesh_multi_edges.png \
51 mesh_multi_edges_2d.png \
52 mesh_line_n.png \
53 mesh_line.png \
54 mesh_move_node.png \
55 mesh_orientation.png \
56 mesh.png \
57 mesh_polygon.png \
58 mesh_polyhedron.png \
59 mesh_pyramid_n.png \
60 mesh_pyramid.png \
61 mesh_quad_n.png \
62 mesh_quad.png \
63 mesh_rem_element.png \
64 mesh_rem_node.png \
65 mesh_set_algo.png \
66 mesh_set_hypo.png \
67 mesh_shading.png \
68 mesh_shrink.png \
69 mesh_skew.png \
70 mesh_taper.png \
71 mesh_tetra_n.png \
72 mesh_tetra.png \
73 mesh_tree_algo_hexa.png \
74 mesh_tree_algo_mefisto.png \
75 mesh_tree_algo.png \
76 mesh_tree_algo_quad.png \
77 mesh_tree_algo_regular.png \
78 mesh_tree_algo_tetra.png \
79 mesh_tree_hypo_area.png \
80 mesh_tree_hypo_length.png \
81 mesh_tree_hypo.png \
82 mesh_tree_hypo_segment.png \
83 mesh_tree_hypo_volume.png \
84 mesh_tree_mesh.png \
85 mesh_tree_importedmesh.png \
86 mesh_tree_mesh_warn.png \
87 mesh_triangle_n.png \
88 mesh_triangle.png \
89 mesh_update.png \
90 mesh_vertex_n.png \
91 mesh_vertex.png \
92 mesh_volume_3d.png \
93 mesh_wireframe.png \
94 mesh_points.png \
95 mesh_wrap.png \
96 mesh_tree_group.png \
97 mesh_edit_group.png \
98 mesh_make_group.png \
99 mesh_union2tri.png \
100 mesh_uniontri.png \
101 mesh_cutquad.png \
102 mesh_smoothing.png \
103 mesh_renumbering_nodes.png \
104 mesh_renumbering_elements.png \
105 mesh_extrusion.png \
106 mesh_extrusionpath.png \
107 mesh_revolution.png \
108 ModuleMesh.png \
109 mesh_unionGroups.png \
110 mesh_intersectGroups.png \
111 mesh_cutGroups.png \
112 mesh_deleteGroups.png \
113 mesh_translation_vector.png \
114 mesh_translation_points.png \
115 mesh_rotation.png \
116 mesh_symmetry_point.png \
117 mesh_symmetry_axis.png \
118 mesh_symmetry_plane.png \
119 mesh_sew_freeborders.png \
120 mesh_sew_conform_freeborders.png \
121 mesh_sew_bordertoside.png \
122 mesh_sew_sideelements.png \
123 mesh_merge_nodes.png \
124 mesh_merge_elements.png \
125 select1.png \
126 SMESH_en.xml \
127 SMESH.config \
128 StdMeshers.xml \
129 SMESHCatalog.xml \
130 SalomeApp.xml \
131 mesh_pattern.png \
132 pattern_sample_2d.png \
133 pattern_sample_3D.png \
134 mesh_add.png \
135 mesh_remove.png \
136 mesh_quad_edge.png \
137 mesh_quad_triangle.png \
138 mesh_quad_quadrangle.png \
139 mesh_quad_tetrahedron.png \
140 mesh_quad_pyramid.png \
141 mesh_quad_pentahedron.png \
142 mesh_quad_hexahedron.png \
143 mesh_conv_to_quad.png
144
145 BIN_SCRIPT= \
146 VERSION
147
148 # copy header files in common directory
149 ifeq ($(HAVE_SSTREAM),yes)
150   include_list=include/salome/SALOMEconfig.h
151 else
152   include_list=include/salome/SALOMEconfig.h include/salome/sstream
153 endif
154
155 inc: idl $(include_list)
156
157 include/salome/SALOMEconfig.h: salome_adm/unix/SALOMEconfig.ref
158         -$(RM) $@
159         $(LN_S) ../../$< $@
160
161 # test if SALOMEconfig.h has changed (contents)
162 salome_adm/unix/SALOMEconfig.ref: salome_adm/unix/SALOMEconfig.h
163         @if ! [ -a $@ ]; then \
164           cp -p -f $< $@;        \
165         fi;                   \
166         if ! cmp $< $@; then  \
167           cp -p -f $< $@;        \
168         fi;                   \
169
170 include/salome/sstream: salome_adm/unix/sstream
171         -$(RM) $@
172         $(LN_S) ../../$< $@
173
174 depend: depend_idl
175
176 depend_idl:
177         (cd idl ; $(MAKE) $@) || exit 1
178
179 # doc is already build : if you want to had documents, go manually to doc and run 'make doc'
180 #doc:
181 #       (cd doc && $(MAKE) $@) || exit 1
182
183 install-end:
184 # finish libtool install
185 #       @$(LT) --mode=finish $(libdir)
186
187 install-include: $(include_list)
188         $(INSTALL) -d  $(includedir)
189         @for f in X $(include_list); do                         \
190            if test $$f != X; then                               \
191              ($(INSTALL_DATA) -p $$f $(includedir)/. || exit 1);        \
192            fi;                                                  \
193         done
194
195 # install script in $(bindir) :
196 install-bin: $(BIN_SCRIPT)
197         $(INSTALL) -d  $(bindir)
198         if test $(BIN_SCRIPT)X != X; then                       \
199                 $(INSTALL_PROGRAM) $^ $(bindir);                \
200         fi
201
202 uninstall: uninstall-idl
203
204 uninstall-idl:
205         $(RM) $(idldir)/*.idl
206
207 distclean: distclean-other
208
209 distclean-other:
210         -$(RM) salome_adm/unix/*~ salome_adm/unix/*% salome_adm/unix/*.bak salome_adm/unix/*.new salome_adm/unix/*.old
211         -$(RM) salome_adm/unix/make_* 
212         -$(RM) salome_adm/unix/depend salome_adm/unix/SALOMEconfig.h 
213         -$(RM) config.cache config.log config.status 
214
215 @MODULE@
216
217 install: install-bin install-include install-end
218