Plan 9 from Bell Labs’s /usr/web/sources/contrib/lucio/pub/openldap/libraries/libldap/mkfile

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


</$objtype/mkfile

LIB=libldap.a

OFILES=\
	bind.$O \
	open.$O \
	result.$O \
	error.$O \
	compare.$O \
	search.$O \
	controls.$O \
	messages.$O \
	references.$O \
	extended.$O \
	cyrus.$O \
	modify.$O \
	add.$O \
	modrdn.$O \
	delete.$O \
	abandon.$O \
	sasl.$O \
	sbind.$O \
	kbind.$O \
	unbind.$O \
	cancel.$O \
	filter.$O \
	free.$O \
	sort.$O \
	passwd.$O \
	whoami.$O \
	getdn.$O \
	getentry.$O \
	getattr.$O \
	getvalues.$O \
	addentry.$O \
	request.$O \
	os-ip.$O \
	url.$O \
	sortctrl.$O \
	vlvctrl.$O \
	init.$O \
	options.$O \
	print.$O \
	string.$O \
	util-int.$O \
	schema.$O \
	charray.$O \
	tls.$O \
	os-local.$O \
	dnssrv.$O \
	utf-8.$O \
	utf-8-conv.$O \
	turn.$O \
	groupings.$O \
	txn.$O \
	ppolicy.$O \

HFILES=\

CLEANFILES=\
	$O.apitest \
	$O.dntest \
	$O.ftest \
	
</sys/src/pub/mkpublib

CFLAGS= $CFLAGS -DLDAP_DEBUG -DLDAP_LIBRARY -D_POSIX_SOURCE -D_BSD_EXTENSION -I../../include $APEFLAGS
# LDFLAGS=

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

$O.apitest: apitest.$O $LIB$O
	$LD $LDFLAGS -o $O.apitest apitest.$O $LIB$O ../liblber/liblber.a$O

$O.dntest: dntest.$O $LIB$O
	$LD $LDFLAGS -o $O.dntest dntest.$O $LIB$O ../liblber/liblber.a$O

$O.ftest: ftest.$O $LIB$O
	$LD $LDFLAGS -o $O.ftest ftest.$O $LIB$O ../liblber/liblber.a$O

test:V: $O.apitest $O.dntest $O.ftest

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