VirtualBox

source: vbox/trunk/src/libs/openssl-3.3.2/demos/mac/Makefile@ 108358

最後變更 在這個檔案從108358是 108206,由 vboxsync 提交於 5 週 前

openssl-3.3.2: Exported all files to OSE and removed .scm-settings ​bugref:10757

  • 屬性 svn:eol-style 設為 native
  • 屬性 svn:keywords 設為 Author Date Id Revision
檔案大小: 645 位元組
 
1#
2# To run the demos when linked with a shared library (default) ensure
3# that libcrypto is on the library path. For example:
4#
5# LD_LIBRARY_PATH=../.. ./gmac
6
7TESTS = gmac \
8 hmac-sha512 \
9 cmac-aes256 \
10 poly1305
11
12CFLAGS = -I../../include -g -Wall
13LDFLAGS = -L../..
14LDLIBS = -lcrypto
15
16all: $(TESTS)
17
18gmac: gmac.o
19hmac-sha512: hmac-sha512.o
20cmac-aes256: cmac-aes256.o
21poly1305: poly1305.o
22
23$(TESTS):
24 $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< $(LDLIBS)
25
26clean:
27 $(RM) *.o $(TESTS)
28
29.PHONY: test
30test: all
31 @echo "\nMAC tests:"
32 @set -e; for tst in $(TESTS); do \
33 echo "\n"$$tst; \
34 LD_LIBRARY_PATH=../.. ./$$tst; \
35 done
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette