usr/src/cmd/zhack/Makefile
author eschrock
Mon, 21 May 2012 13:37:21 -0700
changeset 13701 1949b688d5fb
permissions -rw-r--r--
2619 asynchronous destruction of ZFS file systems (missed files)
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
13701
1949b688d5fb 2619 asynchronous destruction of ZFS file systems (missed files)
eschrock
parents:
diff changeset
     1
#
1949b688d5fb 2619 asynchronous destruction of ZFS file systems (missed files)
eschrock
parents:
diff changeset
     2
# CDDL HEADER START
1949b688d5fb 2619 asynchronous destruction of ZFS file systems (missed files)
eschrock
parents:
diff changeset
     3
#
1949b688d5fb 2619 asynchronous destruction of ZFS file systems (missed files)
eschrock
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
1949b688d5fb 2619 asynchronous destruction of ZFS file systems (missed files)
eschrock
parents:
diff changeset
     5
# Common Development and Distribution License, Version 1.0 only
1949b688d5fb 2619 asynchronous destruction of ZFS file systems (missed files)
eschrock
parents:
diff changeset
     6
# (the "License").  You may not use this file except in compliance
1949b688d5fb 2619 asynchronous destruction of ZFS file systems (missed files)
eschrock
parents:
diff changeset
     7
# with the License.
1949b688d5fb 2619 asynchronous destruction of ZFS file systems (missed files)
eschrock
parents:
diff changeset
     8
#
1949b688d5fb 2619 asynchronous destruction of ZFS file systems (missed files)
eschrock
parents:
diff changeset
     9
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
1949b688d5fb 2619 asynchronous destruction of ZFS file systems (missed files)
eschrock
parents:
diff changeset
    10
# or http://www.opensolaris.org/os/licensing.
1949b688d5fb 2619 asynchronous destruction of ZFS file systems (missed files)
eschrock
parents:
diff changeset
    11
# See the License for the specific language governing permissions
1949b688d5fb 2619 asynchronous destruction of ZFS file systems (missed files)
eschrock
parents:
diff changeset
    12
# and limitations under the License.
1949b688d5fb 2619 asynchronous destruction of ZFS file systems (missed files)
eschrock
parents:
diff changeset
    13
#
1949b688d5fb 2619 asynchronous destruction of ZFS file systems (missed files)
eschrock
parents:
diff changeset
    14
# When distributing Covered Code, include this CDDL HEADER in each
1949b688d5fb 2619 asynchronous destruction of ZFS file systems (missed files)
eschrock
parents:
diff changeset
    15
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1949b688d5fb 2619 asynchronous destruction of ZFS file systems (missed files)
eschrock
parents:
diff changeset
    16
# If applicable, add the following below this CDDL HEADER, with the
1949b688d5fb 2619 asynchronous destruction of ZFS file systems (missed files)
eschrock
parents:
diff changeset
    17
# fields enclosed by brackets "[]" replaced with your own identifying
1949b688d5fb 2619 asynchronous destruction of ZFS file systems (missed files)
eschrock
parents:
diff changeset
    18
# information: Portions Copyright [yyyy] [name of copyright owner]
1949b688d5fb 2619 asynchronous destruction of ZFS file systems (missed files)
eschrock
parents:
diff changeset
    19
#
1949b688d5fb 2619 asynchronous destruction of ZFS file systems (missed files)
eschrock
parents:
diff changeset
    20
# CDDL HEADER END
1949b688d5fb 2619 asynchronous destruction of ZFS file systems (missed files)
eschrock
parents:
diff changeset
    21
#
1949b688d5fb 2619 asynchronous destruction of ZFS file systems (missed files)
eschrock
parents:
diff changeset
    22
#
1949b688d5fb 2619 asynchronous destruction of ZFS file systems (missed files)
eschrock
parents:
diff changeset
    23
# Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
1949b688d5fb 2619 asynchronous destruction of ZFS file systems (missed files)
eschrock
parents:
diff changeset
    24
# Use is subject to license terms.
1949b688d5fb 2619 asynchronous destruction of ZFS file systems (missed files)
eschrock
parents:
diff changeset
    25
#
1949b688d5fb 2619 asynchronous destruction of ZFS file systems (missed files)
eschrock
parents:
diff changeset
    26
1949b688d5fb 2619 asynchronous destruction of ZFS file systems (missed files)
eschrock
parents:
diff changeset
    27
#
1949b688d5fb 2619 asynchronous destruction of ZFS file systems (missed files)
eschrock
parents:
diff changeset
    28
# Copyright (c) 2012 by Delphix. All rights reserved.
1949b688d5fb 2619 asynchronous destruction of ZFS file systems (missed files)
eschrock
parents:
diff changeset
    29
#
1949b688d5fb 2619 asynchronous destruction of ZFS file systems (missed files)
eschrock
parents:
diff changeset
    30
1949b688d5fb 2619 asynchronous destruction of ZFS file systems (missed files)
eschrock
parents:
diff changeset
    31
PROG= zhack
1949b688d5fb 2619 asynchronous destruction of ZFS file systems (missed files)
eschrock
parents:
diff changeset
    32
1949b688d5fb 2619 asynchronous destruction of ZFS file systems (missed files)
eschrock
parents:
diff changeset
    33
include ../Makefile.cmd
1949b688d5fb 2619 asynchronous destruction of ZFS file systems (missed files)
eschrock
parents:
diff changeset
    34
1949b688d5fb 2619 asynchronous destruction of ZFS file systems (missed files)
eschrock
parents:
diff changeset
    35
$(INTEL_BLD)SUBDIRS	= $(MACH)
1949b688d5fb 2619 asynchronous destruction of ZFS file systems (missed files)
eschrock
parents:
diff changeset
    36
$(BUILD64)SUBDIRS	+= $(MACH64)
1949b688d5fb 2619 asynchronous destruction of ZFS file systems (missed files)
eschrock
parents:
diff changeset
    37
1949b688d5fb 2619 asynchronous destruction of ZFS file systems (missed files)
eschrock
parents:
diff changeset
    38
all	:=	TARGET = all
1949b688d5fb 2619 asynchronous destruction of ZFS file systems (missed files)
eschrock
parents:
diff changeset
    39
install	:=	TARGET = install
1949b688d5fb 2619 asynchronous destruction of ZFS file systems (missed files)
eschrock
parents:
diff changeset
    40
clean	:=	TARGET = clean
1949b688d5fb 2619 asynchronous destruction of ZFS file systems (missed files)
eschrock
parents:
diff changeset
    41
clobber	:=	TARGET = clobber
1949b688d5fb 2619 asynchronous destruction of ZFS file systems (missed files)
eschrock
parents:
diff changeset
    42
lint	:=	TARGET = lint
1949b688d5fb 2619 asynchronous destruction of ZFS file systems (missed files)
eschrock
parents:
diff changeset
    43
1949b688d5fb 2619 asynchronous destruction of ZFS file systems (missed files)
eschrock
parents:
diff changeset
    44
.KEEP_STATE:
1949b688d5fb 2619 asynchronous destruction of ZFS file systems (missed files)
eschrock
parents:
diff changeset
    45
1949b688d5fb 2619 asynchronous destruction of ZFS file systems (missed files)
eschrock
parents:
diff changeset
    46
all clean clobber lint:	$(SUBDIRS)
1949b688d5fb 2619 asynchronous destruction of ZFS file systems (missed files)
eschrock
parents:
diff changeset
    47
1949b688d5fb 2619 asynchronous destruction of ZFS file systems (missed files)
eschrock
parents:
diff changeset
    48
install:	$(SUBDIRS)
1949b688d5fb 2619 asynchronous destruction of ZFS file systems (missed files)
eschrock
parents:
diff changeset
    49
	-$(RM) $(ROOTUSRSBINPROG)
1949b688d5fb 2619 asynchronous destruction of ZFS file systems (missed files)
eschrock
parents:
diff changeset
    50
	-$(LN) $(ISAEXEC) $(ROOTUSRSBINPROG)
1949b688d5fb 2619 asynchronous destruction of ZFS file systems (missed files)
eschrock
parents:
diff changeset
    51
1949b688d5fb 2619 asynchronous destruction of ZFS file systems (missed files)
eschrock
parents:
diff changeset
    52
$(SUBDIRS):	FRC
1949b688d5fb 2619 asynchronous destruction of ZFS file systems (missed files)
eschrock
parents:
diff changeset
    53
	@cd $@; pwd; $(MAKE) $(TARGET)
1949b688d5fb 2619 asynchronous destruction of ZFS file systems (missed files)
eschrock
parents:
diff changeset
    54
1949b688d5fb 2619 asynchronous destruction of ZFS file systems (missed files)
eschrock
parents:
diff changeset
    55
FRC:
1949b688d5fb 2619 asynchronous destruction of ZFS file systems (missed files)
eschrock
parents:
diff changeset
    56
1949b688d5fb 2619 asynchronous destruction of ZFS file systems (missed files)
eschrock
parents:
diff changeset
    57
include ../Makefile.targ