xref: /illumos-gate/usr/src/uts/intel/smbios/Makefile (revision b6b206fc7fb36f7b13b01acf70ed6e676e405998)
184ab085aSmws#
284ab085aSmws# CDDL HEADER START
384ab085aSmws#
484ab085aSmws# The contents of this file are subject to the terms of the
584ab085aSmws# Common Development and Distribution License, Version 1.0 only
684ab085aSmws# (the "License").  You may not use this file except in compliance
784ab085aSmws# with the License.
884ab085aSmws#
984ab085aSmws# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
1084ab085aSmws# or http://www.opensolaris.org/os/licensing.
1184ab085aSmws# See the License for the specific language governing permissions
1284ab085aSmws# and limitations under the License.
1384ab085aSmws#
1484ab085aSmws# When distributing Covered Code, include this CDDL HEADER in each
1584ab085aSmws# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1684ab085aSmws# If applicable, add the following below this CDDL HEADER, with the
1784ab085aSmws# fields enclosed by brackets "[]" replaced with your own identifying
1884ab085aSmws# information: Portions Copyright [yyyy] [name of copyright owner]
1984ab085aSmws#
2084ab085aSmws# CDDL HEADER END
2184ab085aSmws#
2284ab085aSmws
2384ab085aSmws#
2484ab085aSmws# Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
2584ab085aSmws# Use is subject to license terms.
2684ab085aSmws#
27*b6b206fcSJohn Levon# Copyright (c) 2018, Joyent, Inc.
28*b6b206fcSJohn Levon
2984ab085aSmws
3084ab085aSmwsUTSBASE	= ../..
3184ab085aSmws
3284ab085aSmwsMODULE = smbios
3384ab085aSmwsOBJECTS	= $(OBJS_DIR)/smbios.o
3484ab085aSmwsLINTS = $(LINTS_DIR)/smbios.ln
3584ab085aSmwsROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
3684ab085aSmwsCONF_SRCDIR = $(UTSBASE)/common/io
3784ab085aSmws
3884ab085aSmwsinclude $(UTSBASE)/intel/Makefile.intel
3984ab085aSmws
4084ab085aSmwsALL_TARGET = $(BINARY) $(SRC_CONFILE)
4184ab085aSmwsLINT_TARGET = $(MODULE).lint
4284ab085aSmwsINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
4384ab085aSmws
44*b6b206fcSJohn Levon# needs work
45*b6b206fcSJohn LevonSMOFF += signed_integer_overflow_check
46*b6b206fcSJohn Levon
4784ab085aSmws.KEEP_STATE:
4884ab085aSmws
4984ab085aSmwsdef: $(DEF_DEPS)
5084ab085aSmws
5184ab085aSmwsall: $(ALL_DEPS)
5284ab085aSmws
5384ab085aSmwsclean: $(CLEAN_DEPS)
5484ab085aSmws
5584ab085aSmwsclobber: $(CLOBBER_DEPS)
5684ab085aSmws
5784ab085aSmwslint: $(LINT_DEPS)
5884ab085aSmws
5984ab085aSmwsmodlintlib: $(MODLINTLIB_DEPS)
6084ab085aSmws
6184ab085aSmwsclean.lint: $(CLEAN_LINT_DEPS)
6284ab085aSmws
6384ab085aSmwsinstall: $(INSTALL_DEPS)
6484ab085aSmws
6584ab085aSmwsinclude $(UTSBASE)/intel/Makefile.targ
66