-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathMakefile
132 lines (112 loc) · 3.28 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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
install: install-baseline
cd dbscripts/pgsql; make install
install-full: install
cd mesa_tests; make install
cd webmesa/mesa-iti; make install
cd html; make install
cd templates; make install
install-ris-mall:
cd webmesa/ris_mall; make install
cd dbscripts/ris_mall; make install
install-baseline:
../ctn/apps/scripts/createdirectory include
../ctn/apps/scripts/createdirectory lib
../ctn/apps/scripts/createdirectory $(MESA_TARGET)
../ctn/apps/scripts/createdirectory $(MESA_TARGET)/lib
../ctn/apps/scripts/createdirectory $(MESA_TARGET)/bin
../ctn/apps/scripts/createdirectory $(MESA_TARGET)/data
../ctn/apps/scripts/createdirectory $(MESA_TARGET)/db
../ctn/apps/scripts/createdirectory $(MESA_TARGET)/db-rismall
../ctn/apps/scripts/createdirectory $(MESA_TARGET)/pids
cd runtime; make install
cd external; make install
cd libsrc; make install
cd lib; make install
cd testapps; make install
cd apps; make install
cd scripts; make install
cd javamesa; make install
cd javaexternal; make install
cd java_apps; make install
@echo "MESA Build Complete"
ctnlib:
cd external/ctn/libsrc; make -f Makefile.mesa install
install-english: install-baseline
cd dbscripts/pgsql; make install
install-japanese: install-baseline
cd dbscripts/pgsql-j; make install
cd dbscripts/ris_mall; make install
install_brief:
external/ctn/apps/scripts/createdirectory $(MESA_TARGET)
external/ctn/apps/scripts/createdirectory $(MESA_TARGET)/lib
external/ctn/apps/scripts/createdirectory $(MESA_TARGET)/bin
external/ctn/apps/scripts/createdirectory $(MESA_TARGET)/data
external/ctn/apps/scripts/createdirectory $(MESA_TARGET)/db
external/ctn/apps/scripts/createdirectory $(MESA_TARGET)/pids
cd runtime; make install
cd external; make install
cd libsrc; make install
@echo "MESA Build Complete"
install_secure:
cd libsrc; make install_secure
cd secure_libsrc; make install
cd apps; make install_secure
cd secure_apps; make install
install_sol7:
make install
make install_secure
pushd mesa_tests; make install; popd
pushd /opt/mesa; strip bin/*; popd
pushd /opt/mesa; tar cf /tmp/mesa_sol7.tar .; popd
time compress -v /tmp/mesa_sol7.tar
install_rh7:
make install
make install_secure
pushd mesa_tests; make install; popd
pushd /opt/mesa; strip bin/*; popd
pushd /opt/mesa; zip -r /tmp/mesa_rh7.zip .; popd
install_rh9:
make install
make install_secure
pushd mesa_tests; make install; popd
pushd /opt/mesa; strip bin/*; popd
pushd /opt/mesa; zip -r /tmp/mesa_rh9.zip .; popd
rebuild:
$(MAKE) clean
$(MAKE) install
rebuild_secure:
$(MAKE) clean_secure
$(MAKE) install_secure
all:
cd external; make
cd libsrc; make install
cd testapps; make
cd apps; make
cd scripts; make install
cd testdata; make install
cd runtime; make install
cd dbscripts/pgsql; make install
@echo "MESA Build Complete"
clean:
cd external; make clean
cd libsrc; make clean
cd testapps; make clean
cd apps; make clean
cd lib; rm -f lib*.a
clean_secure:
cd secure_libsrc; make clean
cd secure_apps; make clean
mesa:
cd libsrc; make install
cd testapps; make
cd apps; make
cd scripts; make install
cd testdata; make install
cd runtime; make install
cd dbscripts/pgsql; make install
mesaclean:
cd libsrc; make clean
cd testapps; make clean
cd apps; make clean
headerexport:
cd libsrc; make headerexport