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