Makefile (bef9e21a) Makefile (0aaef2f5)
1#
2# CDDL HEADER START
3#
4# This file and its contents are supplied under the terms of the
5# Common Development and Distribution License ("CDDL"), version 1.0.
6# You may only use this file in accordance with the terms of version
7# 1.0 of the CDDL.
8#

--- 19 unchanged lines hidden (view full) ---

28#
29UTSBASE = ../..
30
31#
32# Define the module and object file sets.
33#
34MODULE = skd
35OBJECTS = $(SKD_OBJS:%=$(OBJS_DIR)/%)
1#
2# CDDL HEADER START
3#
4# This file and its contents are supplied under the terms of the
5# Common Development and Distribution License ("CDDL"), version 1.0.
6# You may only use this file in accordance with the terms of version
7# 1.0 of the CDDL.
8#

--- 19 unchanged lines hidden (view full) ---

28#
29UTSBASE = ../..
30
31#
32# Define the module and object file sets.
33#
34MODULE = skd
35OBJECTS = $(SKD_OBJS:%=$(OBJS_DIR)/%)
36LINTS = $(SKD_OBJS:%.o=$(LINTS_DIR)/%.ln)
37ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
38CONF_SRCDIR = $(UTSBASE)/common/io/skd
39
40#
41# Include common rules.
42#
43include $(UTSBASE)/intel/Makefile.intel
44
45#
46# Define targets
47#
48ALL_TARGET = $(BINARY) $(CONFMOD)
36ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
37CONF_SRCDIR = $(UTSBASE)/common/io/skd
38
39#
40# Include common rules.
41#
42include $(UTSBASE)/intel/Makefile.intel
43
44#
45# Define targets
46#
47ALL_TARGET = $(BINARY) $(CONFMOD)
49LINT_TARGET = $(MODULE).lint
50INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
51
52#
53# Driver depends on blkdev
54#
55LDFLAGS += -dy -N drv/blkdev
56
57#
58# Overrides
59#
60# For now, disable these compiler warnigns; maintainers should endeavor
48INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
49
50#
51# Driver depends on blkdev
52#
53LDFLAGS += -dy -N drv/blkdev
54
55#
56# Overrides
57#
58# For now, disable these compiler warnigns; maintainers should endeavor
61# to investigate and remove these for maximum lint coverage.
59# to investigate and remove these for maximum coverage.
62# Please do not carry these forward to new Makefiles.
63CERRWARN += -_gcc=-Wno-format
64CERRWARN += -_gcc=-Wno-format-extra-args
65
66#
67# Default build targets.
68#
69.KEEP_STATE:
70
71def: $(DEF_DEPS)
72
73all: $(ALL_DEPS)
74
75clean: $(CLEAN_DEPS)
76
77clobber: $(CLOBBER_DEPS)
78
60# Please do not carry these forward to new Makefiles.
61CERRWARN += -_gcc=-Wno-format
62CERRWARN += -_gcc=-Wno-format-extra-args
63
64#
65# Default build targets.
66#
67.KEEP_STATE:
68
69def: $(DEF_DEPS)
70
71all: $(ALL_DEPS)
72
73clean: $(CLEAN_DEPS)
74
75clobber: $(CLOBBER_DEPS)
76
79lint: $(LINT_DEPS)
80
81modlintlib: $(MODLINTLIB_DEPS)
82
83clean.lint: $(CLEAN_LINT_DEPS)
84
85install: $(INSTALL_DEPS)
86
87#
88# Include common targets.
89#
90include $(UTSBASE)/intel/Makefile.targ
77install: $(INSTALL_DEPS)
78
79#
80# Include common targets.
81#
82include $(UTSBASE)/intel/Makefile.targ