Salome HOME
Corrected Look and Feel properties for CubeAxes
[modules/kernel.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:./bin/salome:@top_srcdir@/resources:./bin:@top_srcdir@/idl
13
14
15 @COMMENCE@
16
17 SUBDIRS = idl src examples doc salome_adm
18
19 RESOURCES_FILES = \
20 back.xpm \
21 cascade.png \
22 CatalogDataType.xml \
23 KERNELCatalog.xml \
24 CatalogResources.xml \
25 CatalogRessources.xml \
26 close.png \
27 config \
28 default.png \
29 dl_delete.png \
30 dl_insert.png \
31 dl_moveup.png \
32 dl_movedown.png \
33 forward.xpm \
34 help.png \
35 home.xpm \
36 new.png \
37 open.png \
38 print.png \
39 redo.png \
40 reset.png \
41 Application-Logo.png \
42 Application-Splash.png \
43 Application-About.png \
44 save.png \
45 select1.png \
46 tile.png \
47 Tools_en.xml \
48 undo.png \
49 view_back.png \
50 view_bottom.png \
51 view_camera_dump.png \
52 view_fitall.png \
53 view_fitarea.png \
54 view_front.png \
55 view_glpan.png \
56 view_left.png \
57 view_pan.png \
58 view_reset.png \
59 view_right.png \
60 view_rotate.png \
61 view_top.png \
62 view_triedre.png \
63 view_zoom.png \
64 copy.png \
65 paste.png \
66 plot2d_dump.png \
67 plot2d_fitall.png \
68 plot2d_fitarea.png \
69 plot2d_legend.png \
70 plot2d_linear.png \
71 plot2d_linear_y.png \
72 plot2d_lines.png \
73 plot2d_log.png \
74 plot2d_log_y.png \
75 plot2d_pan.png \
76 plot2d_points.png \
77 plot2d_settings.png \
78 plot2d_splines.png \
79 plot2d_zoom.png \
80 uc_add.png \
81 uc_current.png \
82 uc_del.png \
83 uc_new.png \
84 uc_clear.png \
85 channel.cfg \
86 Plugin \
87 SALOMEDS_Resources
88
89 BIN_SCRIPT= \
90 runIDLparser \
91 VERSION \
92 orbmodule.py \
93 runSalome.py \
94 killSalome.py \
95 killSalomeWithPort.py \
96 runSalome \
97 runSalome.csh \
98 runNS.sh \
99 launchConfigureParser.py \
100 salome.launch \
101 envSalome.py \
102 salomeConsole.py \
103 showNS.py
104
105 # copy header files in common directory
106 OWN_CONFIG_H=@OWN_CONFIG_H@
107
108 ifeq ($(OWN_CONFIG_H),yes)
109     ifeq ($(HAVE_SSTREAM),yes)
110         include_list=include/salome/SALOMEconfig.h include/salome/config.h
111     else
112         include_list=include/salome/SALOMEconfig.h include/salome/config.h include/salome/sstream
113     endif
114 else
115     ifeq ($(HAVE_SSTREAM),yes)
116         include_list=include/salome/SALOMEconfig.h
117     else
118         include_list=include/salome/SALOMEconfig.h include/salome/sstream
119     endif
120 endif
121
122 inc: idl $(include_list)
123
124 include/salome/SALOMEconfig.h: salome_adm/unix/SALOMEconfig.ref
125         -$(RM) $@
126         $(LN_S) ../../$< $@
127
128 # test if SALOMEconfig.h has changed (contents)
129 salome_adm/unix/SALOMEconfig.ref: salome_adm/unix/SALOMEconfig.h
130         @if ! [ -a $@ ]; then \
131           cp -p $< $@;        \
132         fi;                   \
133         if ! cmp $< $@; then  \
134           cp -p $< $@;        \
135         fi;                   \
136
137 include/salome/config.h: salome_adm/unix/config.h
138         -$(RM) $@
139         $(LN_S) ../../$< $@
140
141 include/salome/sstream: salome_adm/unix/sstream
142         -$(RM) $@
143         $(LN_S) ../../$< $@
144
145 depend: depend_idl
146
147 depend_idl:
148         (cd idl ; $(MAKE) $@) || exit 1
149
150 # doc is already build : if you want to had documents, go manually to doc and run 'make doc'
151 #doc:
152 #       (cd doc && $(MAKE) $@) || exit 1
153
154 # Install make_commence make_conclude ... for other modules
155 install-make:
156         ($(INSTALL) -d  $(incmakedir) || exit 1);
157         (sed 's/^prefix=/#prefix=/' $(top_builddir)/salome_adm/unix/make_commence > $(incmakedir)/make_commence || exit 1);
158         (sed 's/^prefix=/#prefix=/' $(top_builddir)/salome_adm/unix/make_conclude > $(incmakedir)/make_conclude || exit 1);
159
160
161 install-end:
162 # finish libtool install
163 #       @$(LT) --mode=finish $(libdir)
164
165 install-include: $(include_list)
166         $(INSTALL) -d  $(includedir)
167         @for f in X $(include_list); do                         \
168            if test $$f != X; then                               \
169              (cp -p $$f $(includedir) || exit 1);               \
170            fi;                                                  \
171         done
172
173 # install script in $(bindir) :
174 install-bin: $(BIN_SCRIPT)
175         $(INSTALL) -d  $(bindir)
176         $(INSTALL_PROGRAM) $^ $(bindir)
177
178 uninstall: uninstall-idl
179
180 uninstall-idl:
181         $(RM) $(idldir)/*.idl
182
183 distclean: distclean-other
184
185 distclean-other:
186         -$(RM) salome_adm/unix/*~ salome_adm/unix/*% salome_adm/unix/*.bak salome_adm/unix/*.new salome_adm/unix/*.old
187         -$(RM) salome_adm/unix/make_* 
188         -$(RM) salome_adm/unix/depend salome_adm/unix/SALOMEconfig.h salome_adm/unix/config.h 
189         -$(RM) config.cache config.log config.status 
190
191 @MODULE@
192
193 install: install-bin install-include install-make install-end
194