]> SALOME platform Git repositories - modules/med.git/blob - Makefile.in
Salome HOME
Update version to 3.2.0a1
[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 test_2D.med \
66 Darcy3_3D_H_10x10x10.sauve \
67 dx200_dy1_avec_2couches.sauve \
68 elle_2D_QT_10x10.sauve \
69 elle_2D_QT_2x2.sauve \
70 elle_2D_QT_40x40.sauve \
71 elle_2D_QT_4x4.sauve \
72 elle_3D_HPr_10x10x10.sauve \
73 elle_3D_HPr_2x2x2.sauve \
74 elle_3D_HPr_4x4x4.sauve \
75 inclusion_2d_raf.sauve \
76 inclusion_2d.sauve \
77 mail_ktest1-3-hexa.sauve \
78 mail_ktest1-3-tetra.sauve \
79 mail_ktest3-1.sauve \
80 mail_ktest3-2.sauve \
81 maillage_andra2_100elts.sauve \
82 maillage_cas2_2d.sauve \
83 maillage_cas4_234elts.sauve \
84 maillage_CHEMVAL_100elts.sauve \
85 maillage_CHEMVAL_40elts.sauve \
86 maillage_chemvalIV_cas1_100elts.sauve \
87 maillage_chemvalIV_cas1_40elts.sauve \
88 mail_test1-1-qua.sauve \
89 mail_test1-1-tri.sauve \
90 mail_test1-2-qua.sauve \
91 mail_test1-2-tri.sauve \
92 mail-test1-4-1.sauve \
93 mail-test1-4-2.sauve \
94 boitenew.inp \
95 Case1.inp \
96 cube.inp \
97 test3.inp \
98 titi.inp \
99 boitenew.cnc \
100 Case1.cnc \
101 cube.cnc \
102 test3.cnc \
103 titi.cnc \
104 boitenew.xyz \
105 Case1.xyz \
106 cube.xyz \
107 test3.xyz \
108 titi.xyz
109
110 BIN_SCRIPT= \
111 VERSION
112
113 LDFLAGS= -L$(top_builddir)/lib/salome 
114 LDFLAGSFORBIN= -L$(top_builddir)/lib/salome
115
116 # copy header files in common directory
117 include_list=include/salome/SALOMEconfig.h
118
119 ifeq ($(HAVE_SSTREAM),no)
120   include_list+=include/salome/sstream
121 endif
122
123 inc: idl $(include_list)
124
125 include/salome/SALOMEconfig.h: salome_adm/unix/SALOMEconfig.ref
126         -$(RM) $@
127         $(LN_S) ../../$< $@
128
129 # test if SALOMEconfig.h has changed (contents)
130 salome_adm/unix/SALOMEconfig.ref: salome_adm/unix/SALOMEconfig.h
131         @if ! [ -a $@ ]; then \
132           cp -p -f $< $@;        \
133         fi;                   \
134         if ! cmp $< $@; then  \
135           cp -p -f $< $@;        \
136         fi;                   \
137
138 include/salome/sstream: salome_adm/unix/sstream
139         -$(RM) $@
140         $(LN_S) ../../$< $@
141
142 depend: depend_idl
143
144 depend_idl:
145         (cd idl ; $(MAKE) $@) || exit 1
146
147 # doc is already build : if you want to had documents, go manually to doc and run 'make doc'
148 #doc:
149 #       (cd doc && $(MAKE) $@) || exit 1
150
151 install-end:
152 # finish libtool install
153 #       @$(LT) --mode=finish $(libdir)
154
155 install-include: $(include_list)
156         $(INSTALL) -d  $(includedir)
157 #       @for f in X $(include_list); do                         \
158 #          if test $$f != X; then                               \
159 #            (cp -p $$f $(includedir) || exit 1);               \
160 #          fi;                                                  \
161         done
162
163 # install script in $(bindir) :
164 install-bin: $(BIN_SCRIPT)
165         $(INSTALL) -d  $(bindir)
166         for f in X $(BIN_SCRIPT); do                            \
167            if test $$f != X; then                               \
168              (cp -p -f ./bin/salome/$$f $(bindir) || exit 1);   \
169            fi;                                                  \
170         done
171
172 uninstall: uninstall-idl
173
174 uninstall-idl:
175         $(RM) $(idldir)/*.idl
176
177 distclean: distclean-other
178
179 distclean-other:
180         -$(RM) salome_adm/unix/*~ salome_adm/unix/*% salome_adm/unix/*.bak salome_adm/unix/*.new salome_adm/unix/*.old
181         -$(RM) salome_adm/unix/make_* 
182         -$(RM) salome_adm/unix/depend salome_adm/unix/SALOMEconfig.h 
183         -$(RM) config.cache config.log config.status 
184
185 @MODULE@
186
187 install: install-bin install-include install-end
188