summaryrefslogtreecommitdiff
path: root/libobj
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2014-07-23 15:41:29 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2014-07-23 16:02:47 +0100
commit4ed0937640b54246440421114b697f75d1b8c835 (patch)
treeb85a8e35804f1eee9b35a1966c20cdb182fd3e34 /libobj
parentdcf9ce4a9f16c01f58797e4f899d51e23506aa6c (diff)
Add automake magic required for libobj/
So libobj/ wasn't included in the tarball, and nor was the compatability functions being added to the driver when they were needed. The oddity is that using the ./configure script (and thus make distcheck) succeeds. It was only when 'autoreconf -fi' was run was the first error encoutered. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Reported-by: Tobias Klausmann
Diffstat (limited to 'libobj')
-rw-r--r--libobj/Makefile.am3
-rw-r--r--libobj/ignore.c6
2 files changed, 9 insertions, 0 deletions
diff --git a/libobj/Makefile.am b/libobj/Makefile.am
new file mode 100644
index 00000000..92c9ac55
--- /dev/null
+++ b/libobj/Makefile.am
@@ -0,0 +1,3 @@
+noinst_LTLIBRARIES = libcompat.la
+libcompat_la_SOURCES = ignore.c # for portability, always build something
+libcompat_la_LIBADD = $(LIBOBJS) $(ALLOCA)
diff --git a/libobj/ignore.c b/libobj/ignore.c
new file mode 100644
index 00000000..3c56f2fe
--- /dev/null
+++ b/libobj/ignore.c
@@ -0,0 +1,6 @@
+extern void ignore(void);
+
+void ignore(void)
+{
+ /* libcompat.a cannot be empty therefore I exist */
+}