xref: /titanic_44/usr/src/cmd/mdb/Makefile.kmdb.files (revision fb3fb4f3d76d55b64440afd0af72775dfad3bd1d)
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, Version 1.0 only
6# (the "License").  You may not use this file except in compliance
7# with the License.
8#
9# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10# or http://www.opensolaris.org/os/licensing.
11# See the License for the specific language governing permissions
12# and limitations under the License.
13#
14# When distributing Covered Code, include this CDDL HEADER in each
15# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16# If applicable, add the following below this CDDL HEADER, with the
17# fields enclosed by brackets "[]" replaced with your own identifying
18# information: Portions Copyright [yyyy] [name of copyright owner]
19#
20# CDDL HEADER END
21#
22#
23# Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
24# Use is subject to license terms.
25#
26#ident	"%Z%%M%	%I%	%E% SMI"
27#
28
29KMDBSRCS += \
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