Plan 9 from Bell Labs’s /usr/web/sources/contrib/lucio/pub/libpng/mkfile.oth

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


</$objtype/mkfile

LIB=libpng.a

OFILES=\
	png.$O \
	pngset.$O \
	pngget.$O \
	pngrutil.$O \
	pngtrans.$O \
	pngwutil.$O \
	pngread.$O \
	pngrio.$O \
	pngwio.$O \
	pngwrite.$O \
	pngrtran.$O \
	pngwtran.$O \
	pngmem.$O \
	pngerror.$O \
	pngpread.$O \

HFILES=\
	png.h \
	pngconf.h \

M3FILES=\
	libpng.3 \
	libpngpf.3 \

M5FILES=\
      png.5 \

HDRFILES=\
	pngasmrd.h \

CLEANFILES=\
	8.pngtest pngtest

TARG=pngtest
PROG=${TARG:%=$O.%}

</sys/src/cmd/mkpublib

CFLAGS= -FVw -p -D_PLAN_9 -I/sys/include/ape -I/$objtype/include/ape $CFLAGS

OM3FILES=${M3FILES:%.3=$MANDIR/3pub/%}
install:V:	$OM3FILES

OM5FILES=${M5FILES:%.3=$MANDIR/5pub/%}
install:V:	$OM5FILES

OHFILES=${HFILES:%.h=$PUBINC/%.h}
install:V:	$OHFILES

test:V: $LIB$O $PROG
	$PROG

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].