]> SALOME platform Git repositories - modules/med.git/blob - Makefile.in
Salome HOME
*** empty log message ***
[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 salome_adm
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 README
28
29
30 # copy header files in common directory
31 ifeq ($(HAVE_SSTREAM),yes)
32   include_list=include/salome/SALOMEconfig.h
33 else
34   include_list=include/salome/SALOMEconfig.h include/salome/sstream
35 endif
36
37 inc: idl $(include_list)
38
39 include/salome/SALOMEconfig.h: salome_adm/unix/SALOMEconfig.h
40         -$(RM) $@
41         $(LN_S) ../../$< $@
42
43 include/salome/sstream: salome_adm/unix/sstream
44         -$(RM) $@
45         $(LN_S) ../../$< $@
46
47 depend: depend_idl
48
49 depend_idl:
50         (cd idl ; $(MAKE) $@) || exit 1
51
52 # doc is already build : if you want to had documents, go manually to doc and run 'make doc'
53 #doc:
54 #       (cd doc && $(MAKE) $@) || exit 1
55
56 install-end:
57 # finish libtool install
58 #       @$(LT) --mode=finish $(libdir)
59
60 install-include: $(include_list)
61         $(INSTALL) -d  $(includedir)
62         @for f in X $(include_list); do                         \
63            if test $$f != X; then                               \
64              ($(INSTALL_DATA) $$f $(includedir)/. || exit 1);   \
65            fi;                                                  \
66         done
67
68 # install script in $(bindir) :
69 install-bin: $(BIN_SCRIPT)
70         $(INSTALL) -d  $(bindir)
71         $(INSTALL_PROGRAM) $^ $(bindir)
72
73 uninstall: uninstall-idl
74
75 uninstall-idl:
76         $(RM) $(idldir)/*.idl
77
78 distclean: distclean-other
79
80 distclean-other:
81         -$(RM) salome_adm/unix/*~ salome_adm/unix/*% salome_adm/unix/*.bak salome_adm/unix/*.new salome_adm/unix/*.old
82         -$(RM) salome_adm/unix/make_* 
83         -$(RM) salome_adm/unix/depend salome_adm/unix/SALOMEconfig.h 
84         -$(RM) config.cache config.log config.status 
85
86 @MODULE@
87
88 install: install-bin install-include install-end
89