use .INVISIBLE to hide random.S, instead of extra rules.

This commit is contained in:
christos 2014-08-27 08:51:37 +00:00
parent f50c40cd6c
commit 2fac5fd5c7

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.inc,v 1.32 2014/03/18 18:20:43 riastradh Exp $
# $NetBSD: Makefile.inc,v 1.33 2014/08/27 08:51:37 christos Exp $
SRCS+= bswap16.S bswap32.S bswap64.S
SRCS+= memcmp.S memcpy.S memmove.S memset.S
@ -10,9 +10,5 @@ SRCS+= ffs.S
.if defined(MACHINE_ARCH) && (${MACHINE_ARCH} == "m68000")
SRCS+= mulsi3.S divsi3.S udivsi3.S modsi3.S umodsi3.S
.endif
.if defined(MACHINE_ARCH) && ${MACHINE_ARCH} == "m68k"
SRCS+= random.S
.else
random.o random.po random.pico random.d: random.c
random.S: .INVISIBLE
.endif