File: libobj.test

package info (click to toggle)
automake 1.3-1
  • links: PTS
  • area: main
  • in suites: hamm
  • size: 1,944 kB
  • ctags: 24
  • sloc: perl: 4,855; sh: 3,833; ansic: 387; makefile: 163
file content (29 lines) | stat: -rwxr-xr-x 504 bytes parent folder | download | duplicates (8)
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
#!/bin/sh

# Test for bug reported by Jim Meyering:
# automake-0.29 didn't handle this line properly.
#   LIBOBJS="$LIBOBJS fsusage.o mountlist.o"

. $srcdir/defs || exit 1

cat > configure.in << 'END'
PACKAGE=nonesuch
VERSION=nonesuch
AC_PROG_CC
AC_ARG_PROGRAM
AC_PROG_INSTALL
AC_PROG_RANLIB
LIBOBJS="$LIBOBJS fsusage.o mountlist.o"
AC_OUTPUT(Makefile)
END

cat > Makefile.am << 'END'
noinst_LIBRARIES = libtu.a
libtu_a_SOURCES =
libtu_a_LIBADD = @LIBOBJS@
END

: > fsusage.c
: > mountlist.c

$AUTOMAKE