version 1.1, 2003/02/23 03:05:35 |
version 1.7, 2003/03/08 10:41:18 |
|
|
# $OpenXM$ |
# $OpenXM: OpenXM_contrib2/asir2000/Makefile.am,v 1.6 2003/03/07 17:18:40 ohara Exp $ |
|
|
AUTOMAKE_OPTIONS = foreign no-dependencies 1.5 |
AUTOMAKE_OPTIONS = foreign no-dependencies 1.5 |
if USE_PLOT |
if USE_PLOT |
PLOTDIR = plot |
PLOTDIR = plot |
PLLIB = plot/libplot.a |
PLLIB = plot/libplot.a |
X11LIB = @X_LIBS@ -lXaw -lXmu -lXt @X_PRE_LIBS@ -lXpm -lXext -lX11 @X_EXTRA_LIBS@ |
X11LIB = @X_LIBS@ -lXaw -lXmu -lXt @X_PRE_LIBS@ -lXext -lX11 @X_EXTRA_LIBS@ |
endif |
endif |
|
|
SUBDIRS = asm builtin engine fft include io lib parse ${PLOTDIR} |
SUBDIRS = asm builtin engine fft include io lib parse ${PLOTDIR} |
Line 30 LIBS = @LIBS@ @PARILIB@ @MPILIB@ @LAPACKLIB@ ${X11 |
|
Line 30 LIBS = @LIBS@ @PARILIB@ @MPILIB@ @LAPACKLIB@ ${X11 |
|
bin_PROGRAMS = asir |
bin_PROGRAMS = asir |
asir_SOURCES = parse/main.c |
asir_SOURCES = parse/main.c |
asir_LDADD = ${ASIRLIB} ${GLIB} |
asir_LDADD = ${ASIRLIB} ${GLIB} |
lib_LIBRARIES = libasir.a libasir-gc.a |
noinst_LIBRARIES = libasir.a libasir-gc.a |
CLEANFILES = libasir.a libasir-gc.a asir |
CLEANFILES = libasir.a libasir-gc.a asir${EXEEXT} |
|
|
libasir_gc_a_SOURCES = |
libasir_gc_a_SOURCES = |
|
|
Line 61 libasir.a: ${ASIRLIB} |
|
Line 61 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: |
-if [ x${libasir_postfix} != x ] ; then \ |
-mkdir -p ${prefix}/lib/asir |
(cd ${prefix}/lib ; mv libasir.a libasir${libasir_postfix}.a) ; \ |
-if [ -x ${prefix}/bin/asir ]; then \ |
|
mv ${prefix}/bin/asir${EXEEXT} ${prefix}/lib/asir/ ; \ |
fi |
fi |
-rm -f ${prefix}/bin/ox_asir |
|
(cd ${prefix}/bin ; ${LN_S} asir ox_asir) |
install-libasir: libasir.a |
|
mkdir -p ${prefix}/lib |
|
${INSTALL_DATA} libasir.a ${prefix}/lib/libasir${libasir_postfix}.a |
|
|
|
install-openxm: asir${EXEEXT} libasir.a libasir-gc.a |
|
-mkdir -p ${prefix}/bin |
|
${INSTALL_PROGRAM} asir ${prefix}/bin/ |
|
-mkdir -p ${prefix}/lib/asir |
|
(cd ${top_srcdir}/lib; ${MAKE} install-doc install-lib) |
|
${INSTALL_DATA} libasir.a ${prefix}/lib/libasir${libasir_postfix}.a |
|
${INSTALL_DATA} libasir-gc.a ${prefix}/lib/libasir-gc.a |
|
-rm -f ${prefix}/bin/ox_asir${EXEEXT} |
|
(cd ${prefix}/bin ; ${LN_S} asir${EXEEXT} ox_asir${EXEEXT}) |
|
-(cd ${prefix}/lib/asir; \ |
|
rm -f asir${EXEEXT} ox_asir${EXEEXT} ox_launch${EXEEXT} ox_plot${EXEEXT}) |
|
(cd ${prefix}/lib/asir ; \ |
|
${LN_S} ../../bin/asir${EXEEXT} asir${EXEEXT} ; \ |
|
${LN_S} asir${EXEEXT} ox_asir${EXEEXT} ; \ |
|
${LN_S} asir${EXEEXT} ox_launch${EXEEXT} ; \ |
|
${LN_S} asir${EXEEXT} ox_plot${EXEEXT}) |
|
(cd ${top_srcdir}/include; ${MAKE} install) |
|
|
|
install-lib: |
|
(cd ${top_srcdir}/lib; ${MAKE} install-lib) |
|
-(cd ${prefix}/lib/asir; \ |
|
rm -f ox_asir${EXEEXT} ox_launch${EXEEXT} ox_plot${EXEEXT}) |
|
(cd ${prefix}/lib/asir ; \ |
|
${LN_S} asir${EXEEXT} ox_asir${EXEEXT} ; \ |
|
${LN_S} asir${EXEEXT} ox_launch${EXEEXT} ; \ |
|
${LN_S} asir${EXEEXT} ox_plot${EXEEXT}) |
|
-mkdir -p ${prefix}/bin |
|
-rm -f ${prefix}/bin/asir${EXEEXT} |
|
(cd ${prefix}/bin ; ${LN_S} ../lib/asir/asir${EXEEXT} asir${EXEEXT}) |
|
|
|
install-doc: |
|
(cd ${top_srcdir}/lib; ${MAKE} install-doc) |