1N/A#
1N/A# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
1N/A# Use is subject to license terms.
1N/A#
1N/A#pragma ident "%Z%%M% %I% %E% SMI"
1N/A#
1N/A# cmd/ldap/Makefile
1N/A
1N/Ainclude ../Makefile.cmd
1N/A
1N/ASUBDIRS= $(MACH)
1N/APOFILE= ldapcmd.po
1N/ANS_FILES= ldapclient ldaplist mapping printResult ldapaddent ldapaddrbac \
1N/A standalone
1N/ACOMM_FILES= ldapsearch ldapmodify ldapmodrdn ldapdelete common \
1N/A fileurl ldaptool-sasl
1N/ANS_POFILES= $(NS_FILES:%=ns_ldap/%.po)
1N/APOFILES= $(NS_POFILES) $(COMM_FILES:%=common/%.po)
1N/A
1N/Aall := TARGET= all
1N/Aclean := TARGET= clean
1N/Aclobber := TARGET= clobber
1N/Adelete := TARGET= delete
1N/Ainstall := TARGET= install
1N/Alint := TARGET= lint
1N/Acatalog := TARGET= catalog
1N/A_msg := TARGET= _msg
1N/Apackage := TARGET= package
1N/A$(POFILES) := CFLAGS += -I ../../lib/libldap5/include/ldap \
1N/A -I ../../lib/libsldap/common \
1N/A -I ../../lib/libnsl/include/rpcsvc \
1N/A -DNO_LIBLCACHE -DLDAP_REFERRALS -DNET_SSL \
1N/A -DLDAPSSLIO -DHAVE_SASL_OPTIONS \
1N/A -DSOLARIS_LDAP_CMD
1N/A$(NS_POFILES) := C99MODE = $(C99_ENABLE)
1N/A
1N/A.KEEP_STATE:
1N/A
1N/Aall clobber delete install lint catalog package: $(SUBDIRS)
1N/A
1N/Aclean: $(SUBDIRS)
1N/A $(RM) $(POFILES) $(POFILE)
1N/A
1N/A# install rule for install_h target
1N/A
1N/A# install: $(SUBDIRS)
1N/A# -$(RM) $(ROOTUSRBIN)
1N/A
1N/Acheck: $(CHECKHDRS)
1N/A
1N/A$(MACH) : FRC
1N/A @cd $@; pwd; $(MAKE) $(TARGET)
1N/A
1N/A$(POFILE): $(POFILES)
1N/A $(RM) $@
1N/A cat $(POFILES) > $@
1N/A
1N/AFRC:
1N/A
1N/Ainclude ../Makefile.targ