1 1.2 mrg # $NetBSD: Makefile,v 1.2 2019/02/07 06:01:04 mrg Exp $ 2 1.1 minoura 3 1.1 minoura .if ${MACHINE} == "x68k" 4 1.1 minoura PROG= memswitch 5 1.1 minoura SRCS= memswitch.c properties.c methods.c 6 1.1 minoura .endif 7 1.1 minoura 8 1.1 minoura MAN= memswitch.8 9 1.1 minoura MANSUBDIR= /x68k 10 1.1 minoura 11 1.2 mrg .include <bsd.own.mk> 12 1.2 mrg 13 1.2 mrg # XXX Not sure how to fix this problem 14 1.2 mrg .if defined(HAVE_GCC) && ${HAVE_GCC} == 7 && ${ACTIVE_CC} == "gcc" 15 1.2 mrg COPTS.memswitch.c+= -Wno-error=stringop-overflow 16 1.2 mrg .endif 17 1.2 mrg 18 1.1 minoura .include <bsd.prog.mk> 19