3 # Author : Patrick GOLDBRONN (CEA)
9 top_srcdir=@top_srcdir@
12 VPATH=.:@srcdir@:@top_srcdir@/bin:@top_srcdir@/resources:./bin:@top_srcdir@/idl:${KERNEL_ROOT_DIR}/idl/salome
19 ifeq ($(MED_WITH_KERNEL),yes)
39 carre_en_quad4_seg2.med \
41 cube_hexa8_quad4.med \
43 maillage_UniSegFam.med \
50 cas_defaut_domaine_fluide.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 \
60 Mistrat_import22.med \
62 TimeStamps_import22.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 \
70 maill.00_nofield.med \
72 maill.00_without_seg2.med \
73 zzzz121b_without_tr6.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 \
87 mail_ktest1-3-hexa.sauve \
88 mail_ktest1-3-tetra.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 \
123 LDFLAGS= -L$(top_builddir)/lib@LIB_LOCATION_SUFFIX@/salome
124 LDFLAGSFORBIN= -L$(top_builddir)/lib@LIB_LOCATION_SUFFIX@/salome
126 # copy header files in common directory
127 include_list=include/salome/SALOMEconfig.h
129 ifeq ($(HAVE_SSTREAM),no)
130 include_list+=include/salome/sstream
133 inc: idl $(include_list)
135 include/salome/SALOMEconfig.h: salome_adm/unix/SALOMEconfig.ref
139 # test if SALOMEconfig.h has changed (contents)
140 salome_adm/unix/SALOMEconfig.ref: salome_adm/unix/SALOMEconfig.h
141 @if ! [ -a $@ ]; then \
144 if ! cmp $< $@; then \
148 include/salome/sstream: salome_adm/unix/sstream
155 (cd idl ; $(MAKE) $@) || exit 1
157 # doc is already build : if you want to had documents, go manually to doc and run 'make doc'
159 # (cd doc && $(MAKE) $@) || exit 1
162 # finish libtool install
163 # @$(LT) --mode=finish $(libdir)
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); \
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); \
182 uninstall: uninstall-idl
185 $(RM) $(idldir)/*.idl
187 distclean: 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
197 install: install-bin install-include install-end