]> SALOME platform Git repositories - modules/med.git/blob - Makefile.in
Salome HOME
Preparation of 3.1.0a2:
[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:${KERNEL_ROOT_DIR}/idl/salome
13
14
15 @COMMENCE@
16
17 SUBDIRS = src
18
19 ifeq ($(MED_WITH_KERNEL),yes)
20       SUBDIRS+= idl
21 endif
22
23 ifeq (@WITHIHM@,yes)
24       SUBDIRS+= doc
25 endif
26
27 RESOURCES_FILES = \
28 MEDCatalog.xml \
29 MED_en.xml \
30 MED.config \
31 Data.png \
32 Infos.png \
33 Structure.png \
34 ModuleMed.png \
35 carre_en_quad4.med \
36 carre_en_quad4_seg2.med \
37 cube_hexa8.med \
38 cube_hexa8_quad4.med \
39 maill.0.med \
40 maillage_UniSegFam.med \
41 mesh.med \
42 pointe.med \
43 test19.med \
44 zzzz121b.med \
45 Mistrat.med \
46 TimeStamps.med \
47 cas_defaut_domaine_fluide.med \
48 polyedres.med \
49 polygones.med \
50 recoll_bord.med \
51 carre_en_quad4_import22.med \
52 carre_en_quad4_seg2_import22.med \
53 cube_hexa8_import22.med \
54 cube_hexa8_quad4_import22.med \
55 maillage_UniSegFam_import22.med \
56 mesh_import22.med \
57 Mistrat_import22.med \
58 pointe_import22.med \
59 TimeStamps_import22.med \
60 poly3D.med \
61 Darcy3_3D_H_10x10x10_2.med \
62 elle_3D_HPr_10x10x10_2.med \
63 elle_3D_HPr_2x2x2_2.med \
64 elle_3D_HPr_4x4x4_2.med \
65 Darcy3_3D_H_10x10x10.sauve \
66 dx200_dy1_avec_2couches.sauve \
67 elle_2D_QT_10x10.sauve \
68 elle_2D_QT_2x2.sauve \
69 elle_2D_QT_40x40.sauve \
70 elle_2D_QT_4x4.sauve \
71 elle_3D_HPr_10x10x10.sauve \
72 elle_3D_HPr_2x2x2.sauve \
73 elle_3D_HPr_4x4x4.sauve \
74 inclusion_2d_raf.sauve \
75 inclusion_2d.sauve \
76 mail_ktest1-3-hexa.sauve \
77 mail_ktest1-3-tetra.sauve \
78 mail_ktest3-1.sauve \
79 mail_ktest3-2.sauve \
80 maillage_andra2_100elts.sauve \
81 maillage_cas2_2d.sauve \
82 maillage_cas4_234elts.sauve \
83 maillage_CHEMVAL_100elts.sauve \
84 maillage_CHEMVAL_40elts.sauve \
85 maillage_chemvalIV_cas1_100elts.sauve \
86 maillage_chemvalIV_cas1_40elts.sauve \
87 mail_test1-1-qua.sauve \
88 mail_test1-1-tri.sauve \
89 mail_test1-2-qua.sauve \
90 mail_test1-2-tri.sauve \
91 mail-test1-4-1.sauve \
92 mail-test1-4-2.sauve \
93 boitenew.inp \
94 Case1.inp \
95 cube.inp \
96 test3.inp \
97 titi.inp \
98 boitenew.cnc \
99 Case1.cnc \
100 cube.cnc \
101 test3.cnc \
102 titi.cnc \
103 boitenew.xyz \
104 Case1.xyz \
105 cube.xyz \
106 test3.xyz \
107 titi.xyz
108
109 BIN_SCRIPT= \
110 VERSION
111
112 LDFLAGS= -L$(top_builddir)/lib/salome 
113 LDFLAGSFORBIN= -L$(top_builddir)/lib/salome
114
115 # copy header files in common directory
116 include_list=include/salome/SALOMEconfig.h
117
118 ifeq ($(HAVE_SSTREAM),no)
119   include_list+=include/salome/sstream
120 endif
121
122 inc: idl $(include_list)
123
124 include/salome/SALOMEconfig.h: salome_adm/unix/SALOMEconfig.ref
125         -$(RM) $@
126         $(LN_S) ../../$< $@
127
128 # test if SALOMEconfig.h has changed (contents)
129 salome_adm/unix/SALOMEconfig.ref: salome_adm/unix/SALOMEconfig.h
130         @if ! [ -a $@ ]; then \
131           cp -p -f $< $@;        \
132         fi;                   \
133         if ! cmp $< $@; then  \
134           cp -p -f $< $@;        \
135         fi;                   \
136
137 include/salome/sstream: salome_adm/unix/sstream
138         -$(RM) $@
139         $(LN_S) ../../$< $@
140
141 depend: depend_idl
142
143 depend_idl:
144         (cd idl ; $(MAKE) $@) || exit 1
145
146 # doc is already build : if you want to had documents, go manually to doc and run 'make doc'
147 #doc:
148 #       (cd doc && $(MAKE) $@) || exit 1
149
150 install-end:
151 # finish libtool install
152 #       @$(LT) --mode=finish $(libdir)
153
154 install-include: $(include_list)
155         $(INSTALL) -d  $(includedir)
156 #       @for f in X $(include_list); do                         \
157 #          if test $$f != X; then                               \
158 #            (cp -p $$f $(includedir) || exit 1);               \
159 #          fi;                                                  \
160         done
161
162 # install script in $(bindir) :
163 install-bin: $(BIN_SCRIPT)
164         $(INSTALL) -d  $(bindir)
165         for f in X $(BIN_SCRIPT); do                            \
166            if test $$f != X; then                               \
167              (cp -p -f ./bin/salome/$$f $(bindir) || exit 1);   \
168            fi;                                                  \
169         done
170
171 uninstall: uninstall-idl
172
173 uninstall-idl:
174         $(RM) $(idldir)/*.idl
175
176 distclean: distclean-other
177
178 distclean-other:
179         -$(RM) salome_adm/unix/*~ salome_adm/unix/*% salome_adm/unix/*.bak salome_adm/unix/*.new salome_adm/unix/*.old
180         -$(RM) salome_adm/unix/make_* 
181         -$(RM) salome_adm/unix/depend salome_adm/unix/SALOMEconfig.h 
182         -$(RM) config.cache config.log config.status 
183
184 @MODULE@
185
186 install: install-bin install-include install-end
187