2010-05-27 00:49:57 +02:00
|
|
|
# Makefile for memory driver (MEMORY)
|
2010-06-25 20:29:09 +02:00
|
|
|
.include <bsd.own.mk>
|
2005-04-21 16:53:53 +02:00
|
|
|
|
2010-05-27 00:49:57 +02:00
|
|
|
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
|
|
|
|
2010-06-25 20:29:09 +02:00
|
|
|
.include <bsd.prog.mk>
|