Salome HOME
Bug IPAL19893 4.x: debug information is in terminal.
[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         config_appli.xml        \
37         salome.launch           \
38         VERSION
39
40 # These files are executable scripts
41 dist_salomescript_SCRIPTS =             \
42         addToKillList.py                \
43         appli_clean.sh                  \
44         appli_gen.py                    \
45         appli_install.sh                \
46         createAppli.sh                  \
47         envSalome.py                    \
48         killSalome.py                   \
49         killSalomeWithPort.py           \
50         launchConfigureParser.py        \
51         launchSalome.py                 \
52         nameserver.py                   \
53         NSparam.py                      \
54         orbmodule.py                    \
55         runIDLparser                    \
56         runNS.py                        \
57         runNS.sh                        \
58         runSalome                       \
59         runSalome.csh                   \
60         runSalome.ksh                   \
61         runSalome.py                    \
62         salomeConsole.py                \
63         salome_session.py               \
64         salome_utilities.py             \
65         server.py                       \
66         setenv.py                       \
67         showNS.py                       \
68         shutdownSalome.py               \
69         virtual_salome.py               \
70         waitContainers.py               \
71         waitNS.py                       \
72         waitNS.sh
73
74 EXTRA_DIST = appliskel
75
76 dist-hook:
77         rm -rf `find $(distdir)/appliskel -name CVS`
78
79 DISTCLEANFILES = $(top_builddir)/bin/salome/Makefile.am
80
81 # This is an ugly target to avoid exploring the appliskel subdirectory.
82 install-exec-local:
83         $(INSTALL) -d $(DESTDIR)$(salomescriptdir)
84         $(RM) -rf $(DESTDIR)$(salomescriptdir)/appliskel 1> /dev/null 2>&1
85         cp -r $(srcdir)/appliskel $(DESTDIR)$(salomescriptdir)
86         chmod a+x -R $(DESTDIR)$(salomescriptdir)/appliskel
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