Salome HOME
Calcium and Palm ok
[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
62 EXTRA_DIST = appliskel
63
64 dist-hook:
65         rm -rf `find $(distdir)/appliskel -name CVS`
66
67 DISTCLEANFILES = $(top_builddir)/bin/@PACKAGE@/Makefile.am
68
69 clean-local:
70         rm -rf $(top_builddir)/bin/@PACKAGE@/appliskel
71         cd $(top_builddir)/bin/@PACKAGE@; \
72         rm -f $(dist_salomescript_DATA) $(dist_salomescript_SCRIPTS)
73
74 # This is an ugly target to avoid exploring the appliskel subdirectory.
75 install-exec-local:
76         $(INSTALL) -d $(salomescriptdir)
77         $(RM) -rf $(salomescriptdir)/appliskel 1> /dev/null 2>&1
78         cp -r $(srcdir)/appliskel $(salomescriptdir)
79         find $(salomescriptdir) -name CVS -prune -exec rm -rf {} \;
80
81 uninstall-local:
82         find $(salomescriptdir)/appliskel -exec chmod +w {} \;
83         rm -rf $(salomescriptdir)/appliskel