config root man

Current Path : /sys/contrib/dev/ral/

FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64
Upload File :
Current File : //sys/contrib/dev/ral/Makefile

#	$FreeBSD: release/9.1.0/sys/contrib/dev/ral/Makefile 236004 2012-05-25 16:07:39Z bschmidt $

FILES=	rt2561s.fw.uu rt2561.fw.uu rt2661.fw.uu rt2860.fw.uu

rt2561s.fw.uu: microcode.h LICENSE
	(echo '#include <stdint.h>'; \
	 cat microcode.h; \
	 echo 'int main(void) { \
	     write(1, rt2561s, sizeof(rt2561s)); return 0; \
	 }') | ${CC} -o build -x c -
	(sed 's/^/# /' LICENSE; ./build | uuencode rt2561s.fw) > ${.TARGET}

rt2561.fw.uu: microcode.h LICENSE
	(echo '#include <stdint.h>'; \
	 cat microcode.h; \
	 echo 'int main(void) { \
	     write(1, rt2561, sizeof(rt2561)); return 0; \
	 }') | ${CC} -o build -x c -
	(sed 's/^/# /' LICENSE; ./build | uuencode rt2561.fw) > ${.TARGET}

rt2661.fw.uu: microcode.h LICENSE
	(echo '#include <stdint.h>'; \
	 cat microcode.h; \
	 echo 'int main(void) { \
	     write(1, rt2661, sizeof(rt2661)); return 0; \
	 }') | ${CC} -o build -x c -
	(sed 's/^/# /' LICENSE; ./build | uuencode rt2661.fw) > ${.TARGET}

rt2860.fw.uu: microcode.h LICENSE
	(echo '#include <stdint.h>'; \
	 cat microcode.h; \
	 echo 'int main(void) { \
	     write(1, rt2860, sizeof(rt2860)); return 0; \
	 }') | ${CC} -o build -x c -
	(sed 's/^/# /' LICENSE; ./build | uuencode rt2860.fw) > ${.TARGET}

clean:
	rm -f build build.c ${FILES}

.include <bsd.prog.mk>

Man Man