# $NetBSD: Makefile,v 1.2 2007/08/09 16:08:59 nonaka Exp $ S= ${.CURDIR}/../../../.. OBJS= zbsdmod.o SRCS= zbsdmod.c NOMAN= yes realall: ${OBJS} cleandir: rm -f machine arm .include afterinstall: ${INSTALL} ${INSTALL_COPY} -o root -g wheel -m 644 \ ${OBJS} ${DESTDIR}/${BINDIR} CFLAGS= -Wall -Wmissing-prototypes -Wstrict-prototypes CFLAGS+= -DMACHINE=\"${MACHINE}\" -DUTS_RELEASE=\"2.4.20\" CPPFLAGS+= -nostdinc -D_STANDALONE CPPFLAGS+= -I${.OBJDIR} -I${S} .if !make(obj) && !make(clean) && !make(cleandir) && !make(release) .BEGIN: machine arm .NOPATH: machine arm machine:: -rm -f $@ ln -s ${S}/arch/${MACHINE}/include $@ arm:: -rm -f $@ ln -s ${S}/arch/arm/include $@ .endif release: check_RELEASEDIR ${HOST_INSTALL_FILE} -m ${NONBINMODE} ${OBJS} \ ${RELEASEDIR}/${MACHINE}/installation