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