-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
45 lines (35 loc) · 1.17 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
NAME=security
-include Makefile.conf
STATIC_MAKE_ARGS = $(MAKE_ARGS) -XSECURITY_LIBRARY_TYPE=static
SHARED_MAKE_ARGS = $(MAKE_ARGS) -XSECURITY_LIBRARY_TYPE=relocatable
SHARED_MAKE_ARGS += -XUTILADA_BASE_BUILD=relocatable -XUTIL_LIBRARY_TYPE=relocatable
SHARED_MAKE_ARGS += -XXMLADA_BUILD=relocatable
SHARED_MAKE_ARGS += -XLIBRARY_TYPE=relocatable
include Makefile.defaults
build-test:: setup
$(GNATMAKE) $(GPRFLAGS) -p -Psecurity_tests $(MAKE_ARGS)
# Build and run the unit tests
test: build
bin/security_harness -l $(NAME): -xml security-aunit.xml
samples:
$(GNATMAKE) $(GPRFLAGS) -p samples.gpr $(MAKE_ARGS)
SECURITY_DOC= \
title.md \
pagebreak.tex \
index.md \
pagebreak.tex \
Installation.md \
pagebreak.tex \
Security.md \
pagebreak.tex \
Security_Auth.md \
pagebreak.tex \
Security_OAuth.md \
pagebreak.tex \
Security_Policies.md
DOC_OPTIONS=-f markdown --listings --number-sections --toc
HTML_OPTIONS=-f markdown --listings --number-sections --toc --css pandoc.css
$(eval $(call ada_library,$(NAME)))
$(eval $(call pandoc_build,security-book,$(SECURITY_DOC)))
$(eval $(call alire_publish,alire.toml,se/security,security-$(VERSION).toml))
.PHONY: samples