Makefile revision 7c478bd95313f5f23a4c958a745db2134aa03244
5cd4555ad444fd391002ae32450572054369fd42Rob Austein#
5cd4555ad444fd391002ae32450572054369fd42Rob Austein# CDDL HEADER START
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein#
6ea1b817e31b89a627e146fe69e23ea0a64c89ecBob Halley# The contents of this file are subject to the terms of the
bbe20aa62cd5ece83aeee47cd2992d9f86310823Automatic Updater# Common Development and Distribution License, Version 1.0 only
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# (the "License"). You may not use this file except in compliance
6ea1b817e31b89a627e146fe69e23ea0a64c89ecBob Halley# with the License.
ec5347e2c775f027573ce5648b910361aa926c01Automatic Updater#
dd750c560ae48cf6caeb9a9fe81d33fc4746106dBrian Wellington# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
dd750c560ae48cf6caeb9a9fe81d33fc4746106dBrian Wellington# or http://www.opensolaris.org/os/licensing.
dd750c560ae48cf6caeb9a9fe81d33fc4746106dBrian Wellington# See the License for the specific language governing permissions
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# and limitations under the License.
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews#
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# When distributing Covered Code, include this CDDL HEADER in each
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# If applicable, add the following below this CDDL HEADER, with the
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# fields enclosed by brackets "[]" replaced with your own identifying
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# information: Portions Copyright [yyyy] [name of copyright owner]
6ea1b817e31b89a627e146fe69e23ea0a64c89ecBob Halley#
f5d30e2864e048a42c4dc1134993ae7efdb5d6c3Mark Andrews# CDDL HEADER END
5d23a6ac8392b1eeec8effdee47fb725ace1e759Evan Hunt#
b5ad6dfea4cc3e7d1d322ac99f1e5a31096837c4Mark Andrews#
6ea1b817e31b89a627e146fe69e23ea0a64c89ecBob Halley# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
5d924e398ed15c57c506315c7d11125dcc9cb098Jeremy Reed# Use is subject to license terms.
6ea1b817e31b89a627e146fe69e23ea0a64c89ecBob Halley#
6ea1b817e31b89a627e146fe69e23ea0a64c89ecBob Halley# ident "%Z%%M% %I% %E% SMI"
6ea1b817e31b89a627e146fe69e23ea0a64c89ecBob Halley#
6ea1b817e31b89a627e146fe69e23ea0a64c89ecBob Halley
6ea1b817e31b89a627e146fe69e23ea0a64c89ecBob HalleyUTSBASE = ../..
6ea1b817e31b89a627e146fe69e23ea0a64c89ecBob Halley
6ea1b817e31b89a627e146fe69e23ea0a64c89ecBob HalleyMODULE = kmdb
6ea1b817e31b89a627e146fe69e23ea0a64c89ecBob HalleyOBJECTS = $(KMDB_OBJS:%=$(OBJS_DIR)/%)
6ea1b817e31b89a627e146fe69e23ea0a64c89ecBob HalleyLINTS = $(KMDB_OBJS:%.o=$(LINTS_DIR)/%.ln)
6ea1b817e31b89a627e146fe69e23ea0a64c89ecBob HalleyROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
6ea1b817e31b89a627e146fe69e23ea0a64c89ecBob HalleyCONF_SRCDIR = $(UTSBASE)/common/kmdb
6ea1b817e31b89a627e146fe69e23ea0a64c89ecBob Halley
6ea1b817e31b89a627e146fe69e23ea0a64c89ecBob Halleyinclude $(UTSBASE)/sparc/Makefile.sparc
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinALL_TARGET = $(BINARY) $(SRC_CONFILE)
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinLINT_TARGET = $(MODULE).lint
f5d30e2864e048a42c4dc1134993ae7efdb5d6c3Mark AndrewsINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
d6b5e0b0e8a4e3e927f8d47ca82c3e7f42e0f4bbMark Andrews
c1a883f2e04d94e99c433b1f6cfd0c0338f4ed85Mark AndrewsCFLAGS += $(CCVERBOSE)
5422929ca0d62760b204f18cf830069ae3f3fc77Automatic UpdaterLDFLAGS += -dy -Nmisc/kmdbmod
bbe20aa62cd5ece83aeee47cd2992d9f86310823Automatic Updater
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein.KEEP_STATE:
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austeindef: $(DEF_DEPS)
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austeinall: $(ALL_DEPS)
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein
f5d30e2864e048a42c4dc1134993ae7efdb5d6c3Mark Andrewsclean: $(CLEAN_DEPS)
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austeinclobber: $(CLOBBER_DEPS)
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein
6ea1b817e31b89a627e146fe69e23ea0a64c89ecBob Halleylint: $(LINT_DEPS)
6ea1b817e31b89a627e146fe69e23ea0a64c89ecBob Halley
6ea1b817e31b89a627e146fe69e23ea0a64c89ecBob Halleymodlintlib: $(MODLINTLIB_DEPS)
0ffaee887ff5674b8c3bb0435ae838f641981706Mark Andrews
0ffaee887ff5674b8c3bb0435ae838f641981706Mark Andrewsclean.lint: $(CLEAN_LINT_DEPS)
6ea1b817e31b89a627e146fe69e23ea0a64c89ecBob Halley
6ea1b817e31b89a627e146fe69e23ea0a64c89ecBob Halleyinstall: $(INSTALL_DEPS)
8b78c993cb475cc94e88560941b28c37684789d9Francis Dupont
6ea1b817e31b89a627e146fe69e23ea0a64c89ecBob Halleyinclude $(UTSBASE)/sparc/Makefile.targ
6ea1b817e31b89a627e146fe69e23ea0a64c89ecBob Halley