Salome HOME
Fix a bug. Quadrangles were added as triangles.
[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
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_angle.png \
27 mesh_area.png \
28 mesh_aspect.png \
29 mesh_compute.png \
30 mesh_connectivity.png \
31 mesh_diagonal.png \
32 mesh_edit.png \
33 mesh_hexa_n.png \
34 mesh_hexa.png \
35 mesh_hypo_area.png \
36 mesh_hypo_length.png \
37 mesh_hypo_segment.png \
38 mesh_hypo_volume.png \
39 mesh_info.png \
40 mesh_init.png \
41 mesh_length.png \
42 mesh_line_n.png \
43 mesh_line.png \
44 mesh_move_node.png \
45 mesh_orientation.png \
46 mesh.png \
47 mesh_pyramid_n.png \
48 mesh_pyramid.png \
49 mesh_quad_n.png \
50 mesh_quad.png \
51 mesh_rem_element.png \
52 mesh_rem_node.png \
53 mesh_set_algo.png \
54 mesh_set_hypo.png \
55 mesh_shading.png \
56 mesh_shrink.png \
57 mesh_skew.png \
58 mesh_taper.png \
59 mesh_tetra_n.png \
60 mesh_tetra.png \
61 mesh_tree_algo_hexa.png \
62 mesh_tree_algo_mefisto.png \
63 mesh_tree_algo.png \
64 mesh_tree_algo_quad.png \
65 mesh_tree_algo_regular.png \
66 mesh_tree_hypo_area.png \
67 mesh_tree_hypo_length.png \
68 mesh_tree_hypo.png \
69 mesh_tree_hypo_segment.png \
70 mesh_tree_hypo_volume.png \
71 mesh_tree_mesh.png \
72 mesh_tree_mesh_warn.png \
73 mesh_triangle_n.png \
74 mesh_triangle.png \
75 mesh_update.png \
76 mesh_vertex_n.png \
77 mesh_vertex.png \
78 mesh_wireframe.png \
79 mesh_wrap.png \
80 ModuleMesh.png \
81 select1.png \
82 SMESH_en.xml \
83 SMESHCatalog.xml
84
85 BIN_SCRIPT= \
86 VERSION
87
88 # copy header files in common directory
89 ifeq ($(HAVE_SSTREAM),yes)
90   include_list=include/salome/SALOMEconfig.h
91 else
92   include_list=include/salome/SALOMEconfig.h include/salome/sstream
93 endif
94
95 inc: idl $(include_list)
96
97 include/salome/SALOMEconfig.h: salome_adm/unix/SALOMEconfig.ref
98         -$(RM) $@
99         $(LN_S) ../../$< $@
100
101 # test if SALOMEconfig.h has changed (contents)
102 salome_adm/unix/SALOMEconfig.ref: salome_adm/unix/SALOMEconfig.h
103         @if ! [ -a $@ ]; then \
104           cp -p $< $@;        \
105         fi;                   \
106         if ! cmp $< $@; then  \
107           cp -p $< $@;        \
108         fi;                   \
109
110 include/salome/sstream: salome_adm/unix/sstream
111         -$(RM) $@
112         $(LN_S) ../../$< $@
113
114 depend: depend_idl
115
116 depend_idl:
117         (cd idl ; $(MAKE) $@) || exit 1
118
119 # doc is already build : if you want to had documents, go manually to doc and run 'make doc'
120 #doc:
121 #       (cd doc && $(MAKE) $@) || exit 1
122
123 install-end:
124 # finish libtool install
125 #       @$(LT) --mode=finish $(libdir)
126
127 install-include: $(include_list)
128         $(INSTALL) -d  $(includedir)
129         @for f in X $(include_list); do                         \
130            if test $$f != X; then                               \
131              ($(INSTALL_DATA) $$f $(includedir)/. || exit 1);   \
132            fi;                                                  \
133         done
134
135 # install script in $(bindir) :
136 install-bin: $(BIN_SCRIPT)
137         $(INSTALL) -d  $(bindir)
138         if test $(BIN_SCRIPT)X != X; then                       \
139                 $(INSTALL_PROGRAM) $^ $(bindir);                \
140         fi
141
142 uninstall: uninstall-idl
143
144 uninstall-idl:
145         $(RM) $(idldir)/*.idl
146
147 distclean: distclean-other
148
149 distclean-other:
150         -$(RM) salome_adm/unix/*~ salome_adm/unix/*% salome_adm/unix/*.bak salome_adm/unix/*.new salome_adm/unix/*.old
151         -$(RM) salome_adm/unix/make_* 
152         -$(RM) salome_adm/unix/depend salome_adm/unix/SALOMEconfig.h 
153         -$(RM) config.cache config.log config.status 
154
155 @MODULE@
156
157 install: install-bin install-include install-end
158