Salome HOME
Join modifications from branch OCC_development_for_3_2_0a2
[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 mesh_pattern.png \
131 pattern_sample_2d.png \
132 pattern_sample_3D.png \
133 mesh_add.png \
134 mesh_remove.png \
135 mesh_quad_edge.png \
136 mesh_quad_triangle.png \
137 mesh_quad_quadrangle.png \
138 mesh_quad_tetrahedron.png \
139 mesh_quad_pyramid.png \
140 mesh_quad_pentahedron.png \
141 mesh_quad_hexahedron.png
142
143 BIN_SCRIPT= \
144 VERSION
145
146 # copy header files in common directory
147 ifeq ($(HAVE_SSTREAM),yes)
148   include_list=include/salome/SALOMEconfig.h
149 else
150   include_list=include/salome/SALOMEconfig.h include/salome/sstream
151 endif
152
153 inc: idl $(include_list)
154
155 include/salome/SALOMEconfig.h: salome_adm/unix/SALOMEconfig.ref
156         -$(RM) $@
157         $(LN_S) ../../$< $@
158
159 # test if SALOMEconfig.h has changed (contents)
160 salome_adm/unix/SALOMEconfig.ref: salome_adm/unix/SALOMEconfig.h
161         @if ! [ -a $@ ]; then \
162           cp -p -f $< $@;        \
163         fi;                   \
164         if ! cmp $< $@; then  \
165           cp -p -f $< $@;        \
166         fi;                   \
167
168 include/salome/sstream: salome_adm/unix/sstream
169         -$(RM) $@
170         $(LN_S) ../../$< $@
171
172 depend: depend_idl
173
174 depend_idl:
175         (cd idl ; $(MAKE) $@) || exit 1
176
177 # doc is already build : if you want to had documents, go manually to doc and run 'make doc'
178 #doc:
179 #       (cd doc && $(MAKE) $@) || exit 1
180
181 install-end:
182 # finish libtool install
183 #       @$(LT) --mode=finish $(libdir)
184
185 install-include: $(include_list)
186         $(INSTALL) -d  $(includedir)
187         @for f in X $(include_list); do                         \
188            if test $$f != X; then                               \
189              ($(INSTALL_DATA) -p $$f $(includedir)/. || exit 1);        \
190            fi;                                                  \
191         done
192
193 # install script in $(bindir) :
194 install-bin: $(BIN_SCRIPT)
195         $(INSTALL) -d  $(bindir)
196         if test $(BIN_SCRIPT)X != X; then                       \
197                 $(INSTALL_PROGRAM) $^ $(bindir);                \
198         fi
199
200 uninstall: uninstall-idl
201
202 uninstall-idl:
203         $(RM) $(idldir)/*.idl
204
205 distclean: distclean-other
206
207 distclean-other:
208         -$(RM) salome_adm/unix/*~ salome_adm/unix/*% salome_adm/unix/*.bak salome_adm/unix/*.new salome_adm/unix/*.old
209         -$(RM) salome_adm/unix/make_* 
210         -$(RM) salome_adm/unix/depend salome_adm/unix/SALOMEconfig.h 
211         -$(RM) config.cache config.log config.status 
212
213 @MODULE@
214
215 install: install-bin install-include install-end
216