]> SALOME platform Git repositories - modules/med.git/blob - Makefile.in
Salome HOME
Version compilable de MED (sans MEDGUI).
[modules/med.git] / Makefile.in
1 # -* Makefile *- 
2 #
3 # Author : Patrick GOLDBRONN (CEA)
4 # Date : 28/06/2001
5 # $Header$
6 #
7
8 # source path
9 top_srcdir=@top_srcdir@
10 top_builddir=.
11 srcdir=@srcdir@
12 VPATH=.:@srcdir@:@top_srcdir@/bin:@top_srcdir@/resources:./bin:@top_srcdir@/idl
13
14
15 @COMMENCE@
16
17 SUBDIRS = idl src
18
19 RESOURCES_FILES = \
20 Med_en.xml \
21 Data.png \
22 Infos.png \
23 Structure.png \
24 ModuleMed.png
25
26 BIN_SCRIPT=
27
28
29 # copy header files in common directory
30 ifeq ($(HAVE_SSTREAM),yes)
31   include_list=include/salome/SALOMEconfig.h
32 else
33   include_list=include/salome/SALOMEconfig.h include/salome/sstream
34 endif
35
36 inc: idl $(include_list)
37
38 include/salome/SALOMEconfig.h: salome_adm/unix/SALOMEconfig.h
39         -$(RM) $@
40         $(LN_S) ../../$< $@
41
42 include/salome/sstream: salome_adm/unix/sstream
43         -$(RM) $@
44         $(LN_S) ../../$< $@
45
46 depend: depend_idl
47
48 depend_idl:
49         (cd idl ; $(MAKE) $@) || exit 1
50
51 # doc is already build : if you want to had documents, go manually to doc and run 'make doc'
52 #doc:
53 #       (cd doc && $(MAKE) $@) || exit 1
54
55 install-end:
56 # finish libtool install
57 #       @$(LT) --mode=finish $(libdir)
58
59 install-include: $(include_list)
60         $(INSTALL) -d  $(includedir)
61         @for f in X $(include_list); do                         \
62            if test $$f != X; then                               \
63              ($(INSTALL_DATA) $$f $(includedir)/. || exit 1);   \
64            fi;                                                  \
65         done
66
67 # install script in $(bindir) :
68 install-bin: $(BIN_SCRIPT)
69         $(INSTALL) -d  $(bindir)
70         if test $(BIN_SCRIPT)X != X; then                       \
71                 $(INSTALL_PROGRAM) $^ $(bindir);                \
72         fi
73
74 uninstall: uninstall-idl
75
76 uninstall-idl:
77         $(RM) $(idldir)/*.idl
78
79 distclean: distclean-other
80
81 distclean-other:
82         -$(RM) salome_adm/unix/*~ salome_adm/unix/*% salome_adm/unix/*.bak salome_adm/unix/*.new salome_adm/unix/*.old
83         -$(RM) salome_adm/unix/make_* 
84         -$(RM) salome_adm/unix/depend salome_adm/unix/SALOMEconfig.h 
85         -$(RM) config.cache config.log config.status 
86
87 @MODULE@
88
89 install: install-bin install-include install-end
90