Plan 9 from Bell Labs’s /usr/web/sources/contrib/fgb/root/sys/src/ape/X11/lib/lbxutil/mkfile

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


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

LIB=$X11LIB/liblbxutil.a

OFILES=\
# delta \
	lbxdelta.$O\
# image \
	misc.$O\
	dpackbits.$O\
	epackbits.$O\
	dfaxg42d.$O\
	efaxg42d.$O\
# lbx_zlib \
	lbx_zlib_io.$O\
	lbx_zlib.$O\
	reqstats.$O\

CLEANFILES=\
	$O.mkg3states\
	g3states.h\

</sys/src/cmd/mksyslib

CFLAGS=-c $X11CFLAGS -I.

%.$O: delta/%.c
	$CC $CFLAGS delta/$stem.c

%.$O: image/%.c
	$CC $CFLAGS image/$stem.c

%.$O: lbx_zlib/%.c
	$CC $CFLAGS lbx_zlib/$stem.c

g3states.h: $O.mkg3states 
	./$O.mkg3states -c > g3states.h

$O.mkg3states: image/mkg3states.c
	$CC -B -D_POSIX_SOURCE -D_BSD_EXTENSION -o $target $prereq

dfaxg42d.$O: g3states.h

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.