xref: /illumos-gate/usr/src/test/crypto-tests/tests/common/Makefile (revision 3eca610387779e26c8c63e26d2ba418b0cd1bf5a)
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*3eca6103SJohn Levon# Copyright (c) 2019, Joyent, Inc.
16cd964fceSMatt Barden#
17cd964fceSMatt Barden
18cd964fceSMatt Bardeninclude $(SRC)/cmd/Makefile.cmd
19*3eca6103SJohn Levoninclude $(SRC)/cmd/Makefile.ctf
20cd964fceSMatt Bardeninclude $(SRC)/test/Makefile.com
21cd964fceSMatt Barden
22cd964fceSMatt BardenOBJS = testfuncs.o cryptotest_pkcs.o cryptotest_kcf.o
23cd964fceSMatt BardenSRCS = $(OBJS:%.o=%.c)
24cd964fceSMatt Barden
25cd964fceSMatt BardenCPPFLAGS += -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I$(SRC)/common/crypto/
26cd964fceSMatt Barden
27cd964fceSMatt Bardenall install: $(OBJS)
28cd964fceSMatt Barden
29cd964fceSMatt Barden%.o: %.c
30cd964fceSMatt Barden	$(COMPILE.c) -o $@ $<
31*3eca6103SJohn Levon	$(POST_PROCESS_O)
32cd964fceSMatt Barden
33cd964fceSMatt Bardenlint:
34cd964fceSMatt Barden
35cd964fceSMatt Bardenclobber clean:
36cd964fceSMatt Barden	-$(RM) $(OBJS)
37