Makefile revision d62bc4badc1c1f1549c961cfb8b420e650e1272b
45e9809aff7304721fddb95654901b32195c9c7avboxsync#
45e9809aff7304721fddb95654901b32195c9c7avboxsync# CDDL HEADER START
45e9809aff7304721fddb95654901b32195c9c7avboxsync#
45e9809aff7304721fddb95654901b32195c9c7avboxsync# The contents of this file are subject to the terms of the
45e9809aff7304721fddb95654901b32195c9c7avboxsync# Common Development and Distribution License (the "License").
45e9809aff7304721fddb95654901b32195c9c7avboxsync# You may not use this file except in compliance with the License.
45e9809aff7304721fddb95654901b32195c9c7avboxsync#
45e9809aff7304721fddb95654901b32195c9c7avboxsync# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
45e9809aff7304721fddb95654901b32195c9c7avboxsync# or http://www.opensolaris.org/os/licensing.
45e9809aff7304721fddb95654901b32195c9c7avboxsync# See the License for the specific language governing permissions
45e9809aff7304721fddb95654901b32195c9c7avboxsync# and limitations under the License.
45e9809aff7304721fddb95654901b32195c9c7avboxsync#
45e9809aff7304721fddb95654901b32195c9c7avboxsync# When distributing Covered Code, include this CDDL HEADER in each
45e9809aff7304721fddb95654901b32195c9c7avboxsync# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
45e9809aff7304721fddb95654901b32195c9c7avboxsync# If applicable, add the following below this CDDL HEADER, with the
45e9809aff7304721fddb95654901b32195c9c7avboxsync# fields enclosed by brackets "[]" replaced with your own identifying
45e9809aff7304721fddb95654901b32195c9c7avboxsync# information: Portions Copyright [yyyy] [name of copyright owner]
45e9809aff7304721fddb95654901b32195c9c7avboxsync#
45e9809aff7304721fddb95654901b32195c9c7avboxsync# CDDL HEADER END
45e9809aff7304721fddb95654901b32195c9c7avboxsync#
45e9809aff7304721fddb95654901b32195c9c7avboxsync#
45e9809aff7304721fddb95654901b32195c9c7avboxsync# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
45e9809aff7304721fddb95654901b32195c9c7avboxsync# Use is subject to license terms.
45e9809aff7304721fddb95654901b32195c9c7avboxsync#
45e9809aff7304721fddb95654901b32195c9c7avboxsync# ident "%Z%%M% %I% %E% SMI"
45e9809aff7304721fddb95654901b32195c9c7avboxsync#
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncinclude $(SRC)/lib/Makefile.lib
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncHDRS = libdladm.h libdladm_impl.h libdllink.h libdlaggr.h \
45e9809aff7304721fddb95654901b32195c9c7avboxsync libdlwlan.h libdlwlan_impl.h libdlvnic.h libdlvlan.h \
45e9809aff7304721fddb95654901b32195c9c7avboxsync libdlmgmt.h
45e9809aff7304721fddb95654901b32195c9c7avboxsyncHDRDIR = common
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncSUBDIRS = $(MACH)
45e9809aff7304721fddb95654901b32195c9c7avboxsync$(BUILD64)SUBDIRS += $(MACH64)
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncPOFILE = libdladm.po
45e9809aff7304721fddb95654901b32195c9c7avboxsyncMSGFILES = common/libdladm.c common/linkprop.c common/secobj.c \
45e9809aff7304721fddb95654901b32195c9c7avboxsync common/libdllink.c common/libdlaggr.c \
45e9809aff7304721fddb95654901b32195c9c7avboxsync common/libdlwlan.c common/libdlvnic.c \
45e9809aff7304721fddb95654901b32195c9c7avboxsync common/libdlvlan.c common/libdlmgmt.c
45e9809aff7304721fddb95654901b32195c9c7avboxsyncXGETFLAGS = -a -x libdladm.xcl
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncall := TARGET = all
45e9809aff7304721fddb95654901b32195c9c7avboxsyncclean := TARGET = clean
45e9809aff7304721fddb95654901b32195c9c7avboxsyncclobber := TARGET = clobber
45e9809aff7304721fddb95654901b32195c9c7avboxsyncinstall := TARGET = install
45e9809aff7304721fddb95654901b32195c9c7avboxsynclint := TARGET = lint
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsync.KEEP_STATE:
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncall clean clobber install lint: $(SUBDIRS)
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncinstall_h: $(ROOTHDRS)
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsynccheck: $(CHECKHDRS)
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsync$(POFILE): pofile_MSGFILES
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsync_msg: $(MSGDOMAINPOFILE)
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsync$(SUBDIRS): FRC
45e9809aff7304721fddb95654901b32195c9c7avboxsync @cd $@; pwd; $(MAKE) $(TARGET)
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncFRC:
45e9809aff7304721fddb95654901b32195c9c7avboxsync
45e9809aff7304721fddb95654901b32195c9c7avboxsyncinclude $(SRC)/Makefile.msg.targ
45e9809aff7304721fddb95654901b32195c9c7avboxsyncinclude $(SRC)/lib/Makefile.targ
45e9809aff7304721fddb95654901b32195c9c7avboxsync