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