Makefile
854 Bytes
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
#!smake
#
# kernel/Makefile
#
DEPTH?=..
include $(ROOT)/usr/include/make/kcommondefs
SHFILES = prInstall.sh
KERNFILE = u64_6.2.o
TARGETS = mem.sed prInstall mem_6.2.sed $(KERNFILE)
LDIRT = *.bak *.sav *.CKP *.BAK
EXITOP = exitop("cd $$rbase/usr/lib/PR/install; ./prInstall")
DEBUG =
default all:
@$(MAKE) $(TARGETS)
include $(COMMONRULES)
mem.sed: mem.sed.script
rm -f mem.sed
cp mem.sed.script mem.sed
mem_6.2.sed: mem_6.2.sed.script
rm -f mem_6.2.sed
cp mem_6.2.sed.script mem_6.2.sed
$(KERNFILE): $(KERNFILE).uu
uudecode $@.uu
chmod 644 $@
install: all
$(INSTALL) -idb "pr.sw.pr" -dir /usr/lib/PR/install
$(INSTALL) -idb 'pr.sw.pr $(EXITOP)' -m 744 \
-F /usr/lib/PR/install prInstall
$(INSTALL) -idb "pr.sw.pr" -m 644 -F /usr/lib/PR/install \
mem.sed mem_6.2.sed
$(INSTALL) -m 644 -F /usr/lib/PR/install $(KERNFILE)