-
Notifications
You must be signed in to change notification settings - Fork 1
/
mkfile
63 lines (53 loc) · 1.09 KB
/
mkfile
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
SUNFLOWERROOT = /Users/pip/Hg/sunflowersim-svn-changes
INFERNOSRCROOT = /Users/pip/inferno-os-read-only
<$INFERNOSRCROOT/mkconfig
DIRS=\
# \
TARG=\
pgui.dis\
mgui.dis\
timedio.dis\
cache.dis\
MODULES=\
mgui.m\
pgui.m\
timedio.m\
cache.m\
SYSMODULES=\
bufio.m\
dialog.m\
draw.m\
freetype.m\
imagefile.m\
keyring.m\
lock.m\
math.m\
readdir.m\
security.m\
selectfile.m\
string.m\
sys.m\
timers.m\
tk.m\
tkclient.m\
winplace.m\
wmclient.m\
wmsrv.m\
DISBIN=$ROOT/dis/sfgui
<$ROOT/mkfiles/mkdis
LIMBOFLAGS = $LIMBOFLAGS
<$ROOT/mkfiles/mksubdirs
mksfdirs:
mkdir -p $DISBIN; cp -r images $DISBIN/
mkdir -p $ROOT/usr/sunflower/keyring
mkdir -p $ROOT/mnt/sunflower
cp -r fonts/ttf2subf $ROOT/fonts/
cp conf/keyring-default $ROOT/usr/sunflower/keyring/default
cp -r $SUNFLOWERROOT/sim $ROOT/libsunflower
cp -r $SUNFLOWERROOT/sim/devsunflower.c $ROOT/emu/port
chmod 444 $ROOT/emu/port/devsunflower.c
chmod 444 $ROOT/libsunflower/*.[c,h,y]
nuke-std:V: clean-std
rm -rf $DISBIN; rm -rf $ROOT/usr/sunflower;
rm -rf $ROOT/libsunflower
rm -f $ROOT/emu/port/devsunflower.c