17ff178cdSJimmy Vetayases# 27ff178cdSJimmy Vetayases# CDDL HEADER START 37ff178cdSJimmy Vetayases# 47ff178cdSJimmy Vetayases# The contents of this file are subject to the terms of the 57ff178cdSJimmy Vetayases# Common Development and Distribution License (the "License"). 67ff178cdSJimmy Vetayases# You may not use this file except in compliance with the License. 77ff178cdSJimmy Vetayases# 87ff178cdSJimmy Vetayases# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 97ff178cdSJimmy Vetayases# or http://www.opensolaris.org/os/licensing. 107ff178cdSJimmy Vetayases# See the License for the specific language governing permissions 117ff178cdSJimmy Vetayases# and limitations under the License. 127ff178cdSJimmy Vetayases# 137ff178cdSJimmy Vetayases# When distributing Covered Code, include this CDDL HEADER in each 147ff178cdSJimmy Vetayases# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 157ff178cdSJimmy Vetayases# If applicable, add the following below this CDDL HEADER, with the 167ff178cdSJimmy Vetayases# fields enclosed by brackets "[]" replaced with your own identifying 177ff178cdSJimmy Vetayases# information: Portions Copyright [yyyy] [name of copyright owner] 187ff178cdSJimmy Vetayases# 197ff178cdSJimmy Vetayases# CDDL HEADER END 207ff178cdSJimmy Vetayases# 217ff178cdSJimmy Vetayases# 227ff178cdSJimmy Vetayases# uts/i86pc/apix/Makefile 237ff178cdSJimmy Vetayases# 247ff178cdSJimmy Vetayases# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved. 25dccbe850SJohn Levon# Copyright (c) 2019, Joyent, Inc. 26*fe7a23c8SAndy Fiddaman# Copyright 2019 OmniOS Community Edition (OmniOSce) Association. 277ff178cdSJimmy Vetayases# 28583cd330SHans Rosenfeld# This makefile drives the production of the apix "mach" 297ff178cdSJimmy Vetayases# kernel module. 307ff178cdSJimmy Vetayases# 31583cd330SHans Rosenfeld# apix implementation architecture dependent 327ff178cdSJimmy Vetayases# 337ff178cdSJimmy Vetayases 347ff178cdSJimmy Vetayases# 357ff178cdSJimmy Vetayases# Path to the base of the uts directory tree (usually /usr/src/uts). 367ff178cdSJimmy Vetayases# 377ff178cdSJimmy VetayasesUTSBASE = ../.. 387ff178cdSJimmy Vetayases 397ff178cdSJimmy Vetayases# 407ff178cdSJimmy Vetayases# Define the module and object file sets. 417ff178cdSJimmy Vetayases# 427ff178cdSJimmy VetayasesMODULE = apix 437ff178cdSJimmy VetayasesOBJECTS = $(APIX_OBJS:%=$(OBJS_DIR)/%) 447ff178cdSJimmy VetayasesROOTMODULE = $(ROOT_PSM_MACH_DIR)/$(MODULE) 457ff178cdSJimmy Vetayases 467ff178cdSJimmy Vetayases# 477ff178cdSJimmy Vetayases# Include common rules. 487ff178cdSJimmy Vetayases# 497ff178cdSJimmy Vetayasesinclude $(UTSBASE)/i86pc/Makefile.i86pc 507ff178cdSJimmy Vetayases 517ff178cdSJimmy Vetayases# 527ff178cdSJimmy Vetayases# Define targets 537ff178cdSJimmy Vetayases# 547ff178cdSJimmy VetayasesALL_TARGET = $(BINARY) 557ff178cdSJimmy VetayasesINSTALL_TARGET = $(BINARY) $(ROOTMODULE) 567ff178cdSJimmy Vetayases 577ff178cdSJimmy VetayasesDEBUG_FLGS = 587ff178cdSJimmy Vetayases$(NOT_RELEASE_BUILD)DEBUG_DEFS += $(DEBUG_FLGS) 597ff178cdSJimmy Vetayases 607ff178cdSJimmy Vetayases# 617ff178cdSJimmy Vetayases# Depends on ACPI CA interpreter 627ff178cdSJimmy Vetayases# 637ff178cdSJimmy VetayasesLDFLAGS += -dy -N misc/acpica 647ff178cdSJimmy Vetayases 65b6b206fcSJohn Levon# needs work 66b6b206fcSJohn Levon$(OBJS_DIR)/psm_common.o := SMOFF += deref_check 67b6b206fcSJohn Levon 687ff178cdSJimmy Vetayases# 697ff178cdSJimmy Vetayases# Default build targets. 707ff178cdSJimmy Vetayases# 717ff178cdSJimmy Vetayases.KEEP_STATE: 727ff178cdSJimmy Vetayases 737ff178cdSJimmy Vetayasesdef: $(DEF_DEPS) 747ff178cdSJimmy Vetayases 757ff178cdSJimmy Vetayasesall: $(ALL_DEPS) 767ff178cdSJimmy Vetayases 777ff178cdSJimmy Vetayasesclean: $(CLEAN_DEPS) 787ff178cdSJimmy Vetayases 797ff178cdSJimmy Vetayasesclobber: $(CLOBBER_DEPS) 807ff178cdSJimmy Vetayases 817ff178cdSJimmy Vetayasesinstall: $(INSTALL_DEPS) 827ff178cdSJimmy Vetayases 837ff178cdSJimmy Vetayases# 847ff178cdSJimmy Vetayases# Include common targets. 857ff178cdSJimmy Vetayases# 867ff178cdSJimmy Vetayasesinclude $(UTSBASE)/i86pc/Makefile.targ 877ff178cdSJimmy Vetayases 88