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