]> SALOME platform Git repositories - modules/med.git/blob - Makefile.am
Salome HOME
Join modifications from BR_Dev_For_4_0 tag V4_1_1.
[modules/med.git] / 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 # -* Makefile *- 
20 #
21 # Author : Patrick GOLDBRONN (CEA)
22 # Date : 28/06/2001
23 # $Header$
24 #
25
26 include $(top_srcdir)/adm_local/unix/make_common_starter.am
27
28 SUBDIRS = adm_local 
29
30 if MED_ENABLE_KERNEL
31       SUBDIRS+= idl
32 endif
33
34 SUBDIRS+= src
35
36 if MED_ENABLE_GUI
37       SUBDIRS+= doc
38 endif
39
40 SUBDIRS+= resources bin
41 DIST_SUBDIRS= adm_local adm_local_without_kernel idl src doc resources bin
42
43 DISTCLEANFILES= a.out aclocal.m4 configure 
44
45 EXTRA_DIST+= build_configure clean_configure LICENCE INSTALL README
46
47 dist-hook:
48         rm -rf `find . -name CVS`
49
50 if MED_ENABLE_SSTREAM
51   install-data-local: $(pkgincludedir)/SALOMEconfig.h
52 else !MED_ENABLE_SSTREAM
53   install-data-local: $(pkgincludedir)/SALOMEconfig.h $(pkgincludedir)/sstream $(pkgincludedir)/MED_version.h
54 endif
55
56 $(pkgincludedir)/SALOMEconfig.h: ./salome_adm/unix/SALOMEconfig.h
57         cp -f $^ $(pkgincludedir)
58
59 $(pkgincludedir)/sstream: ./include/salome/sstream
60         cp -f $^ $(pkgincludedir)
61
62 $(pkgincludedir)/MED_version.h: MED_version.h
63         cp -f $^ $(pkgincludedir)