Makefile revision 7014882c6a3672fd0e5d60200af8643ae53c5928
03c25fb6f628ac81f2ecb637d1e7502dcee783f3nd#
03c25fb6f628ac81f2ecb637d1e7502dcee783f3nd# CDDL HEADER START
03c25fb6f628ac81f2ecb637d1e7502dcee783f3nd#
03c25fb6f628ac81f2ecb637d1e7502dcee783f3nd# The contents of this file are subject to the terms of the
03c25fb6f628ac81f2ecb637d1e7502dcee783f3nd# Common Development and Distribution License (the "License").
03c25fb6f628ac81f2ecb637d1e7502dcee783f3nd# You may not use this file except in compliance with the License.
03c25fb6f628ac81f2ecb637d1e7502dcee783f3nd#
03c25fb6f628ac81f2ecb637d1e7502dcee783f3nd# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
03c25fb6f628ac81f2ecb637d1e7502dcee783f3nd# or http://www.opensolaris.org/os/licensing.
03c25fb6f628ac81f2ecb637d1e7502dcee783f3nd# See the License for the specific language governing permissions
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erbowen# and limitations under the License.
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erbowen#
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erbowen# When distributing Covered Code, include this CDDL HEADER in each
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erbowen# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
03c25fb6f628ac81f2ecb637d1e7502dcee783f3nd# If applicable, add the following below this CDDL HEADER, with the
03c25fb6f628ac81f2ecb637d1e7502dcee783f3nd# fields enclosed by brackets "[]" replaced with your own identifying
03c25fb6f628ac81f2ecb637d1e7502dcee783f3nd# information: Portions Copyright [yyyy] [name of copyright owner]
d229f940abfb2490dee17979e9a5ff31b7012eb5rbowen#
3f08db06526d6901aa08c110b5bc7dde6bc39905nd# CDDL HEADER END
03c25fb6f628ac81f2ecb637d1e7502dcee783f3nd#
03c25fb6f628ac81f2ecb637d1e7502dcee783f3nd#
03c25fb6f628ac81f2ecb637d1e7502dcee783f3nd# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
3f08db06526d6901aa08c110b5bc7dde6bc39905nd# Use is subject to license terms.
03c25fb6f628ac81f2ecb637d1e7502dcee783f3nd#
03c25fb6f628ac81f2ecb637d1e7502dcee783f3nd
03c25fb6f628ac81f2ecb637d1e7502dcee783f3ndUTSBASE = ../..
8e31885fc494b603e0650113dde9e29d1b1d2602maczniak
7f5b59ccc63c0c0e3e678a168f09ee6a2f51f9d0ndPLATFORM = sun4u
f086b4b402fa9a2fefc7dda85de2a3cc1cd0a654rjungMODULE = dtrace
03c25fb6f628ac81f2ecb637d1e7502dcee783f3ndOBJECTS = $(DTRACE_OBJS:%=$(OBJS_DIR)/%)
03c25fb6f628ac81f2ecb637d1e7502dcee783f3ndLINTS = $(DTRACE_OBJS:%.o=$(LINTS_DIR)/%.ln)
03c25fb6f628ac81f2ecb637d1e7502dcee783f3ndROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
03c25fb6f628ac81f2ecb637d1e7502dcee783f3ndCONF_SRCDIR = $(UTSBASE)/common/dtrace
03c25fb6f628ac81f2ecb637d1e7502dcee783f3nd
734b788a9d97cb637eda7a50c36853ae426a8655ndinclude $(UTSBASE)/sparc/Makefile.sparc
03c25fb6f628ac81f2ecb637d1e7502dcee783f3nd
03c25fb6f628ac81f2ecb637d1e7502dcee783f3nd#
03c25fb6f628ac81f2ecb637d1e7502dcee783f3nd# Redefine DSF_DIR
03c25fb6f628ac81f2ecb637d1e7502dcee783f3nd#
03c25fb6f628ac81f2ecb637d1e7502dcee783f3ndDSF_DIR = $(UTSBASE)/$(PLATFORM)/genassym
03c25fb6f628ac81f2ecb637d1e7502dcee783f3nd
03c25fb6f628ac81f2ecb637d1e7502dcee783f3ndCERRWARN += -_gcc=-Wno-parentheses
03c25fb6f628ac81f2ecb637d1e7502dcee783f3ndCERRWARN += -_gcc=-Wno-type-limits
e487d6c09669296f94a5190cc34586a98e624a00ndCERRWARN += -_gcc=-Wno-uninitialized
17ade6df5ec233536985eb1c130a906c725dd614humbedooh
17ade6df5ec233536985eb1c130a906c725dd614humbedoohALL_TARGET = $(BINARY) $(SRC_CONFILE)
17ade6df5ec233536985eb1c130a906c725dd614humbedoohLINT_TARGET = $(MODULE).lint
17ade6df5ec233536985eb1c130a906c725dd614humbedoohINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
17ade6df5ec233536985eb1c130a906c725dd614humbedooh
17ade6df5ec233536985eb1c130a906c725dd614humbedoohDTRACE_INC_32 = -I$(UTSBASE)/sparc/v7
17ade6df5ec233536985eb1c130a906c725dd614humbedoohDTRACE_INC_64 = -I$(UTSBASE)/sparc/v9
17ade6df5ec233536985eb1c130a906c725dd614humbedooh
e487d6c09669296f94a5190cc34586a98e624a00ndCFLAGS += $(CCVERBOSE)
03c25fb6f628ac81f2ecb637d1e7502dcee783f3ndCPPFLAGS += $(DTRACE_INC_$(CLASS))
03c25fb6f628ac81f2ecb637d1e7502dcee783f3nd
03c25fb6f628ac81f2ecb637d1e7502dcee783f3ndDTRACE_XAS_32 = -xarch=v8plus
03c25fb6f628ac81f2ecb637d1e7502dcee783f3ndDTRACE_XAS_64 = -xarch=v9
03c25fb6f628ac81f2ecb637d1e7502dcee783f3nd
03c25fb6f628ac81f2ecb637d1e7502dcee783f3ndAS_CPPFLAGS += $(DTRACE_INC_64)
03c25fb6f628ac81f2ecb637d1e7502dcee783f3ndASFLAGS += $(DTRACE_XAS_$(CLASS))
30471a4650391f57975f60bbb6e4a90be7b284bfhumbedoohAS_INC_PATH += -I$(DSF_DIR)/$(OBJS_DIR)
03c25fb6f628ac81f2ecb637d1e7502dcee783f3nd
03c25fb6f628ac81f2ecb637d1e7502dcee783f3ndASSYM_H = $(DSF_DIR)/$(OBJS_DIR)/assym.h
03c25fb6f628ac81f2ecb637d1e7502dcee783f3nd
03c25fb6f628ac81f2ecb637d1e7502dcee783f3nd#
03c25fb6f628ac81f2ecb637d1e7502dcee783f3nd# For now, disable these lint checks; maintainers should endeavor
03c25fb6f628ac81f2ecb637d1e7502dcee783f3nd# to investigate and remove these for maximum lint coverage.
03c25fb6f628ac81f2ecb637d1e7502dcee783f3nd# Please do not carry these forward to new Makefiles.
03c25fb6f628ac81f2ecb637d1e7502dcee783f3nd#
03c25fb6f628ac81f2ecb637d1e7502dcee783f3ndLINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
03c25fb6f628ac81f2ecb637d1e7502dcee783f3ndLINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
03c25fb6f628ac81f2ecb637d1e7502dcee783f3ndLINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
03c25fb6f628ac81f2ecb637d1e7502dcee783f3ndLINTTAGS += -erroff=E_STATIC_UNUSED
03c25fb6f628ac81f2ecb637d1e7502dcee783f3ndLINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
9bcfc3697a91b5215893a7d0206865b13fc72148ndLINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
9bcfc3697a91b5215893a7d0206865b13fc72148nd
03c25fb6f628ac81f2ecb637d1e7502dcee783f3nd.KEEP_STATE:
03c25fb6f628ac81f2ecb637d1e7502dcee783f3nd
03c25fb6f628ac81f2ecb637d1e7502dcee783f3nddef: $(DEF_DEPS)
03c25fb6f628ac81f2ecb637d1e7502dcee783f3nd
03c25fb6f628ac81f2ecb637d1e7502dcee783f3ndall: $(ALL_DEPS)
03c25fb6f628ac81f2ecb637d1e7502dcee783f3nd
03c25fb6f628ac81f2ecb637d1e7502dcee783f3ndclean: $(CLEAN_DEPS)
03c25fb6f628ac81f2ecb637d1e7502dcee783f3nd
1235345dc5fd04766bcf6f9c18d14638eda2eea1ndclobber: $(CLOBBER_DEPS)
1235345dc5fd04766bcf6f9c18d14638eda2eea1nd
03c25fb6f628ac81f2ecb637d1e7502dcee783f3ndlint: $(LINT_DEPS)
1235345dc5fd04766bcf6f9c18d14638eda2eea1nd
03c25fb6f628ac81f2ecb637d1e7502dcee783f3ndmodlintlib: $(MODLINTLIB_DEPS)
1235345dc5fd04766bcf6f9c18d14638eda2eea1nd
03c25fb6f628ac81f2ecb637d1e7502dcee783f3ndclean.lint: $(CLEAN_LINT_DEPS)
1235345dc5fd04766bcf6f9c18d14638eda2eea1nd
03c25fb6f628ac81f2ecb637d1e7502dcee783f3ndinstall: $(INSTALL_DEPS)
1235345dc5fd04766bcf6f9c18d14638eda2eea1nd
03c25fb6f628ac81f2ecb637d1e7502dcee783f3nd$(BINARY): $(ASSYM_H)
1235345dc5fd04766bcf6f9c18d14638eda2eea1nd
03c25fb6f628ac81f2ecb637d1e7502dcee783f3ndinclude $(UTSBASE)/sparc/Makefile.targ
e487d6c09669296f94a5190cc34586a98e624a00nd