Salome HOME
195941b705314ed229e048b1dc3f18ae6b4c9892
[modules/kernel.git] / salome_adm / unix / 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
19
20 include $(top_srcdir)/salome_adm/unix/make_common_starter.am
21
22 SUBDIRS = config_files
23
24 DEPRECATED_FILES=\
25         DEPRECATED/F77config.h.in \
26         DEPRECATED/sstream.in \
27         DEPRECATED/envScript.in \
28         DEPRECATED/depend.in \
29         DEPRECATED/make_commence.in \
30         DEPRECATED/make_conclude.in \
31         DEPRECATED/make_module.in \
32         DEPRECATED/make_omniorb.in
33
34 # rules for install and build (see make_common_starter.am)
35 salomeadmux_DATA = SALOMEconfig.h.in
36 BUILT_SOURCES=SALOMEconfig.h SALOMEconfig.h.in
37
38 mostlyclean-local:
39         -rm -rf SALOMEconfig.h SALOMEconfig.h.in
40
41 SALOMEconfig.h.in : SALOMEconfig.ref.in
42         cp -p $< $@;
43
44 # test if SALOMEconfig.ref has changed (contents), at build time
45 SALOMEconfig.h: $(top_builddir)/salome_adm/unix/SALOMEconfig.ref
46         @if ! [ -a $@ ]; then \
47           cp -p $< $@;        \
48         fi;                   \
49         if ! cmp $< $@; then  \
50           cp -p $< $@;        \
51         fi;
52
53 # The deprecated files are deprecated for the KERNEL but not for the
54 # related modules (GUI, MED, ...), for now. Some files have to be installed.
55 dist_salomeadmux_DATA=\
56         pythonbe.py \
57         $(DEPRECATED_FILES)