repo.or.cz
/
automake.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
* depcomp (ddashmd): Removed case.
[automake.git]
/
tests
/
xsource.test
blob
566944422f25b6f117d20a44baf5368489d46607
1
#! /bin/sh
2
3
# Test to make sure multiple source files with the same object
4
# file causes error.
5
6
.
$srcdir
/
defs ||
exit
1
7
8
cat
>
Makefile.am
<<
'END'
9
bin_PROGRAMS
=
zardoz
10
zardoz_SOURCES
=
z.c x
/
z.c
11
END
12
13
cat
>>
configure.
in
<<
'END'
14
AC_PROG_CC
15
END
16
17
mkdir x
18
19
: >
z.c
20
: >
x
/
z.c
21
22
$AUTOMAKE
&&
exit
1
23
exit
0