xref: /onnv-gate/usr/src/lib/libresolv2/include/Makefile (revision 2127:ba8e8855927c)
10Sstevel@tonic-gate#
2*2127Sstevel# CDDL HEADER START
3*2127Sstevel#
4*2127Sstevel# The contents of this file are subject to the terms of the
5*2127Sstevel# Common Development and Distribution License (the "License").
6*2127Sstevel# You may not use this file except in compliance with the License.
7*2127Sstevel#
8*2127Sstevel# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9*2127Sstevel# or http://www.opensolaris.org/os/licensing.
10*2127Sstevel# See the License for the specific language governing permissions
11*2127Sstevel# and limitations under the License.
12*2127Sstevel#
13*2127Sstevel# When distributing Covered Code, include this CDDL HEADER in each
14*2127Sstevel# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15*2127Sstevel# If applicable, add the following below this CDDL HEADER, with the
16*2127Sstevel# fields enclosed by brackets "[]" replaced with your own identifying
17*2127Sstevel# information: Portions Copyright [yyyy] [name of copyright owner]
18*2127Sstevel#
19*2127Sstevel# CDDL HEADER END
20*2127Sstevel#
21*2127Sstevel
22*2127Sstevel#
23*2127Sstevel# Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
240Sstevel@tonic-gate# Use is subject to license terms.
250Sstevel@tonic-gate#
260Sstevel@tonic-gate# ident	"%Z%%M%	%I%	%E% SMI"
270Sstevel@tonic-gate#
280Sstevel@tonic-gate
290Sstevel@tonic-gateinclude		../../../Makefile.master
300Sstevel@tonic-gate
310Sstevel@tonic-gateHDRS=		os_version.h port_ipv6.h
320Sstevel@tonic-gateTMPHDRS=	new_os_version.h new_port_ipv6.h
330Sstevel@tonic-gate
340Sstevel@tonic-gateall :=		TARGET= all
350Sstevel@tonic-gateclean :=	TARGET= clean
360Sstevel@tonic-gateclobber :=	TARGET= clobber
370Sstevel@tonic-gateinstall :=	TARGET= install
380Sstevel@tonic-gate
390Sstevel@tonic-gate.KEEP_STATE:
400Sstevel@tonic-gate
410Sstevel@tonic-gateall lint: $(HDRS)
420Sstevel@tonic-gate
430Sstevel@tonic-gateinstall: all
440Sstevel@tonic-gate
450Sstevel@tonic-gateclean:
460Sstevel@tonic-gate	$(RM) $(HDRS) $(TMPHDRS)
470Sstevel@tonic-gate
480Sstevel@tonic-gateclobber: clean
490Sstevel@tonic-gate
500Sstevel@tonic-gate# os_version.h and port_ipv6.h should be rebuilt when you change OS
510Sstevel@tonic-gate# revision. Since that's not easily expressed as a dependency, we
520Sstevel@tonic-gate# rebuild them every time.
530Sstevel@tonic-gate
540Sstevel@tonic-gateos_version.h: make_os_version FRC
550Sstevel@tonic-gate	./make_os_version
560Sstevel@tonic-gate
570Sstevel@tonic-gateport_ipv6.h: probe_ipv6 FRC
580Sstevel@tonic-gate	CC="$(CC)" ./probe_ipv6
590Sstevel@tonic-gate
600Sstevel@tonic-gateFRC:
61