xref: /titanic_41/usr/src/lib/libresolv2/include/Makefile (revision 0c44d0008f52b6a42b9c01d3b344661217520a68)
17c478bd9Sstevel@tonic-gate#
2*0c44d000Sstevel# CDDL HEADER START
3*0c44d000Sstevel#
4*0c44d000Sstevel# The contents of this file are subject to the terms of the
5*0c44d000Sstevel# Common Development and Distribution License (the "License").
6*0c44d000Sstevel# You may not use this file except in compliance with the License.
7*0c44d000Sstevel#
8*0c44d000Sstevel# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9*0c44d000Sstevel# or http://www.opensolaris.org/os/licensing.
10*0c44d000Sstevel# See the License for the specific language governing permissions
11*0c44d000Sstevel# and limitations under the License.
12*0c44d000Sstevel#
13*0c44d000Sstevel# When distributing Covered Code, include this CDDL HEADER in each
14*0c44d000Sstevel# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15*0c44d000Sstevel# If applicable, add the following below this CDDL HEADER, with the
16*0c44d000Sstevel# fields enclosed by brackets "[]" replaced with your own identifying
17*0c44d000Sstevel# information: Portions Copyright [yyyy] [name of copyright owner]
18*0c44d000Sstevel#
19*0c44d000Sstevel# CDDL HEADER END
20*0c44d000Sstevel#
21*0c44d000Sstevel
22*0c44d000Sstevel#
23*0c44d000Sstevel# Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
247c478bd9Sstevel@tonic-gate# Use is subject to license terms.
257c478bd9Sstevel@tonic-gate#
267c478bd9Sstevel@tonic-gate# ident	"%Z%%M%	%I%	%E% SMI"
277c478bd9Sstevel@tonic-gate#
287c478bd9Sstevel@tonic-gate
297c478bd9Sstevel@tonic-gateinclude		../../../Makefile.master
307c478bd9Sstevel@tonic-gate
317c478bd9Sstevel@tonic-gateHDRS=		os_version.h port_ipv6.h
327c478bd9Sstevel@tonic-gateTMPHDRS=	new_os_version.h new_port_ipv6.h
337c478bd9Sstevel@tonic-gate
347c478bd9Sstevel@tonic-gateall :=		TARGET= all
357c478bd9Sstevel@tonic-gateclean :=	TARGET= clean
367c478bd9Sstevel@tonic-gateclobber :=	TARGET= clobber
377c478bd9Sstevel@tonic-gateinstall :=	TARGET= install
387c478bd9Sstevel@tonic-gate
397c478bd9Sstevel@tonic-gate.KEEP_STATE:
407c478bd9Sstevel@tonic-gate
417c478bd9Sstevel@tonic-gateall lint: $(HDRS)
427c478bd9Sstevel@tonic-gate
437c478bd9Sstevel@tonic-gateinstall: all
447c478bd9Sstevel@tonic-gate
457c478bd9Sstevel@tonic-gateclean:
467c478bd9Sstevel@tonic-gate	$(RM) $(HDRS) $(TMPHDRS)
477c478bd9Sstevel@tonic-gate
487c478bd9Sstevel@tonic-gateclobber: clean
497c478bd9Sstevel@tonic-gate
507c478bd9Sstevel@tonic-gate# os_version.h and port_ipv6.h should be rebuilt when you change OS
517c478bd9Sstevel@tonic-gate# revision. Since that's not easily expressed as a dependency, we
527c478bd9Sstevel@tonic-gate# rebuild them every time.
537c478bd9Sstevel@tonic-gate
547c478bd9Sstevel@tonic-gateos_version.h: make_os_version FRC
557c478bd9Sstevel@tonic-gate	./make_os_version
567c478bd9Sstevel@tonic-gate
577c478bd9Sstevel@tonic-gateport_ipv6.h: probe_ipv6 FRC
587c478bd9Sstevel@tonic-gate	CC="$(CC)" ./probe_ipv6
597c478bd9Sstevel@tonic-gate
607c478bd9Sstevel@tonic-gateFRC:
61