35 lines
790 B
Makefile
35 lines
790 B
Makefile
# $NetBSD: Makefile,v 1.3 1997/05/07 16:15:02 mycroft Exp $
|
|
|
|
S= ${.CURDIR}/../../../../
|
|
|
|
PROG= dosboot
|
|
NOMAN=
|
|
|
|
SRCS= main.c devopen.c version.c
|
|
|
|
CLEANFILES+= ${DOSSTART} ${PROG}.sym ${PROG}.com ${PROG}.list
|
|
|
|
CPPFLAGS+= -DCOMPAT_OLDBOOT
|
|
#should go into SAMISCCPPFLAGS after system upgrade
|
|
CPPFLAGS+= -DHEAP_START=0x10000 -DHEAP_LIMIT=0x40000
|
|
|
|
#CFLAGS= -O2 -fomit-frame-pointer -fno-defer-pop
|
|
#needs some cleanup in libsa
|
|
#CFLAGS+= -Wall
|
|
|
|
# XXX should go into library
|
|
SRCS+= getopt.c ls.c
|
|
.PATH: ${.CURDIR}/../libsa
|
|
|
|
${PROG}: ${PROG}.com
|
|
@# do nothing
|
|
|
|
proginstall::
|
|
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
|
|
${PROG}.com ${DESTDIR}${BINDIR}
|
|
|
|
SAMISCMAKEFLAGS= SA_USE_CREAD=yes SA_INCLUDE_NET=no
|
|
I386MISCMAKEFLAGS= I386_INCLUDE_DOS=yes
|
|
|
|
.include "../Makefile.booters"
|