-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile.am
More file actions
50 lines (44 loc) · 1.65 KB
/
Makefile.am
File metadata and controls
50 lines (44 loc) · 1.65 KB
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
46
47
48
49
50
ACLOCAL_AMFLAGS = -I build-aux/m4
SUBDIRS = bolthur
# cppcheck stuff
.PHONY: cppcheck
cppcheck:
cppcheck --quiet -UCMC --inline-suppr --enable=all --force \
--platform=$(CPPCHECK_PLATFORM) \
--include=$(CPPCHECK_KERNEL_INCLUDE) \
--project=$(CPPCHECK_KERNEL_PROJECT) \
-U__CYGWIN__ -U__APPLE__ -U__GNU_VISIBLE -UASSEMBLER_FILE -UVMS \
-v -j4 --force --max-configs=12 \
--check-level=exhaustive
cppcheck --quiet -UCMC --inline-suppr --enable=all --force \
--platform=$(CPPCHECK_PLATFORM) \
--include=$(CPPCHECK_LIBRARY_INCLUDE) \
--project=$(CPPCHECK_LIBRARY_PROJECT) \
-U__CYGWIN__ -U__APPLE__ -UVMS -v -j4 --force --max-configs=12 \
--check-level=exhaustive
cppcheck --quiet -UCMC --inline-suppr --enable=all --force \
--platform=$(CPPCHECK_PLATFORM) \
--include=$(CPPCHECK_SERVER_INCLUDE) \
--project=$(CPPCHECK_SERVER_PROJECT) \
-U__CYGWIN__ -U__APPLE__ -UVMS -v -j4 --force --max-configs=12 \
--check-level=exhaustive
cppcheck --quiet -UCMC --inline-suppr --enable=all --force \
--platform=$(CPPCHECK_PLATFORM) \
--include=$(CPPCHECK_APPLICATION_INCLUDE) \
--project=$(CPPCHECK_APPLICATION_PROJECT) \
-U__CYGWIN__ -U__APPLE__ -UVMS -v -j4 --force --max-configs=12 \
--check-level=exhaustive
image:
cd $(ROOT_DIR)/tool && nim -d:release -d:ssl compile --run image.nim \
$(ROOT_DIR) \
$(BUILD_DIR) \
$(SYSROOT_DIR) \
$(ROOT_DIR)/config/ini/${platform_subdir}/${platform_name}/ \
$(BUILD_DIR)/bolthur/kernel/target/${platform_subdir}/${output_img} \
${platform_subdir}
README: README.md
pandoc -f markdown -t plain --wrap=none $< -o $@
CLEANFILES = README
# doxygen related
@DX_RULES@
MOSTLYCLEANFILES = $(DX_CLEANFILES)