=================================================================== RCS file: /home/cvs/OpenXM/src/ox_pari/Makefile.am,v retrieving revision 1.1 retrieving revision 1.6 diff -u -p -r1.1 -r1.6 --- OpenXM/src/ox_pari/Makefile.am 2016/09/22 10:20:30 1.1 +++ OpenXM/src/ox_pari/Makefile.am 2017/07/10 02:43:49 1.6 @@ -1,14 +1,19 @@ -# $OpenXM$ +## $OpenXM: OpenXM/src/ox_pari/Makefile.am,v 1.5 2016/09/26 14:50:40 ohara Exp $ AUTOMAKE_OPTIONS = foreign no-dependencies 1.5 DISTCLEANFILES = .configure_done -LIBS = -L${libdir} @LIBS@ -lm +LN_S = @LN_S@ +LIBS = @LIBS@ -L${libdir} @OXLIBS@ -lm DEFS = @DEFS@ AM_CPPFLAGS = -g -Wall -finline-functions -I${prefix}/include -noinst_HEADERS = ox_pari.h mysig.h +noinst_HEADERS = ox_pari.h ox_paridir = ${prefix}/bin ox_pari_PROGRAMS = ox_pari ox_pari_SOURCES = ox_pari.c convert.c pari_ftab.c +install-exec-hook: + -@${MKDIR_P} ${libdir}/asir + -@rm -f ${libdir}/asir/ox_pari + (cd ${libdir}/asir && ${LN_S} ../../bin/ox_pari${EXEEXT} ox_pari${EXEEXT} )