summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
Diffstat (limited to 'x11')
-rw-r--r--x11/Xfixes/builtin.mk12
-rw-r--r--x11/fixesext/builtin.mk13
2 files changed, 25 insertions, 0 deletions
diff --git a/x11/Xfixes/builtin.mk b/x11/Xfixes/builtin.mk
new file mode 100644
index 00000000000..1e1b9b72636
--- /dev/null
+++ b/x11/Xfixes/builtin.mk
@@ -0,0 +1,12 @@
+# $NetBSD: builtin.mk,v 1.1 2004/09/21 17:42:21 xtraeme Exp $
+
+_H_XFIXES= ${X11BASE}/include/X11/extensions/Xfixes.h
+
+.if !defined(IS_BUILTIN.Xfixes)
+IS_BUILTIN.Xfixes= no
+. if exists(${_H_XFIXES})
+IS_BUILTIN.Xfixes= yes
+. endif
+.endif # IS_BUILTIN.Xfixes
+
+USE_BUILTIN.Xfixes?= ${IS_BUILTIN.Xfixes}
diff --git a/x11/fixesext/builtin.mk b/x11/fixesext/builtin.mk
new file mode 100644
index 00000000000..0058eef87c3
--- /dev/null
+++ b/x11/fixesext/builtin.mk
@@ -0,0 +1,13 @@
+# $NetBSD: builtin.mk,v 1.1 2004/09/21 17:43:42 xtraeme Exp $
+
+_H_XFIXESPROTO= ${X11BASE}/include/X11/extensions/xfixesproto.h
+_H_XFIXESWIRE= ${X11BASE}/include/X11/extensions/xfixeswire.h
+
+.if !defined(IS_BUILTIN.fixesext)
+IS_BUILTIN.fixesext= no
+. if exists(${_H_XFIXESPROTO}) && exists(${_H_XFIXESWIRE})
+IS_BUILTIN.fixesext= yes
+. endif
+.endif # IS_BUILTIN.fixesext
+
+USE_BUILTIN.fixesext?= ${IS_BUILTIN.fixesext}