Date: Sat, 25 Nov 1995 00:15:09 -0500 (EST) From: "Marc G. Fournier" <scrappy@hub.org> To: FreeBSD-gnats-submit@freebsd.org Subject: misc/838: /usr/src/lib Makefile assumes you want to install... Message-ID: <199511250515.AAA26960@hub.org> Resent-Message-ID: <199511250520.VAA28133@freefall.freebsd.org>
index | next in thread | raw e-mail
>Number: 838
>Category: misc
>Synopsis: /usr/src/lib Makefile assumes you want to install...
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-bugs
>State: open
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Fri Nov 24 21:20:02 PST 1995
>Last-Modified:
>Originator: Marc G. Fournier
>Organization:
Knowledge, Information and Communications, Inc (ki.net)
>Release: FreeBSD 2.1-STABLE i386
>Environment:
>Description:
The problem is that FreeBSD is currently using ncurses 1.7.4
or something like that, while I have 1.9.8 installed, so don't
want to make libncurses out of /usr/lib. The Makefile doesn't
currently create its SUBDIRS list dynamically, except for a few
of the subdirectories.
>How-To-Repeat:
>Fix:
New Makefile that dynamically creates a list of SUBDIRS instead
of assuming that someone wants to install everything.
-----[ CUT HERE ]-----
# @(#)Makefile 8.1 (Berkeley) 6/4/93
.if ${MACHINE} == "tahoe"
SUBDIR=csu/tahoe.pcc
.elif ${MACHINE} == "vax"
SUBDIR=csu/vax.pcc
.else
SUBDIR=csu/${MACHINE}
.endif
# XXX MISSING: libplot
.if exists(libc)
SUBDIR+= libc
.endif
.if exists(libcompat)
SUBDIR+= libcompat
.endif
.if exists(libcom_err)
SUBDIR+= libcom_err
.endif
.if exists(libcurses)
SUBDIR+= libcurses
.endif
.if exists(libedit)
SUBDIR+= libedit
.endif
.if exists(libf2c)
SUBDIR+= libf2c
.endif
.if exists(libforms)
SUBDIR+= libforms
.endif
.if exists(libkvm)
SUBDIR+= libkvm
.endif
.if exists(libmd)
SUBDIR+= libmd
.endif
.if exists(libmytinfo)
SUBDIR+= libmytinfo
.endif
.if exists(libpcap)
SUBDIR+= libpcap
.endif
.if exists(librpcsvc)
SUBDIR+= librpcsvc
.endif
.if exists(libscsi)
SUBDIR+= libscsi
.endif
.if exists(libskey)
SUBDIR+= libskey
.endif
.if exists(libss)
SUBDIR+= libss
.endif
.if exists(libtermcap)
SUBDIR+= libtermcap
.endif
.if exists(libutil)
SUBDIR+= libutil
.endif
.if exists(libxpg4)
SUBDIR+= libxpg4
.endif
.if exists(liby)
SUBDIR+= liby
.endif
.if exists(libipx)
SUBDIR+= libipx
.endif
.if exists(libncurses)
SUBDIR+= libncurses
.endif
.if exists(libresolv)
SUBDIR+= libresolv
.endif
.if !exists(../secure) || defined(NOSECURE) || defined(NOCRYPT)
SUBDIR+= libcrypt
.else
SUBDIR+= ../secure/lib/libcrypt
.endif
.if !exists(../secure) || defined(NOSECURE)
SUBDIR+= libtelnet
.else
SUBDIR+= ../secure/lib/libtelnet
.endif
.if defined(WANT_CSRG_LIBM)
SUBDIR+= libm
.else
SUBDIR+= msun
.endif
.include <bsd.subdir.mk>
>Audit-Trail:
>Unformatted:
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199511250515.AAA26960>
