forked from irods/irods
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
86 lines (57 loc) · 2 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
include VERSION
include ./iRODS/config/external_versions.txt
MAKEFLAGS += --no-print-directory
.PHONY : default all epm mkdocs squeaky_clean clean libs plugins plugins-nodb plugins-db code-generation irods external external-build docs doxygen icat icat-package icommands icommands-package resource resource-package resource
default : external-build libs plugins irods
all : external libs plugins irods docs epm
icat : external-build libs plugins irods
icat-package : external libs plugins irods
icommands : external-build libs clients
icommands-package : external libs clients
resource : external-build libs plugins-nodb irods
resource-package : external libs plugins-nodb irods
external : external-build
external-build :
@$(MAKE) -C external default
libs : code-generation external-build
@$(MAKE) -C iRODS libs
clients : libs
@$(MAKE) -C iRODS clients
@$(MAKE) -C plugins auth network
plugins : plugins-nodb plugins-db
plugins-nodb : libs external-build
@$(MAKE) -C plugins nodb
plugins-db : libs external-build irods
@$(MAKE) -C plugins database
code-generation : external
@# generate the json derived code for the new api
@./external/$(AVROVERSION)/build/avrogencpp \
-n irods \
-o ./iRODS/lib/core/include/server_control_plane_command.hpp \
-i ./irods_schema_messaging/v1/server_control_plane_command.json
irods : libs
@$(MAKE) -C iRODS
docs : doxygen mkdocs
doxygen :
@echo "Generating Doxygen..."
@../doxygen/bin/doxygen Doxyfile 1> /dev/null
@cp doxygen/doxy-boot.js doxygen/html
@cp doxygen/custom.css doxygen/html
mkdocs :
@echo "Generating Mkdocs..."
@./docs/generate_icommands_md.sh
@mkdocs build --clean
@cp iRODS/images/* mkdocs/html/
epm :
@$(MAKE) -C external epm
clean :
@touch iRODS/config/platform.mk iRODS/config/config.mk
@$(MAKE) -C plugins clean
@$(MAKE) -C iRODS clean
@$(MAKE) -C examples/microservices clean
@$(MAKE) -C examples/resources clean
@rm -rf doxygen/html
@rm -rf mkdocs/html
@rm -rf docs/icommands
squeaky_clean : clean
@$(MAKE) -C external clean