17c478bd9Sstevel@tonic-gate# 2e1dd0a2fSth160488# Copyright 2008 Sun Microsystems, Inc. All rights reserved. 37c478bd9Sstevel@tonic-gate# Use is subject to license terms. 47c478bd9Sstevel@tonic-gate# 57c478bd9Sstevel@tonic-gate# cmd/ldap/Makefile 67c478bd9Sstevel@tonic-gate 77c478bd9Sstevel@tonic-gateinclude ../Makefile.cmd 87c478bd9Sstevel@tonic-gate 97c478bd9Sstevel@tonic-gateSUBDIRS= $(MACH) 107c478bd9Sstevel@tonic-gatePOFILE= ldapcmd.po 11e1dd0a2fSth160488NS_FILES= ldapclient ldaplist mapping printResult ldapaddent ldapaddrbac \ 12e1dd0a2fSth160488 standalone 137c478bd9Sstevel@tonic-gateCOMM_FILES= ldapsearch ldapmodify ldapmodrdn ldapdelete common \ 147c478bd9Sstevel@tonic-gate fileurl ldaptool-sasl 15e1dd0a2fSth160488NS_POFILES= $(NS_FILES:%=ns_ldap/%.po) 16e1dd0a2fSth160488POFILES= $(NS_POFILES) $(COMM_FILES:%=common/%.po) 177c478bd9Sstevel@tonic-gate 187c478bd9Sstevel@tonic-gateall := TARGET= all 197c478bd9Sstevel@tonic-gateclean := TARGET= clean 207c478bd9Sstevel@tonic-gateclobber := TARGET= clobber 217c478bd9Sstevel@tonic-gatedelete := TARGET= delete 227c478bd9Sstevel@tonic-gateinstall := TARGET= install 237c478bd9Sstevel@tonic-gatelint := TARGET= lint 247c478bd9Sstevel@tonic-gatecatalog := TARGET= catalog 257c478bd9Sstevel@tonic-gate_msg := TARGET= _msg 267c478bd9Sstevel@tonic-gatepackage := TARGET= package 277c478bd9Sstevel@tonic-gate$(POFILES) := CFLAGS += -I ../../lib/libldap5/include/ldap \ 287c478bd9Sstevel@tonic-gate -I ../../lib/libsldap/common \ 297c478bd9Sstevel@tonic-gate -I ../../lib/libnsl/include/rpcsvc \ 307c478bd9Sstevel@tonic-gate -DNO_LIBLCACHE -DLDAP_REFERRALS -DNET_SSL \ 317c478bd9Sstevel@tonic-gate -DLDAPSSLIO -DHAVE_SASL_OPTIONS \ 327c478bd9Sstevel@tonic-gate -DSOLARIS_LDAP_CMD 33*bd0ce624SYuri Pankov$(NS_POFILES) := CSTD = $(CSTD_GNU99) 347c478bd9Sstevel@tonic-gate 357c478bd9Sstevel@tonic-gate.KEEP_STATE: 367c478bd9Sstevel@tonic-gate 377c478bd9Sstevel@tonic-gateall clobber delete install lint catalog package: $(SUBDIRS) 387c478bd9Sstevel@tonic-gate 397c478bd9Sstevel@tonic-gateclean: $(SUBDIRS) 407c478bd9Sstevel@tonic-gate $(RM) $(POFILES) $(POFILE) 417c478bd9Sstevel@tonic-gate 427c478bd9Sstevel@tonic-gate# install rule for install_h target 437c478bd9Sstevel@tonic-gate 447c478bd9Sstevel@tonic-gate# install: $(SUBDIRS) 457c478bd9Sstevel@tonic-gate# -$(RM) $(ROOTUSRBIN) 467c478bd9Sstevel@tonic-gate 477c478bd9Sstevel@tonic-gatecheck: $(CHECKHDRS) 487c478bd9Sstevel@tonic-gate 497c478bd9Sstevel@tonic-gate$(MACH) : FRC 507c478bd9Sstevel@tonic-gate @cd $@; pwd; $(MAKE) $(TARGET) 517c478bd9Sstevel@tonic-gate 527c478bd9Sstevel@tonic-gate$(POFILE): $(POFILES) 537c478bd9Sstevel@tonic-gate $(RM) $@ 547c478bd9Sstevel@tonic-gate cat $(POFILES) > $@ 557c478bd9Sstevel@tonic-gate 567c478bd9Sstevel@tonic-gateFRC: 577c478bd9Sstevel@tonic-gate 587c478bd9Sstevel@tonic-gateinclude ../Makefile.targ 59