diff options
author | Dan Nicholson <dbn.lists@gmail.com> | 2011-02-26 08:34:27 -0800 |
---|---|---|
committer | Dan Nicholson <dbn.lists@gmail.com> | 2011-02-27 14:21:32 -0800 |
commit | 6263490d272a2f15f1a38a8eb452b73e9bcd0ba2 (patch) | |
tree | af869b114c5616ba497624f104313064aca30c12 | |
parent | 6b951dec69103ca76d6d4a61b1a2f67a52d013b9 (diff) |
xfree86: Ensure sdksyms.c is regenerated when appropriatebuild-fixes
The contents of sdksyms.c are dependent on configuration, so they should
be freshly generated each time and not shipped in the tarball. Prereqs on
sdksyms.dep and one of the config.h files will ensure that the sdksyms.c
is regenerated whenever config.status is run.
Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
-rw-r--r-- | hw/xfree86/loader/Makefile.am | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/hw/xfree86/loader/Makefile.am b/hw/xfree86/loader/Makefile.am index 7f386ccc0..3d864cd27 100644 --- a/hw/xfree86/loader/Makefile.am +++ b/hw/xfree86/loader/Makefile.am @@ -17,13 +17,17 @@ libloader_la_SOURCES = \ loaderProcs.h \ loadext.c \ loadmod.c \ - os.c \ + os.c + +nodist_libloader_la_SOURCES = \ sdksyms.c + libloader_la_LIBADD = $(DLOPEN_LIBS) CLEANFILES = sdksyms.c sdksyms.dep -sdksyms.dep sdksyms.c: sdksyms.sh +sdksyms.c: sdksyms.dep +sdksyms.dep sdksyms.c: sdksyms.sh $(top_builddir)/include/do-not-use-config.h CPP='$(CPP)' AWK='$(AWK)' $(srcdir)/sdksyms.sh $(top_srcdir) $(AM_CFLAGS) $(CFLAGS) $(INCLUDES) SDKSYMS_DEP = sdksyms.dep |