summaryrefslogtreecommitdiff
path: root/mk/x11.buildlink2.mk
diff options
context:
space:
mode:
Diffstat (limited to 'mk/x11.buildlink2.mk')
-rw-r--r--mk/x11.buildlink2.mk24
1 files changed, 24 insertions, 0 deletions
diff --git a/mk/x11.buildlink2.mk b/mk/x11.buildlink2.mk
new file mode 100644
index 00000000000..514d88cf775
--- /dev/null
+++ b/mk/x11.buildlink2.mk
@@ -0,0 +1,24 @@
+# $NetBSD: x11.buildlink2.mk,v 1.4.2.2 2003/06/12 15:27:10 jschauma Exp $
+#
+# This file is for internal use by bsd.buildlink2.mk and should _not_ be
+# include by package Makefiles.
+
+.if !defined(X11_BUILDLINK2_MK)
+X11_BUILDLINK2_MK= # defined
+
+USE_X11?= # defined
+USE_X11_LINKS= no
+
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "IRIX"
+. include "../../pkgtools/x11-links/xsgi.buildlink2.mk"
+.else
+. if !empty(X11BASE:M*openwin)
+. include "../../pkgtools/x11-links/openwin.buildlink2.mk"
+. else
+. include "../../pkgtools/x11-links/xfree.buildlink2.mk"
+. endif
+.endif
+
+.endif # X11_BUILDLINK2_MK