diff options
author | jlam <jlam> | 2001-06-11 03:33:47 +0000 |
---|---|---|
committer | jlam <jlam> | 2001-06-11 03:33:47 +0000 |
commit | c55bb48abee2cb1acf7eb2786b11ed3031a004c7 (patch) | |
tree | bc6a1a0c8e5cb99138c836dd772564f8574a09da | |
parent | 708a173d862534620df698295131e9c779cfbc4d (diff) | |
download | pkgsrc-c55bb48abee2cb1acf7eb2786b11ed3031a004c7.tar.gz |
Document BUILDLINK_CPPFLAGS and BUILDLINK_LDFLAGS.
-rw-r--r-- | mk/bsd.buildlink.mk | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/mk/bsd.buildlink.mk b/mk/bsd.buildlink.mk index dd11efa868d..1f60435ce59 100644 --- a/mk/bsd.buildlink.mk +++ b/mk/bsd.buildlink.mk @@ -1,12 +1,15 @@ -# $NetBSD: bsd.buildlink.mk,v 1.2 2001/06/11 03:20:48 jlam Exp $ +# $NetBSD: bsd.buildlink.mk,v 1.3 2001/06/11 03:33:47 jlam Exp $ # # This Makefile fragment is included by package buildlink.mk files. This -# file does 3 things: +# file does the following things: # # (1) Defines a macro target, _BUILDLINK_USE, that symlinks package files # into a new hierarchy under ${BUILDLINK_DIR}; -# (2) Adds -I${BUILDLINK_DIR}/include to CPPFLAGS, CFLAGS, and CXXFLAGS; -# (3) Adds -L${BUILDLINK_DIR}/lib to LDFLAGS. +# (2) Defines BUILDLINK_CPPFLAGS and BUILDLINK_LDFLAGS to be the flags +# needed to find the buildlink include files and buildlink libraries, +# respectively. +# (3) Adds ${BUILDLINK_CPPFLAGS} to CPPFLAGS, CFLAGS, and CXXFLAGS; +# (4) Adds ${BUILDLINK_LDFLAGS} to LDFLAGS. # # By including buildlink.mk files before package-specific CFLAGS or LDFLAGS # are defined, you can ensure that the buildlink directories are ahead of |