diff options
author | jlam <jlam@pkgsrc.org> | 2002-10-08 12:55:49 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2002-10-08 12:55:49 +0000 |
commit | 950843c223c92f31ff001e363ed2e487349f0d3a (patch) | |
tree | ec615007950eeb780067572bfcc8e710b5237f5f | |
parent | 2fb79194ef5c06ffece78fef0b1e8ff781bed459 (diff) | |
download | pkgsrc-950843c223c92f31ff001e363ed2e487349f0d3a.tar.gz |
Unused.
-rw-r--r-- | mk/motif.buildlink.mk | 159 | ||||
-rw-r--r-- | x11/lesstif/buildlink.mk | 38 | ||||
-rw-r--r-- | x11/openmotif/buildlink.mk | 38 |
3 files changed, 0 insertions, 235 deletions
diff --git a/mk/motif.buildlink.mk b/mk/motif.buildlink.mk deleted file mode 100644 index 891b2ec0d42..00000000000 --- a/mk/motif.buildlink.mk +++ /dev/null @@ -1,159 +0,0 @@ -# $NetBSD: motif.buildlink.mk,v 1.12 2002/04/23 02:14:20 jlam Exp $ -# -# This Makefile fragment is included by packages that use Motif. -# -# To use this Makefile fragment, simply: -# -# (1) Optionally set USE_MOTIF12 to use a Motif-1.2-compatible installation. -# Otherwise, assume we want a Motif-2.0-compatible installation. -# (2) Optionally set MOTIFBASE or MOTIF12BASE to choose the Motif-2.0 or -# Motif-1.2-compatible installation at the named location, -# (3) Or optionally set MOTIF_TYPE or MOTIF12_TYPE to choose a specific -# Motif-2.0 or Motif-1.2-compatible package to be used, -# (4) And include this Makefile fragment in the package Makefile. - -.if !defined(MOTIF_BUILDLINK_MK) -MOTIF_BUILDLINK_MK= # defined - -.include "../../mk/bsd.prefs.mk" - -.if defined(USE_MOTIF12) -# -# If /usr/dt is a valid Motif-1.2 installation, then use it. Otherwise, -# if ${X11BASE} is valid, then use it. Otherwise, use the Motif-1.2 -# specified by ${MOTIF12_TYPE_DEFAULT}. -# -. if exists(/usr/dt/include/Xm/Xm.h) && \ - !exists(/usr/dt/include/Xm/Gadget.h) -_MOTIF_TYPE= dt -. elif exists(${X11BASE}/include/Xm/Xm.h) && \ - !exists(${X11BASE}/include/Xm/Gadget.h) -_MOTIF_TYPE= none -. else -_MOTIF_TYPE= ${MOTIF12_TYPE_DEFAULT} -. endif -.else -# -# If /usr/dt is a valid Motif-2.0 installation, then use it. Otherwise, -# check to see if a pkgsrc Motif-2.0 is installed and valid, then use it. -# Otherwise, if ${X11BASE} is valid, then use it. Otherwise, use the -# Motif-2.0 specified by ${MOTIF_TYPE_DEFAULT}. -# -. if exists(/usr/dt/include/Xm/Xm.h) && \ - exists(/usr/dt/include/Xm/Gadget.h) -_MOTIF_TYPE= dt -. elif exists(${X11BASE}/lib/X11/config/OpenMotif.tmpl) || \ - exists(${LOCALBASE}/lib/X11/config/OpenMotif.tmpl) -_MOTIF_TYPE= openmotif -. elif exists(${X11BASE}/lib/X11/config/LessTif.tmpl) || \ - exists(${LOCALBASE}/lib/X11/config/LessTif.tmpl) -_MOTIF_TYPE= lesstif -. elif exists(${X11BASE}/include/Xm.h) && \ - exists(${X11BASE}/include/Xm/Gadget.h) -_MOTIF_TYPE= none -. else -_MOTIF_TYPE= ${MOTIF_TYPE_DEFAULT} -. endif -.endif - -# If MOTIF_TYPE is set, then let that override the Motif-discovery just -# performed. We only recognize the tested strings as proper values for -# MOTIF_TYPE. -# -.if defined(USE_MOTIF12) -. if defined(MOTIF12_TYPE) -. if (${MOTIF12_TYPE} == "dt") || \ - (${MOTIF12_TYPE} == "lesstif12") -_MOTIF_TYPE= ${MOTIF12_TYPE} -. endif -. endif -.else -. if defined(MOTIF_TYPE) -. if (${MOTIF_TYPE} == "dt") || \ - (${MOTIF_TYPE} == "lesstif") || \ - (${MOTIF_TYPE} == "openmotif") -_MOTIF_TYPE= ${MOTIF_TYPE} -. endif -. endif -.endif - -.if defined(USE_MOTIF12) -# -# If MOTIF12BASE is set, then let that override all other Motif-1.2 -# discovery just performed. -# -. if defined(MOTIF12BASE) -_MOTIF_TYPE= none -_MOTIFBASE= ${MOTIF12BASE} -. else -. if ${_MOTIF_TYPE} == "dt" -_MOTIFBASE= /usr/dt -. elif ${_MOTIF_TYPE} == "none" -_MOTIFBASE= ${X11BASE} -. endif -. endif -.else -# -# If MOTIFBASE is set, then let that override all other Motif-2.0 -# discovery just performed. -# -. if defined(MOTIFBASE) -_MOTIF_TYPE= none -_MOTIFBASE= ${MOTIFBASE} -. else -. if ${_MOTIF_TYPE} == "dt" -_MOTIFBASE= /usr/dt -. elif ${_MOTIF_TYPE} == "none" -_MOTIFBASE= ${X11BASE} -. endif -. endif -.endif - -.if ${_MOTIF_TYPE} == "openmotif" -. include "../../x11/openmotif/buildlink.mk" -_MOTIFBASE= ${BUILDLINK_PREFIX.openmotif} -.elif ${_MOTIF_TYPE} == "lesstif" -. include "../../x11/lesstif/buildlink.mk" -_MOTIFBASE= ${BUILDLINK_PREFIX.lesstif} -.elif ${_MOTIF_TYPE} == "lesstif12" -. include "../../x11/lesstif12/buildlink.mk" -_MOTIFBASE= ${BUILDLINK_PREFIX.lesstif12} -.else -# -# Link the pre-existing Motif libraries and headers in ${_MOTIFBASE} into -# ${BUILDLINK_DIR}. -# -. include "../../mk/bsd.buildlink.mk" -BUILDLINK_PREFIX.motif= ${_MOTIFBASE} -BUILDLINK_FILES.motif= include/Mrm/* -BUILDLINK_FILES.motif+= include/Xm/* -BUILDLINK_FILES.motif+= include/uil/* -BUILDLINK_FILES.motif+= lib/libMrm.* -BUILDLINK_FILES.motif+= lib/libUil.* -BUILDLINK_FILES.motif+= lib/libXm.* - -BUILDLINK_TARGETS.motif= motif-buildlink -BUILDLINK_TARGETS+= ${BUILDLINK_TARGETS.motif} - -pre-configure: ${BUILDLINK_TARGETS.motif} -motif-buildlink: _BUILDLINK_USE -.endif - -.if defined(USE_MOTIF12) -. if !defined(MOTIF12BASE) -MOTIF12_TYPE:= ${_MOTIF_TYPE} -MOTIF12BASE= ${_MOTIFBASE} -. endif -.else -. if !defined(MOTIFBASE) -MOTIF_TYPE:= ${_MOTIF_TYPE} -MOTIFBASE= ${_MOTIFBASE} -. endif -.endif - -USE_X11= # defined -MAKE_ENV+= MOTIFLIB="${MOTIFLIB}" -LDFLAGS+= -Wl,-R${_MOTIFBASE}/lib -MOTIFLIB?= -Wl,-R${_MOTIFBASE}/lib -Wl,-R${X11BASE}/lib -L${BUILDLINK_DIR}/lib -lXm -lXp - -.endif # MOTIF_BUILDLINK_MK diff --git a/x11/lesstif/buildlink.mk b/x11/lesstif/buildlink.mk deleted file mode 100644 index fbf74e447e4..00000000000 --- a/x11/lesstif/buildlink.mk +++ /dev/null @@ -1,38 +0,0 @@ -# $NetBSD: buildlink.mk,v 1.8 2001/09/13 08:09:41 jlam Exp $ -# -# This Makefile fragment is included by packages that use lesstif. -# -# To use this Makefile fragment, simply: -# -# (1) Optionally define BUILDLINK_DEPENDS.lesstif to the dependency pattern -# for the version of lesstif desired. -# (2) Include this Makefile fragment in the package Makefile, -# (3) Add ${BUILDLINK_DIR}/include to the front of the C preprocessor's header -# search path, and -# (4) Add ${BUILDLINK_DIR}/lib to the front of the linker's library search -# path. - -.if !defined(LESSTIF_BUILDLINK_MK) -LESSTIF_BUILDLINK_MK= # defined - -.include "../../mk/bsd.buildlink.mk" - -BUILDLINK_DEPENDS.lesstif?= lesstif>=0.91.4 -DEPENDS+= ${BUILDLINK_DEPENDS.lesstif}:../../x11/lesstif - -EVAL_PREFIX+= BUILDLINK_PREFIX.lesstif=lesstif -BUILDLINK_PREFIX.lesstif_DEFAULT= ${X11PREFIX} -BUILDLINK_FILES.lesstif= include/Mrm/* -BUILDLINK_FILES.lesstif+= include/Xm/* -BUILDLINK_FILES.lesstif+= include/uil/* -BUILDLINK_FILES.lesstif+= lib/libMrm.* -BUILDLINK_FILES.lesstif+= lib/libUil.* -BUILDLINK_FILES.lesstif+= lib/libXm.* - -BUILDLINK_TARGETS.lesstif= lesstif-buildlink -BUILDLINK_TARGETS+= ${BUILDLINK_TARGETS.lesstif} - -pre-configure: ${BUILDLINK_TARGETS.lesstif} -lesstif-buildlink: _BUILDLINK_USE - -.endif # LESSTIF_BUILDLINK_MK diff --git a/x11/openmotif/buildlink.mk b/x11/openmotif/buildlink.mk deleted file mode 100644 index 29f01eed925..00000000000 --- a/x11/openmotif/buildlink.mk +++ /dev/null @@ -1,38 +0,0 @@ -# $NetBSD: buildlink.mk,v 1.2 2001/09/13 08:09:42 jlam Exp $ -# -# This Makefile fragment is included by packages that use openmotif. -# -# To use this Makefile fragment, simply: -# -# (1) Optionally define BUILDLINK_DEPENDS.openmotif to the dependency pattern -# for the version of openmotif desired. -# (2) Include this Makefile fragment in the package Makefile, -# (3) Add ${BUILDLINK_DIR}/include to the front of the C preprocessor's header -# search path, and -# (4) Add ${BUILDLINK_DIR}/lib to the front of the linker's library search -# path. - -.if !defined(OPENMOTIF_BUILDLINK_MK) -OPENMOTIF_BUILDLINK_MK= # defined - -.include "../../mk/bsd.buildlink.mk" - -BUILDLINK_DEPENDS.openmotif?= openmotif>=2.1.30 -DEPENDS+= ${BUILDLINK_DEPENDS.openmotif}:../../x11/openmotif - -EVAL_PREFIX+= BUILDLINK_PREFIX.openmotif=openmotif -BUILDLINK_PREFIX.openmotif_DEFAULT= ${X11PREFIX} -BUILDLINK_FILES.openmotif= include/Mrm/* -BUILDLINK_FILES.openmotif+= include/Xm/* -BUILDLINK_FILES.openmotif+= include/uil/* -BUILDLINK_FILES.openmotif+= lib/libMrm.* -BUILDLINK_FILES.openmotif+= lib/libUil.* -BUILDLINK_FILES.openmotif+= lib/libXm.* - -BUILDLINK_TARGETS.openmotif= openmotif-buildlink -BUILDLINK_TARGETS+= ${BUILDLINK_TARGETS.openmotif} - -pre-configure: ${BUILDLINK_TARGETS.openmotif} -openmotif-buildlink: _BUILDLINK_USE - -.endif # OPENMOTIF_BUILDLINK_MK |