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_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 \
73 mail_ktest1-3-hexa.sauve \
74 mail_ktest1-3-tetra.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 \
109 LDFLAGS= -L$(top_builddir)/lib/salome
110 LDFLAGSFORBIN= -L$(top_builddir)/lib/salome
112 # copy header files in common directory
113 ifeq ($(HAVE_SSTREAM),yes)
114 include_list=include/salome/SALOMEconfig.h
116 include_list=include/salome/SALOMEconfig.h include/salome/sstream
119 inc: idl $(include_list)
121 include/salome/SALOMEconfig.h: salome_adm/unix/SALOMEconfig.ref
125 # test if SALOMEconfig.h has changed (contents)
126 salome_adm/unix/SALOMEconfig.ref: salome_adm/unix/SALOMEconfig.h
127 @if ! [ -a $@ ]; then \
130 if ! cmp $< $@; then \
134 include/salome/sstream: salome_adm/unix/sstream
141 (cd idl ; $(MAKE) $@) || exit 1
143 # doc is already build : if you want to had documents, go manually to doc and run 'make doc'
145 # (cd doc && $(MAKE) $@) || exit 1
148 # finish libtool install
149 # @$(LT) --mode=finish $(libdir)
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); \
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); \
168 uninstall: uninstall-idl
171 $(RM) $(idldir)/*.idl
173 distclean: 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
183 install: install-bin install-include install-end