Cross Reference: /illumos-gate/usr/src/uts/sun4u/starfire/ngdr/Makefile
Makefile revision 7c478bd95313f5f23a4c958a745db2134aa03244
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
2N/A#
2N/A# CDDL HEADER START
2N/A#
2N/A# The contents of this file are subject to the terms of the
2N/A# Common Development and Distribution License, Version 1.0 only
2N/A# (the "License"). You may not use this file except in compliance
2N/A# with the License.
2N/A#
2N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2N/A# or http://www.opensolaris.org/os/licensing.
2N/A# See the License for the specific language governing permissions
2N/A# and limitations under the License.
2N/A#
2N/A# When distributing Covered Code, include this CDDL HEADER in each
2N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
2N/A# If applicable, add the following below this CDDL HEADER, with the
2N/A# fields enclosed by brackets "[]" replaced with your own identifying
2N/A# information: Portions Copyright [yyyy] [name of copyright owner]
2N/A#
2N/A# CDDL HEADER END
58N/A#
2N/A#
2N/A# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
2N/A# Use is subject to license terms.
2N/A#
23N/A# ident "%Z%%M% %I% %E% SMI"
23N/A#
23N/A# This makefile drives the production of the ngdr driver module.
23N/A#
23N/A# sun4u starfire implementation architecture dependent
32N/A#
32N/A
32N/A#
34N/A# Path to the base of the uts directory tree (usually /usr/src/uts).
32N/A#
34N/AUTSBASE = ../../..
32N/A
32N/A#
58N/A# Define the module and object file sets.
32N/A#
2N/AMODULE = ngdr
38N/AOBJECTS = $(DR_OBJS:%=$(OBJS_DIR)/%)
38N/ALINTS = $(DR_OBJS:%.o=$(LINTS_DIR)/%.ln)
38N/AROOTMODULE = $(ROOT_STARFIRE_DRV_DIR)/$(MODULE)
38N/ACONF_SRCDIR = $(UTSBASE)/sun4u/starfire/io
38N/A
38N/A#
38N/A# Include common rules.
38N/A#
38N/Ainclude $(UTSBASE)/sun4u/starfire/Makefile.starfire
83N/A
83N/A#
99N/A# Define targets
2N/A#
92N/AALL_TARGET = $(BINARY) $(SRC_CONFFILE)
92N/ALINT_TARGET = $(MODULE).lint
92N/AINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
2N/A
2N/A#
83N/A# lint pass one enforcement
83N/A#
2N/ACFLAGS += $(CCVERBOSE)
34N/A
2N/A#
34N/A# module dependencies
34N/A#
2N/ALDFLAGS += -dy -Nmisc/ngdrmach
34N/A
53N/A#
34N/A# Default build targets.
70N/A#
2N/A.KEEP_STATE:
2N/A
2N/Adef: $(DEF_DEPS)
2N/A
70N/Aall: $(ALL_DEPS)
105N/A
105N/Aclean: $(CLEAN_DEPS)
2N/A
70N/Aclobber: $(CLOBBER_DEPS)
70N/A
70N/Alint: $(LINT_DEPS)
70N/A
70N/Amodlintlib: $(MODLINTLIB_DEPS)
70N/A
70N/Aclean.lint: $(CLEAN_LINT_DEPS)
70N/A
70N/Ainstall: $(INSTALL_DEPS)
70N/A
6N/A#
6N/A# Include common targets.
6N/A#
34N/Ainclude $(UTSBASE)/sun4u/starfire/Makefile.targ
34N/A