1*7c478bd9Sstevel@tonic-gate# 2*7c478bd9Sstevel@tonic-gate# Copyright 2003 Sun Microsystems, Inc. All rights reserved. 3*7c478bd9Sstevel@tonic-gate# Use is subject to license terms. 4*7c478bd9Sstevel@tonic-gate# 5*7c478bd9Sstevel@tonic-gate#pragma ident "%Z%%M% %I% %E% SMI" 6*7c478bd9Sstevel@tonic-gate# 7*7c478bd9Sstevel@tonic-gate# cmd/ldap/Makefile 8*7c478bd9Sstevel@tonic-gate 9*7c478bd9Sstevel@tonic-gateinclude ../Makefile.cmd 10*7c478bd9Sstevel@tonic-gate 11*7c478bd9Sstevel@tonic-gateSUBDIRS= $(MACH) 12*7c478bd9Sstevel@tonic-gatePOFILE= ldapcmd.po 13*7c478bd9Sstevel@tonic-gateNS_FILES= ldapclient ldaplist mapping printResult ldapaddent ldapaddrbac 14*7c478bd9Sstevel@tonic-gateCOMM_FILES= ldapsearch ldapmodify ldapmodrdn ldapdelete common \ 15*7c478bd9Sstevel@tonic-gate fileurl ldaptool-sasl 16*7c478bd9Sstevel@tonic-gatePOFILES= $(NS_FILES:%=ns_ldap/%.po) $(COMM_FILES:%=common/%.po) 17*7c478bd9Sstevel@tonic-gate 18*7c478bd9Sstevel@tonic-gateall := TARGET= all 19*7c478bd9Sstevel@tonic-gateclean := TARGET= clean 20*7c478bd9Sstevel@tonic-gateclobber := TARGET= clobber 21*7c478bd9Sstevel@tonic-gatedelete := TARGET= delete 22*7c478bd9Sstevel@tonic-gateinstall := TARGET= install 23*7c478bd9Sstevel@tonic-gatelint := TARGET= lint 24*7c478bd9Sstevel@tonic-gatecatalog := TARGET= catalog 25*7c478bd9Sstevel@tonic-gate_msg := TARGET= _msg 26*7c478bd9Sstevel@tonic-gatepackage := TARGET= package 27*7c478bd9Sstevel@tonic-gate$(POFILES) := CFLAGS += -I ../../lib/libldap5/include/ldap \ 28*7c478bd9Sstevel@tonic-gate -I ../../lib/libsldap/common \ 29*7c478bd9Sstevel@tonic-gate -I ../../lib/libnsl/include/rpcsvc \ 30*7c478bd9Sstevel@tonic-gate -DNO_LIBLCACHE -DLDAP_REFERRALS -DNET_SSL \ 31*7c478bd9Sstevel@tonic-gate -DLDAPSSLIO -DHAVE_SASL_OPTIONS \ 32*7c478bd9Sstevel@tonic-gate -DSOLARIS_LDAP_CMD 33*7c478bd9Sstevel@tonic-gate 34*7c478bd9Sstevel@tonic-gate.KEEP_STATE: 35*7c478bd9Sstevel@tonic-gate 36*7c478bd9Sstevel@tonic-gateall clobber delete install lint catalog package: $(SUBDIRS) 37*7c478bd9Sstevel@tonic-gate 38*7c478bd9Sstevel@tonic-gateclean: $(SUBDIRS) 39*7c478bd9Sstevel@tonic-gate $(RM) $(POFILES) $(POFILE) 40*7c478bd9Sstevel@tonic-gate 41*7c478bd9Sstevel@tonic-gate# install rule for install_h target 42*7c478bd9Sstevel@tonic-gate 43*7c478bd9Sstevel@tonic-gate# install: $(SUBDIRS) 44*7c478bd9Sstevel@tonic-gate# -$(RM) $(ROOTUSRBIN) 45*7c478bd9Sstevel@tonic-gate 46*7c478bd9Sstevel@tonic-gatecheck: $(CHECKHDRS) 47*7c478bd9Sstevel@tonic-gate 48*7c478bd9Sstevel@tonic-gate$(MACH) : FRC 49*7c478bd9Sstevel@tonic-gate @cd $@; pwd; $(MAKE) $(TARGET) 50*7c478bd9Sstevel@tonic-gate 51*7c478bd9Sstevel@tonic-gate$(POFILE): $(POFILES) 52*7c478bd9Sstevel@tonic-gate $(RM) $@ 53*7c478bd9Sstevel@tonic-gate cat $(POFILES) > $@ 54*7c478bd9Sstevel@tonic-gate 55*7c478bd9Sstevel@tonic-gateFRC: 56*7c478bd9Sstevel@tonic-gate 57*7c478bd9Sstevel@tonic-gateinclude ../Makefile.targ 58