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