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