xref: /titanic_52/usr/src/cmd/mdb/intel/ia32/dof/Makefile (revision 1a7c1b724419d3cb5fa6eea75123c6b2060ba31b)
1*1a7c1b72Smws#
2*1a7c1b72Smws# CDDL HEADER START
3*1a7c1b72Smws#
4*1a7c1b72Smws# The contents of this file are subject to the terms of the
5*1a7c1b72Smws# Common Development and Distribution License, Version 1.0 only
6*1a7c1b72Smws# (the "License").  You may not use this file except in compliance
7*1a7c1b72Smws# with the License.
8*1a7c1b72Smws#
9*1a7c1b72Smws# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10*1a7c1b72Smws# or http://www.opensolaris.org/os/licensing.
11*1a7c1b72Smws# See the License for the specific language governing permissions
12*1a7c1b72Smws# and limitations under the License.
13*1a7c1b72Smws#
14*1a7c1b72Smws# When distributing Covered Code, include this CDDL HEADER in each
15*1a7c1b72Smws# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16*1a7c1b72Smws# If applicable, add the following below this CDDL HEADER, with the
17*1a7c1b72Smws# fields enclosed by brackets "[]" replaced with your own identifying
18*1a7c1b72Smws# information: Portions Copyright [yyyy] [name of copyright owner]
19*1a7c1b72Smws#
20*1a7c1b72Smws# CDDL HEADER END
21*1a7c1b72Smws#
22*1a7c1b72Smws#
23*1a7c1b72Smws# Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
24*1a7c1b72Smws# Use is subject to license terms.
25*1a7c1b72Smws#
26*1a7c1b72Smws#ident	"%Z%%M%	%I%	%E% SMI"
27*1a7c1b72Smws
28*1a7c1b72SmwsMODULE = dof.so
29*1a7c1b72SmwsMDBTGT = raw
30*1a7c1b72Smws
31*1a7c1b72SmwsMODSRCS = dof.c dof_names.c
32*1a7c1b72Smws
33*1a7c1b72Smwsinclude ../../../../Makefile.cmd
34*1a7c1b72Smwsinclude ../../Makefile.ia32
35*1a7c1b72Smwsinclude ../../../Makefile.module
36*1a7c1b72Smws
37*1a7c1b72SmwsMODSRCS_DIR = ../../../common/modules/dtrace
38*1a7c1b72Smws
39*1a7c1b72SmwsLDLIBS	+= -ldtrace
40*1a7c1b72SmwsCLEANFILES += dof_names.c
41*1a7c1b72Smws
42*1a7c1b72Smwsdof_names.c: $(MODSRCS_DIR)/mkdof.sh $(SRC)/uts/common/sys/dtrace.h
43*1a7c1b72Smws	sh $(MODSRCS_DIR)/mkdof.sh < $(SRC)/uts/common/sys/dtrace.h > $@
44