diff options
-rw-r--r-- | x11/Xcomposite/builtin.mk | 12 | ||||
-rw-r--r-- | x11/compositeext/builtin.mk | 13 |
2 files changed, 25 insertions, 0 deletions
diff --git a/x11/Xcomposite/builtin.mk b/x11/Xcomposite/builtin.mk new file mode 100644 index 00000000000..328c313f521 --- /dev/null +++ b/x11/Xcomposite/builtin.mk @@ -0,0 +1,12 @@ +# $NetBSD: builtin.mk,v 1.1 2004/10/08 03:59:36 xtraeme Exp $ + +_COMPOSITE_H= ${X11BASE}/include/X11/extensions/xcomposite.h + +.if !defined(IS_BUILTIN.Xcomposite) +IS_BUILTIN.Xcomposite= no +. if exists(${_COMPOSITE_H}) +IS_BUILTIN.Xcomposite= yes +. endif +.endif # IS_BUILTIN.Xcomposite + +USE_BUILTIN.Xcomposite?= ${IS_BUILTIN.Xcomposite} diff --git a/x11/compositeext/builtin.mk b/x11/compositeext/builtin.mk new file mode 100644 index 00000000000..bf3a331aea3 --- /dev/null +++ b/x11/compositeext/builtin.mk @@ -0,0 +1,13 @@ +# $NetBSD: builtin.mk,v 1.1 2004/10/08 03:59:36 xtraeme Exp $ + +_COMPOSITE_H= ${X11BASE}/include/X11/extensions/composite.h +_COMPOSITE_PROTO_H= ${X11BASE}/include/X11/extensions/composite_proto.h + +.if !defined(IS_BUILTIN.compositeext) +IS_BUILTIN.compositeext= no +. if exists(${_COMPOSITE_H}) && exists(${_COMPOSITE_PROTO_H}) +IS_BUILTIN.compositeext= yes +. endif +.endif # IS_BUILTIN.compositeext + +USE_BUILTIN.compositeext?= ${IS_BUILTIN.compositeext} |