Makefile
2.7 KB
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
#
# Makefile for released apps directory
#
PRDEPTH=..
include $(PRDEPTH)/PRdefs
EXPORTS_SUBDIRS = Texture
#
# please add these alphabetically...
#
# NOTE: gng is a special case; the sources there get installed to the
# "gng_noship" product.
# tile_rect3d.disk is also a special case; the sources there get inst-
# alled to the "64dd" product.
#
SUBDIRS = \
autofill \
blockmonkey \
bumpmap \
chrome \
ci8fb \
cptest \
ddspgame \
detail \
eeptest \
fault \
flash \
fogworld \
gbpak \
ginv \
gl \
greset \
ground \
gs2dex \
gtdemo \
hostio \
lights \
mipmap \
morphcube \
morphfaces \
motortest \
nnsample1 \
nnsample2 \
nosPak \
onetri \
onetri-fpal \
overlay \
pfs \
playseq \
playseq.naudio \
polyline \
print \
reboot \
simple \
soundmonkey \
spgame \
spin \
spritemonkey \
spritemonkeyEX \
sramtest \
terrain \
texlight \
threadmonkey \
tile_rect2d \
tile_rect3d \
topgun \
tron \
turbomonkey \
voice
COMMONPREF = apps.released
SGIDOCS = README_DEMOS.jp.sgi
# README_DEMOS_64DD.jp.sgi \
# README_DEMOS_NAUDIO.jp.sgi
PCDOCS = README_DEMOS.jp.pc
LDIRT = $(SGIDOCS) $(PCDOCS)
default : $(SGIDOCS)
$(SUBDIRS_MAKERULE)
install: $(SGIDOCS)
$(EXPORTS_SUBDIRS_MAKERULE)
$(SUBDIRS_MAKERULE)
cd Texture ; make install ; cd ..
$(INSTALL) -m 444 -F /usr/src/PR/demos \
-src README_DEMOS.jp.sgi README_DEMOS.jp
$(INSTALL) -m 444 -F /usr/src/PR/demos \
-src Makefile.src Makefile
# $(INSTALL) -m 444 -F /usr/src/PR/demos \
# -src README_DEMOS_64DD.jp.sgi README_DEMOS_64DD.jp
# $(INSTALL) -m 444 -F /usr/src/PR/demos \
# -src README_DEMOS_NAUDIO.jp.sgi README_DEMOS_NAUDIO.jp
exports:$(_FORCE)
$(EXPORTS_SUBDIRS_MAKERULE)
$(COMMONTARGS): $(_FORCE)
$(EXPORTS_SUBDIRS_MAKERULE)
$(SUBDIRS_MAKERULE)
rm -rf $(LDIRT)
include $(COMMONRULES)
README_DEMOS.jp.sgi: README_DEMOS.jp
perl -ne 'if(/^#if(def.+PC|ndef.+SGI)/){$$a=1} elsif(/^#if(ndef.+PC|def.+SGI)/||/^#endif/){$$a=0}elsif(/^#else/){$$a^=1}elsif($$a==0){print}' README_DEMOS.jp > README_DEMOS.jp.sgi
README_DEMOS_64DD.jp.sgi: README_DEMOS_64DD.jp
perl -ne 'if(/^#if(def.+PC|ndef.+SGI)/){$$a=1} elsif(/^#if(ndef.+PC|def.+SGI)/||/^#endif/){$$a=0}elsif(/^#else/){$$a^=1}elsif($$a==0){print}' README_DEMOS_64DD.jp > README_DEMOS_64DD.jp.sgi
README_DEMOS_NAUDIO.jp.sgi: README_DEMOS_NAUDIO.jp
perl -ne 'if(/^#if(def.+PC|ndef.+SGI)/){$$a=1} elsif(/^#if(ndef.+PC|def.+SGI)/||/^#endif/){$$a=0}elsif(/^#else/){$$a^=1}elsif($$a==0){print}' README_DEMOS_NAUDIO.jp > README_DEMOS_NAUDIO.jp.sgi
README_DEMOS.jp.pc: README_DEMOS.jp
perl -ne 'if(/^#if(def.+SGI|ndef.+PC)/){$$a=1} elsif(/^#if(ndef.+SGI|def.+PC)/||/^#endif/){$$a=0}elsif(/^#else/){$$a^=1}elsif($$a==0){print}' README_DEMOS.jp > README_DEMOS.jp.pc