3 # Test that substitutions in variables work.
6 .
$srcdir/defs ||
exit 1
8 cat > configure.
in << 'END'
10 AM_INIT_AUTOMAKE
(fakelib
,0.0)
19 cat > Makefile.am
<< 'END'
20 noinst_LIBRARIES
= libfake@SUBST@.a
22 libfake@SUBST@_a_SOURCES
= abra.c kadabra.c
24 # then we override the target rule:
25 libfake@SUBST@.a
: Makefile $
(libfake@SUBST@_a_OBJECTS
) $
(libfake@SUBST@_a_DEPENDENCIES
)
26 @
echo here we
do some custom stuff
, instead of invoking the linker
33 num
=`grep '^libfake@SUBST@.a:' Makefile.in | wc -l`