1 1.1 perry # $NetBSD: Makefile,v 1.1 1997/03/14 02:40:34 perry Exp $ 2 1.1 perry 3 1.1 perry S= ../../../../ 4 1.1 perry 5 1.1 perry PROG= dosboot 6 1.1 perry NOMAN= 7 1.1 perry 8 1.1 perry SRCS= main.c devopen.c version.c 9 1.1 perry 10 1.1 perry CLEANFILES+= ${DOSSTART} ${PROG}.sym ${PROG}.com ${PROG}.list 11 1.1 perry 12 1.1 perry CPPFLAGS+= -DCOMPAT_OLDBOOT 13 1.1 perry #should go into SAMISCCPPFLAGS after system upgrade 14 1.1 perry CPPFLAGS+= -DHEAP_START=0x10000 -DHEAP_LIMIT=0x40000 15 1.1 perry 16 1.1 perry #CFLAGS= -O2 -fomit-frame-pointer -fno-defer-pop 17 1.1 perry #needs some cleanup in libsa 18 1.1 perry #CFLAGS+= -Wall 19 1.1 perry 20 1.1 perry # XXX should go into library 21 1.1 perry SRCS+= getopt.c ls.c 22 1.1 perry .PATH: ${.CURDIR}/../libsa 23 1.1 perry 24 1.1 perry ${PROG}: ${PROG}.com 25 1.1 perry @# do nothing 26 1.1 perry 27 1.1 perry install: 28 1.1 perry ${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \ 29 1.1 perry ${PROG}.com ${DESTDIR}${BINDIR} 30 1.1 perry 31 1.1 perry SAMISCMAKEFLAGS= SA_USE_CREAD=yes SA_INCLUDE_NET=no 32 1.1 perry I386MISCMAKEFLAGS= I386_INCLUDE_DOS=yes 33 1.1 perry 34 1.1 perry .include "../Makefile.booters" 35