Makefile revision f808c858fa61e7769218966759510a8b1190dfcf
1117N/A#
1117N/A# CDDL HEADER START
1117N/A#
1117N/A# The contents of this file are subject to the terms of the
1117N/A# Common Development and Distribution License (the "License").
1117N/A# You may not use this file except in compliance with the License.
1117N/A#
1117N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
1117N/A# or http://www.opensolaris.org/os/licensing.
1117N/A# See the License for the specific language governing permissions
1117N/A# and limitations under the License.
1117N/A#
1117N/A# When distributing Covered Code, include this CDDL HEADER in each
1117N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1117N/A# If applicable, add the following below this CDDL HEADER, with the
1117N/A# fields enclosed by brackets "[]" replaced with your own identifying
1117N/A# information: Portions Copyright [yyyy] [name of copyright owner]
1117N/A#
1117N/A# CDDL HEADER END
1117N/A#
1117N/A#
1117N/A# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
1117N/A# Use is subject to license terms.
1117N/A#
1117N/A# ident "%Z%%M% %I% %E% SMI"
1117N/A#
1117N/A
1117N/Ainclude ../Makefile.lib
1117N/A
1117N/ASUBDIRS = $(MACH)
1117N/A$(BUILD64)SUBDIRS += $(MACH64)
1117N/A
1117N/Aall := TARGET= all
1117N/Aclean := TARGET= clean
1117N/Aclobber := TARGET= clobber
1117N/Ainstall := TARGET= install
1117N/Alint := TARGET= lint
1117N/A_msg := TARGET= _msg
1117N/A
1117N/ALIBRARY= libldap.a
1117N/ATEXT_DOMAIN = SUNW_OST_OSLIB
1117N/AXGETFLAGS=
1117N/APOFILE= $(LIBRARY:.a=.po)
1117N/APOFILES= generic.po
1117N/A
1117N/A.KEEP_STATE:
1117N/A
1117N/Aall clean clobber install: $(SUBDIRS)
1117N/A
1117N/Alint:
1117N/A @ $(ECHO) "usr/src/lib/libldap5 is third-party code that"
1117N/A @ $(ECHO) "will never be made lint-clean: skipping"
# install rule for install_h target
$(ROOTHDRDIR)/%: %
$(INS.file)
install_h: $(ROOTHDRS)
check: $(CHECKHDRS)
_msg: $(MSGDOMAIN) $(POFILE)
$(RM) $(MSGDOMAIN)/$(POFILE)
$(RM) generic.po
$(CP) $(POFILE) $(MSGDOMAIN)
$(POFILE): $(POFILES)
$(RM) $@
$(CAT) $(POFILES) > $@
$(MSGDOMAIN):
$(INS.dir)
$(POFILES):
$(RM) messages.po
$(XGETTEXT) $(XGETFLAGS) sources/ldap/*/*.[ch]*
sed "/^domain/d" < messages.po > $@
$(RM) messages.po
$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC: