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