Allow _gss_string_to_oid() without HAVE_DLOPEN
[heimdal.git] / tests / bin / Makefile.am
blob98bb342f7eedfeae4efac3888e5caac54a086906
1 include $(top_srcdir)/Makefile.am.common
3 noinst_SCRIPTS = setup-env
5 noinst_PROGRAMS = intr
7 intr_SOURCES = intr.c
9 CHECK_LOCAL = no-check-local
11 intr_LDADD = $(LIB_roken)
13 do_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"
22 setup-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
27 EXTRA_DIST = setup-env.in
29 CLEANFILES = setup-env setup-env.tmp