Salome HOME
Merge with version on tag OCC-V2_1_0d
[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_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_free_edges.png \
44 mesh_multi_edges.png \
45 mesh_line_n.png \
46 mesh_line.png \
47 mesh_move_node.png \
48 mesh_orientation.png \
49 mesh.png \
50 mesh_pyramid_n.png \
51 mesh_pyramid.png \
52 mesh_quad_n.png \
53 mesh_quad.png \
54 mesh_rem_element.png \
55 mesh_rem_node.png \
56 mesh_set_algo.png \
57 mesh_set_hypo.png \
58 mesh_shading.png \
59 mesh_shrink.png \
60 mesh_skew.png \
61 mesh_taper.png \
62 mesh_tetra_n.png \
63 mesh_tetra.png \
64 mesh_tree_algo_hexa.png \
65 mesh_tree_algo_mefisto.png \
66 mesh_tree_algo.png \
67 mesh_tree_algo_quad.png \
68 mesh_tree_algo_regular.png \
69 mesh_tree_algo_tetra.png \
70 mesh_tree_hypo_area.png \
71 mesh_tree_hypo_length.png \
72 mesh_tree_hypo.png \
73 mesh_tree_hypo_segment.png \
74 mesh_tree_hypo_volume.png \
75 mesh_tree_mesh.png \
76 mesh_tree_importedmesh.png \
77 mesh_tree_mesh_warn.png \
78 mesh_triangle_n.png \
79 mesh_triangle.png \
80 mesh_update.png \
81 mesh_vertex_n.png \
82 mesh_vertex.png \
83 mesh_wireframe.png \
84 mesh_points.png \
85 mesh_wrap.png \
86 mesh_tree_group.png \
87 mesh_edit_group.png \
88 mesh_make_group.png \
89 mesh_union2tri.png \
90 mesh_uniontri.png \
91 mesh_cutquad.png \
92 mesh_smoothing.png \
93 mesh_renumbering_nodes.png \
94 mesh_renumbering_elements.png \
95 mesh_extrusion.png \
96 mesh_revolution.png \
97 ModuleMesh.png \
98 mesh_unionGroups.png \
99 mesh_intersectGroups.png \
100 mesh_cutGroups.png \
101 mesh_deleteGroups.png \
102 mesh_translation_vector.png \
103 mesh_translation_points.png \
104 mesh_rotation.png \
105 mesh_symmetry_point.png \
106 mesh_symmetry_axis.png \
107 mesh_symmetry_plane.png \
108 mesh_sew_freeborders.png \
109 mesh_sew_conform_freeborders.png \
110 mesh_sew_bordertoside.png \
111 mesh_sew_sideelements.png \
112 mesh_merge_nodes.png \
113 select1.png \
114 SMESH_en.xml \
115 SMESH.config \
116 StdMeshers.xml \
117 SMESHCatalog.xml \
118 flight_solid.brep \
119 mesh_pattern.png \
120 pattern_sample_2d.png \
121 pattern_sample_3D.png
122
123 BIN_SCRIPT= \
124 VERSION
125
126 # copy header files in common directory
127 ifeq ($(HAVE_SSTREAM),yes)
128   include_list=include/salome/SALOMEconfig.h
129 else
130   include_list=include/salome/SALOMEconfig.h include/salome/sstream
131 endif
132
133 inc: idl $(include_list)
134
135 include/salome/SALOMEconfig.h: salome_adm/unix/SALOMEconfig.ref
136         -$(RM) $@
137         $(LN_S) ../../$< $@
138
139 # test if SALOMEconfig.h has changed (contents)
140 salome_adm/unix/SALOMEconfig.ref: salome_adm/unix/SALOMEconfig.h
141         @if ! [ -a $@ ]; then \
142           cp -p -f $< $@;        \
143         fi;                   \
144         if ! cmp $< $@; then  \
145           cp -p -f $< $@;        \
146         fi;                   \
147
148 include/salome/sstream: salome_adm/unix/sstream
149         -$(RM) $@
150         $(LN_S) ../../$< $@
151
152 depend: depend_idl
153
154 depend_idl:
155         (cd idl ; $(MAKE) $@) || exit 1
156
157 # doc is already build : if you want to had documents, go manually to doc and run 'make doc'
158 #doc:
159 #       (cd doc && $(MAKE) $@) || exit 1
160
161 install-end:
162 # finish libtool install
163 #       @$(LT) --mode=finish $(libdir)
164
165 install-include: $(include_list)
166         $(INSTALL) -d  $(includedir)
167         @for f in X $(include_list); do                         \
168            if test $$f != X; then                               \
169              ($(INSTALL_DATA) -p $$f $(includedir)/. || exit 1);        \
170            fi;                                                  \
171         done
172
173 # install script in $(bindir) :
174 install-bin: $(BIN_SCRIPT)
175         $(INSTALL) -d  $(bindir)
176         if test $(BIN_SCRIPT)X != X; then                       \
177                 $(INSTALL_PROGRAM) $^ $(bindir);                \
178         fi
179
180 uninstall: uninstall-idl
181
182 uninstall-idl:
183         $(RM) $(idldir)/*.idl
184
185 distclean: distclean-other
186
187 distclean-other:
188         -$(RM) salome_adm/unix/*~ salome_adm/unix/*% salome_adm/unix/*.bak salome_adm/unix/*.new salome_adm/unix/*.old
189         -$(RM) salome_adm/unix/make_* 
190         -$(RM) salome_adm/unix/depend salome_adm/unix/SALOMEconfig.h 
191         -$(RM) config.cache config.log config.status 
192
193 @MODULE@
194
195 install: install-bin install-include install-end
196