blob: 1e0f29deeeca7e515ce7ffab9df37190fcaea221 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
--- tests/gcc-weak-hidden/Makefile.am.orig 2016-10-18 22:44:06 UTC
+++ tests/gcc-weak-hidden/Makefile.am
@@ -1,17 +1,9 @@
AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/tests/utils
-noinst_LTLIBRARIES = libgcc-wh.la
-libgcc_wh_la_SOURCES = c.c d.c
-
-noinst_PROGRAMS = test-gcc-wh
-test_gcc_wh_SOURCES = main.c b.c
-test_gcc_wh_LDADD = $(top_builddir)/tests/utils/libtap.a \
- $(builddir)/libgcc-wh.la
-
noinst_SCRIPTS = test_gcc_weak_hidden
CLEANFILES = $(noinst_SCRIPTS)
EXTRA_DIST = test_gcc_weak_hidden.in
-$(noinst_SCRIPTS): %: %.in
- sed "s#@ABSTOPSRCDIR@#$(abs_top_srcdir)#g" < $< > $@
+$(noinst_SCRIPTS): $(noinst_SCRIPTS).in *
+ sed "s#@ABSTOPSRCDIR@#$(abs_top_srcdir)#g" < $(noinst_SCRIPTS).in > $@
chmod +x $@
|