8ff1029282
- A major 11th hour, last second, untested commit! Build some infrastructure to clean up the compat lib distributions, and also allow them to be installed from the source tree rather than having to to and get the tarballs from freefall or a CD. Some tweaks to /etc/make.conf are in the pipeline to enable it. This came about because it became apparent that we'd have to change the compat21.tgz tarball to fix the NIS problem with 2.1.x binaries. Since it's tar..gz.uu, doing this would have caused a huge repository change and we may as well try and fix it once and for all. Now, adding/removing libraries should have MUCH less repository impact. Peril sensative sunglasses: on! Flame proof suit: on! Concept reviewed by a stream of ascii representing the opinion of: jkh Changes casually reviewed by: jkh (but not actually tested)
30 lines
761 B
Makefile
30 lines
761 B
Makefile
# $Id$
|
|
|
|
DISTRIBUTION= compat1x
|
|
|
|
LIBS= libc.so.1.1 libcurses.so.1.1 libf2c.so.1.1 libg++.so.1.1 \
|
|
libgcc.so.1.1 libgnumalloc.so.1.1 libgnuregex.so.1.1 libln.so.1.1 \
|
|
libm.so.1.1 libmalloc.so.1.1 libreadline.so.1.1 libresolv.so.1.1 \
|
|
librpcsvc.so.1.1 libskey.so.1.1 libtelnet.so.1.1 libtermcap.so.1.1 \
|
|
libtermlib.so.1.1 libutil.so.1.1 liby.so.1.1
|
|
|
|
CLEANFILES+= ${LIBS}
|
|
|
|
all: ${LIBS}
|
|
|
|
.for lib in ${LIBS:S,libtermlib.so.1.1,,}
|
|
${lib}: ${lib}.gz.uu
|
|
uudecode ${.CURDIR}/${lib}.gz.uu
|
|
gunzip ${lib}.gz
|
|
.endfor
|
|
|
|
libtermlib.so.1.1: libtermcap.so.1.1
|
|
ln libtermcap.so.1.1 libtermlib.so.1.1
|
|
|
|
install:
|
|
${INSTALL} -c -o ${BINMODE} -g ${BINGRP} -m ${BINMODE} ${LIBS} \
|
|
${DESTDIR}${BINDIR}
|
|
|
|
# Get all the fruit, even though we don't set PROG
|
|
.include <bsd.prog.mk>
|