2009-04-04 11:23:00 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PROG= uathload
|
2009-04-08 06:51:58 +00:00
|
|
|
MAN= uathload.8
|
2009-04-04 11:23:00 +00:00
|
|
|
|
|
|
|
SRCS= uathload.c ar5523.bin
|
|
|
|
|
|
|
|
CLEANFILES= ar5523.bin
|
|
|
|
|
2011-02-16 21:04:47 +00:00
|
|
|
.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "powerpc" || ${MACHINE_ARCH} == "powerpc64"
|
2011-02-16 20:46:57 +00:00
|
|
|
LDFLAGS+= -Wl,-z,noexecstack
|
|
|
|
.endif
|
|
|
|
|
2009-04-04 11:23:00 +00:00
|
|
|
ar5523.bin: ${.CURDIR}/../../sys/contrib/dev/uath/ar5523.bin.uu
|
|
|
|
uudecode -p ${.CURDIR}/../../sys/contrib/dev/uath/ar5523.bin.uu > ${.TARGET}
|
|
|
|
|
|
|
|
ar5523.o: ar5523.bin
|
|
|
|
${LD} -b binary -d -warn-common -r -d -o ${.TARGET} ar5523.bin
|
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|