Merge commit '9276b3991ba20d5a5660887ba81b0bc7bed25a0c'
[unleashed.git] / usr / src / cmd / mdb / Makefile.kmdb.files
blob1b3666d8208345d02c08fcd234651518aced4647
2 # CDDL HEADER START
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.
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.
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]
19 # CDDL HEADER END
22 # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
23 # Use is subject to license terms.
27 # Copyright (c) 2012 by Delphix. All rights reserved.
28 # Copyright (c) 2012 Joyent, Inc. All rights reserved.
31 KMDBSRCS += \
32         ffs.c \
33         kaif_start.c \
34         mdb.c \
35         mdb_addrvec.c \
36         mdb_argvec.c \
37         mdb_callb.c \
38         mdb_cmdbuf.c \
39         mdb_cmds.c \
40         kvm_cpu.c \
41         kmdb_conf.c \
42         kmdb_context.c \
43         kmdb_create.c \
44         mdb_ctf.c \
45         kmdb_ctf_open.c \
46         mdb_debug.c \
47         kmdb_demangle.c \
48         mdb_disasm.c \
49         kmdb_dl.c \
50         kmdb_dpi.c \
51         mdb_dump.c \
52         mdb_err.c \
53         mdb_evset.c \
54         kmdb_fault.c \
55         kmdb_fdio.c \
56         mdb_fmt.c \
57         mdb_frame.c \
58         mdb_gelf.c \
59         mdb_help.c \
60         mdb_io.c \
61         kmdb_kdi.c \
62         kmdb_kvm.c \
63         mdb_logio.c \
64         mdb_list.c \
65         mdb_macalias.c \
66         kmdb_main.c \
67         mdb_modapi.c \
68         mdb_module.c \
69         kmdb_module.c \
70         kmdb_module_load.c \
71         mdb_nm.c \
72         mdb_nv.c \
73         mdb_pipeio.c \
74         mdb_print.c \
75         kmdb_promio.c \
76         kmdb_promif.c \
77         mdb_set.c \
78         kmdb_shell.c \
79         mdb_signal.c \
80         mdb_string.c \
81         mdb_strio.c \
82         kmdb_stubs.c \
83         mdb_tab.c \
84         mdb_target.c \
85         kmdb_terminfo.c \
86         mdb_termio.c \
87         mdb_typedef.c \
88         mdb_umem.c \
89         kmdb_umemglue.c \
90         mdb_value.c \
91         mdb_vcb.c \
92         mdb_wcb.c \
93         mdb_whatis.c \
94         kmdb_wr.c
96 KMDBML +=
98 KMDBOBJS = $(KMDBSRCS:%.c=%.o) $(KMDBML:%.s=%.o)
100 PROMSRCS += 
102 PROMOBJS = $(PROMSRCS:%.c=%.o)
104 KCTLSRCS += \
105         kctl_auxv.c \
106         kctl_dmod.c \
107         kctl_err.c \
108         kctl_main.c \
109         kctl_mod.c \
110         kctl_string.c \
111         kctl_wr.c
113 KCTLML += 
115 KCTLOBJS = $(KCTLSRCS:%.c=%.o) $(KCTLML:%.s=%.o)
117 SRCS += $(KMDBSRCS) $(PROMSRCS)
118 MLSRCS += $(KMDBML)
119 OBJS = $(SRCS:%.c=%.o) $(KMDBML:%.s=%.o)
121 ALLOBJS = $(OBJS) $(KCTLOBJS)
123 # files that need KMDB_VERSION defined
124 VERSFILES = \
125         kmdb_conf.c \
126         kctl_main.c
127 VERSOBJS = $(VERSFILES:%.c=%.o)