diff options
author | Julien Danjou <julien@danjou.info> | 2010-05-03 14:51:20 +0200 |
---|---|---|
committer | Julien Danjou <julien@danjou.info> | 2010-05-05 11:04:12 +0200 |
commit | 824b3cdce7ee6abecdda9cb3fdef086f8c4c9a7a (patch) | |
tree | c9e60caabda1dec513c808e1764c79fcb8fe482b | |
parent | 26010a37d1196ada662c239f33eef41396b9b353 (diff) |
Generate stubs.c via Makefile
Signed-off-by: Julien Danjou <julien@danjou.info>
Reviewed-by: Jamey Sharp <jamey@minilop.net>
-rw-r--r-- | Makefile.am | 3 | ||||
-rwxr-xr-x | autogen.sh | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am index e1e1ec8..6d59f4e 100644 --- a/Makefile.am +++ b/Makefile.am @@ -2,6 +2,9 @@ pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = pthread-stubs.pc if BUILD_LIB +stubs.c: list.m4 stubs.c.m4 + m4 -P stubs.c.m4 > $@ + lib_LTLIBRARIES = libpthread-stubs.la libpthread_stubs_la_SOURCES = stubs.c endif @@ -6,8 +6,6 @@ test -z "$srcdir" && srcdir=. ORIGDIR=`pwd` cd $srcdir -m4 -P stubs.c.m4 >stubs.c - autoreconf -v --install || exit 1 cd $ORIGDIR || exit $? |