Salome HOME
Provide VISU examples
[modules/visu.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:${KERNEL_ROOT_DIR}/idl/salome
13
14
15 @COMMENCE@
16
17 SUBDIRS = idl src examples doc
18
19 RESOURCES_FILES = \
20 ModuleVisu.png \
21 Visu_anim.png \
22 Visu_cutplane.png \
23 Visu_cutlines.png \
24 Visu_deformed.png \
25 Visu_deformed_anim.png \
26 Visu_eraseall.png \
27 Visu_isosurfaces.png \
28 Visu_plot2d.png \
29 Visu_plot3d.png \
30 Visu_points.png \
31 Visu_sameas.png \
32 Visu_scalars.png \
33 Visu_scalars_anim.png \
34 Visu_selectall.png \
35 Visu_selectionactor.png \
36 Visu_selectioncell.png \
37 Visu_selectionedge.png \
38 Visu_selectionpoint.png \
39 Visu_selectonly.png \
40 Visu_surface.png \
41 Visu_vectors.png \
42 Visu_wireframe.png \
43 Visu_scaling.png \
44 VISU_en.xml \
45 VISU_fr.xml \
46 VISU.config \
47 VISUCatalog.xml \
48 Visu_tree_visu.png \
49 Visu_streamlines.png
50
51 BIN_SCRIPT= \
52 VERSION
53
54
55 # copy header files in common directory
56 ifeq ($(HAVE_SSTREAM),yes)
57   include_list=include/salome/SALOMEconfig.h
58 else
59   include_list=include/salome/SALOMEconfig.h include/salome/sstream
60 endif
61
62 inc: idl $(include_list)
63
64 include/salome/SALOMEconfig.h: salome_adm/unix/SALOMEconfig.ref
65         -$(RM) $@
66         $(LN_S) ../../$< $@
67
68 # test if SALOMEconfig.h has changed (contents)
69 salome_adm/unix/SALOMEconfig.ref: salome_adm/unix/SALOMEconfig.h
70         @if ! [ -a $@ ]; then \
71           cp -p -f $< $@;        \
72         fi;                   \
73         if ! cmp $< $@; then  \
74           cp -p -f $< $@;        \
75         fi;                   \
76
77 include/salome/sstream: salome_adm/unix/sstream
78         -$(RM) $@
79         $(LN_S) ../../$< $@
80
81 depend: depend_idl
82
83 depend_idl:
84         (cd idl ; $(MAKE) $@) || exit 1
85
86 # doc is already build : if you want to had documents, go manually to doc and run 'make doc'
87 #doc:
88 #       (cd doc && $(MAKE) $@) || exit 1
89
90 install-end:
91 # finish libtool install
92 #       @$(LT) --mode=finish $(libdir)
93
94 install-include: $(include_list)
95         $(INSTALL) -d  $(includedir)
96         @for f in X $(include_list); do                         \
97            if test $$f != X; then                               \
98              ($(INSTALL_DATA) -p $$f $(includedir)/. || exit 1);        \
99            fi;                                                  \
100         done
101
102 # install script in $(bindir) :
103 install-bin: $(BIN_SCRIPT)
104         $(INSTALL) -d  $(bindir)
105         if test $(BIN_SCRIPT)X != X; then                       \
106                 $(INSTALL_PROGRAM) $^ $(bindir);                \
107         fi
108
109 uninstall: uninstall-idl
110
111 uninstall-idl:
112         $(RM) $(idldir)/*.idl
113
114 distclean: distclean-other
115
116 distclean-other:
117         -$(RM) salome_adm/unix/*~ salome_adm/unix/*% salome_adm/unix/*.bak salome_adm/unix/*.new salome_adm/unix/*.old
118         -$(RM) salome_adm/unix/make_* 
119         -$(RM) salome_adm/unix/depend salome_adm/unix/SALOMEconfig.h 
120         -$(RM) config.cache config.log config.status 
121
122 @MODULE@
123
124 install: install-bin install-include install-end
125