xref: /titanic_50/usr/src/cmd/mdb/Makefile.kmdb.files (revision e07d9cb85217949d497b02d7211de8a197d2f2eb)
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 2006 Sun Microsystems, Inc.  All rights reserved.
23# Use is subject to license terms.
24#
25#ident	"%Z%%M%	%I%	%E% SMI"
26#
27
28KMDBSRCS += \
29	ffs.c \
30	kaif_start.c \
31	mdb.c \
32	mdb_addrvec.c \
33	mdb_argvec.c \
34	mdb_callb.c \
35	mdb_cmdbuf.c \
36	mdb_cmds.c \
37	kvm_cpu.c \
38	kmdb_conf.c \
39	kmdb_context.c \
40	kmdb_create.c \
41	mdb_ctf.c \
42	kmdb_ctf_open.c \
43	mdb_debug.c \
44	kmdb_demangle.c \
45	mdb_disasm.c \
46	kmdb_dl.c \
47	kmdb_dpi.c \
48	mdb_dump.c \
49	mdb_err.c \
50	mdb_evset.c \
51	kmdb_fault.c \
52	kmdb_fdio.c \
53	mdb_fmt.c \
54	mdb_frame.c \
55	mdb_gelf.c \
56	mdb_help.c \
57	mdb_io.c \
58	kmdb_kdi.c \
59	kmdb_kvm.c \
60	mdb_logio.c \
61	mdb_list.c \
62	mdb_macalias.c \
63	kmdb_main.c \
64	mdb_modapi.c \
65	mdb_module.c \
66	kmdb_module.c \
67	kmdb_module_load.c \
68	mdb_nm.c \
69	mdb_nv.c \
70	mdb_pipeio.c \
71	mdb_print.c \
72	kmdb_promio.c \
73	kmdb_promif.c \
74	mdb_set.c \
75	kmdb_shell.c \
76	mdb_signal.c \
77	mdb_string.c \
78	mdb_strio.c \
79	kmdb_stubs.c \
80	mdb_target.c \
81	kmdb_terminfo.c \
82	mdb_termio.c \
83	mdb_umem.c \
84	kmdb_umemglue.c \
85	mdb_value.c \
86	mdb_vcb.c \
87	mdb_wcb.c \
88	kmdb_wr.c
89
90KMDBML +=
91
92KMDBOBJS = $(KMDBSRCS:%.c=%.o) $(KMDBML:%.s=%.o)
93
94PROMSRCS +=
95
96PROMOBJS = $(PROMSRCS:%.c=%.o)
97
98KCTLSRCS += \
99	kctl_auxv.c \
100	kctl_dmod.c \
101	kctl_err.c \
102	kctl_main.c \
103	kctl_mod.c \
104	kctl_string.c \
105	kctl_wr.c
106
107KCTLML +=
108
109KCTLOBJS = $(KCTLSRCS:%.c=%.o) $(KCTLML:%.s=%.o)
110
111SRCS += $(KMDBSRCS) $(PROMSRCS)
112MLSRCS += $(KMDBML)
113OBJS = $(SRCS:%.c=%.o) $(KMDBML:%.s=%.o)
114
115ALLOBJS = $(OBJS) $(KCTLOBJS)
116ALLLINTFILES = $(ALLOBJS:%.o=%.ln)
117
118# files that need KMDB_VERSION defined
119VERSFILES = \
120	kmdb_conf.c \
121	kctl_main.c
122VERSOBJS = $(VERSFILES:%.c=%.o)
123