-
Notifications
You must be signed in to change notification settings - Fork 88
/
Makefile
132 lines (115 loc) · 4.73 KB
/
Makefile
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
122
123
124
125
126
127
128
129
130
131
132
##
## Toplevel Makefile for all Makefiles
##
##
## Scott Powers
##
all: dev_$(DEV_ARCH)
list: dev_
help: dev_
dev_::
@echo "You must specify one of the following or set the environment variable"
@echo "[DEV_ARCH] to one of the following:"
@echo " freebsd -- x86 running freebsd DYNAMIC"
@echo " freebsd-static -- x86 running freebsd ALL STATIC"
@echo " freebsd-static-motif -- x86 running freebsd STATIC MOTIF"
@echo " netbsd -- x86 running netbsd DYNAMIC"
@echo " netbsd-static -- x86 running netbsd ALL STATIC"
@echo " netbsd-static-motif -- x86 running netbsd STATIC MOTIF"
@echo " linux -- x86 running Linux 1.2.13 DYNAMIC"
@echo " linux-static -- x86 running Linux 1.2.13 ALL STATIC"
@echo " linux-static-motif -- x86 running Linux 1.2.13 STATIC MOTIF"
@echo " unicos -- Cray PVP running UNICOS (tested with 10.0 and MOTIF)"
@echo " "
@echo "To make a Purify or Quantify version of Mosaic, put a 'p_' or"
@echo " 'q_' in front of the platform."
@echo "If your OS is not listed, you will need to copy one of the"
@echo " the Makefiles.OS in the 'makefiles' directory, edit it for"
@echo " your system, edit this Makefile to add your system, compile,"
@echo " and send in your changes to: mosaic-x@ncsa.uiuc.edu."
purifyd:
$(MAKE) p_$(DEV_ARCH)
quantifyd:
$(MAKE) q_$(DEV_ARCH)
rm_and_touch:
@rm -f config.h
@touch config.h
dev_freebsd: rm_and_touch freebsd
freebsd: rm_and_touch
$(MAKE) -f makefiles/Makefile.freebsd DEV_ARCH=freebsd
p_freebsd: rm_and_touch
$(MAKE) -f makefiles/Makefile.freebsd purifyd DEV_ARCH=freebsd
q_freebsd: rm_and_touch
$(MAKE) -f makefiles/Makefile.freebsd quantifyd DEV_ARCH=freebsd
dev_freebsd_static: rm_and_touch freebsd_static
freebsd_static: rm_and_touch
$(MAKE) -f makefiles/Makefile.freebsd staticd DEV_ARCH=freebsd
p_freebsd_static: rm_and_touch
$(MAKE) -f makefiles/Makefile.freebsd p_staticd DEV_ARCH=freebsd
q_freebsd_static: rm_and_touch
$(MAKE) -f makefiles/Makefile.freebsd q_staticd DEV_ARCH=freebsd
dev_freebsd_static_motif: rm_and_touch freebsd_static_motif
freebsd_static_motif: rm_and_touch
$(MAKE) -f makefiles/Makefile.freebsd static_motifd DEV_ARCH=freebsd
p_freebsd_static_motif: rm_and_touch
$(MAKE) -f makefiles/Makefile.freebsd p_static_motifd DEV_ARCH=freebsd
q_freebsd_static_motif: rm_and_touch
$(MAKE) -f makefiles/Makefile.freebsd q_static_motifd DEV_ARCH=freebsd
dev_netbsd: rm_and_touch netbsd
netbsd: rm_and_touch
$(MAKE) -f makefiles/Makefile.netbsd DEV_ARCH=netbsd
p_netbsd: rm_and_touch
$(MAKE) -f makefiles/Makefile.netbsd purifyd DEV_ARCH=netbsd
q_netbsd: rm_and_touch
$(MAKE) -f makefiles/Makefile.netbsd quantifyd DEV_ARCH=netbsd
dev_netbsd_static: rm_and_touch netbsd_static
netbsd_static: rm_and_touch
$(MAKE) -f makefiles/Makefile.netbsd staticd DEV_ARCH=netbsd
p_netbsd_static: rm_and_touch
$(MAKE) -f makefiles/Makefile.netbsd p_staticd DEV_ARCH=netbsd
q_netbsd_static: rm_and_touch
$(MAKE) -f makefiles/Makefile.netbsd q_staticd DEV_ARCH=netbsd
dev_netbsd_static_motif: rm_and_touch netbsd_static_motif
netbsd_static_motif: rm_and_touch
$(MAKE) -f makefiles/Makefile.netbsd static_motifd DEV_ARCH=netbsd
p_netbsd_static_motif: rm_and_touch
$(MAKE) -f makefiles/Makefile.netbsd p_static_motifd DEV_ARCH=netbsd
q_netbsd_static_motif: rm_and_touch
$(MAKE) -f makefiles/Makefile.netbsd q_static_motifd DEV_ARCH=netbsd
dev_linux: rm_and_touch linux
linux: rm_and_touch
$(MAKE) -f makefiles/Makefile.linux DEV_ARCH=linux
p_linux: rm_and_touch
$(MAKE) -f makefiles/Makefile.linux purifyd DEV_ARCH=linux
q_linux: rm_and_touch
$(MAKE) -f makefiles/Makefile.linux quantifyd DEV_ARCH=linux
dev_linux_static: rm_and_touch linux_static
linux_static: rm_and_touch
$(MAKE) -f makefiles/Makefile.linux staticd DEV_ARCH=linux
p_linux_static: rm_and_touch
$(MAKE) -f makefiles/Makefile.linux p_staticd DEV_ARCH=linux
q_linux_static: rm_and_touch
$(MAKE) -f makefiles/Makefile.linux q_staticd DEV_ARCH=linux
dev_linux_static_motif: rm_and_touch linux_static_motif
linux_static_motif: rm_and_touch
$(MAKE) -f makefiles/Makefile.linux static_motifd DEV_ARCH=linux
p_linux_static_motif: rm_and_touch
$(MAKE) -f makefiles/Makefile.linux p_static_motifd DEV_ARCH=linux
q_linux_static_motif: rm_and_touch
$(MAKE) -f makefiles/Makefile.linux q_static_motifd DEV_ARCH=linux
dev_unicos: rm_and_touch unicos
unicos: rm_and_touch
$(MAKE) -f makefiles/Makefile.unicos static_motifd DEV_ARCH=unicos
p_unicos: rm_and_touch
$(MAKE) -f makefiles/Makefile.unicos p_static_motifd DEV_ARCH=unicos
q_unicos: rm_and_touch
$(MAKE) -f makefiles/Makefile.unicos q_static_motifd DEV_ARCH=unicos
clean:
cd libXmx; $(MAKE) clean
cd libdtm; $(MAKE) clean
cd libhtmlw; $(MAKE) clean
cd libnet; $(MAKE) clean
cd libnut; $(MAKE) clean
cd libwww2; $(MAKE) clean
cd src; $(MAKE) clean MOSAIC="Mosaic"
@echo "Done cleaning..."