Makefile revision 11838:32bb5d254240
1238106Sdes# 2238106Sdes# CDDL HEADER START 3238106Sdes# 4238106Sdes# The contents of this file are subject to the terms of the 5238106Sdes# Common Development and Distribution License (the "License"). 6238106Sdes# You may not use this file except in compliance with the License. 7238106Sdes# 8238106Sdes# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9238106Sdes# or http://www.opensolaris.org/os/licensing. 10238106Sdes# See the License for the specific language governing permissions 11238106Sdes# and limitations under the License. 12238106Sdes# 13238106Sdes# When distributing Covered Code, include this CDDL HEADER in each 14238106Sdes# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15238106Sdes# If applicable, add the following below this CDDL HEADER, with the 16238106Sdes# fields enclosed by brackets "[]" replaced with your own identifying 17238106Sdes# information: Portions Copyright [yyyy] [name of copyright owner] 18238106Sdes# 19238106Sdes# CDDL HEADER END 20238106Sdes# 21238106Sdes 22238106Sdes# 23238106Sdes# Copyright 2009 Sun Microsystems, Inc. All rights reserved. 24238106Sdes# Use is subject to license terms. 25238106Sdes# 26238106Sdes 27238106Sdesinclude $(SRC)/Makefile.master 28238106Sdes 29238106Sdes.KEEP_STATE: 30238106Sdes 31238106Sdessparc_MACHDIR = sparc 32238106Sdesi386_MACHDIR = intel 33238106Sdes 34238106Sdessparc_SUBDIRS = sparc sun4u sun4v 35238106Sdesi386_SUBDIRS = intel i86pc i86xpv 36238106Sdes 37238106SdesMACHDIR = $($(MACH)_MACHDIR) 38238106SdesSUBDIRS = tools $($(MACH)_SUBDIRS) demo 39238106SdesTARGET = 40238106Sdes 41238106Sdesall := TARGET = all 42238106Sdesclean.lint := TARGET = clean.lint 43238106Sdesclean := TARGET = clean 44238106Sdesclobber := TARGET = clobber 45238106Sdesdmods := TARGET = dmods 46238106Sdesinstall := TARGET = install 47238106Sdesinstall_h := TARGET = install_h 48238106Sdeslint := TARGET = lint 49238106Sdes 50238106Sdesall lint: $(SUBDIRS) 51238106Sdes 52238106Sdesdmods install: install_h $(SUBDIRS) 53238106Sdes 54238106Sdesinstall_h: FRC 55238106Sdes @cd common/mdb; pwd; $(MAKE) install_h 56238106Sdes 57238106Sdesclean.lint clean: $(SUBDIRS) 58238106Sdes 59238106Sdesclobber: $(SUBDIRS) 60238106Sdes 61238106Sdes$($(MACH)_SUBDIRS): tools 62238106Sdes 63238106Sdes$(SUBDIRS): FRC 64238106Sdes @cd $@; pwd; $(MAKE) $(TARGET) 65238106Sdes 66238106SdesFRC: 67238106Sdes 68238106Sdes# 69238106Sdes# Cross-reference customization: build the cross-reference only over the 70238106Sdes# source directories, and ignore Makefiles and machine-generated source. 71238106Sdes# 72238106SdesXRDIRS = common $(sparc_SUBDIRS) $(i386_SUBDIRS) 73238106SdesXRDEL = mdb_lex.c mdb_grammar.c Makefile* 74238106Sdes