Makefile (7c478bd9) | Makefile (0aaef2f5) |
---|---|
1# 2# CDDL HEADER START 3# 4# The contents of this file are subject to the terms of the 5# Common Development and Distribution License, Version 1.0 only 6# (the "License"). You may not use this file except in compliance 7# with the License. 8# --- 6 unchanged lines hidden (view full) --- 15# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 16# If applicable, add the following below this CDDL HEADER, with the 17# fields enclosed by brackets "[]" replaced with your own identifying 18# information: Portions Copyright [yyyy] [name of copyright owner] 19# 20# CDDL HEADER END 21# 22# | 1# 2# CDDL HEADER START 3# 4# The contents of this file are subject to the terms of the 5# Common Development and Distribution License, Version 1.0 only 6# (the "License"). You may not use this file except in compliance 7# with the License. 8# --- 6 unchanged lines hidden (view full) --- 15# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 16# If applicable, add the following below this CDDL HEADER, with the 17# fields enclosed by brackets "[]" replaced with your own identifying 18# information: Portions Copyright [yyyy] [name of copyright owner] 19# 20# CDDL HEADER END 21# 22# |
23# uts/intel/sysacct/Makefile 24# | |
25# Copyright 2004 Sun Microsystems, Inc. All rights reserved. 26# Use is subject to license terms. 27# | 23# Copyright 2004 Sun Microsystems, Inc. All rights reserved. 24# Use is subject to license terms. 25# |
28#pragma ident "%Z%%M% %I% %E% SMI" | 26 |
29# 30# This makefile drives the production of the sysacct driver kernel module. 31# 32# intel architecture dependent 33# 34 35# 36# Path to the base of the uts directory tree (usually /usr/src/uts). 37# 38UTSBASE = ../.. 39 40# 41# Define the module and object file sets. 42# 43MODULE = sysacct 44OBJECTS = $(SYSACCT_OBJS:%=$(OBJS_DIR)/%) | 27# 28# This makefile drives the production of the sysacct driver kernel module. 29# 30# intel architecture dependent 31# 32 33# 34# Path to the base of the uts directory tree (usually /usr/src/uts). 35# 36UTSBASE = ../.. 37 38# 39# Define the module and object file sets. 40# 41MODULE = sysacct 42OBJECTS = $(SYSACCT_OBJS:%=$(OBJS_DIR)/%) |
45LINTS = $(SYSACCT_OBJS:%.o=$(LINTS_DIR)/%.ln) | |
46ROOTMODULE = $(USR_SYS_DIR)/$(MODULE) 47 48# 49# Include common rules. 50# 51include $(UTSBASE)/intel/Makefile.intel 52 53# 54# Define targets 55# 56ALL_TARGET = $(BINARY) | 43ROOTMODULE = $(USR_SYS_DIR)/$(MODULE) 44 45# 46# Include common rules. 47# 48include $(UTSBASE)/intel/Makefile.intel 49 50# 51# Define targets 52# 53ALL_TARGET = $(BINARY) |
57LINT_TARGET = $(MODULE).lint | |
58INSTALL_TARGET = $(BINARY) $(ROOTMODULE) 59 60# 61# Override defaults to build a unique, local modstubs.o. 62# 63MODSTUBS_DIR = $(OBJS_DIR) 64$(MODSTUBS_O) := AS_CPPFLAGS += -DSYSACCT_MODULE 65CLEANFILES += $(MODSTUBS_O) --- 6 unchanged lines hidden (view full) --- 72def: $(DEF_DEPS) 73 74all: $(ALL_DEPS) 75 76clean: $(CLEAN_DEPS) 77 78clobber: $(CLOBBER_DEPS) 79 | 54INSTALL_TARGET = $(BINARY) $(ROOTMODULE) 55 56# 57# Override defaults to build a unique, local modstubs.o. 58# 59MODSTUBS_DIR = $(OBJS_DIR) 60$(MODSTUBS_O) := AS_CPPFLAGS += -DSYSACCT_MODULE 61CLEANFILES += $(MODSTUBS_O) --- 6 unchanged lines hidden (view full) --- 68def: $(DEF_DEPS) 69 70all: $(ALL_DEPS) 71 72clean: $(CLEAN_DEPS) 73 74clobber: $(CLOBBER_DEPS) 75 |
80lint: $(LINT_DEPS) 81 82modlintlib: $(MODLINTLIB_DEPS) 83 84clean.lint: $(CLEAN_LINT_DEPS) 85 | |
86install: $(INSTALL_DEPS) 87 88# 89# Include common targets. 90# 91include $(UTSBASE)/intel/Makefile.targ | 76install: $(INSTALL_DEPS) 77 78# 79# Include common targets. 80# 81include $(UTSBASE)/intel/Makefile.targ |