</$objtype/mkfile
BIN=/$objtype/bin/pub
APEFLAGS= -p -I/sys/include/ape -I/$objtype/include/ape
CFLAGS= $APEFLAGS $PUBFLAGS
MKVERSION=../../build/mkvers.rc
MKVOPTS=(-c -s -v 2.3.35)
FILES=\
LIBCFILES=
LIBOFILES=
LIBS=\
../../libraries/libldap/libldap.a$O\
../../libraries/liblber/liblber.a$O\
../../libraries/liblutil/liblutil.a$O\
HFILES=\
TARG=\
ldapsearch\
ldapcompare\
ldapdelete\
ldapmodify\
ldapmodrdn\
ldappasswd\
ldapwhoami\
CFILES= ${TARG:%=%.c} $LIBCFILES
UPDATE=\
mkfile\
$HFILES\
$CFILES\
</sys/src/cmd/mkmany
INCLUDE= -I../../include
CFLAGS= -FVw -D_PLAN_9 -D_BSD_EXTENSION -D_POSIX_SOURCE -DLDAP_DEBUG -DLDAP_DEPRECATED $INCLUDE $CFLAGS
$O.ldapcompare: ldapcompare.$O ldcversion.$O common.$O
$O^l -o $target $prereq $LIBS
ldcversion.c: mkfile
rm -f $target
$MKVERSION $MKVOPTS ldapcompare > $target
$O.ldapdelete: ldapdelete.$O lddversion.$O common.$O
$O^l -o $target $prereq $LIBS
lddversion.c: mkfile
rm -f $target
$MKVERSION $MKVOPTS ldapdelete > $target
$O.ldapmodify: ldapmodify.$O ldmversion.$O common.$O
$O^l -o $target $prereq $LIBS
ldmversion.c: mkfile
rm -f $target
$MKVERSION $MKVOPTS ldapmodify > $target
$O.ldapmodrdn: ldapmodrdn.$O ldrversion.$O common.$O
$O^l -o $target $prereq $LIBS
ldrversion.c: mkfile
rm -f $target
$MKVERSION $MKVOPTS ldapmodrdn > $target
$O.ldappasswd: ldappasswd.$O ldpversion.$O common.$O
$O^l -o $target $prereq $LIBS
ldpversion.c: mkfile
rm -f $target
$MKVERSION $MKVOPTS ldappasswd > $target
$O.ldapsearch: ldapsearch.$O ldsversion.$O common.$O
$O^l -o $target $prereq $LIBS
ldsversion.c: mkfile
rm -f $target
$MKVERSION $MKVOPTS ldapsearch > $target
$O.ldapwhoami: ldapwhoami.$O ldwversion.$O common.$O
$O^l -o $target $prereq $LIBS
ldwversion.c: mkfile
rm -f $target
$MKVERSION $MKVOPTS ldapwhoami > $target
|