Home | History | Annotate | Download | only in mdb
      1     0   stevel #
      2     0   stevel # CDDL HEADER START
      3     0   stevel #
      4     0   stevel # The contents of this file are subject to the terms of the
      5  5084  johnlev # Common Development and Distribution License (the "License").
      6  5084  johnlev # You may not use this file except in compliance with the License.
      7     0   stevel #
      8     0   stevel # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
      9     0   stevel # or http://www.opensolaris.org/os/licensing.
     10     0   stevel # See the License for the specific language governing permissions
     11     0   stevel # and limitations under the License.
     12     0   stevel #
     13     0   stevel # When distributing Covered Code, include this CDDL HEADER in each
     14     0   stevel # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
     15     0   stevel # If applicable, add the following below this CDDL HEADER, with the
     16     0   stevel # fields enclosed by brackets "[]" replaced with your own identifying
     17     0   stevel # information: Portions Copyright [yyyy] [name of copyright owner]
     18     0   stevel #
     19     0   stevel # CDDL HEADER END
     20     0   stevel #
     21     0   stevel #
     22  5084  johnlev # Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
     23     0   stevel # Use is subject to license terms.
     24     0   stevel #
     25     0   stevel # ident	"%Z%%M%	%I%	%E% SMI"
     26     0   stevel 
     27     0   stevel include $(SRC)/Makefile.master
     28     0   stevel 
     29     0   stevel .KEEP_STATE:
     30     0   stevel 
     31     0   stevel sparc_MACHDIR = sparc
     32     0   stevel i386_MACHDIR = intel
     33     0   stevel 
     34     0   stevel sparc_SUBDIRS = sparc sun4u sun4v
     35  5084  johnlev i386_SUBDIRS = intel i86pc i86xpv
     36     0   stevel 
     37     0   stevel MACHDIR = $($(MACH)_MACHDIR)
     38     0   stevel SUBDIRS = tools $($(MACH)_SUBDIRS) demo
     39     0   stevel TARGET =
     40     0   stevel 
     41     0   stevel all := TARGET = all
     42     0   stevel clean.lint := TARGET = clean.lint
     43     0   stevel clean := TARGET = clean
     44     0   stevel clobber := TARGET = clobber
     45     0   stevel dmods := TARGET = dmods
     46     0   stevel install := TARGET = install
     47     0   stevel install_h := TARGET = install_h
     48     0   stevel lint := TARGET = lint
     49     0   stevel 
     50     0   stevel all lint: $(SUBDIRS)
     51     0   stevel 
     52     0   stevel dmods install: install_h $(SUBDIRS)
     53     0   stevel 
     54     0   stevel install_h: FRC
     55     0   stevel 	@cd common/mdb; pwd; $(MAKE) install_h
     56     0   stevel 
     57     0   stevel clean.lint clean: $(SUBDIRS) packages
     58     0   stevel 
     59     0   stevel clobber: $(SUBDIRS) packages
     60     0   stevel 
     61  5084  johnlev $($(MACH)_SUBDIRS): tools
     62  5084  johnlev 
     63     0   stevel $(SUBDIRS): FRC
     64     0   stevel 	@cd $@; pwd; $(MAKE) $(TARGET)
     65     0   stevel 
     66     0   stevel pkg: install tools
     67     0   stevel 	@cd packages; pwd; $(MAKE) install
     68     0   stevel 
     69     0   stevel FRC:
     70     0   stevel 
     71     0   stevel #
     72     0   stevel # Cross-reference customization: build the cross-reference only over the
     73     0   stevel # source directories, and ignore Makefiles and machine-generated source.
     74     0   stevel #
     75     0   stevel XRDIRS = common $(sparc_SUBDIRS) $(i386_SUBDIRS)
     76     0   stevel XRDEL = mdb_lex.c mdb_grammar.c Makefile*
     77