Salome HOME
Improve SALOME logger: customize log file name (add port, user and host ids) to avoid...
[modules/kernel.git] / bin / Makefile.am
1 # Copyright (C) 2005  OPEN CASCADE, CEA, EDF R&D, LEG
2 #           PRINCIPIA R&D, EADS CCR, Lip6, BV, CEDRAT
3 # This library is free software; you can redistribute it and/or
4 # modify it under the terms of the GNU Lesser General Public
5 # License as published by the Free Software Foundation; either 
6 # version 2.1 of the License.
7
8 # This library is distributed in the hope that it will be useful 
9 # but WITHOUT ANY WARRANTY; without even the implied warranty of 
10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
11 # Lesser General Public License for more details.
12
13 # You should have received a copy of the GNU Lesser General Public  
14 # License along with this library; if not, write to the Free Software 
15 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
16
17 # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
18 # -* Makefile *- 
19 #
20 # Author : Guillaume Boulant (CSSI)
21 # Module : KERNEL
22 # $Header$
23 #
24
25
26 include $(top_srcdir)/salome_adm/unix/make_common_starter.am
27
28 #
29 # ===============================================================
30 # Files to be installed
31 # ===============================================================
32 #
33
34 # These files are data, module or lib files
35 dist_salomescript_DATA= \
36         VERSION \
37         orbmodule.py \
38         salomeConsole.py \
39         salome_session.py
40
41 # These files are executable scripts
42 dist_salomescript_SCRIPTS=\
43         envSalome.py \
44         runIDLparser \
45         runSalome.py \
46         killSalome.py \
47         killSalomeWithPort.py \
48         runSalome \
49         runSalome.csh \
50         runNS.sh \
51         createAppli.sh \
52         appli_install.sh \
53         appli_clean.sh \
54         appli_gen.py \
55         virtual_salome.py \
56         config_appli.xml \
57         launchConfigureParser.py \
58         showNS.py \
59         addToKillList.py \
60         NSparam.py \
61         setenv.py \
62         launchSalome.py \
63         nameserver.py \
64         server.py \
65         waitNS.sh \
66         waitNS.py \
67         waitContainers.py \
68         shutdownSalome.py
69
70 EXTRA_DIST = appliskel
71
72 dist-hook:
73         rm -rf `find $(distdir)/appliskel -name CVS`
74
75 DISTCLEANFILES = $(top_builddir)/bin/salome/Makefile.am
76
77 clean-local:
78         rm -rf $(top_builddir)/bin/salome/appliskel
79         cd $(top_builddir)/bin/salome; \
80         rm -f $(dist_salomescript_DATA) $(dist_salomescript_SCRIPTS)
81
82 # This is an ugly target to avoid exploring the appliskel subdirectory.
83 install-exec-local:
84         $(INSTALL) -d $(DESTDIR)$(salomescriptdir)
85         $(RM) -rf $(DESTDIR)$(salomescriptdir)/appliskel 1> /dev/null 2>&1
86         cp -r $(srcdir)/appliskel $(DESTDIR)$(salomescriptdir)
87         find $(DESTDIR)$(salomescriptdir) -name CVS -prune -exec rm -rf {} \;
88
89 uninstall-local:
90         if test -d $(DESTDIR)$(salomescriptdir)/appliskel; then \
91           find $(DESTDIR)$(salomescriptdir)/appliskel -exec chmod +w {} ';' ; \
92     rm -rf $(DESTDIR)$(salomescriptdir)/appliskel; \
93   fi;
94