Plan 9 from Bell Labs’s /usr/web/sources/contrib/bichued/root/sys/src/cmd/python/Parser/mkfile

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


APE=/sys/src/ape
<$APE/config

LIB=/$objtype/lib/ape/libpython.a

OFILES=\
	acceler.$O\
	bitset.$O\
	firstsets.$O\
	grammar1.$O\
	listnode.$O\
	metagrammar.$O\
	myreadline.$O\
	node.$O\
	parser.$O\
	parsetok.$O\
	tokenizer.$O\

CLEANFILES=$O.pgen

</sys/src/cmd/mksyslib

CFLAGS=-c -I.. -I../Include -DT$objtype -DPy_BUILD_CORE -DNDEBUG

PGENOFILES=\
	acceler.$O\
	bitset.$O\
	firstsets.$O\
	grammar.$O\
	grammar1.$O\
	listnode.$O\
	metagrammar.$O\
	node.$O\
	parser.$O\
	parsetok.$O\
	pgen.$O\
	pgenmain.$O\
	printgrammar.$O\
	tokenizer_pgen.$O\
	../Objects/obmalloc.$O\
	../Python/mysnprintf.$O\

$O.pgen:	$PGENOFILES
	$LD -o $target $prereq

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to webmaster@9p.io.