Salome HOME
be3533864350b81064cdad3500f315d13a11752d
[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.h
98         -$(RM) $@
99         $(LN_S) ../../$< $@
100
101 include/salome/sstream: salome_adm/unix/sstream
102         -$(RM) $@
103         $(LN_S) ../../$< $@
104
105 depend: depend_idl
106
107 depend_idl:
108         (cd idl ; $(MAKE) $@) || exit 1
109
110 # doc is already build : if you want to had documents, go manually to doc and run 'make doc'
111 #doc:
112 #       (cd doc && $(MAKE) $@) || exit 1
113
114 install-end:
115 # finish libtool install
116 #       @$(LT) --mode=finish $(libdir)
117
118 install-include: $(include_list)
119         $(INSTALL) -d  $(includedir)
120         @for f in X $(include_list); do                         \
121            if test $$f != X; then                               \
122              ($(INSTALL_DATA) $$f $(includedir)/. || exit 1);   \
123            fi;                                                  \
124         done
125
126 # install script in $(bindir) :
127 install-bin: $(BIN_SCRIPT)
128         $(INSTALL) -d  $(bindir)
129         if test $(BIN_SCRIPT)X != X; then                       \
130                 $(INSTALL_PROGRAM) $^ $(bindir);                \
131         fi
132
133 uninstall: uninstall-idl
134
135 uninstall-idl:
136         $(RM) $(idldir)/*.idl
137
138 distclean: distclean-other
139
140 distclean-other:
141         -$(RM) salome_adm/unix/*~ salome_adm/unix/*% salome_adm/unix/*.bak salome_adm/unix/*.new salome_adm/unix/*.old
142         -$(RM) salome_adm/unix/make_* 
143         -$(RM) salome_adm/unix/depend salome_adm/unix/SALOMEconfig.h 
144         -$(RM) config.cache config.log config.status 
145
146 @MODULE@
147
148 install: install-bin install-include install-end
149