6811333 Remove prom_printf() message in emlxs driver
[opensolaris.git] / usr / src / lib / libsldap / Makefile
blob8c74b86cc161ea66181aaeadf0575dc272b3f61f
2 # CDDL HEADER START
4 # The contents of this file are subject to the terms of the
5 # Common Development and Distribution License (the "License").
6 # You may not use this file except in compliance with the License.
8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 # or http://www.opensolaris.org/os/licensing.
10 # See the License for the specific language governing permissions
11 # and limitations under the License.
13 # When distributing Covered Code, include this CDDL HEADER in each
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 # If applicable, add the following below this CDDL HEADER, with the
16 # fields enclosed by brackets "[]" replaced with your own identifying
17 # information: Portions Copyright [yyyy] [name of copyright owner]
19 # CDDL HEADER END
22 # Copyright 2007 Sun Microsystems, Inc. All rights reserved.
23 # Use is subject to license terms.
25 # ident "%Z%%M% %I% %E% SMI"
28 include ../Makefile.lib
30 SUBDIRS = $(MACH)
31 $(BUILD64)SUBDIRS += $(MACH64)
33 all := TARGET= all
34 clean := TARGET= clean
35 clobber := TARGET= clobber
36 delete := TARGET= delete
37 install := TARGET= install
38 lint := TARGET= lint
39 catalog := TARGET= catalog
40 _msg := TARGET= _msg
41 package := TARGET= package
43 LIBRARY= libsldap.a
44 TEXT_DOMAIN = SUNW_OST_OSLIB
45 XGETFLAGS=
46 POFILE= $(LIBRARY:.a=.po)
47 POFILES= generic.po
49 .KEEP_STATE:
51 all clean clobber delete install lint catalog package: $(SUBDIRS)
53 # install rule for install_h target
54 $(ROOTHDRDIR)/%: %
55 $(INS.file)
57 $(SUBDIRS): FRC
58 @cd $@; pwd; $(MAKE) $(TARGET)
60 _msg: $(MSGDOMAIN) $(POFILE)
61 $(RM) $(MSGDOMAIN)/$(POFILE)
62 $(RM) generic.po
63 cp $(POFILE) $(MSGDOMAIN)
65 $(POFILE): $(POFILES)
66 $(RM) $@
67 $(CAT) $(POFILES) > $@
69 $(MSGDOMAIN):
70 $(INS.dir)
72 $(POFILES):
73 $(RM) messages.po
74 $(XGETTEXT) $(XGETFLAGS) common/*.[ch]*
75 sed "/^domain/d" < messages.po > $@
76 $(RM) messages.po
78 FRC:
80 # EXPORT DELETE START
81 EXPORT_SRC:
82 $(RM) -f common/ns_crypt.c+ Makefile+
83 sed -e "/EXPORT DELETE START/,/EXPORT DELETE END/d" < \
84 common/ns_crypt.c > common/ns_crypt.c+
85 $(MV) common/ns_crypt.c+ common/ns_crypt.c
86 sed -e "/^# EXPORT DELETE START/,/^# EXPORT DELETE END/d" \
87 < Makefile > Makefile+
88 $(MV) Makefile+ Makefile
89 $(CHMOD) 444 Makefile common/ns_crypt.c
91 # EXPORT DELETE END