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