xref: /titanic_50/usr/src/cmd/mdb/Makefile.kmdb.files (revision 3c112a2b34403220c06c3e2fcac403358cfba168)
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
9# or http://www.opensolaris.org/os/licensing.
10# See the License for the specific language governing permissions
11# and limitations under the License.
12#
13# When distributing Covered Code, include this CDDL HEADER in each
14# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15# If applicable, add the following below this CDDL HEADER, with the
16# fields enclosed by brackets "[]" replaced with your own identifying
17# information: Portions Copyright [yyyy] [name of copyright owner]
18#
19# CDDL HEADER END
20#
21#
22# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
23# Use is subject to license terms.
24#
25
26KMDBSRCS += \
27	ffs.c \
28	kaif_start.c \
29	mdb.c \
30	mdb_addrvec.c \
31	mdb_argvec.c \
32	mdb_callb.c \
33	mdb_cmdbuf.c \
34	mdb_cmds.c \
35	kvm_cpu.c \
36	kmdb_conf.c \
37	kmdb_context.c \
38	kmdb_create.c \
39	mdb_ctf.c \
40	kmdb_ctf_open.c \
41	mdb_debug.c \
42	kmdb_demangle.c \
43	mdb_disasm.c \
44	kmdb_dl.c \
45	kmdb_dpi.c \
46	mdb_dump.c \
47	mdb_err.c \
48	mdb_evset.c \
49	kmdb_fault.c \
50	kmdb_fdio.c \
51	mdb_fmt.c \
52	mdb_frame.c \
53	mdb_gelf.c \
54	mdb_help.c \
55	mdb_io.c \
56	kmdb_kdi.c \
57	kmdb_kvm.c \
58	mdb_logio.c \
59	mdb_list.c \
60	mdb_macalias.c \
61	kmdb_main.c \
62	mdb_modapi.c \
63	mdb_module.c \
64	kmdb_module.c \
65	kmdb_module_load.c \
66	mdb_nm.c \
67	mdb_nv.c \
68	mdb_pipeio.c \
69	mdb_print.c \
70	kmdb_promio.c \
71	kmdb_promif.c \
72	mdb_set.c \
73	kmdb_shell.c \
74	mdb_signal.c \
75	mdb_string.c \
76	mdb_strio.c \
77	kmdb_stubs.c \
78	mdb_target.c \
79	kmdb_terminfo.c \
80	mdb_termio.c \
81	mdb_umem.c \
82	kmdb_umemglue.c \
83	mdb_value.c \
84	mdb_vcb.c \
85	mdb_wcb.c \
86	mdb_whatis.c \
87	kmdb_wr.c
88
89KMDBML +=
90
91KMDBOBJS = $(KMDBSRCS:%.c=%.o) $(KMDBML:%.s=%.o)
92
93PROMSRCS +=
94
95PROMOBJS = $(PROMSRCS:%.c=%.o)
96
97KCTLSRCS += \
98	kctl_auxv.c \
99	kctl_dmod.c \
100	kctl_err.c \
101	kctl_main.c \
102	kctl_mod.c \
103	kctl_string.c \
104	kctl_wr.c
105
106KCTLML +=
107
108KCTLOBJS = $(KCTLSRCS:%.c=%.o) $(KCTLML:%.s=%.o)
109
110SRCS += $(KMDBSRCS) $(PROMSRCS)
111MLSRCS += $(KMDBML)
112OBJS = $(SRCS:%.c=%.o) $(KMDBML:%.s=%.o)
113
114ALLOBJS = $(OBJS) $(KCTLOBJS)
115ALLLINTFILES = $(ALLOBJS:%.o=%.ln)
116
117# files that need KMDB_VERSION defined
118VERSFILES = \
119	kmdb_conf.c \
120	kctl_main.c
121VERSOBJS = $(VERSFILES:%.c=%.o)
122