Salome HOME
b2d2a9a5f5dbaf40797c041ae2fef94e40616ec0
[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 salomeinclude_DATA = SALOMEconfig.h
37 BUILT_SOURCES=SALOMEconfig.h SALOMEconfig.h.in
38
39 mostlyclean-local:
40         -rm -rf SALOMEconfig.h SALOMEconfig.h.in
41
42 SALOMEconfig.h.in : SALOMEconfig.ref.in
43         cp -p $< $@;
44
45 # test if SALOMEconfig.ref has changed (contents), at build time
46 SALOMEconfig.h: $(top_builddir)/salome_adm/unix/SALOMEconfig.ref
47         @if ! [ -a $@ ]; then \
48           cp -p $< $@;        \
49         fi;                   \
50         if ! cmp $< $@; then  \
51           cp -p $< $@;        \
52         fi;
53
54 # The deprecated files are deprecated for the KERNEL but not for the
55 # related modules (GUI, MED, ...), for now. Some files have to be installed.
56 dist_salomeadmux_DATA=\
57         $(DEPRECATED_FILES)