Makefile.com revision de572d98af8238405c5d1292a788b1a85b0c68eb
538aa54d819fa7751ca82bcc30d4ed8c57ec2ef2Garrett D'Amore# This file and its contents are supplied under the terms of the
538aa54d819fa7751ca82bcc30d4ed8c57ec2ef2Garrett D'Amore# Common Development and Distribution License ("CDDL"), version 1.0.
538aa54d819fa7751ca82bcc30d4ed8c57ec2ef2Garrett D'Amore# You may only use this file in accordance with the terms of version
538aa54d819fa7751ca82bcc30d4ed8c57ec2ef2Garrett D'Amore# 1.0 of the CDDL.
538aa54d819fa7751ca82bcc30d4ed8c57ec2ef2Garrett D'Amore# A full copy of the text of the CDDL should have accompanied this
538aa54d819fa7751ca82bcc30d4ed8c57ec2ef2Garrett D'Amore# source. A copy of the CDDL is also available via the Internet at
538aa54d819fa7751ca82bcc30d4ed8c57ec2ef2Garrett D'Amore# Copyright (c) 2012 by Delphix. All rights reserved.
538aa54d819fa7751ca82bcc30d4ed8c57ec2ef2Garrett D'Amore# Copyright 2014 Garrett D'Amore <garrett@damore.org>
538aa54d819fa7751ca82bcc30d4ed8c57ec2ef2Garrett D'Amore$(OBJS_OVERRIDE)OBJS = $(PROG).o test_common.o
538aa54d819fa7751ca82bcc30d4ed8c57ec2ef2Garrett D'Amore$(BUILD64) OBJS64 = $(OBJS:%.o=%.$(MACH64).o)
538aa54d819fa7751ca82bcc30d4ed8c57ec2ef2Garrett D'Amore$(OBJS_OVERRIDE)SRCS = $(PROG).c ../common/test_common.c
538aa54d819fa7751ca82bcc30d4ed8c57ec2ef2Garrett D'AmoreLINTFLAGS += -I../common -DARCH=\"ARCH\" -DLINT
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'AmoreCPPFLAGS += -I$(ROOT)/usr/include -I../common
538aa54d819fa7751ca82bcc30d4ed8c57ec2ef2Garrett D'AmoreCMDS = $(PROG32:%=$(TESTDIR)/%) $(PROG64:%=$(TESTDIR)/%) \
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore $(KSHPROG:%=$(TESTDIR)/%) $(ARCHPROG:%=$(TESTDIR)/%) \
538aa54d819fa7751ca82bcc30d4ed8c57ec2ef2Garrett D'Amoreall: $(PROG32) $(PROG64) $(KSHPROG) $(ARCHPROG) $(SUBDIRS)
538aa54d819fa7751ca82bcc30d4ed8c57ec2ef2Garrett D'Amore $(COMPILE.c) -o $@ $(CFLAGS_$(MACH)) -DARCH=\"$(MACH)\" $<
538aa54d819fa7751ca82bcc30d4ed8c57ec2ef2Garrett D'Amore $(COMPILE.c) -o $@ $(CFLAGS_$(MACH)) -DARCH=\"$(MACH)\" $<
538aa54d819fa7751ca82bcc30d4ed8c57ec2ef2Garrett D'Amore $(COMPILE64.c) -o $@ $(CFLAGS_$(MACH64)) -DARCH=\"$(MACH64)\" $<
538aa54d819fa7751ca82bcc30d4ed8c57ec2ef2Garrett D'Amore $(COMPILE64.c) -o $@ $(CFLAGS_$(MACH64)) -DARCH=\"$(MACH64)\" $<
538aa54d819fa7751ca82bcc30d4ed8c57ec2ef2Garrett D'Amore -$(RM) $(PROG32) $(PROG64) $(KSHPROG) $(ARCHPROG)
538aa54d819fa7751ca82bcc30d4ed8c57ec2ef2Garrett D'Amore$(CMDS): $(TESTDIR) $(PROG32) $(PROG64) $(KSHPROG) $(ARCHPROG)