diff --git a/sys/arch/pmax/stand/lib/Makefile b/sys/arch/pmax/stand/lib/Makefile deleted file mode 100644 index 1b199a2be96f..000000000000 --- a/sys/arch/pmax/stand/lib/Makefile +++ /dev/null @@ -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 - -lib${LIB}.o:: ${OBJS} - @echo building standard ${LIB} library - @rm -f lib${LIB}.o - @${LD} -r -o lib${LIB}.o `lorder ${OBJS} | tsort` diff --git a/sys/arch/pmax/stand/lib/Makefile.inc b/sys/arch/pmax/stand/lib/Makefile.inc deleted file mode 100644 index 6305c985a111..000000000000 --- a/sys/arch/pmax/stand/lib/Makefile.inc +++ /dev/null @@ -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} diff --git a/sys/arch/pmax/stand/lib/byteswap.h b/sys/arch/pmax/stand/lib/byteswap.h deleted file mode 100644 index 4c50c0ce22c7..000000000000 --- a/sys/arch/pmax/stand/lib/byteswap.h +++ /dev/null @@ -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) )) )