Salome HOME
NRI : Temporary modification for reading catalog of modules.
[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 Resources \
87 SALOMEDS_Resources
88
89 BIN_SCRIPT= \
90 README \
91 allkill \
92 allkillWithPort \
93 insertComputerRessourcesCatalog.sh \
94 runClientDataTypeCatalog \
95 runClientModuleCatalog \
96 runClientRessourcesCatalog \
97 runDataTypeCatalog \
98 runModuleCatalog \
99 runNS.sh \
100 runNSWithPort.sh \
101 runRessourcesCatalog \
102 runSALOMEDS_Client \
103 runSalome \
104 runIDLparser \
105 runSalomeWithPort \
106 runSalomeServers \
107 runSalomeDesktop \
108 runSession \
109 runLoader \
110 runTestContainer \
111 runTestContainerPy2 \
112 runTestContainerPy \
113 runTestLifeCycle \
114 runTestMED \
115 runTestNotification \
116 showNS \
117 VERSION
118 #SuperVision.py
119
120 # copy header files in common directory
121 ifeq ($(HAVE_SSTREAM),yes)
122   include_list=include/salome/SALOMEconfig.h
123 else
124   include_list=include/salome/SALOMEconfig.h include/salome/sstream
125 endif
126
127 inc: idl $(include_list)
128
129 include/salome/SALOMEconfig.h: salome_adm/unix/SALOMEconfig.h
130         -$(RM) $@
131         $(LN_S) ../../$< $@
132
133 include/salome/sstream: salome_adm/unix/sstream
134         -$(RM) $@
135         $(LN_S) ../../$< $@
136
137 depend: depend_idl
138
139 depend_idl:
140         (cd idl ; $(MAKE) $@) || exit 1
141
142 # doc is already build : if you want to had documents, go manually to doc and run 'make doc'
143 #doc:
144 #       (cd doc && $(MAKE) $@) || exit 1
145
146 install-end:
147 # finish libtool install
148 #       @$(LT) --mode=finish $(libdir)
149
150 install-include: $(include_list)
151         $(INSTALL) -d  $(includedir)
152         @for f in X $(include_list); do                         \
153            if test $$f != X; then                               \
154              ($(INSTALL_DATA) $$f $(includedir)/. || exit 1);   \
155            fi;                                                  \
156         done
157
158 # install script in $(bindir) :
159 install-bin: $(BIN_SCRIPT)
160         $(INSTALL) -d  $(bindir)
161         $(INSTALL_PROGRAM) $^ $(bindir)
162
163 uninstall: uninstall-idl
164
165 uninstall-idl:
166         $(RM) $(idldir)/*.idl
167
168 distclean: distclean-other
169
170 distclean-other:
171         -$(RM) salome_adm/unix/*~ salome_adm/unix/*% salome_adm/unix/*.bak salome_adm/unix/*.new salome_adm/unix/*.old
172         -$(RM) salome_adm/unix/make_* 
173         -$(RM) salome_adm/unix/depend salome_adm/unix/SALOMEconfig.h 
174         -$(RM) config.cache config.log config.status 
175
176 @MODULE@
177
178 install: install-bin install-include install-end
179