summaryrefslogtreecommitdiff
path: root/qa/src/versiondefs
diff options
context:
space:
mode:
Diffstat (limited to 'qa/src/versiondefs')
-rw-r--r--qa/src/versiondefs18
1 files changed, 18 insertions, 0 deletions
diff --git a/qa/src/versiondefs b/qa/src/versiondefs
new file mode 100644
index 0000000..d90074d
--- /dev/null
+++ b/qa/src/versiondefs
@@ -0,0 +1,18 @@
+# From the system on which the test is being run
+#
+
+#if !defined(RELEASE_MAJOR)
+include $(ROOT)/usr/include/make/releasedefs
+#endif
+OS_REL = $(RELEASE_MAJOR).$(RELEASE_MINOR)
+IRIX = IRIX$(OS_REL:S/./_/g)
+
+# IMPORTANT
+# set this to match the style of the IRIX kernel you are
+# testing on locally
+#
+IRIX_OBJECT != ../src/get-irix-object
+
+# Stuff that varies ...
+HAVE_DEV_IN_LIBPCP != sed -n '/^\#ifdef HAVE_DEV_IN_LIBPCP/s/\#ifdef /-D/p' /usr/include/pcp/impl.h
+