diff options
author | minskim <minskim@pkgsrc.org> | 2004-03-31 19:47:59 +0000 |
---|---|---|
committer | minskim <minskim@pkgsrc.org> | 2004-03-31 19:47:59 +0000 |
commit | 302c3bb2e9a2b1106035ae7faf9c8d9699c2fe13 (patch) | |
tree | 87431027ad642455296144c99b454da9e1ff7574 /devel/gnustep-make | |
parent | 357ef5b72d1306d482c25241e2755ef482687a13 (diff) | |
download | pkgsrc-302c3bb2e9a2b1106035ae7faf9c8d9699c2fe13.tar.gz |
bl3ify gnustep-objc.
Diffstat (limited to 'devel/gnustep-make')
-rw-r--r-- | devel/gnustep-make/buildlink3.mk | 68 |
1 files changed, 68 insertions, 0 deletions
diff --git a/devel/gnustep-make/buildlink3.mk b/devel/gnustep-make/buildlink3.mk new file mode 100644 index 00000000000..fabdef137eb --- /dev/null +++ b/devel/gnustep-make/buildlink3.mk @@ -0,0 +1,68 @@ +# $NetBSD: buildlink3.mk,v 1.1 2004/03/31 19:47:59 minskim Exp $ + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +GNUSTEP_MAKE_BUILDLINK3_MK:= ${GNUSTEP_MAKE_BUILDLINK3_MK}+ + +.if !empty(BUILDLINK_DEPTH:M+) +BUILDLINK_DEPENDS+= gnustep-make +.endif + +BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngnustep-make} +BUILDLINK_PACKAGES+= gnustep-make + +.if !empty(GNUSTEP_MAKE_BUILDLINK3_MK:M+) +BUILDLINK_DEPENDS.gnustep-make+= gnustep-make>=1.8.0 +BUILDLINK_PKGSRCDIR.gnustep-make?= ../../devel/gnustep-make + +GNUSTEP_ROOT= ${PREFIX}/share/GNUstep +GNUSTEP_SYSTEM_ROOT= ${GNUSTEP_ROOT}/System +GNUSTEP_FLATTENED= yes +#LIBRARY_COMBO= gnu-gnu-gnu +GNUSTEP_LOCAL_ROOT= ${GNUSTEP_ROOT}/Local +GNUSTEP_NETWORK_ROOT= ${GNUSTEP_ROOT}/Network +GNUSTEP_MAKEFILES= ${GNUSTEP_SYSTEM_ROOT}/Makefiles +GNUSTEP_HOST= ${MACHINE_GNU_PLATFORM} +GNUSTEP_HOST_CPU= ${MACHINE_GNU_ARCH:S/i386/ix86/} +GNUSTEP_HOST_VENDOR= ${LOWER_VENDOR} +GNUSTEP_HOST_OS= ${LOWER_OPSYS} + +GNUSTEP_USER_ROOT= ${BUILDLINK_DIR}/share/GNUstep +GNUSTEP_PATHLIST= ${GNUSTEP_USER_ROOT}:${GNUSTEP_LOCAL_ROOT}:${GNUSTEP_NETWORK_ROOT}:${GNUSTEP_SYSTEM_ROOT} +GNUSTEP_PATH= ${GNUSTEP_USER_ROOT}/Tools:${GNUSTEP_USER_ROOT}/Tools/${GNUSTEP_HOST_CPU}/${GNUSTEP_HOST_OS}:${GNUSTEP_LOCAL_ROOT}/Tools:${GNUSTEP_LOCAL_ROOT}/Tools/${GNUSTEP_HOST_CPU}/${GNUSTEP_HOST_OS}:${GNUSTEP_NETWORK_ROOT}/Tools:${GNUSTEP_NETWORK_ROOT}/Tools/${GNUSTEP_HOST_CPU}/${GNUSTEP_HOST_OS}:${GNUSTEP_SYSTEM_ROOT}/Tools:${GNUSTEP_SYSTEM_ROOT}/Tools/${GNUSTEP_HOST_CPU}/${GNUSTEP_HOST_OS} +GUILE_LOAD_PATH= ${GNUSTEP_USER_ROOT}/Libraries/Guile:${GNUSTEP_LOCAL_ROOT}/Libraries/Guile:${GNUSTEP_NETWORK_ROOT}/Libraries/Guile:${GNUSTEP_SYSTEM_ROOT}/Libraries/Guile + +PATH:= ${GNUSTEP_PATH}:${PATH} + +MAKE_ENV+= GNUSTEP_ROOT="${GNUSTEP_ROOT}" +MAKE_ENV+= GNUSTEP_SYSTEM_ROOT="${GNUSTEP_SYSTEM_ROOT}" +MAKE_ENV+= GNUSTEP_LOCAL_ROOT="${GNUSTEP_LOCAL_ROOT}" +MAKE_ENV+= GNUSTEP_NETWORK_ROOT="${GNUSTEP_NETWORK_ROOT}" +MAKE_ENV+= GNUSTEP_MAKEFILES="${GNUSTEP_MAKEFILES}" +MAKE_ENV+= GNUSTEP_HOST="${GNUSTEP_HOST}" +MAKE_ENV+= GNUSTEP_HOST_CPU="${GNUSTEP_HOST_CPU}" +MAKE_ENV+= GNUSTEP_HOST_VENDOR="${GNUSTEP_HOST_VENDOR}" +MAKE_ENV+= GNUSTEP_HOST_OS="${GNUSTEP_HOST_OS}" +MAKE_ENV+= GNUSTEP_USER_ROOT="${GNUSTEP_USER_ROOT}" +MAKE_ENV+= GNUSTEP_PATHLIST="${GNUSTEP_PATHLIST}" +MAKE_ENV+= GNUSTEP_FLATTENED="${GNUSTEP_FLATTENED}" +MAKE_ENV+= GUILE_LOAD_PATH="${GUILE_LOAD_PATH}" + +.if defined(GNU_CONFIGURE) +CONFIGURE_ENV+= GNUSTEP_ROOT="${GNUSTEP_ROOT}" +CONFIGURE_ENV+= GNUSTEP_SYSTEM_ROOT="${GNUSTEP_SYSTEM_ROOT}" +CONFIGURE_ENV+= GNUSTEP_LOCAL_ROOT="${GNUSTEP_LOCAL_ROOT}" +CONFIGURE_ENV+= GNUSTEP_NETWORK_ROOT="${GNUSTEP_NETWORK_ROOT}" +CONFIGURE_ENV+= GNUSTEP_MAKEFILES="${GNUSTEP_MAKEFILES}" +CONFIGURE_ENV+= GNUSTEP_HOST="${GNUSTEP_HOST}" +CONFIGURE_ENV+= GNUSTEP_HOST_CPU="${GNUSTEP_HOST_CPU}" +CONFIGURE_ENV+= GNUSTEP_HOST_VENDOR="${GNUSTEP_HOST_VENDOR}" +CONFIGURE_ENV+= GNUSTEP_HOST_OS="${GNUSTEP_HOST_OS}" +CONFIGURE_ENV+= GNUSTEP_USER_ROOT="${GNUSTEP_USER_ROOT}" +CONFIGURE_ENV+= GNUSTEP_PATHLIST="${GNUSTEP_PATHLIST}" +CONFIGURE_ENV+= GNUSTEP_FLATTENED="${GNUSTEP_FLATTENED}" +CONFIGURE_ENV+= GUILE_LOAD_PATH="${GUILE_LOAD_PATH}" +.endif + +.endif # GNUSTEP_MAKE_BUILDLINK3_MK + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} |