xref: /onnv-gate/usr/src/lib/libsocket/Makefile (revision 12016:0248e987199b)
10Sstevel@tonic-gate#
20Sstevel@tonic-gate# CDDL HEADER START
30Sstevel@tonic-gate#
40Sstevel@tonic-gate# The contents of this file are subject to the terms of the
52522Sraf# Common Development and Distribution License (the "License").
62522Sraf# You may not use this file except in compliance with the License.
70Sstevel@tonic-gate#
80Sstevel@tonic-gate# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
90Sstevel@tonic-gate# or http://www.opensolaris.org/os/licensing.
100Sstevel@tonic-gate# See the License for the specific language governing permissions
110Sstevel@tonic-gate# and limitations under the License.
120Sstevel@tonic-gate#
130Sstevel@tonic-gate# When distributing Covered Code, include this CDDL HEADER in each
140Sstevel@tonic-gate# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
150Sstevel@tonic-gate# If applicable, add the following below this CDDL HEADER, with the
160Sstevel@tonic-gate# fields enclosed by brackets "[]" replaced with your own identifying
170Sstevel@tonic-gate# information: Portions Copyright [yyyy] [name of copyright owner]
180Sstevel@tonic-gate#
190Sstevel@tonic-gate# CDDL HEADER END
200Sstevel@tonic-gate#
21*12016SGirish.Moodalbail@Sun.COM# Copyright 2010 Sun Microsystems, Inc.  All rights reserved.
222522Sraf# Use is subject to license terms.
230Sstevel@tonic-gate#
240Sstevel@tonic-gate
250Sstevel@tonic-gateinclude ../Makefile.lib
260Sstevel@tonic-gate
27*12016SGirish.Moodalbail@Sun.COMHDRS = libsocket_priv.h
28*12016SGirish.Moodalbail@Sun.COMHDRDIR = common
290Sstevel@tonic-gateSUBDIRS = $(MACH)
300Sstevel@tonic-gate$(BUILD64)SUBDIRS += $(MACH64)
310Sstevel@tonic-gate
320Sstevel@tonic-gateall	:= TARGET= all
330Sstevel@tonic-gateclean	:= TARGET= clean
340Sstevel@tonic-gateclobber	:= TARGET= clobber
350Sstevel@tonic-gateinstall	:= TARGET= install
360Sstevel@tonic-gatelint	:= TARGET= lint
370Sstevel@tonic-gate
380Sstevel@tonic-gatePOFILE =	libsocket.po
390Sstevel@tonic-gateMSGFILES =	`$(GREP) -l gettext */*.[ch]`
400Sstevel@tonic-gateXGETFLAGS +=	-a
410Sstevel@tonic-gateTEXT_DOMAIN =	SUNW_OST_NETRPC
420Sstevel@tonic-gate
430Sstevel@tonic-gate.KEEP_STATE:
440Sstevel@tonic-gate
452522Srafall clean clobber install lint: $(SUBDIRS)
460Sstevel@tonic-gate
47*12016SGirish.Moodalbail@Sun.COMinstall_h: $(ROOTHDRS)
48*12016SGirish.Moodalbail@Sun.COM
49*12016SGirish.Moodalbail@Sun.COMcheck: $(CHECKHDRS)
50*12016SGirish.Moodalbail@Sun.COM
510Sstevel@tonic-gate_msg: $(MSGDOMAINPOFILE)
520Sstevel@tonic-gate
530Sstevel@tonic-gate$(POFILE): pofile_MSGFILES
540Sstevel@tonic-gate
552522Sraf$(SUBDIRS): FRC
560Sstevel@tonic-gate	@cd $@; pwd; $(MAKE) $(TARGET)
570Sstevel@tonic-gate
580Sstevel@tonic-gateFRC:
590Sstevel@tonic-gate
60*12016SGirish.Moodalbail@Sun.COMinclude $(SRC)/lib/Makefile.targ
610Sstevel@tonic-gateinclude $(SRC)/Makefile.msg.targ
62