-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathMakefile.macosx
executable file
·132 lines (118 loc) · 4.29 KB
/
Makefile.macosx
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
#--------------------------------------------------------------------------
#
# Copyright (c) 2003-2011, Tom Hunter, Paul Koning
#
# Name: Makefile
#
# Description:
# Build Mac OS X version of Desktop Cyber emulation.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 3 as
# published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License version 3 for more details.
#
# You should have received a copy of the GNU General Public License
# version 3 along with this program in file "license-gpl-3.0.txt".
# If not, see <http://www.gnu.org/licenses/gpl-3.0.txt>.
#
#--------------------------------------------------------------------------
SDKDIR = /Developer/SDKs/MacOSX10.4u.sdk
LIBS = -lX11
LDFLAGS = -L/opt/X11/lib
INCL = -I/opt/X11/include
EXTRACFLAGS = -Wno-switch -Wno-format-security
CFLAGS = -O3 -std=gnu99 $(INCL) $(EXTRACFLAGS)
#CFLAGS = -O0 -g -std=gnu99 $(INCL) $(EXTRACFLAGS)
HDRS = const.h \
cyber_channel_linux.h \
npu.h \
cci.h \
proto.h \
types.h
OBJS = cdcnet.o \
channel.o \
charset.o \
console.o \
cp3446.o \
cpu.o \
cr3447.o \
cr405.o \
cray_station.o \
dcc6681.o \
dd6603.o \
dd885-42.o \
dd8xx.o \
ddp.o \
deadstart.o \
device.o \
dsa311.o \
dump.o \
float.o \
fsmon.o \
init.o \
interlock_channel.o \
log.o \
lp1612.o \
lp3000.o \
main.o \
maintenance_channel.o \
msufrend.o \
mdi.o \
mt362x.o \
mt5744.o \
mt607.o \
mt669.o \
mt679.o \
mux6676.o \
net_util.o \
niu.o \
npu_async.o \
npu_bip.o \
npu_hasp.o \
npu_hip.o \
npu_lip.o \
npu_net.o \
npu_nje.o \
npu_svm.o \
npu_tip.o \
cci_hip.o \
cci_svm.o \
cci_tip.o \
cci_async.o \
operator.o \
pp.o \
rtc.o \
scr_channel.o \
shift.o \
time.o \
tpmux.o \
trace.o \
window_x11.o
dtcyber: $(OBJS)
$(CC) $(LDFLAGS) -o $@ $+ $(LIBS)
all: dtcyber stk/node_modules automation/node_modules webterm/node_modules webterm/www/js/node_modules rje-station/node_modules
automation/node_modules:
$(MAKE) -C automation
rje-station/node_modules:
$(MAKE) -C rje-station
stk/node_modules:
$(MAKE) -C stk
webterm/node_modules:
$(MAKE) -C webterm
webterm/www/js/node_modules:
$(MAKE) -C webterm/www/js
clean:
rm -f *.o; \
$(MAKE) -C automation clean; \
$(MAKE) -C rje-station clean; \
$(MAKE) -C stk clean; \
$(MAKE) -C webterm clean
$(MAKE) -C webterm/www/js clean
%.o : %.c $(HDRS)
$(CC) $(CFLAGS) -c $<
#--------------------------- End Of File --------------------------------