2010-05-27 00:49:57 +02:00
|
|
|
# Makefile for memory driver (MEMORY)
|
|
|
|
PROG= memory
|
|
|
|
SRCS= memory.c imgrd.c
|
|
|
|
|
|
|
|
DPADD+= ${LIBDRIVER} ${LIBSYS}
|
|
|
|
LDADD+= -ldriver -lsys
|
|
|
|
|
|
|
|
MAN=
|
|
|
|
|
|
|
|
BINDIR?= /usr/sbin
|
|
|
|
INSTALLFLAGS+= -S 8k
|
|
|
|
|
|
|
|
CPPFLAGS.memory.c+= -I${MINIXSRCDIR}
|
|
|
|
CPPFLAGS.imgrd.c+= -I${.CURDIR}/../ramdisk -T /usr/tmp
|
2005-04-21 16:53:53 +02:00
|
|
|
|
2010-08-29 19:50:51 +02:00
|
|
|
imgrd.d: touch-genfiles
|
|
|
|
|
|
|
|
touch-genfiles:
|
|
|
|
[ -e ${.CURDIR}/../ramdisk/image.c ] || touch -t 197001010000.00 ${.CURDIR}/../ramdisk/image.c
|
2010-08-26 21:54:49 +02:00
|
|
|
|
2011-06-24 17:20:25 +02:00
|
|
|
.include <minix.bootprog.mk>
|