1cd964fceSMatt Barden# 2cd964fceSMatt Barden# This file and its contents are supplied under the terms of the 3cd964fceSMatt Barden# Common Development and Distribution License ("CDDL"), version 1.0. 4cd964fceSMatt Barden# You may only use this file in accordance with the terms of version 5cd964fceSMatt Barden# 1.0 of the CDDL. 6cd964fceSMatt Barden# 7cd964fceSMatt Barden# A full copy of the text of the CDDL should have accompanied this 8cd964fceSMatt Barden# source. A copy of the CDDL is also available via the Internet at 9cd964fceSMatt Barden# http://www.illumos.org/license/CDDL. 10cd964fceSMatt Barden# 11cd964fceSMatt Barden 12cd964fceSMatt Barden# 13cd964fceSMatt Barden# Copyright (c) 2012 by Delphix. All rights reserved. 14cd964fceSMatt Barden# Copyright 2015 Nexenta Systems, Inc. All rights reserved. 15*e75b2cb0SRobert Mustacchi# Copyright 2019 Joyent, Inc. 16cd964fceSMatt Barden# 17cd964fceSMatt Barden 18cd964fceSMatt Bardeninclude $(SRC)/cmd/Makefile.cmd 193eca6103SJohn Levoninclude $(SRC)/cmd/Makefile.ctf 20cd964fceSMatt Bardeninclude $(SRC)/test/Makefile.com 21cd964fceSMatt Barden 22*e75b2cb0SRobert MustacchiBASEOBJS = testfuncs.o cryptotest_pkcs.o cryptotest_kcf.o 23*e75b2cb0SRobert MustacchiOBJS = $(BASEOBJS:%.o=%.32.o) $(BASEOBJS:%.o=%.64.o) 24cd964fceSMatt BardenSRCS = $(OBJS:%.o=%.c) 25cd964fceSMatt Barden 26cd964fceSMatt BardenCPPFLAGS += -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I$(SRC)/common/crypto/ 27cd964fceSMatt Barden 28cd964fceSMatt Bardenall install: $(OBJS) 29cd964fceSMatt Barden 30*e75b2cb0SRobert Mustacchi%.32.o: %.c 31cd964fceSMatt Barden $(COMPILE.c) -o $@ $< 323eca6103SJohn Levon $(POST_PROCESS_O) 33cd964fceSMatt Barden 34*e75b2cb0SRobert Mustacchi%.64.o: %.c 35*e75b2cb0SRobert Mustacchi $(COMPILE64.c) -o $@ $< 36*e75b2cb0SRobert Mustacchi $(POST_PROCESS_O) 37cd964fceSMatt Barden 38cd964fceSMatt Bardenclobber clean: 39cd964fceSMatt Barden -$(RM) $(OBJS) 40