forked from latentPrion/zambesii
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile.in
executable file
·87 lines (71 loc) · 2.3 KB
/
Makefile.in
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
.PHONY=
include Makefile.vars
#
# Zambesii Kernel top-level $(MAKE)file.
#
iso9660: zambesii.iso
cp -f zambesii.zxe iso/zambesii
$(ISOPROG) -R -b boot/grub/stage2_eltorito -no-emul-boot \
-boot-load-size 4 -boot-info-table -V zambesii -o zambesii.iso iso
# For my personal use. (~lp).
imm:
cp -f zambesii.zxe /media/dv6-e01/zambesii.zxe
cp -f zambesii.iso /media/dv6-e01/zambesii.iso
zambesii.iso: exec
exec: zambesii.zxe
zambesii.zxe: __kcore drivers libraries resources programs
$(LD) $(LDFLAGS) -T core/__klinkScript.ld -o $@ \
core.o
__kcore: core.o
programs: programs.ekf
libraries: libraries.ekf
resources: resources.ekf
drivers: drivers.ekf
# All of these files are presented by their relevant driectories.
core.o:
@echo xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
@echo Building core/
@echo xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
cd core; $(MAKE)
programs.ekf:
# @echo xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
# @echo Building programs/
# @echo xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
# cd programs; $(MAKE)
libraries.ekf:
# @echo xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
# @echo Building libraries/
# @echo xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
# cd libraries; $(MAKE)
resources.ekf:
# @echo xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
# @echo Building resources/
# @echo xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
# cd resources; $(MAKE)
drivers.ekf:
# @echo xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
# @echo Building drivers/
# @echo xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
# cd drivers; $(MAKE)
# Top level clean target
clean: fonyphile
rm -f *.o *.ekf *.zxe *.iso *.img
cd core; $(MAKE) clean
# cd programs; $(MAKE) clean
# cd libraries; $(MAKE) clean
# cd resources; $(MAKE) clean
# cd drivers; $(MAKE) clean
aclean: fonyphile
rm -f *.o *.ekf *.zxe *.iso *.fat
cd core; $(MAKE) aclean
# cd programs; $(MAKE) aclean
# cd libraries; $(MAKE) aclean
# cd resources; $(MAKE) aclean
# cd drivers; $(MAKE) aclean
fonyphile:
rm -f clean aclean
# Spotless removes the configuration created by the configure script.
distclean: fonyphile clean
rm -f Makefile.vars config.h Makefile ldSearchDirs.ld
# Only execute this script here. Should never be called by the user explicitly.
# ./.unconfigure