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