-
Notifications
You must be signed in to change notification settings - Fork 20
/
Makefile
106 lines (71 loc) · 2.38 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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
# Copyright (c) UChicago Argonne, LLC. All rights reserved.
# See LICENSE file.
# The top level makefile. Targets like "all" and "clean"
# are defined in the RULES file.
TOP = .
#SUBDIRS = irmis src
SUBDIRS = src
.PHONY: support support-mysql dev-config
.PHONY: db backup db-dev deploy-web-portal undeploy-web-portal deploy-web-service undeploy-web-service
.PHONY: db-dev backup-dev deploy-web-portal-dev undeploy-web-portal-dev deploy-web-service-dev undeploy-web-service-dev
default:
prepare-dev-env: support db dev-config
dev-config:
$(TOP)/sbin/cdb_prepare_dev_config.sh
configuration:
$(TOP)/sbin/cdb_create_configuration.sh
support:
$(TOP)/sbin/cdb_install_support.sh
support-portal:
$(TOP)/sbin/cdb_install_support_portal.sh
support-mysql:
$(TOP)/sbin/cdb_install_support_mysql.sh && $(TOP)/sbin/cdb_deploy_mysqld.sh
support-netbeans:
$(TOP)/sbin/cdb_install_support_netbeans.sh
clean-db:
$(TOP)/sbin/cdb_create_db.sh cdb $(TOP)/db/sql/clean
test-db:
$(TOP)/sbin/cdb_create_db.sh cdb $(TOP)/db/sql/test
test:
$(TOP)/sbin/cdb_test.sh
db:
$(TOP)/sbin/cdb_create_db.sh
backup:
$(TOP)/sbin/cdb_backup_all.sh
configure-web-portal: dist
$(TOP)/sbin/cdb_configure_web_portal.sh
deploy-cdb-plugin:
$(TOP)/tools/developer_tools/cdb_plugins/deploy_plugin.py cdb
deploy-web-portal: dist
$(TOP)/sbin/cdb_deploy_web_portal.sh
deploy-web-service:
$(TOP)/sbin/cdb_deploy_web_service.sh
unconfigure-web-portal:
$(TOP)/sbin/cdb_unconfigure_web_portal.sh
undeploy-web-portal:
$(TOP)/sbin/cdb_undeploy_web_portal.sh
undeploy-web-service:
$(TOP)/sbin/cdb_undeploy_web_service.sh
configuration-dev:
$(TOP)/sbin/cdb_create_configuration.sh cdb_dev
db-dev:
$(TOP)/sbin/cdb_create_db.sh cdb_dev
clean-db-dev:
$(TOP)/sbin/cdb_create_db.sh cdb_dev $(TOP)/db/sql/clean
backup-dev:
$(TOP)/sbin/cdb_backup_all.sh cdb_dev
deploy-cdb-plugin-dev:
$(TOP)/tools/developer_tools/cdb_plugins/deploy_plugin.py cdb_dev
deploy-web-portal-dev: dist
$(TOP)/sbin/cdb_deploy_web_portal.sh cdb_dev Dev
configure-web-portal-dev: dist
$(TOP)/sbin/cdb_configure_web_portal.sh cdb_dev
deploy-web-service-dev:
$(TOP)/sbin/cdb_deploy_web_service.sh cdb_dev
unconfigure-web-portal-dev:
$(TOP)/sbin/cdb_unconfigure_web_portal.sh cdb_dev
undeploy-web-portal-dev:
$(TOP)/sbin/cdb_undeploy_web_portal.sh cdb_dev
undeploy-web-service-dev:
$(TOP)/sbin/cdb_undeploy_web_service.sh cdb_dev
include $(TOP)/tools/make/RULES_CDB