Makefile
906 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
45
46
47
48
#!gmake
ifndef SIMTOOLS
SIMTOOLS = ../../..
endif
include $(SIMTOOLS)/makedefs
ifeq ($(CPU),SUN)
default: simos-sun
clean: clean-sun
endif
ifeq ($(CPU),SGI)
default: simos
clean: clean-sgi
endif
ifeq ($(CPU),SGIN32)
default: simos-sgin32
clean: clean-sgi
endif
simos: simos-dir
($(MAKE) -f ../Makefile.ALL -C SGI SIMOS=1 SIM_ARCH=MIPS32)
simos-sgin32: simos-dir
($(MAKE) -f ../Makefile.ALL -C SGI SIMOS=1 SIM_ARCH=MIPS64)
simos-sun: simos-sun-dir
($(MAKE) -f ../Makefile.ALL -C SUN SIMOS=1 SIM_ARCH=SUN)
simos-alpha: simos-alpha-dir
($(MAKE) -f ../Makefile.ALL -C ALPHA SIMOS=1 SIM_ARCH=ALPHA)
simos-dir:
@if [ -d SGI ] ; then true; else mkdir SGI; fi
simos-sun-dir:
@if [ -d SUN ] ; then true; else mkdir SUN; fi
simos-alpha-dir:
@if [ -d ALPHA ] ; then true; else mkdir ALPHA; fi
clean-sgi:
rm -rf core SGI rmtaccess
clean-sun:
rm -rf core SUN rmtaccess-sun