Changeset View
Changeset View
Standalone View
Standalone View
head/usr.bin/gcore/Makefile
# @(#)Makefile 8.1 (Berkeley) 6/6/93 | # @(#)Makefile 8.1 (Berkeley) 6/6/93 | ||||
# $FreeBSD$ | # $FreeBSD$ | ||||
PROG= gcore | PROG= gcore | ||||
SRCS= elfcore.c gcore.c | SRCS= elfcore.c gcore.c | ||||
LIBADD= sbuf util | LIBADD= sbuf util | ||||
.if ${MACHINE_ARCH} == "amd64" | .if ${MACHINE_ARCH} == "aarch64" || ${MACHINE_ARCH} == "amd64" | ||||
SRCS+= elf32core.c | SRCS+= elf32core.c | ||||
.endif | .endif | ||||
WARNS?= 1 | WARNS?= 1 | ||||
.include <bsd.prog.mk> | .include <bsd.prog.mk> |