Makefile (b6b206fc) | 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 (the "License"). 6# You may not use this file except in compliance with the License. 7# 8# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE --- 21 unchanged lines hidden (view full) --- 30# 31UTSBASE = ../.. 32 33# 34# Define the module and object file sets. 35# 36MODULE = pcihp 37OBJECTS = $(PCIHPNEXUS_OBJS:%=$(OBJS_DIR)/%) | 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 (the "License"). 6# You may not use this file except in compliance with the License. 7# 8# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE --- 21 unchanged lines hidden (view full) --- 30# 31UTSBASE = ../.. 32 33# 34# Define the module and object file sets. 35# 36MODULE = pcihp 37OBJECTS = $(PCIHPNEXUS_OBJS:%=$(OBJS_DIR)/%) |
38LINTS = $(PCIHPNEXUS_OBJS:%.o=$(LINTS_DIR)/%.ln) | |
39ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE) 40 41# 42# Include common rules. 43# 44include $(UTSBASE)/intel/Makefile.intel 45 46# 47# Define targets 48# 49ALL_TARGET = $(BINARY) | 38ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE) 39 40# 41# Include common rules. 42# 43include $(UTSBASE)/intel/Makefile.intel 44 45# 46# Define targets 47# 48ALL_TARGET = $(BINARY) |
50LINT_TARGET = $(MODULE).lint | |
51INSTALL_TARGET = $(BINARY) $(ROOTMODULE) 52 53# 54# Dependency 55# 56LDFLAGS += -dy -Nmisc/busra -Nmisc/hpcsvc 57 | 49INSTALL_TARGET = $(BINARY) $(ROOTMODULE) 50 51# 52# Dependency 53# 54LDFLAGS += -dy -Nmisc/busra -Nmisc/hpcsvc 55 |
58# 59# For now, disable these lint checks; maintainers should endeavor 60# to investigate and remove these for maximum lint coverage. 61# Please do not carry these forward to new Makefiles. 62# 63LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON 64LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN 65 | |
66# needs work 67SMOFF += indenting 68 69# 70# Default build targets. 71# 72.KEEP_STATE: 73 74def: $(DEF_DEPS) 75 76all: $(ALL_DEPS) 77 78clean: $(CLEAN_DEPS) 79 80clobber: $(CLOBBER_DEPS) 81 | 56# needs work 57SMOFF += indenting 58 59# 60# Default build targets. 61# 62.KEEP_STATE: 63 64def: $(DEF_DEPS) 65 66all: $(ALL_DEPS) 67 68clean: $(CLEAN_DEPS) 69 70clobber: $(CLOBBER_DEPS) 71 |
82lint: $(LINT_DEPS) 83 84modlintlib: $(MODLINTLIB_DEPS) 85 86clean.lint: $(CLEAN_LINT_DEPS) 87 | |
88install: $(INSTALL_DEPS) 89 90# 91# Include common targets. 92# 93include $(UTSBASE)/intel/Makefile.targ | 72install: $(INSTALL_DEPS) 73 74# 75# Include common targets. 76# 77include $(UTSBASE)/intel/Makefile.targ |