Makefile revision 450396635f70344c58b6b1e4db38cf17ff34445c
3349N/A#
3349N/A# CDDL HEADER START
3349N/A#
3349N/A# The contents of this file are subject to the terms of the
3349N/A# Common Development and Distribution License (the "License").
3349N/A# You may not use this file except in compliance with the License.
3349N/A#
3349N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
3349N/A# or http://www.opensolaris.org/os/licensing.
3349N/A# See the License for the specific language governing permissions
3349N/A# and limitations under the License.
3349N/A#
3349N/A# When distributing Covered Code, include this CDDL HEADER in each
3349N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
3349N/A# If applicable, add the following below this CDDL HEADER, with the
3349N/A# fields enclosed by brackets "[]" replaced with your own identifying
3349N/A# information: Portions Copyright [yyyy] [name of copyright owner]
3349N/A#
3349N/A# CDDL HEADER END
3349N/A#
3349N/A#
3349N/A# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
3349N/A# Use is subject to license terms.
3349N/A#
4191N/A# This makefile drives the production of the pppt pseudo-driver for
3349N/A# COMSTAR.
3349N/A
3349N/A#
3349N/A# Path to the base of the uts directory tree (usually /usr/src/uts).
3349N/A#
3349N/A
3349N/A
3349N/AUTSBASE = ../..
3349N/A
3349N/AARCHDIR:sh = cd ..; basename `pwd`
3349N/A
3349N/A#
3349N/A# Define the module and object file sets.
3349N/A#
3349N/AMODULE = pppt
3349N/AOBJECTS = $(PPPT_OBJS:%=$(OBJS_DIR)/%)
3349N/ALINTS = $(PPPT_OBJS:%.o=$(LINTS_DIR)/%.ln)
3349N/AROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
3349N/ACONF_SRCDIR = $(UTSBASE)/common/io/comstar/port/pppt
3349N/A
3349N/A#
3349N/A# Include common rules.
3349N/A#
3349N/Ainclude ../Makefile.$(ARCHDIR)
3349N/A
3349N/A#
3349N/A# Define targets
3349N/A#
3349N/AALL_TARGET = $(BINARY) $(SRC_CONFILE)
3349N/ALINT_TARGET = $(MODULE).lint
3349N/AINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
3349N/A
3387N/A#
3349N/A# Overrides and depends_on
3349N/A#
3349N/AMODSTUBS_DIR = $(OBJS_DIR)
3349N/ALDFLAGS += -dy -Ndrv/stmf
3387N/A
3349N/AINC_PATH += -I$(UTSBASE)/common/io/comstar/port/pppt
3387N/A
3349N/AC99MODE= -xc99=%all
3349N/AC99LMODE= -Xc99=%all
3387N/A
3387N/A#
3387N/A# Default build targets.
3349N/A#
3349N/A.KEEP_STATE:
3387N/A
3349N/Adef: $(DEF_DEPS)
3387N/A
3349N/Aall: $(ALL_DEPS)
3387N/A
3349N/Aclean: $(CLEAN_DEPS)
3387N/A
3349N/Aclobber: $(CLOBBER_DEPS)
3387N/A
3349N/Alint: $(LINT_DEPS)
3387N/A
3349N/Amodlintlib: $(MODLINTLIB_DEPS)
3387N/A
3349N/Aclean.lint: $(CLEAN_LINT_DEPS)
3387N/A
3349N/Ainstall: $(INSTALL_DEPS)
3387N/A
3349N/A#
3387N/A# Include common targets.
3349N/A#
3387N/Ainclude ../Makefile.targ
3349N/A