xref: /titanic_41/usr/src/cmd/mdb/Makefile.kmdb.files (revision 0a47c91c895e274dd0990009919e30e984364a8b)
17c478bd9Sstevel@tonic-gate#
27c478bd9Sstevel@tonic-gate# CDDL HEADER START
37c478bd9Sstevel@tonic-gate#
47c478bd9Sstevel@tonic-gate# The contents of this file are subject to the terms of the
569bb4bb4Scarlsonj# Common Development and Distribution License (the "License").
669bb4bb4Scarlsonj# You may not use this file except in compliance with the License.
77c478bd9Sstevel@tonic-gate#
87c478bd9Sstevel@tonic-gate# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
97c478bd9Sstevel@tonic-gate# or http://www.opensolaris.org/os/licensing.
107c478bd9Sstevel@tonic-gate# See the License for the specific language governing permissions
117c478bd9Sstevel@tonic-gate# and limitations under the License.
127c478bd9Sstevel@tonic-gate#
137c478bd9Sstevel@tonic-gate# When distributing Covered Code, include this CDDL HEADER in each
147c478bd9Sstevel@tonic-gate# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
157c478bd9Sstevel@tonic-gate# If applicable, add the following below this CDDL HEADER, with the
167c478bd9Sstevel@tonic-gate# fields enclosed by brackets "[]" replaced with your own identifying
177c478bd9Sstevel@tonic-gate# information: Portions Copyright [yyyy] [name of copyright owner]
187c478bd9Sstevel@tonic-gate#
197c478bd9Sstevel@tonic-gate# CDDL HEADER END
207c478bd9Sstevel@tonic-gate#
217c478bd9Sstevel@tonic-gate#
224a1c2431SJonathan Adams# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
237c478bd9Sstevel@tonic-gate# Use is subject to license terms.
247c478bd9Sstevel@tonic-gate#
257c478bd9Sstevel@tonic-gate
263b6e0a59SMatt Amdur#
273b6e0a59SMatt Amdur# Copyright (c) 2012 by Delphix. All rights reserved.
283b6e0a59SMatt Amdur# Copyright (c) 2012 Joyent, Inc. All rights reserved.
293b6e0a59SMatt Amdur#
303b6e0a59SMatt Amdur
317c478bd9Sstevel@tonic-gateKMDBSRCS += \
3269bb4bb4Scarlsonj	ffs.c \
337c478bd9Sstevel@tonic-gate	kaif_start.c \
347c478bd9Sstevel@tonic-gate	mdb.c \
357c478bd9Sstevel@tonic-gate	mdb_addrvec.c \
367c478bd9Sstevel@tonic-gate	mdb_argvec.c \
377c478bd9Sstevel@tonic-gate	mdb_callb.c \
387c478bd9Sstevel@tonic-gate	mdb_cmdbuf.c \
397c478bd9Sstevel@tonic-gate	mdb_cmds.c \
407c478bd9Sstevel@tonic-gate	kvm_cpu.c \
417c478bd9Sstevel@tonic-gate	kmdb_conf.c \
427c478bd9Sstevel@tonic-gate	kmdb_context.c \
437c478bd9Sstevel@tonic-gate	kmdb_create.c \
447c478bd9Sstevel@tonic-gate	mdb_ctf.c \
457c478bd9Sstevel@tonic-gate	kmdb_ctf_open.c \
467c478bd9Sstevel@tonic-gate	mdb_debug.c \
477c478bd9Sstevel@tonic-gate	kmdb_demangle.c \
487c478bd9Sstevel@tonic-gate	mdb_disasm.c \
497c478bd9Sstevel@tonic-gate	kmdb_dl.c \
507c478bd9Sstevel@tonic-gate	kmdb_dpi.c \
517c478bd9Sstevel@tonic-gate	mdb_dump.c \
527c478bd9Sstevel@tonic-gate	mdb_err.c \
537c478bd9Sstevel@tonic-gate	mdb_evset.c \
547c478bd9Sstevel@tonic-gate	kmdb_fault.c \
557c478bd9Sstevel@tonic-gate	kmdb_fdio.c \
567c478bd9Sstevel@tonic-gate	mdb_fmt.c \
577c478bd9Sstevel@tonic-gate	mdb_frame.c \
587c478bd9Sstevel@tonic-gate	mdb_gelf.c \
597c478bd9Sstevel@tonic-gate	mdb_help.c \
607c478bd9Sstevel@tonic-gate	mdb_io.c \
617c478bd9Sstevel@tonic-gate	kmdb_kdi.c \
627c478bd9Sstevel@tonic-gate	kmdb_kvm.c \
637c478bd9Sstevel@tonic-gate	mdb_logio.c \
647c478bd9Sstevel@tonic-gate	mdb_list.c \
657c478bd9Sstevel@tonic-gate	mdb_macalias.c \
667c478bd9Sstevel@tonic-gate	kmdb_main.c \
677c478bd9Sstevel@tonic-gate	mdb_modapi.c \
687c478bd9Sstevel@tonic-gate	mdb_module.c \
697c478bd9Sstevel@tonic-gate	kmdb_module.c \
707c478bd9Sstevel@tonic-gate	kmdb_module_load.c \
717c478bd9Sstevel@tonic-gate	mdb_nm.c \
727c478bd9Sstevel@tonic-gate	mdb_nv.c \
737c478bd9Sstevel@tonic-gate	mdb_pipeio.c \
747c478bd9Sstevel@tonic-gate	mdb_print.c \
757c478bd9Sstevel@tonic-gate	kmdb_promio.c \
767c478bd9Sstevel@tonic-gate	kmdb_promif.c \
777c478bd9Sstevel@tonic-gate	mdb_set.c \
787c478bd9Sstevel@tonic-gate	kmdb_shell.c \
797c478bd9Sstevel@tonic-gate	mdb_signal.c \
807c478bd9Sstevel@tonic-gate	mdb_string.c \
817c478bd9Sstevel@tonic-gate	mdb_strio.c \
827c478bd9Sstevel@tonic-gate	kmdb_stubs.c \
833b6e0a59SMatt Amdur	mdb_tab.c \
847c478bd9Sstevel@tonic-gate	mdb_target.c \
857c478bd9Sstevel@tonic-gate	kmdb_terminfo.c \
867c478bd9Sstevel@tonic-gate	mdb_termio.c \
87*0a47c91cSRobert Mustacchi	mdb_typedef.c \
887c478bd9Sstevel@tonic-gate	mdb_umem.c \
897c478bd9Sstevel@tonic-gate	kmdb_umemglue.c \
907c478bd9Sstevel@tonic-gate	mdb_value.c \
917c478bd9Sstevel@tonic-gate	mdb_vcb.c \
927c478bd9Sstevel@tonic-gate	mdb_wcb.c \
934a1c2431SJonathan Adams	mdb_whatis.c \
947c478bd9Sstevel@tonic-gate	kmdb_wr.c
957c478bd9Sstevel@tonic-gate
967c478bd9Sstevel@tonic-gateKMDBML +=
977c478bd9Sstevel@tonic-gate
987c478bd9Sstevel@tonic-gateKMDBOBJS = $(KMDBSRCS:%.c=%.o) $(KMDBML:%.s=%.o)
997c478bd9Sstevel@tonic-gate
1007c478bd9Sstevel@tonic-gatePROMSRCS +=
1017c478bd9Sstevel@tonic-gate
1027c478bd9Sstevel@tonic-gatePROMOBJS = $(PROMSRCS:%.c=%.o)
1037c478bd9Sstevel@tonic-gate
1047c478bd9Sstevel@tonic-gateKCTLSRCS += \
1057c478bd9Sstevel@tonic-gate	kctl_auxv.c \
1067c478bd9Sstevel@tonic-gate	kctl_dmod.c \
1077c478bd9Sstevel@tonic-gate	kctl_err.c \
1087c478bd9Sstevel@tonic-gate	kctl_main.c \
1097c478bd9Sstevel@tonic-gate	kctl_mod.c \
1107c478bd9Sstevel@tonic-gate	kctl_string.c \
1117c478bd9Sstevel@tonic-gate	kctl_wr.c
1127c478bd9Sstevel@tonic-gate
1137c478bd9Sstevel@tonic-gateKCTLML +=
1147c478bd9Sstevel@tonic-gate
1157c478bd9Sstevel@tonic-gateKCTLOBJS = $(KCTLSRCS:%.c=%.o) $(KCTLML:%.s=%.o)
1167c478bd9Sstevel@tonic-gate
1177c478bd9Sstevel@tonic-gateSRCS += $(KMDBSRCS) $(PROMSRCS)
1187c478bd9Sstevel@tonic-gateMLSRCS += $(KMDBML)
1197c478bd9Sstevel@tonic-gateOBJS = $(SRCS:%.c=%.o) $(KMDBML:%.s=%.o)
1207c478bd9Sstevel@tonic-gate
1217c478bd9Sstevel@tonic-gateALLOBJS = $(OBJS) $(KCTLOBJS)
1227c478bd9Sstevel@tonic-gateALLLINTFILES = $(ALLOBJS:%.o=%.ln)
1237c478bd9Sstevel@tonic-gate
1247c478bd9Sstevel@tonic-gate# files that need KMDB_VERSION defined
1257c478bd9Sstevel@tonic-gateVERSFILES = \
1267c478bd9Sstevel@tonic-gate	kmdb_conf.c \
1277c478bd9Sstevel@tonic-gate	kctl_main.c
1287c478bd9Sstevel@tonic-gateVERSOBJS = $(VERSFILES:%.c=%.o)
129