xref: /onnv-gate/usr/src/lib/libcpc/Makefile (revision 2522:79989c8fe091)
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
5*2522Sraf# Common Development and Distribution License (the "License").
6*2522Sraf# 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#
210Sstevel@tonic-gate#
22*2522Sraf# Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
230Sstevel@tonic-gate# Use is subject to license terms.
240Sstevel@tonic-gate#
25*2522Sraf# ident	"%Z%%M%	%I%	%E% SMI"
260Sstevel@tonic-gate#
270Sstevel@tonic-gate
280Sstevel@tonic-gateinclude ../Makefile.lib
290Sstevel@tonic-gate
300Sstevel@tonic-gateHDRS =		libcpc.h
310Sstevel@tonic-gateHDRDIR =	common
320Sstevel@tonic-gate
330Sstevel@tonic-gateSUBDIRS=	$(MACH)
340Sstevel@tonic-gate$(BUILD64)SUBDIRS += $(MACH64)
350Sstevel@tonic-gate
360Sstevel@tonic-gateall :=		TARGET= all
370Sstevel@tonic-gateclean :=	TARGET= clean
380Sstevel@tonic-gateclobber :=	TARGET= clobber
390Sstevel@tonic-gateinstall :=	TARGET= install
400Sstevel@tonic-gatelint :=		TARGET= lint
410Sstevel@tonic-gate
420Sstevel@tonic-gateLIBRARY= 	libcpc.a
430Sstevel@tonic-gatePOFILE=		$(LIBRARY:.a=.po)
440Sstevel@tonic-gateMSGFILES =	common/libcpc.c common/obsoleted.c common/subr.c
450Sstevel@tonic-gateXGETFLAGS=	-a
460Sstevel@tonic-gate
470Sstevel@tonic-gate.KEEP_STATE:
480Sstevel@tonic-gate
49*2522Srafall clean clobber install lint: $(SUBDIRS)
500Sstevel@tonic-gate
510Sstevel@tonic-gateinstall_h:	$(ROOTHDRS)
520Sstevel@tonic-gate
530Sstevel@tonic-gatecheck:		$(CHECKHDRS)
540Sstevel@tonic-gate
55*2522Sraf$(SUBDIRS): FRC
560Sstevel@tonic-gate	@cd $@; pwd; $(MAKE) $(TARGET)
570Sstevel@tonic-gate
580Sstevel@tonic-gate$(POFILE):	pofile_MSGFILES
590Sstevel@tonic-gate
600Sstevel@tonic-gate_msg:		$(MSGDOMAINPOFILE)
610Sstevel@tonic-gate
620Sstevel@tonic-gateFRC:
630Sstevel@tonic-gate
640Sstevel@tonic-gateinclude $(SRC)/Makefile.msg.targ
650Sstevel@tonic-gateinclude $(SRC)/lib/Makefile.targ
66