4124N/A#
4124N/A# This file and its contents are supplied under the terms of the
4124N/A# Common Development and Distribution License ("CDDL"), version 1.0.
4124N/A# You may only use this file in accordance with the terms of version
4124N/A# 1.0 of the CDDL.
4124N/A#
4124N/A# A full copy of the text of the CDDL should have accompanied this
4124N/A# source. A copy of the CDDL is also available via the Internet at
4124N/A# http://www.illumos.org/license/CDDL.
4124N/A#
4124N/A
4124N/A#
4124N/A# Copyright (c) 2013 by Delphix. All rights reserved.
4124N/A#
4124N/A
4124N/Ainclude $(SRC)/Makefile.master
4124N/A
4124N/AROOTOPTPKG = $(ROOT)/opt/zfs-tests
4124N/ATESTDIR = $(ROOTOPTPKG)/tests/functional/history
4124N/A
4124N/APROGS = cleanup \
4124N/A history_001_pos \
4124N/A history_002_pos \
4124N/A history_003_pos \
4124N/A history_004_pos \
4124N/A history_005_neg \
4124N/A history_006_neg \
4124N/A history_007_pos \
4124N/A history_008_pos \
4124N/A history_009_pos \
4124N/A history_010_pos \
4124N/A setup
4124N/A
4124N/AFILES = history.cfg \
4124N/A history_common.kshlib
4124N/A
4124N/ADATAFILES = i386.migratedpool.DAT.Z \
4124N/A i386.orig_history.txt \
4124N/A sparc.migratedpool.DAT.Z \
4124N/A sparc.orig_history.txt \
4124N/A zfs-pool-v4.dat.Z
4124N/A
4124N/ACMDS = $(PROGS:%=$(TESTDIR)/%) $(FILES:%=$(TESTDIR)/%)
4124N/A$(CMDS) := FILEMODE = 0555
4124N/A
4124N/ADATA = $(DATAFILES:%=$(TESTDIR)/%)
4124N/A$(DATA) := FILEMODE = 0444
4124N/A
4124N/Aall lint clean clobber:
4124N/A
4124N/Ainstall: $(CMDS) $(DATA)
4124N/A
4124N/A$(CMDS): $(TESTDIR)
4124N/A
4124N/A$(DATA): $(TESTDIR)
4124N/A
4124N/A$(TESTDIR):
4124N/A $(INS.dir)
4124N/A
4124N/A$(TESTDIR)/%: %.ksh
4124N/A $(INS.rename)
4124N/A
4124N/A$(TESTDIR)/%: %
4124N/A $(INS.file)