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
25 catalog
:= TARGET
= catalog
27 package
:= TARGET
= package
28 $(POFILES
) := CFLAGS
+= -I ..
/..
/lib
/libldap5
/include/ldap \
29 -I ..
/..
/lib
/libsldap
/common \
30 -I ..
/..
/lib
/libc
/inc
/rpcsvc \
31 -DNO_LIBLCACHE
-DLDAP_REFERRALS
-DNET_SSL \
32 -DLDAPSSLIO
-DHAVE_SASL_OPTIONS \
34 $(NS_POFILES
) := CSTD
= $(CSTD_GNU99
)
38 all clobber delete
install catalog package
: $(SUBDIRS
)
41 $(RM
) $(POFILES
) $(POFILE
)
43 # install rule for install_h target
46 # -$(RM) $(ROOTUSRBIN)
51 @cd
$@
; pwd
; $(MAKE
) $(TARGET
)
59 include ..
/Makefile.targ