1include $(top_srcdir)/Makefile.am.common 2 3noinst_SCRIPTS = setup-env 4 5noinst_PROGRAMS = intr 6 7intr_SOURCES = intr.c 8 9CHECK_LOCAL = no-check-local 10 11intr_LDADD = $(LIB_roken) 12 13do_subst = \ 14 top_srcdir="$$(cd ${top_srcdir} && pwd)" ; \ 15 top_builddir="$$(cd ${top_builddir} && pwd)" ; \ 16 sed $(do_dlopen) \ 17 -e "s,[@]EGREP[@],$(EGREP),g" \ 18 -e "s,[@]top_srcdir[@],$${top_srcdir},g" \ 19 -e "s,[@]top_builddir[@],$${top_builddir},g" \ 20 -e "s,[@]NO_AFS[@],$(NO_AFS),g" 21 22setup-env: setup-env.in Makefile 23 $(do_subst) < $(srcdir)/setup-env.in > setup-env.tmp 24 chmod +x setup-env.tmp 25 mv setup-env.tmp setup-env 26 27EXTRA_DIST = setup-env.in 28 29CLEANFILES = setup-env setup-env.tmp 30 31