Remove the remaining files in lib directory. The other files in
this directory were moved to ../common via a CVS repository copy.
This commit is contained in:
parent
40bbc6129e
commit
10c7b5ab91
@ -1,19 +0,0 @@
|
||||
# $NetBSD: Makefile,v 1.2 1999/04/28 09:18:48 christos Exp $
|
||||
|
||||
S?= ${.CURDIR}/../../../../
|
||||
|
||||
LIB= pmax
|
||||
MKPIC= no
|
||||
MKPROFILE=no
|
||||
|
||||
CPPFLAGS= -I$S/lib/libsa ${PMAXCPPFLAGS} ${PMAXMISCCPPFLAGS}
|
||||
|
||||
SRCS= bootinfo.c callvec.c conf.c devopen.c putchar.c rz.c
|
||||
SRCS+= bootinit.S bootread.S startprog.S
|
||||
|
||||
.include <bsd.lib.mk>
|
||||
|
||||
lib${LIB}.o:: ${OBJS}
|
||||
@echo building standard ${LIB} library
|
||||
@rm -f lib${LIB}.o
|
||||
@${LD} -r -o lib${LIB}.o `lorder ${OBJS} | tsort`
|
@ -1,52 +0,0 @@
|
||||
# $NetBSD: Makefile.inc,v 1.1 1999/03/25 04:16:15 simonb Exp $
|
||||
#
|
||||
# Configuration variables (default values are below):
|
||||
#
|
||||
# S must be set to the top of the 'sys' tree.
|
||||
# PMAXDST may be set to the location of the directory where library
|
||||
# objects are to be built. Defaults to ${.OBJDIR}/lib/pmax.
|
||||
# PMAXMISCCPPFLAGS
|
||||
# Miscellaneous cpp flags to be passed to the library's Makefile
|
||||
# when building.
|
||||
# PMAXMISCMAKEFLAGS
|
||||
# Miscellaneous flags to be passed to the library's Makefile when
|
||||
# building. See library's Makefile for more details about
|
||||
# supported flags and their default values.
|
||||
|
||||
# Default values:
|
||||
PMAXDST?= ${.OBJDIR}/lib/pmax
|
||||
|
||||
#PMAXDIR= $S/arch/pmax/stand/lib
|
||||
PMAXLIB= ${PMAXDST}/libpmax.a
|
||||
|
||||
PMAXMAKE= \
|
||||
cd ${PMAXDIR} && MAKEOBJDIR=${PMAXDST} ${MAKE} \
|
||||
CC=${CC:Q} CFLAGS=${CFLAGS:Q} \
|
||||
AS=${AS:Q} AFLAGS=${AFLAGS:Q} \
|
||||
LD=${LD:Q} STRIP=${STRIP:Q} \
|
||||
MACHINE=${MACHINE} MACHINE_ARCH=${MACHINE_ARCH:Q} \
|
||||
PMAXCPPFLAGS=${CPPFLAGS:S@^-I.@-I../../.@g:Q} \
|
||||
PMAXMISCCPPFLAGS=${PMAXMISCCPPFLAGS:Q} S=${S:Q} \
|
||||
${PMAXMISCMAKEFLAGS}
|
||||
|
||||
${PMAXLIB}: .NOTMAIN __always_make_pmaxlib
|
||||
@echo making sure the pmax library is up to date...
|
||||
@${PMAXMAKE} libpmax.a
|
||||
|
||||
clean: .NOTMAIN cleanpmaxlib
|
||||
cleanpmaxlib: .NOTMAIN __always_make_pmaxlib
|
||||
@echo cleaning the pmax library objects
|
||||
@${PMAXMAKE} clean
|
||||
|
||||
cleandir distclean: .NOTMAIN cleandirpmaxlib
|
||||
cleandirpmaxlib: .NOTMAIN __always_make_pmaxlib
|
||||
@echo cleandiring the pmax library objects
|
||||
@${PMAXMAKE} cleandir
|
||||
|
||||
depend: .NOTMAIN dependpmaxlib
|
||||
dependpmaxlib: .NOTMAIN __always_make_pmaxlib
|
||||
@echo depending the pmax library objects
|
||||
@${PMAXMAKE} depend
|
||||
|
||||
__always_make_pmaxlib: .NOTMAIN
|
||||
@mkdir -p ${PMAXDST}
|
@ -1,10 +0,0 @@
|
||||
/* $NetBSD: byteswap.h,v 1.2 1998/01/05 07:03:16 perry Exp $ */
|
||||
|
||||
/*
|
||||
* inline macros for doing byteswapping on a little-endian machine.
|
||||
* for boot.
|
||||
*/
|
||||
#define ntohs(x) \
|
||||
( ( ((u_short)(x)&0xff) << 8) | ( ((u_short) (x)&0xff00) >> 8) )
|
||||
#define ntohl(x) \
|
||||
( ((ntohs((u_short)(x))) << 16) | (ntohs( (u_short) ((x)>>16) )) )
|
Loading…
Reference in New Issue
Block a user