Plan 9 from Bell Labs’s /usr/web/sources/plan9/sys/src/9/port/mkfile

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


# If the existence of this mkfile screws something up, rename it.	-rsc

master:DV:
	{
	echo '# do not edit; automatically generated'
	echo
	echo '
		X , s/Dev (.*)devtab.*{.*\n	L?''(.*)''/DEV \1 \2\n/
		X ,x g/^DEV/ p
	' | sam -d ../*/dev*.c >[2]/dev/null |
	awk '/^DEV/ { printf("%s\t%s\n", $3, $2); }' |
	sort -u
	echo
	cat master.local
	} >master

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to [email protected].