Cross Reference: /illumos-gate/usr/src/cmd/terminfo/trailer
Makefile revision 7c478bd95313f5f23a4c958a745db2134aa03244
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
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
#
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License, Version 1.0 only
# (the "License"). You may not use this file except in compliance
# with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
# See the License for the specific language governing permissions
# and limitations under the License.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
# If applicable, add the following below this CDDL HEADER, with the
# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
#
# Copyright 1989, 2001, 2002 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
#
PROG= tek t4013 t300 t300s t450 aedplot bgplot dumbplot gigiplot \
hpplot hp7221plot implot atoplot plottoa vplot crtplot plot
SUBDIRS= libplot
DRVOBJ= driver.o
VPLOTOBJ= vplot.o chrtab.o
CRTOBJ= crtplot.o crtdriver.o
ATOOBJ= atoplot.o
TOAOBJ= plottoa.o
OBJS= $(DRVOBJ) $(VPLOTOBJ) $(CRTOBJ) $(ATOOBJ) $(TOAOBJ)
DRVSRC= $(DRVOBJ:%.o=%.c)
VPLOTSRC= $(VPLOTOBJ:%.o=%.c)
CRTSRC= $(CRTOBJ:%.o=%.c)
ATOSRC= $(ATOOBJ:%.o=%.c)
TOASRC= $(TOAOBJ:%.o=%.c)
SRCS= $(DRVSRC) $(VPLOTSRC) $(CRTSRC) $(ATOSRC) $(TOASRC)
include ../Makefile.ucbcmd
FILEMODE= 755
INC1 = $(ROOT)/usr/ucbinclude
LDFLAGS += -L$(ROOT)/usr/ucblib
LIBPLOT = ./libplot
LIBS.DEF = -lucb
LIBS.PLOT =
LDLIBS += $(LIBS.PLOT) $(LIBS.DEF)
#CPPFLAGS.master += -I$(INC1)
CPPFLAGS = -I$(INC1) $(CPPFLAGS.master)
clean:= TARGET= clean
clobber:= TARGET= clobber
.KEEP_STATE:
all: $(PROG) debug
tek:= LDFLAGS += -L$(LIBPLOT)
tek:= LIBS.PLOT = -lm -lt4014
tek: $(DRVOBJ) $(LIBPLOT)/libt4014.a
$(SETRUNPATH) $(LINK.c) $(DRVOBJ) -o $@ $(LDLIBS)
$(POST_PROCESS)
t4013:= LDFLAGS += -L$(LIBPLOT)
t4013:= LIBS.PLOT = -lm -lt4013
t4013: $(DRVOBJ) $(LIBPLOT)/libt4013.a
$(SETRUNPATH) $(LINK.c) $(DRVOBJ) -o $@ $(LDLIBS)
$(POST_PROCESS)
t300:= LDFLAGS += -L$(LIBPLOT)
t300:= LIBS.PLOT = -lm -lt300
t300: $(DRVOBJ) $(LIBPLOT)/libt300.a
$(SETRUNPATH) $(LINK.c) $(DRVOBJ) -o $@ $(LDLIBS)
$(POST_PROCESS)
t300s:= LDFLAGS += -L$(LIBPLOT)
t300s:= LIBS.PLOT = -lm -lt300s
t300s: $(DRVOBJ) $(LIBPLOT)/libt300s.a
$(SETRUNPATH) $(LINK.c) $(DRVOBJ) -o $@ $(LDLIBS)
$(POST_PROCESS)
t450:= LDFLAGS += -L$(LIBPLOT)
t450:= LIBS.PLOT = -lm -lt450
t450: $(DRVOBJ) $(LIBPLOT)/libt450.a
$(SETRUNPATH) $(LINK.c) $(DRVOBJ) -o $@ $(LDLIBS)
$(POST_PROCESS)
vplot: $(VPLOTOBJ)
$(SETRUNPATH) $(LINK.c) $(VPLOTOBJ) -o $@ $(LDLIBS)
$(POST_PROCESS)
crtplot:= LDFLAGS += -L$(LIBPLOT)
crtplot:= LIBS.DEF = -lcurses -ltermcap -lm -lucb
crtplot: $(CRTOBJ)
$(SETRUNPATH) $(LINK.c) $(CRTOBJ) -o $@ $(LDLIBS)
$(POST_PROCESS)
aedplot:= LDFLAGS += -L$(LIBPLOT)
aedplot:= LIBS.PLOT = -laed
aedplot: $(DRVOBJ) $(LIBPLOT)/libaed.a
$(SETRUNPATH) $(LINK.c) $(DRVOBJ) -o $@ $(LDLIBS)
$(POST_PROCESS)
bgplot:= LDFLAGS += -L$(LIBPLOT)
bgplot:= LIBS.PLOT = -lm -lplotbg
bgplot: $(DRVOBJ) $(LIBPLOT)/libplotbg.a
$(SETRUNPATH) $(LINK.c) $(DRVOBJ) -o $@ $(LDLIBS)
$(POST_PROCESS)
dumbplot:= LDFLAGS += -L$(LIBPLOT)
dumbplot:= LIBS.DEF = -ltermcap -lm -lucb
dumbplot:= LIBS.PLOT = -lm -ldumb
dumbplot: $(DRVOBJ) $(LIBPLOT)/libdumb.a
$(SETRUNPATH) $(LINK.c) $(DRVOBJ) -o $@ $(LDLIBS)
$(POST_PROCESS)
gigiplot:= LDFLAGS += -L$(LIBPLOT)
gigiplot:= LIBS.PLOT = -lm -lgigi
gigiplot: $(DRVOBJ) $(LIBPLOT)/libgigi.a
$(SETRUNPATH) $(LINK.c) $(DRVOBJ) -o $@ $(LDLIBS)
$(POST_PROCESS)
hpplot:= LDFLAGS += -L$(LIBPLOT)
hpplot:= LIBS.PLOT = -lm -lhp2648
hpplot: $(DRVOBJ) $(LIBPLOT)/libhp2648.a
$(SETRUNPATH) $(LINK.c) $(DRVOBJ) -o $@ $(LDLIBS)
$(POST_PROCESS)
hp7221plot:= LDFLAGS += -L$(LIBPLOT)
hp7221plot:= LIBS.PLOT = -lm -lhp7221
hp7221plot: $(DRVOBJ) $(LIBPLOT)/libhp7221.a
$(SETRUNPATH) $(LINK.c) $(DRVOBJ) -o $@ $(LDLIBS)
$(POST_PROCESS)
implot:= LDFLAGS += -L$(LIBPLOT)
implot:= LIBS.PLOT = -lm -limagen
implot: $(DRVOBJ) $(LIBPLOT)/libimagen.a
$(SETRUNPATH) $(LINK.c) $(DRVOBJ) -o $@ $(LDLIBS)
$(POST_PROCESS)
atoplot:= LDFLAGS += -L$(LIBPLOT)
atoplot:= LIBS.PLOT = -lplot
atoplot: $(ATOOBJ) $(LIBPLOT)/libplot.a
$(SETRUNPATH) $(LINK.c) $(ATOOBJ) -o $@ $(LDLIBS)
$(POST_PROCESS)
plottoa: $(TOAOBJ)
$(SETRUNPATH) $(LINK.c) $(TOAOBJ) -o $@ $(LDLIBS)
$(POST_PROCESS)
$(LIBPLOT)/libt300.a: FRC
cd $(LIBPLOT); pwd; $(MAKE) t300
$(LIBPLOT)/libt300s.a: FRC
cd $(LIBPLOT); pwd; $(MAKE) t300s
$(LIBPLOT)/libt450.a: FRC
cd $(LIBPLOT); pwd; $(MAKE) t450
$(LIBPLOT)/libt4014.a: FRC
cd $(LIBPLOT); pwd; $(MAKE) t4014
$(LIBPLOT)/libaed.a: FRC
cd $(LIBPLOT); pwd; $(MAKE) aed
$(LIBPLOT)/libplotbg.a: FRC
cd $(LIBPLOT); pwd; $(MAKE) bitgraph
$(LIBPLOT)/libdumb.a: FRC
cd $(LIBPLOT); pwd; $(MAKE) dumb
$(LIBPLOT)/libgigi.a: FRC
cd $(LIBPLOT); pwd; $(MAKE) gigi
$(LIBPLOT)/libhp2648.a: FRC
cd $(LIBPLOT); pwd; $(MAKE) hp2648
$(LIBPLOT)/libhp7221.a: FRC
cd $(LIBPLOT); pwd; $(MAKE) hp7221
$(LIBPLOT)/libimagen.a: FRC
cd $(LIBPLOT); pwd; $(MAKE) imagen
$(LIBPLOT)/libplot.a: FRC
cd $(LIBPLOT); pwd; $(MAKE) plot
$(LIBPLOT)/libt4013.a: FRC
cd $(LIBPLOT); pwd; $(MAKE) t4013
install: all $(ROOTPROG)
clean: $(SUBDIRS) clean_all
clobber: $(SUBDIRS) clobber_all
clean_all:
$(RM) $(OBJS)
clobber_all:
$(RM) $(PROG)
$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(MFLAGS) $(TARGET)
lint: lint_PROG
include ../Makefile.ucbtarg
FRC: