xref: /illumos-gate/usr/src/lib/libdisasm/Makefile (revision dc0093f44ee4fac928e006850f8ed53f68277af5)
1*dc0093f4Seschrock#
2*dc0093f4Seschrock# CDDL HEADER START
3*dc0093f4Seschrock#
4*dc0093f4Seschrock# The contents of this file are subject to the terms of the
5*dc0093f4Seschrock# Common Development and Distribution License (the "License").
6*dc0093f4Seschrock# You may not use this file except in compliance with the License.
7*dc0093f4Seschrock#
8*dc0093f4Seschrock# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9*dc0093f4Seschrock# or http://www.opensolaris.org/os/licensing.
10*dc0093f4Seschrock# See the License for the specific language governing permissions
11*dc0093f4Seschrock# and limitations under the License.
12*dc0093f4Seschrock#
13*dc0093f4Seschrock# When distributing Covered Code, include this CDDL HEADER in each
14*dc0093f4Seschrock# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15*dc0093f4Seschrock# If applicable, add the following below this CDDL HEADER, with the
16*dc0093f4Seschrock# fields enclosed by brackets "[]" replaced with your own identifying
17*dc0093f4Seschrock# information: Portions Copyright [yyyy] [name of copyright owner]
18*dc0093f4Seschrock#
19*dc0093f4Seschrock# CDDL HEADER END
20*dc0093f4Seschrock#
21*dc0093f4Seschrock#
22*dc0093f4Seschrock# Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
23*dc0093f4Seschrock# Use is subject to license terms.
24*dc0093f4Seschrock#
25*dc0093f4Seschrock# ident	"%Z%%M%	%I%	%E% SMI"
26*dc0093f4Seschrock
27*dc0093f4Seschrock
28*dc0093f4Seschrockinclude ../Makefile.lib
29*dc0093f4Seschrock
30*dc0093f4SeschrockHDRS=		libdisasm.h
31*dc0093f4Seschrock
32*dc0093f4SeschrockHDRDIR=		common
33*dc0093f4Seschrock$(INTEL_BLD)SUBDIRS= $(MACH)
34*dc0093f4Seschrock$(INTEL_BLD)$(BUILD64)SUBDIRS += $(MACH64)
35*dc0093f4Seschrock$(CLOSED_BLD)SUBDIRS += $(CLOSED)/lib/libdisasm
36*dc0093f4Seschrock
37*dc0093f4Seschrockall := 		TARGET = all
38*dc0093f4Seschrockclean :=	TARGET = clean
39*dc0093f4Seschrockclobber :=	TARGET = clobber
40*dc0093f4Seschrockinstall	:=	TARGET = install
41*dc0093f4Seschrocklint :=		TARGET = lint
42*dc0093f4Seschrock
43*dc0093f4Seschrock.KEEP_STATE:
44*dc0093f4Seschrock
45*dc0093f4Seschrock$(INTEL_BLD)SPECDIR= spec
46*dc0093f4Seschrock
47*dc0093f4Seschrockall clean clobber install: $(SPECDIR) .WAIT $(SUBDIRS)
48*dc0093f4Seschrock
49*dc0093f4Seschrocklint: $(SUBDIRS)
50*dc0093f4Seschrock
51*dc0093f4Seschrockinstall_h:	$(ROOTHDRS)
52*dc0093f4Seschrock
53*dc0093f4Seschrockcheck:		$(CHECKHDRS)
54*dc0093f4Seschrock
55*dc0093f4Seschrock$(SUBDIRS) spec: FRC
56*dc0093f4Seschrock	@cd $@; pwd; $(MAKE) $(TARGET)
57*dc0093f4Seschrock
58*dc0093f4SeschrockFRC:
59*dc0093f4Seschrock
60*dc0093f4Seschrockinclude ../Makefile.targ
61