Salome HOME
Fix n.3 of hack_libtool utility to workaround problems on some Linux configurations
[modules/kernel.git] / salome_adm / unix / Makefile.am
1 #  Copyright (C) 2007-2010  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
23 include $(top_srcdir)/salome_adm/unix/make_common_starter.am
24
25 SUBDIRS = config_files
26
27 DEPRECATED_FILES=\
28         DEPRECATED/F77config.h.in \
29         DEPRECATED/sstream.in \
30         DEPRECATED/envScript.in \
31         DEPRECATED/depend.in \
32         DEPRECATED/make_commence.in \
33         DEPRECATED/make_conclude.in \
34         DEPRECATED/make_module.in \
35         DEPRECATED/make_omniorb.in
36
37 # rules for install and build (see make_common_starter.am)
38 salomeadmux_DATA = SALOMEconfig.h.in
39 salomeinclude_DATA = SALOMEconfig.h
40 BUILT_SOURCES=SALOMEconfig.ref SALOMEconfig.h SALOMEconfig.h.in
41
42 mostlyclean-local:
43         -rm -rf SALOMEconfig.h SALOMEconfig.h.in
44
45 SALOMEconfig.h.in : SALOMEconfig.ref.in
46         cp -pf $< $@;
47
48 # test if SALOMEconfig.ref has changed (contents), at build time
49 SALOMEconfig.h: $(top_builddir)/salome_adm/unix/SALOMEconfig.ref
50         @if ! [ -a $@ ]; then    \
51           echo cp -pf $< $@;     \
52           cp -pf $< $@;          \
53         fi;                      \
54         if ! cmp -s $< $@; then  \
55           echo cp -pf $< $@;     \
56           cp -pf $< $@;          \
57         fi;
58
59 # The deprecated files are deprecated for the KERNEL but not for the
60 # related modules (GUI, MED, ...), for now. Some files have to be installed.
61 dist_salomeadmux_DATA=\
62         $(DEPRECATED_FILES)