2001-09-11 01:13:15 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PROG= kldxref
|
2003-04-04 17:49:21 +00:00
|
|
|
MAN= kldxref.8
|
2004-08-27 00:58:40 +00:00
|
|
|
SRCS= kldxref.c ef.c ef_obj.c
|
2003-04-04 17:49:21 +00:00
|
|
|
|
2001-12-09 07:22:26 +00:00
|
|
|
WARNS?= 2
|
2007-11-20 02:07:30 +00:00
|
|
|
CFLAGS+=-fno-strict-aliasing
|
2001-12-09 07:22:26 +00:00
|
|
|
|
2010-08-28 15:03:11 +00:00
|
|
|
.if exists(ef_${MACHINE_CPUARCH}.c) && ${MACHINE_ARCH} != "powerpc64"
|
2010-08-23 22:24:11 +00:00
|
|
|
SRCS+= ef_${MACHINE_CPUARCH}.c
|
2003-01-21 03:51:53 +00:00
|
|
|
.else
|
|
|
|
SRCS+= ef_nop.c
|
|
|
|
.endif
|
|
|
|
|
2001-09-11 01:13:15 +00:00
|
|
|
.include <bsd.prog.mk>
|