b6a67d6d2b
All Makefiles now use MACHINE_ARCH for the target architecture. Unification is required for cross-building. Tags added to: sys/boot/Makefile sys/boot/arc/loader/Makefile sys/kern/Makefile usr.bin/cpp/Makefile usr.bin/gcore/Makefile usr.bin/truss/Makefile usr.bin/gcore/Makefile: fixed typo: MACHINDE -> MACHINE_ARCH
17 lines
243 B
Makefile
17 lines
243 B
Makefile
# @(#)Makefile 8.1 (Berkeley) 6/6/93
|
|
# $FreeBSD$
|
|
|
|
PROG= gcore
|
|
SRCS= elfcore.c gcore.c
|
|
CFLAGS+=-Wall
|
|
DPADD= ${LIBKVM}
|
|
LDADD= -lkvm
|
|
|
|
.if ${MACHINE_ARCH} != "sparc"
|
|
SRCS+= md-nop.c
|
|
.else
|
|
SRCS+= md-${MACHINE_ARCH}.c
|
|
.endif
|
|
|
|
.include <bsd.prog.mk>
|