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