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