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
33 carre_en_quad4_seg2.med \
35 cube_hexa8_quad4.med \
37 maillage_UniSegFam.med \
44 cas_defaut_domaine_fluide.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 \
54 Mistrat_import22.med \
56 TimeStamps_import22.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 \
69 mail_ktest1-3-hexa.sauve \
70 mail_ktest1-3-tetra.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 \
105 LDFLAGS= -L$(top_builddir)/lib/salome
106 LDFLAGSFORBIN= -L$(top_builddir)/lib/salome
108 # copy header files in common directory
109 ifeq ($(HAVE_SSTREAM),yes)
110 include_list=include/salome/SALOMEconfig.h
112 include_list=include/salome/SALOMEconfig.h include/salome/sstream
115 inc: idl $(include_list)
117 include/salome/SALOMEconfig.h: salome_adm/unix/SALOMEconfig.ref
121 # test if SALOMEconfig.h has changed (contents)
122 salome_adm/unix/SALOMEconfig.ref: salome_adm/unix/SALOMEconfig.h
123 @if ! [ -a $@ ]; then \
126 if ! cmp $< $@; then \
130 include/salome/sstream: salome_adm/unix/sstream
137 (cd idl ; $(MAKE) $@) || exit 1
139 # doc is already build : if you want to had documents, go manually to doc and run 'make doc'
141 # (cd doc && $(MAKE) $@) || exit 1
144 # finish libtool install
145 # @$(LT) --mode=finish $(libdir)
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); \
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); \
164 uninstall: uninstall-idl
167 $(RM) $(idldir)/*.idl
169 distclean: 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
179 install: install-bin install-include install-end