version 1.15, 2003/03/20 05:36:39 |
version 1.16, 2003/03/20 07:06:31 |
|
|
## $OpenXM: OpenXM_contrib2/asir2000/Makefile.am,v 1.14 2003/03/20 05:07:59 ohara Exp $ |
## $OpenXM: OpenXM_contrib2/asir2000/Makefile.am,v 1.15 2003/03/20 05:36:39 ohara Exp $ |
|
|
AUTOMAKE_OPTIONS = foreign no-dependencies 1.5 |
AUTOMAKE_OPTIONS = foreign no-dependencies 1.5 |
if USE_PLOT |
if USE_PLOT |
Line 67 libasir.a: ${ASIRLIB} |
|
Line 67 libasir.a: ${ASIRLIB} |
|
# ld -r $@ umain.o ${ASIRLIB} ${GLIB} ${LIBS} ${EXTRALIBS} |
# ld -r $@ umain.o ${ASIRLIB} ${GLIB} ${LIBS} ${EXTRALIBS} |
|
|
install-exec-hook: |
install-exec-hook: |
-mkdir -p ${prefix}/lib/asir |
-mkdir -p ${DESTDIR}${prefix}/lib/asir |
-if [ -x ${prefix}/bin/asir ]; then \ |
-if [ -x ${DESTDIR}${prefix}/bin/asir ]; then \ |
mv ${prefix}/bin/asir${EXEEXT} ${prefix}/lib/asir/ ; \ |
mv ${DESTDIR}${prefix}/bin/asir${EXEEXT} ${DESTDIR}${prefix}/lib/asir/ ; \ |
fi |
fi |
|
|
install-libasir: libasir.a |
install-libasir: libasir.a |
mkdir -p ${prefix}/lib |
mkdir -p ${DESTDIR}${prefix}/lib |
${INSTALL_DATA} libasir.a ${prefix}/lib/libasir${libasir_postfix}.a |
${INSTALL_DATA} libasir.a ${DESTDIR}${prefix}/lib/libasir${libasir_postfix}.a |
|
|
install-openxm: asir${EXEEXT} libasir.a libasir-gc.a |
install-openxm: asir${EXEEXT} libasir.a libasir-gc.a |
-mkdir -p ${prefix}/bin |
-mkdir -p ${DESTDIR}${prefix}/bin |
${INSTALL_PROGRAM} asir ${prefix}/bin/ |
${INSTALL_PROGRAM} asir ${DESTDIR}${prefix}/bin/ |
-mkdir -p ${prefix}/lib/asir |
-mkdir -p ${DESTDIR}${prefix}/lib/asir |
(cd ${top_srcdir}/lib; ${MAKE} install-doc install-lib) |
(cd ${top_srcdir}/lib; ${MAKE} install-doc install-lib) |
${INSTALL_DATA} libasir.a ${prefix}/lib/libasir${libasir_postfix}.a |
${INSTALL_DATA} libasir.a ${DESTDIR}${prefix}/lib/libasir${libasir_postfix}.a |
${INSTALL_DATA} libasir-gc.a ${prefix}/lib/libasir-gc.a |
${INSTALL_DATA} libasir-gc.a ${DESTDIR}${prefix}/lib/libasir-gc.a |
-rm -f ${prefix}/bin/ox_asir${EXEEXT} |
-rm -f ${DESTDIR}${prefix}/bin/ox_asir${EXEEXT} |
(cd ${prefix}/bin ; ${LN_S} asir${EXEEXT} ox_asir${EXEEXT}) |
(cd ${DESTDIR}${prefix}/bin ; ${LN_S} asir${EXEEXT} ox_asir${EXEEXT}) |
-(cd ${prefix}/lib/asir; \ |
-(cd ${DESTDIR}${prefix}/lib/asir; \ |
rm -f asir${EXEEXT} ox_asir${EXEEXT} ox_launch${EXEEXT} ox_plot${EXEEXT}) |
rm -f asir${EXEEXT} ox_asir${EXEEXT} ox_launch${EXEEXT} ox_plot${EXEEXT}) |
(cd ${prefix}/lib/asir ; \ |
(cd ${DESTDIR}${prefix}/lib/asir ; \ |
${LN_S} ../../bin/asir${EXEEXT} asir${EXEEXT} ; \ |
${LN_S} ../../bin/asir${EXEEXT} asir${EXEEXT} ; \ |
${LN_S} asir${EXEEXT} ox_asir${EXEEXT} ; \ |
${LN_S} asir${EXEEXT} ox_asir${EXEEXT} ; \ |
${LN_S} asir${EXEEXT} ox_launch${EXEEXT} ; \ |
${LN_S} asir${EXEEXT} ox_launch${EXEEXT} ; \ |
Line 97 install-openxm: asir${EXEEXT} libasir.a libasir-gc.a |
|
Line 97 install-openxm: asir${EXEEXT} libasir.a libasir-gc.a |
|
|
|
install-lib: |
install-lib: |
(cd ${top_srcdir}/lib; ${MAKE} install-lib) |
(cd ${top_srcdir}/lib; ${MAKE} install-lib) |
-(cd ${prefix}/lib/asir; \ |
-(cd ${DESTDIR}${prefix}/lib/asir; \ |
rm -f ox_asir${EXEEXT} ox_launch${EXEEXT} ox_plot${EXEEXT}) |
rm -f ox_asir${EXEEXT} ox_launch${EXEEXT} ox_plot${EXEEXT}) |
(cd ${prefix}/lib/asir ; \ |
(cd ${DESTDIR}${prefix}/lib/asir ; \ |
${LN_S} asir${EXEEXT} ox_asir${EXEEXT} ; \ |
${LN_S} asir${EXEEXT} ox_asir${EXEEXT} ; \ |
${LN_S} asir${EXEEXT} ox_launch${EXEEXT} ; \ |
${LN_S} asir${EXEEXT} ox_launch${EXEEXT} ; \ |
${LN_S} asir${EXEEXT} ox_plot${EXEEXT}) |
${LN_S} asir${EXEEXT} ox_plot${EXEEXT}) |
-mkdir -p ${prefix}/bin |
-mkdir -p ${DESTDIR}${prefix}/bin |
-rm -f ${prefix}/bin/asir${EXEEXT} |
-rm -f ${DESTDIR}${prefix}/bin/asir${EXEEXT} |
(cd ${prefix}/bin ; ${LN_S} ../lib/asir/asir${EXEEXT} asir${EXEEXT}) |
(cd ${DESTDIR}${prefix}/bin ; ${LN_S} ../lib/asir/asir${EXEEXT} asir${EXEEXT}) |
|
|
install-doc: |
install-doc: |
(cd ${top_srcdir}/lib; ${MAKE} install-doc) |
(cd ${top_srcdir}/lib; ${MAKE} install-doc) |
|
|
|
tarball: |
|
-rm -rf tmp |
|
-mkdir tmp |
|
DESTDIR=`cd tmp; pwd` ${MAKE} install-openxm |
|
(cd tmp${prefix}; tar cf - * ) | gzip -c > asir-openxm-${VERSION}.tgz |
|
-rm -rf tmp |