diff options
author | jlam <jlam@pkgsrc.org> | 2002-08-22 08:21:26 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2002-08-22 08:21:26 +0000 |
commit | b119dbc8efa99f4f13917497dfc754c8c6198d85 (patch) | |
tree | 69a889ca0e05738ba516fadb4850a77ad43da185 /mk/xaw.buildlink2.mk | |
parent | f53ae645aa36bf9dbeb34fce513f5a6eb2a37fd2 (diff) | |
download | pkgsrc-b119dbc8efa99f4f13917497dfc754c8c6198d85.tar.gz |
Merge pkgsrc/mk from the buildlink2 branch back into the main trunk.
Diffstat (limited to 'mk/xaw.buildlink2.mk')
-rw-r--r-- | mk/xaw.buildlink2.mk | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/mk/xaw.buildlink2.mk b/mk/xaw.buildlink2.mk new file mode 100644 index 00000000000..21297b10122 --- /dev/null +++ b/mk/xaw.buildlink2.mk @@ -0,0 +1,20 @@ +# $NetBSD: xaw.buildlink2.mk,v 1.2 2002/08/22 08:21:27 jlam Exp $ + +.if !defined(XAW_BUILDLINK2_MK) +XAW_BUILDLINK2_MK= # defined + +# Pull in setting for XAW_TYPE. +XAW_TYPE?= standard + +.include "../../mk/bsd.prefs.mk" + +.if ${XAW_TYPE} == "xpm" +.include "../../x11/Xaw-Xpm/buildlink2.mk" +.elif ${XAW_TYPE} == "3d" +.include "../../x11/Xaw3d/buildlink2.mk" +.else +LIBXAW?= -L${X11BASE}/lib -lXaw +.endif +MAKE_ENV+= LIBXAW="${LIBXAW}" + +.endif # XAW_BUILDLINK2_MK |