Plan 9 from Bell Labs’s /usr/web/sources/contrib/fgb/root/sys/src/ape/lib/jpeg/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/libjpeg.a

OFILES=\
	jcapimin.$O\
	jcapistd.$O\
	jccoefct.$O\
	jccolor.$O\
	jcdctmgr.$O\
	jchuff.$O\
	jcinit.$O\
	jcmainct.$O\
	jcmarker.$O\
	jcmaster.$O\
	jcomapi.$O\
	jcparam.$O\
	jcphuff.$O\
	jcprepct.$O\
	jcsample.$O\
	jctrans.$O\
	jdapimin.$O\
	jdapistd.$O\
	jdatadst.$O\
	jdatasrc.$O\
	jdcoefct.$O\
	jdcolor.$O\
	jddctmgr.$O\
	jdhuff.$O\
	jdinput.$O\
	jdmainct.$O\
	jdmarker.$O\
	jdmaster.$O\
	jdmerge.$O\
	jdphuff.$O\
	jdpostct.$O\
	jdsample.$O\
	jdtrans.$O\
	jerror.$O\
	jfdctflt.$O\
	jfdctfst.$O\
	jfdctint.$O\
	jidctflt.$O\
	jidctfst.$O\
	jidctint.$O\
	jidctred.$O\
	jquant1.$O\
	jquant2.$O\
	jutils.$O\
	jmemansi.$O\
	jmemmgr.$O\

HFILE=/sys/include/ape/jpeglib.h /sys/include/ape/jerror.h

</sys/src/cmd/mksyslib

CFLAGS=-c -I. -I/sys/src/cmd/gs -I/sys/src/cmd/gs/src -DT$objtype

%.$O: /sys/src/cmd/gs/jpeg/%.c
	$CC $CFLAGS /sys/src/cmd/gs/jpeg/$stem.c

$O.cjpeg: cjpeg.$O rdppm.$O rdgif.$O rdtarga.$O rdrle.$O rdbmp.$O rdswitch.$O cdjpeg.$O $LIB
	$LD -o $target $prereq

$O.djpeg: djpeg.$O wrppm.$O wrgif.$O wrtarga.$O wrrle.$O wrbmp.$O rdcolmap.$O cdjpeg.$O
	$LD -o $target $prereq

$O.jpegtran: jpegtran.$O rdswitch.$O cdjpeg.$O transupp.$O
	$LD -o $target $prereq

$O.rdjpgcom: rdjpgcom.$O
	$LD -o $target $prereq

$O.wrjpgcom: wrjpgcom.$O
	$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.