2005-04-21 16:53:53 +02:00
|
|
|
# Makefile for the boot monitor package.
|
|
|
|
|
2010-05-12 18:28:54 +02:00
|
|
|
PROGS= bootblock cdbootblock bootexec boot masterboot \
|
|
|
|
jumpboot installboot edparams
|
|
|
|
|
|
|
|
SRCS.bootblock= bootblock.s
|
|
|
|
CPPFLAGS.bootblock.s= ${I86CPPFLAGS}
|
|
|
|
LDFLAGS.bootblock= ${I86LDFLAGS}
|
|
|
|
BINDIR.bootblock= /usr/mdec
|
|
|
|
MAN.bootblock=
|
|
|
|
|
|
|
|
SRCS.cdbootblock= cdbootblock.s
|
|
|
|
CPPFLAGS.cdbootblock.s= ${I86CPPFLAGS} -DCDBOOT
|
|
|
|
LDFLAGS.cdbootblock= ${I86LDFLAGS}
|
|
|
|
BINDIR.cdbootblock= /usr/mdec
|
|
|
|
MAN.cdbootblock=
|
|
|
|
|
|
|
|
SRCS.bootexec= boothead.s boot.c bootimage.c rawfs86.c
|
|
|
|
CPPFLAGS.boothead.s= ${I86CPPFLAGS}
|
|
|
|
CPPFLAGS.boot.c= ${I86CPPFLAGS}
|
|
|
|
CPPFLAGS.bootimage.c= ${I86CPPFLAGS}
|
|
|
|
CPPFLAGS.rawfs86.c= ${I86CPPFLAGS}
|
|
|
|
LDFLAGS.bootexec= ${I86LDFLAGS}
|
|
|
|
DPADD.bootexec= ${LIBSYS}
|
|
|
|
LDADD.bootexec= -lsys
|
|
|
|
BINDIR.bootexec= /usr/mdec
|
|
|
|
MAN.bootexec=
|
|
|
|
|
|
|
|
BINDIR.boot= /usr/mdec
|
|
|
|
MAN.boot=
|
|
|
|
|
|
|
|
SRCS.masterboot= masterboot.s
|
|
|
|
CPPFLAGS.masterboot.s= ${I86CPPFLAGS}
|
|
|
|
LDFLAGS.masterboot= ${I86LDFLAGS}
|
|
|
|
BINDIR.masterboot= /usr/mdec
|
|
|
|
MAN.masterboot=
|
|
|
|
|
|
|
|
SRCS.jumpboot= jumpboot.s
|
|
|
|
CPPFLAGS.jumpboot.s= ${I86CPPFLAGS}
|
|
|
|
LDFLAGS.jumpboot= ${I86LDFLAGS}
|
|
|
|
BINDIR.jumpboot= /usr/mdec
|
|
|
|
MAN.jumpboot=
|
|
|
|
|
|
|
|
SRCS.installboot= installboot.c rawfs.c
|
|
|
|
BINDIR.installboot= /usr/bin
|
|
|
|
MAN.installboot=
|
|
|
|
|
|
|
|
SRCS.edparams= edparams.c rawfs.c
|
|
|
|
CPPFLAGS.edparams.c= -DUNIX
|
|
|
|
BINDIR.edparams= /usr/bin
|
|
|
|
MAN.edparams=
|
|
|
|
|
|
|
|
rawfs86.c: rawfs.c
|
2005-04-21 16:53:53 +02:00
|
|
|
ln -f rawfs.c rawfs86.c
|
|
|
|
|
2010-05-12 18:28:54 +02:00
|
|
|
edparams.c: boot.c
|
2005-04-21 16:53:53 +02:00
|
|
|
ln -f boot.c edparams.c
|
|
|
|
|
2010-05-12 18:28:54 +02:00
|
|
|
cdbootblock.s: bootblock.s
|
|
|
|
ln -f bootblock.s cdbootblock.s
|
2005-04-21 16:53:53 +02:00
|
|
|
|
2010-05-12 18:28:54 +02:00
|
|
|
boot: bootexec
|
|
|
|
install -S 22kb bootexec
|
|
|
|
cp bootexec boot
|
2005-04-21 16:53:53 +02:00
|
|
|
|
2010-05-12 18:28:54 +02:00
|
|
|
CPPFLAGS= -I${MINIXSRCDIR}
|
|
|
|
AFLAGS= -I${MINIXSRCDIR}
|
|
|
|
I86CPPFLAGS= -mi86 -Was-ncc
|
|
|
|
I86LDFLAGS= -mi86 -Was-ncc -.o -com
|
2005-04-21 16:53:53 +02:00
|
|
|
|
2010-05-12 18:28:54 +02:00
|
|
|
STRIPFLAG= -s
|
2005-04-21 16:53:53 +02:00
|
|
|
|
2010-05-12 18:28:54 +02:00
|
|
|
CLEANFILES+= rawfs86.c edparams.c cdbootblock.s
|
2005-04-21 16:53:53 +02:00
|
|
|
|
2010-05-12 18:28:54 +02:00
|
|
|
.include <minix.prog.mk>
|