2 # Copyright 2008 Sun Microsystems, Inc. All rights reserved.
3 # Use is subject to license terms.
5 #pragma ident "%Z%%M% %I% %E% SMI"
9 include ..
/Makefile.cmd
13 NS_FILES
= ldapclient ldaplist mapping printResult ldapaddent ldapaddrbac \
15 COMM_FILES
= ldapsearch ldapmodify ldapmodrdn ldapdelete common \
17 NS_POFILES
= $(NS_FILES
:%=ns_ldap
/%.po
)
18 POFILES
= $(NS_POFILES
) $(COMM_FILES
:%=common
/%.po
)
21 clean := TARGET
= clean
22 clobber := TARGET
= clobber
23 delete
:= TARGET
= delete
24 install := TARGET
= install
26 catalog
:= TARGET
= catalog
28 package
:= TARGET
= package
29 $(POFILES
) := CFLAGS
+= -I ..
/..
/lib
/libldap5
/include/ldap \
30 -I ..
/..
/lib
/libsldap
/common \
31 -I ..
/..
/lib
/libnsl
/include/rpcsvc \
32 -DNO_LIBLCACHE
-DLDAP_REFERRALS
-DNET_SSL \
33 -DLDAPSSLIO
-DHAVE_SASL_OPTIONS \
35 $(NS_POFILES
) := C99MODE
= $(C99_ENABLE
)
39 all clobber delete
install lint catalog package
: $(SUBDIRS
)
42 $(RM
) $(POFILES
) $(POFILE
)
44 # install rule for install_h target
47 # -$(RM) $(ROOTUSRBIN)
52 @cd
$@
; pwd
; $(MAKE
) $(TARGET
)
60 include ..
/Makefile.targ