Makefile revision b6805bf78d2bbbeeaea8909a05623587b42d58b3
1d882e9533b20c0e0783e9d17fcd3f5466fa422fcilix#
1d882e9533b20c0e0783e9d17fcd3f5466fa422fcilix# CDDL HEADER START
1d882e9533b20c0e0783e9d17fcd3f5466fa422fcilix#
1d882e9533b20c0e0783e9d17fcd3f5466fa422fcilix# The contents of this file are subject to the terms of the
1d882e9533b20c0e0783e9d17fcd3f5466fa422fcilix# Common Development and Distribution License (the "License").
1d882e9533b20c0e0783e9d17fcd3f5466fa422fcilix# You may not use this file except in compliance with the License.
1d882e9533b20c0e0783e9d17fcd3f5466fa422fcilix#
1d882e9533b20c0e0783e9d17fcd3f5466fa422fcilix# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
1d882e9533b20c0e0783e9d17fcd3f5466fa422fcilix# or http://www.opensolaris.org/os/licensing.
1d882e9533b20c0e0783e9d17fcd3f5466fa422fcilix# See the License for the specific language governing permissions
1d882e9533b20c0e0783e9d17fcd3f5466fa422fcilix# and limitations under the License.
1d882e9533b20c0e0783e9d17fcd3f5466fa422fcilix#
1d882e9533b20c0e0783e9d17fcd3f5466fa422fcilix# When distributing Covered Code, include this CDDL HEADER in each
1d882e9533b20c0e0783e9d17fcd3f5466fa422fcilix# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1d882e9533b20c0e0783e9d17fcd3f5466fa422fcilix# If applicable, add the following below this CDDL HEADER, with the
1d882e9533b20c0e0783e9d17fcd3f5466fa422fcilix# fields enclosed by brackets "[]" replaced with your own identifying
1d882e9533b20c0e0783e9d17fcd3f5466fa422fcilix# information: Portions Copyright [yyyy] [name of copyright owner]
1d882e9533b20c0e0783e9d17fcd3f5466fa422fcilix#
1d882e9533b20c0e0783e9d17fcd3f5466fa422fcilix# CDDL HEADER END
1d882e9533b20c0e0783e9d17fcd3f5466fa422fcilix#
1d882e9533b20c0e0783e9d17fcd3f5466fa422fcilix
1d882e9533b20c0e0783e9d17fcd3f5466fa422fcilix#
1d882e9533b20c0e0783e9d17fcd3f5466fa422fcilix# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
1d882e9533b20c0e0783e9d17fcd3f5466fa422fcilix# Use is subject to license terms.
1d882e9533b20c0e0783e9d17fcd3f5466fa422fcilix#
1d882e9533b20c0e0783e9d17fcd3f5466fa422fcilix
1d882e9533b20c0e0783e9d17fcd3f5466fa422fcilixinclude ../../../Makefile.master
1d882e9533b20c0e0783e9d17fcd3f5466fa422fcilix
1d882e9533b20c0e0783e9d17fcd3f5466fa422fcilixHDRS= os_version.h port_ipv6.h
1d882e9533b20c0e0783e9d17fcd3f5466fa422fcilixTMPHDRS= new_os_version.h new_port_ipv6.h
1d882e9533b20c0e0783e9d17fcd3f5466fa422fcilix
1d882e9533b20c0e0783e9d17fcd3f5466fa422fcilixall := TARGET= all
1d882e9533b20c0e0783e9d17fcd3f5466fa422fcilixclean := TARGET= clean
1d882e9533b20c0e0783e9d17fcd3f5466fa422fcilixclobber := TARGET= clobber
1d882e9533b20c0e0783e9d17fcd3f5466fa422fcilixinstall := TARGET= install
1d882e9533b20c0e0783e9d17fcd3f5466fa422fcilix
1d882e9533b20c0e0783e9d17fcd3f5466fa422fcilix.KEEP_STATE:
5341d52bd89ffc1587300ac4210afb64661af05dcilix
5341d52bd89ffc1587300ac4210afb64661af05dcilixall lint: $(HDRS)
5341d52bd89ffc1587300ac4210afb64661af05dcilix
5341d52bd89ffc1587300ac4210afb64661af05dcilixinstall: all
5341d52bd89ffc1587300ac4210afb64661af05dcilix
5341d52bd89ffc1587300ac4210afb64661af05dcilixclean:
5341d52bd89ffc1587300ac4210afb64661af05dcilix $(RM) $(HDRS) $(TMPHDRS)
5341d52bd89ffc1587300ac4210afb64661af05dcilix
5341d52bd89ffc1587300ac4210afb64661af05dcilixclobber: clean
5341d52bd89ffc1587300ac4210afb64661af05dcilix $(RM) make_os_version probe_ipv6
5341d52bd89ffc1587300ac4210afb64661af05dcilix
5341d52bd89ffc1587300ac4210afb64661af05dcilix# os_version.h and port_ipv6.h should be rebuilt when you change OS
1d882e9533b20c0e0783e9d17fcd3f5466fa422fcilix# revision. Since that's not easily expressed as a dependency, we
1d882e9533b20c0e0783e9d17fcd3f5466fa422fcilix# rebuild them every time.
1d882e9533b20c0e0783e9d17fcd3f5466fa422fcilix
1d882e9533b20c0e0783e9d17fcd3f5466fa422fcilixos_version.h: make_os_version FRC
1d882e9533b20c0e0783e9d17fcd3f5466fa422fcilix ./make_os_version
1d882e9533b20c0e0783e9d17fcd3f5466fa422fcilix
fbdfd8486b6e079ebac503d948d77131bffaa600cilixport_ipv6.h: probe_ipv6 FRC
fbdfd8486b6e079ebac503d948d77131bffaa600cilix CC="$(CC)" ./probe_ipv6
fbdfd8486b6e079ebac503d948d77131bffaa600cilix
fbdfd8486b6e079ebac503d948d77131bffaa600cilixFRC:
fbdfd8486b6e079ebac503d948d77131bffaa600cilix