summaryrefslogtreecommitdiffstats
path: root/lib/libtcl/Makefile
blob: 0847bdf8db21e06c80e234dcd38c3e2e786ff250 (plain)
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
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
# $Id: Makefile,v 1.25 1997/11/27 20:52:28 pst Exp $
#
# This file is generated automatically, do not edit it here!
#
# Please change src/tools/tools/tcl_bmake/mkMakefile.sh instead
#
# Generated by src/tools/tools/tcl_bmake/mkMakefile.sh version:
# Id: mkMakefile.sh,v 1.26 1997/10/01 13:31:29 phk Exp 
#

TCLDIST=${.CURDIR}/../../contrib/tcl

.PATH: ${TCLDIST}/generic
.PATH: ${TCLDIST}/unix
.PATH: ${TCLDIST}/doc

CFLAGS+=  -I${TCLDIST}/generic
CFLAGS+=  -I${TCLDIST}/unix

TCL_LIBRARY=	/usr/libdata/tcl
SHLIB_MAJOR=	80
SHLIB_MINOR=	4

LIB=    tcl

CFLAGS+= -DHAVE_GETCWD=1 -DNO_VALUES_H=1 -DHAVE_UNISTD_H=1 -DUSE_TERMIOS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1 -DHAVE_TM_GMTOFF=1 -DHAVE_ST_BLKSIZE=1 -DSTDC_HEADERS=1 -DNEED_MATHERR=1 -DHAVE_SIGNED_CHAR=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_FILIO_H=1 -DTCL_SHLIB_EXT=\".so\"
CFLAGS+=	-DTCL_LIBRARY=\"${TCL_LIBRARY}\"
CFLAGS+=	-DTCL_PACKAGE_PATH=\"/usr/libdata/tcl\"

LDADD+= -lm
DPADD+= ${LIBM}

SRCS=	panic.c regexp.c tclAsync.c tclBasic.c tclBinary.c tclCkalloc.c \
	tclClock.c tclCmdAH.c tclCmdIL.c tclCmdMZ.c tclCompExpr.c \
	tclCompile.c tclDate.c tclEnv.c tclEvent.c tclExecute.c \
	tclFCmd.c tclFileName.c tclGet.c tclHash.c tclHistory.c \
	tclIndexObj.c tclInterp.c tclIO.c tclIOCmd.c tclIOSock.c \
	tclIOUtil.c tclLink.c tclListObj.c tclLoad.c tclMain.c \
	tclNamesp.c tclNotify.c tclObj.c tclParse.c tclPipe.c tclPkg.c \
	tclPosixStr.c tclPreserve.c tclProc.c tclStringObj.c tclTimer.c \
	tclUtil.c tclVar.c tclMtherr.c tclUnixChan.c tclUnixEvent.c \
	tclUnixFCmd.c tclUnixFile.c tclUnixPipe.c tclUnixSock.c \
	tclUnixTime.c tclUnixInit.c tclUnixNotfy.c tclLoadDl.c

HEADERS=generic/patchlevel.h generic/tclInt.h generic/tclPort.h \
	generic/tclRegexp.h unix/tclUnixPort.h

beforeinstall: installhdrs
	${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 \
		${TCLDIST}/library/tclIndex ${DESTDIR}${TCL_LIBRARY} 
	( cd ${TCLDIST}/library && \
	for e in . http1.0 ; do \
	${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 \
		$$e/*.tcl ${DESTDIR}${TCL_LIBRARY}/$$e ; \
	done )
	${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 \
		${TCLDIST}/unix/tclAppInit.c ${DESTDIR}${TCL_LIBRARY}
	${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 \
		${TCLDIST}/doc/man.macros ${DESTDIR}/usr/share/tmac/tcl.macros

installhdrs:
	${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 \
		${TCLDIST}/generic/tcl.h ${DESTDIR}/usr/include/tcl
.for m in ${HEADERS}
	${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 ${TCLDIST}/$m \
		${DESTDIR}/usr/include/tcl/$m
.endfor


MANFILTER=sed "/\.so *man.macros/s;.*;.so /usr/share/tmac/tcl.macros;"

MANn+=	Tcl.n after.n append.n array.n bgerror.n binary.n break.n \
	case.n catch.n cd.n clock.n close.n concat.n continue.n eof.n \
	error.n eval.n exec.n exit.n expr.n fblocked.n fconfigure.n \
	fcopy.n file.n fileevent.n filename.n flush.n for.n foreach.n \
	format.n gets.n glob.n global.n history.n http.n if.n incr.n \
	info.n interp.n join.n lappend.n library.n lindex.n linsert.n \
	list.n llength.n load.n lrange.n lreplace.n lsearch.n lsort.n \
	namespace.n open.n package.n pid.n pkgMkIndex.n proc.n puts.n \
	pwd.n read.n regexp.n registry.n regsub.n rename.n resource.n \
	return.n safe.n scan.n seek.n set.n socket.n source.n split.n \
	string.n subst.n switch.n tclvars.n tell.n time.n trace.n \
	unknown.n unset.n update.n uplevel.n upvar.n variable.n vwait.n \
	while.n

MAN3+=	Tcl_AddObjErrorInfo.3 Tcl_Alloc.3 Tcl_AllowExceptions.3 \
	Tcl_AppInit.3 Tcl_GetAssocData.3 Tcl_AsyncCreate.3 \
	Tcl_BackgroundError.3 Tcl_Backslash.3 Tcl_NewBooleanObj.3 \
	Tcl_CallWhenDeleted.3 Tcl_CommandComplete.3 Tcl_Concat.3 \
	Tcl_CreateChannel.3 Tcl_CreateChannelHandler.3 \
	Tcl_CreateCloseHandler.3 Tcl_CreateCommand.3 \
	Tcl_CreateFileHandler.3 Tcl_CreateInterp.3 Tcl_CreateMathFunc.3 \
	Tcl_CreateModalTimeout.3 Tcl_CreateObjCommand.3 Tcl_IsSafe.3 \
	Tcl_CreateTimerHandler.3 Tcl_CreateTrace.3 Tcl_DStringInit.3 \
	Tcl_DetachPids.3 Tcl_DoOneEvent.3 Tcl_DoWhenIdle.3 \
	Tcl_NewDoubleObj.3 Tcl_Eval.3 Tcl_EvalObj.3 Tcl_Exit.3 \
	Tcl_ExprLong.3 Tcl_ExprLongObj.3 Tcl_FindExecutable.3 \
	Tcl_GetFile.3 Tcl_GetIndexFromObj.3 Tcl_GetInt.3 \
	Tcl_GetOpenFile.3 Tcl_GetStdChannel.3 Tcl_InitHashTable.3 \
	Tcl_NewIntObj.3 Tcl_Interp.3 Tcl_LinkVar.3 \
	Tcl_ListObjAppendList.3 Tcl_CreateEventSource.3 Tcl_ObjSetVar2.3 \
	Tcl_NewObj.3 Tcl_RegisterObjType.3 Tcl_OpenFileChannel.3 \
	Tcl_OpenTcpClient.3 Tcl_PkgRequire.3 Tcl_Preserve.3 \
	Tcl_PrintDouble.3 Tcl_RecordAndEvalObj.3 Tcl_RecordAndEval.3 \
	Tcl_RegExpMatch.3 Tcl_SetErrno.3 Tcl_SetRecursionLimit.3 \
	Tcl_SetObjResult.3 Tcl_SetVar.3 Tcl_Sleep.3 Tcl_SplitList.3 \
	Tcl_SplitPath.3 Tcl_StaticPackage.3 Tcl_StringMatch.3 \
	Tcl_NewStringObj.3 Tcl_Main.3 Tcl_TraceVar.3 \
	Tcl_TranslateFileName.3 Tcl_UpVar.3 Tcl_WrongNumArgs.3

MLINKS+= Tcl_AddObjErrorInfo.3 Tcl_AddErrorInfo.3 
MLINKS+= Tcl_AddObjErrorInfo.3 Tcl_SetErrorCode.3 
MLINKS+= Tcl_AddObjErrorInfo.3 Tcl_PosixError.3 
MLINKS+= Tcl_Alloc.3 Tcl_Free.3 
MLINKS+= Tcl_Alloc.3 Tcl_Realloc.3 
MLINKS+= Tcl_GetAssocData.3 Tcl_SetAssocData.3 
MLINKS+= Tcl_GetAssocData.3 Tcl_DeleteAssocData.3 
MLINKS+= Tcl_AsyncCreate.3 Tcl_AsyncMark.3 
MLINKS+= Tcl_AsyncCreate.3 Tcl_AsyncInvoke.3 
MLINKS+= Tcl_AsyncCreate.3 Tcl_AsyncDelete.3 
MLINKS+= Tcl_NewBooleanObj.3 Tcl_SetBooleanObj.3 
MLINKS+= Tcl_NewBooleanObj.3 Tcl_GetBooleanFromObj.3 
MLINKS+= Tcl_CallWhenDeleted.3 Tcl_DontCallWhenDeleted.3 
MLINKS+= Tcl_CreateChannel.3 Tcl_GetChannelInstanceData.3 
MLINKS+= Tcl_CreateChannel.3 Tcl_GetChannelType.3 
MLINKS+= Tcl_CreateChannel.3 Tcl_GetChannelName.3 
MLINKS+= Tcl_CreateChannel.3 Tcl_GetChannelHandle.3 
MLINKS+= Tcl_CreateChannel.3 Tcl_GetChannelMode.3 
MLINKS+= Tcl_CreateChannel.3 Tcl_GetChannelBufferSize.3 
MLINKS+= Tcl_CreateChannel.3 Tcl_SetDefaultTranslation.3 
MLINKS+= Tcl_CreateChannel.3 Tcl_SetChannelBufferSize.3 
MLINKS+= Tcl_CreateChannel.3 Tcl_NotifyChannel.3 
MLINKS+= Tcl_CreateChannel.3 Tcl_BadChannelOption.3 
MLINKS+= Tcl_CreateChannelHandler.3 Tcl_DeleteChannelHandler.3 
MLINKS+= Tcl_CreateCloseHandler.3 Tcl_DeleteCloseHandler.3 
MLINKS+= Tcl_CreateFileHandler.3 Tcl_DeleteFileHandler.3 
MLINKS+= Tcl_CreateInterp.3 Tcl_DeleteInterp.3 
MLINKS+= Tcl_CreateInterp.3 Tcl_InterpDeleted.3 
MLINKS+= Tcl_CreateModalTimeout.3 Tcl_DeleteModalTimeout.3 
MLINKS+= Tcl_CreateObjCommand.3 Tcl_DeleteCommand.3 
MLINKS+= Tcl_CreateObjCommand.3 Tcl_DeleteCommandFromToken.3 
MLINKS+= Tcl_CreateObjCommand.3 Tcl_GetCommandInfo.3 
MLINKS+= Tcl_CreateObjCommand.3 Tcl_SetCommandInfo.3 
MLINKS+= Tcl_CreateObjCommand.3 Tcl_GetCommandName.3 
MLINKS+= Tcl_IsSafe.3 Tcl_MakeSafe.3 
MLINKS+= Tcl_IsSafe.3 Tcl_CreateSlave.3 
MLINKS+= Tcl_IsSafe.3 Tcl_GetSlave.3 
MLINKS+= Tcl_IsSafe.3 Tcl_GetMaster.3 
MLINKS+= Tcl_IsSafe.3 Tcl_GetInterpPath.3 
MLINKS+= Tcl_IsSafe.3 Tcl_CreateAlias.3 
MLINKS+= Tcl_IsSafe.3 Tcl_CreateAliasObj.3 
MLINKS+= Tcl_IsSafe.3 Tcl_GetAlias.3 
MLINKS+= Tcl_IsSafe.3 Tcl_GetAliasObj.3 
MLINKS+= Tcl_IsSafe.3 Tcl_ExposeCommand.3 
MLINKS+= Tcl_IsSafe.3 Tcl_HideCommand.3 
MLINKS+= Tcl_CreateTimerHandler.3 Tcl_DeleteTimerHandler.3 
MLINKS+= Tcl_CreateTrace.3 Tcl_DeleteTrace.3 
MLINKS+= Tcl_DStringInit.3 Tcl_DStringAppend.3 
MLINKS+= Tcl_DStringInit.3 Tcl_DStringAppendElement.3 
MLINKS+= Tcl_DStringInit.3 Tcl_DStringStartSublist.3 
MLINKS+= Tcl_DStringInit.3 Tcl_DStringEndSublist.3 
MLINKS+= Tcl_DStringInit.3 Tcl_DStringLength.3 
MLINKS+= Tcl_DStringInit.3 Tcl_DStringValue.3 
MLINKS+= Tcl_DStringInit.3 Tcl_DStringSetLength.3 
MLINKS+= Tcl_DStringInit.3 Tcl_DStringFree.3 
MLINKS+= Tcl_DStringInit.3 Tcl_DStringResult.3 
MLINKS+= Tcl_DStringInit.3 Tcl_DStringGetResult.3 
MLINKS+= Tcl_DetachPids.3 Tcl_ReapDetachedProcs.3 
MLINKS+= Tcl_DoWhenIdle.3 Tcl_CancelIdleCall.3 
MLINKS+= Tcl_NewDoubleObj.3 Tcl_SetDoubleObj.3 
MLINKS+= Tcl_NewDoubleObj.3 Tcl_GetDoubleFromObj.3 
MLINKS+= Tcl_Eval.3 Tcl_VarEval.3 
MLINKS+= Tcl_Eval.3 Tcl_EvalFile.3 
MLINKS+= Tcl_Eval.3 Tcl_GlobalEval.3 
MLINKS+= Tcl_EvalObj.3 Tcl_GlobalEvalObj.3 
MLINKS+= Tcl_Exit.3 Tcl_Finalize.3 
MLINKS+= Tcl_Exit.3 Tcl_CreateExitHandler.3 
MLINKS+= Tcl_Exit.3 Tcl_DeleteExitHandler.3 
MLINKS+= Tcl_ExprLong.3 Tcl_ExprDouble.3 
MLINKS+= Tcl_ExprLong.3 Tcl_ExprBoolean.3 
MLINKS+= Tcl_ExprLong.3 Tcl_ExprString.3 
MLINKS+= Tcl_ExprLongObj.3 Tcl_ExprDoubleObj.3 
MLINKS+= Tcl_ExprLongObj.3 Tcl_ExprBooleanObj.3 
MLINKS+= Tcl_ExprLongObj.3 Tcl_ExprObj.3 
MLINKS+= Tcl_GetFile.3 Tcl_FreeFile.3 
MLINKS+= Tcl_GetFile.3 Tcl_GetFileInfo.3 
MLINKS+= Tcl_GetInt.3 Tcl_GetDouble.3 
MLINKS+= Tcl_GetInt.3 Tcl_GetBoolean.3 
MLINKS+= Tcl_GetStdChannel.3 Tcl_SetStdChannel.3 
MLINKS+= Tcl_InitHashTable.3 Tcl_DeleteHashTable.3 
MLINKS+= Tcl_InitHashTable.3 Tcl_CreateHashEntry.3 
MLINKS+= Tcl_InitHashTable.3 Tcl_DeleteHashEntry.3 
MLINKS+= Tcl_InitHashTable.3 Tcl_FindHashEntry.3 
MLINKS+= Tcl_InitHashTable.3 Tcl_GetHashValue.3 
MLINKS+= Tcl_InitHashTable.3 Tcl_SetHashValue.3 
MLINKS+= Tcl_InitHashTable.3 Tcl_GetHashKey.3 
MLINKS+= Tcl_InitHashTable.3 Tcl_FirstHashEntry.3 
MLINKS+= Tcl_InitHashTable.3 Tcl_NextHashEntry.3 
MLINKS+= Tcl_InitHashTable.3 Tcl_HashStats.3 
MLINKS+= Tcl_NewIntObj.3 Tcl_NewLongObj.3 
MLINKS+= Tcl_NewIntObj.3 Tcl_SetIntObj.3 
MLINKS+= Tcl_NewIntObj.3 Tcl_SetLongObj.3 
MLINKS+= Tcl_NewIntObj.3 Tcl_GetIntFromObj.3 
MLINKS+= Tcl_NewIntObj.3 Tcl_GetLongFromObj.3 
MLINKS+= Tcl_LinkVar.3 Tcl_UnlinkVar.3 
MLINKS+= Tcl_LinkVar.3 Tcl_UpdateLinkedVar.3 
MLINKS+= Tcl_ListObjAppendList.3 Tcl_ListObjAppendElement.3 
MLINKS+= Tcl_ListObjAppendList.3 Tcl_NewListObj.3 
MLINKS+= Tcl_ListObjAppendList.3 Tcl_SetListObj.3 
MLINKS+= Tcl_ListObjAppendList.3 Tcl_ListObjGetElements.3 
MLINKS+= Tcl_ListObjAppendList.3 Tcl_ListObjLength.3 
MLINKS+= Tcl_ListObjAppendList.3 Tcl_ListObjIndex.3 
MLINKS+= Tcl_ListObjAppendList.3 Tcl_ListObjReplace.3 
MLINKS+= Tcl_CreateEventSource.3 Tcl_DeleteEventSource.3 
MLINKS+= Tcl_CreateEventSource.3 Tcl_SetMaxBlockTime.3 
MLINKS+= Tcl_CreateEventSource.3 Tcl_QueueEvent.3 
MLINKS+= Tcl_CreateEventSource.3 Tcl_DeleteEvents.3 
MLINKS+= Tcl_CreateEventSource.3 Tcl_WaitForEvent.3 
MLINKS+= Tcl_CreateEventSource.3 Tcl_SetTimer.3 
MLINKS+= Tcl_CreateEventSource.3 Tcl_ServiceAll.3 
MLINKS+= Tcl_CreateEventSource.3 Tcl_ServiceEvent.3 
MLINKS+= Tcl_CreateEventSource.3 Tcl_GetServiceMode.3 
MLINKS+= Tcl_CreateEventSource.3 Tcl_SetServiceMode.3 
MLINKS+= Tcl_ObjSetVar2.3 Tcl_ObjGetVar2.3 
MLINKS+= Tcl_NewObj.3 Tcl_DuplicateObj.3 
MLINKS+= Tcl_NewObj.3 Tcl_IncrRefCount.3 
MLINKS+= Tcl_NewObj.3 Tcl_DecrRefCount.3 
MLINKS+= Tcl_NewObj.3 Tcl_IsShared.3 
MLINKS+= Tcl_RegisterObjType.3 Tcl_GetObjType.3 
MLINKS+= Tcl_RegisterObjType.3 Tcl_AppendAllObjTypes.3 
MLINKS+= Tcl_RegisterObjType.3 Tcl_ConvertToType.3 
MLINKS+= Tcl_OpenFileChannel.3 Tcl_OpenCommandChannel.3 
MLINKS+= Tcl_OpenFileChannel.3 Tcl_MakeFileChannel.3 
MLINKS+= Tcl_OpenFileChannel.3 Tcl_GetChannel.3 
MLINKS+= Tcl_OpenFileChannel.3 Tcl_RegisterChannel.3 
MLINKS+= Tcl_OpenFileChannel.3 Tcl_UnregisterChannel.3 
MLINKS+= Tcl_OpenFileChannel.3 Tcl_Close.3 
MLINKS+= Tcl_OpenFileChannel.3 Tcl_Read.3 
MLINKS+= Tcl_OpenFileChannel.3 Tcl_Gets.3 
MLINKS+= Tcl_OpenFileChannel.3 Tcl_Write.3 
MLINKS+= Tcl_OpenFileChannel.3 Tcl_Flush.3 
MLINKS+= Tcl_OpenFileChannel.3 Tcl_Seek.3 
MLINKS+= Tcl_OpenFileChannel.3 Tcl_Tell.3 
MLINKS+= Tcl_OpenFileChannel.3 Tcl_Eof.3 
MLINKS+= Tcl_OpenFileChannel.3 Tcl_InputBlocked.3 
MLINKS+= Tcl_OpenFileChannel.3 Tcl_InputBuffered.3 
MLINKS+= Tcl_OpenFileChannel.3 Tcl_GetChannelOption.3 
MLINKS+= Tcl_OpenFileChannel.3 Tcl_SetChannelOption.3 
MLINKS+= Tcl_OpenTcpClient.3 Tcl_MakeTcpClientChannel.3 
MLINKS+= Tcl_OpenTcpClient.3 Tcl_OpenTcpServer.3 
MLINKS+= Tcl_PkgRequire.3 Tcl_PkgProvide.3 
MLINKS+= Tcl_Preserve.3 Tcl_Release.3 
MLINKS+= Tcl_Preserve.3 Tcl_EventuallyFree.3 
MLINKS+= Tcl_RegExpMatch.3 Tcl_RegExpCompile.3 
MLINKS+= Tcl_RegExpMatch.3 Tcl_RegExpExec.3 
MLINKS+= Tcl_RegExpMatch.3 Tcl_RegExpRange.3 
MLINKS+= Tcl_SetErrno.3 Tcl_GetErrno.3 
MLINKS+= Tcl_SetObjResult.3 Tcl_GetObjResult.3 
MLINKS+= Tcl_SetObjResult.3 Tcl_SetResult.3 
MLINKS+= Tcl_SetObjResult.3 Tcl_GetStringResult.3 
MLINKS+= Tcl_SetObjResult.3 Tcl_AppendResult.3 
MLINKS+= Tcl_SetObjResult.3 Tcl_AppendElement.3 
MLINKS+= Tcl_SetObjResult.3 Tcl_ResetResult.3 
MLINKS+= Tcl_SetVar.3 Tcl_SetVar2.3 
MLINKS+= Tcl_SetVar.3 Tcl_GetVar.3 
MLINKS+= Tcl_SetVar.3 Tcl_GetVar2.3 
MLINKS+= Tcl_SetVar.3 Tcl_UnsetVar.3 
MLINKS+= Tcl_SetVar.3 Tcl_UnsetVar2.3 
MLINKS+= Tcl_SplitList.3 Tcl_Merge.3 
MLINKS+= Tcl_SplitList.3 Tcl_ScanElement.3 
MLINKS+= Tcl_SplitList.3 Tcl_ConvertElement.3 
MLINKS+= Tcl_SplitPath.3 Tcl_JoinPath.3 
MLINKS+= Tcl_SplitPath.3 Tcl_GetPathType.3 
MLINKS+= Tcl_NewStringObj.3 Tcl_SetStringObj.3 
MLINKS+= Tcl_NewStringObj.3 Tcl_GetStringFromObj.3 
MLINKS+= Tcl_NewStringObj.3 Tcl_AppendToObj.3 
MLINKS+= Tcl_NewStringObj.3 Tcl_AppendStringsToObj.3 
MLINKS+= Tcl_NewStringObj.3 Tcl_SetObjLength.3 
MLINKS+= Tcl_NewStringObj.3 TclConcatObj.3 
MLINKS+= Tcl_TraceVar.3 Tcl_TraceVar2.3 
MLINKS+= Tcl_TraceVar.3 Tcl_UntraceVar.3 
MLINKS+= Tcl_TraceVar.3 Tcl_UntraceVar2.3 
MLINKS+= Tcl_TraceVar.3 Tcl_VarTraceInfo.3 
MLINKS+= Tcl_TraceVar.3 Tcl_VarTraceInfo2.3 
MLINKS+= Tcl_UpVar.3 Tcl_UpVar2.3 

# Ugly, I know, but what else can I do?!?
TCLMAN+= Tcl_AddObjErrorInfo.3 AddErrInfo.3
TCLMAN+= Tcl_Alloc.3 Alloc.3
TCLMAN+= Tcl_AllowExceptions.3 AllowExc.3
TCLMAN+= Tcl_AppInit.3 AppInit.3
TCLMAN+= Tcl_GetAssocData.3 AssocData.3
TCLMAN+= Tcl_AsyncCreate.3 Async.3
TCLMAN+= Tcl_BackgroundError.3 BackgdErr.3
TCLMAN+= Tcl_Backslash.3 Backslash.3
TCLMAN+= Tcl_NewBooleanObj.3 BoolObj.3
TCLMAN+= Tcl_CallWhenDeleted.3 CallDel.3
TCLMAN+= Tcl_CommandComplete.3 CmdCmplt.3
TCLMAN+= Tcl_Concat.3 Concat.3
TCLMAN+= Tcl_CreateChannel.3 CrtChannel.3
TCLMAN+= Tcl_CreateChannelHandler.3 CrtChnlHdlr.3
TCLMAN+= Tcl_CreateCloseHandler.3 CrtCloseHdlr.3
TCLMAN+= Tcl_CreateCommand.3 CrtCommand.3
TCLMAN+= Tcl_CreateFileHandler.3 CrtFileHdlr.3
TCLMAN+= Tcl_CreateInterp.3 CrtInterp.3
TCLMAN+= Tcl_CreateMathFunc.3 CrtMathFnc.3
TCLMAN+= Tcl_CreateModalTimeout.3 CrtModalTmt.3
TCLMAN+= Tcl_CreateObjCommand.3 CrtObjCmd.3
TCLMAN+= Tcl_IsSafe.3 CrtSlave.3
TCLMAN+= Tcl_CreateTimerHandler.3 CrtTimerHdlr.3
TCLMAN+= Tcl_CreateTrace.3 CrtTrace.3
TCLMAN+= Tcl_DStringInit.3 DString.3
TCLMAN+= Tcl_DetachPids.3 DetachPids.3
TCLMAN+= Tcl_DoOneEvent.3 DoOneEvent.3
TCLMAN+= Tcl_DoWhenIdle.3 DoWhenIdle.3
TCLMAN+= Tcl_NewDoubleObj.3 DoubleObj.3
TCLMAN+= Tcl_Eval.3 Eval.3
TCLMAN+= Tcl_EvalObj.3 EvalObj.3
TCLMAN+= Tcl_Exit.3 Exit.3
TCLMAN+= Tcl_ExprLong.3 ExprLong.3
TCLMAN+= Tcl_ExprLongObj.3 ExprLongObj.3
TCLMAN+= Tcl_FindExecutable.3 FindExec.3
TCLMAN+= Tcl_GetFile.3 GetFile.3
TCLMAN+= Tcl_GetIndexFromObj.3 GetIndex.3
TCLMAN+= Tcl_GetInt.3 GetInt.3
TCLMAN+= Tcl_GetOpenFile.3 GetOpnFl.3
TCLMAN+= Tcl_GetStdChannel.3 GetStdChan.3
TCLMAN+= Tcl_InitHashTable.3 Hash.3
TCLMAN+= Tcl_NewIntObj.3 IntObj.3
TCLMAN+= Tcl_Interp.3 Interp.3
TCLMAN+= Tcl_LinkVar.3 LinkVar.3
TCLMAN+= Tcl_ListObjAppendList.3 ListObj.3
TCLMAN+= Tcl_CreateEventSource.3 Notifier.3
TCLMAN+= Tcl_ObjSetVar2.3 ObjSetVar.3
TCLMAN+= Tcl_NewObj.3 Object.3
TCLMAN+= Tcl_RegisterObjType.3 ObjectType.3
TCLMAN+= Tcl_OpenFileChannel.3 OpenFileChnl.3
TCLMAN+= Tcl_OpenTcpClient.3 OpenTcp.3
TCLMAN+= Tcl_PkgRequire.3 PkgRequire.3
TCLMAN+= Tcl_Preserve.3 Preserve.3
TCLMAN+= Tcl_PrintDouble.3 PrintDbl.3
TCLMAN+= Tcl_RecordAndEvalObj.3 RecEvalObj.3
TCLMAN+= Tcl_RecordAndEval.3 RecordEval.3
TCLMAN+= Tcl_RegExpMatch.3 RegExp.3
TCLMAN+= Tcl_SetErrno.3 SetErrno.3
TCLMAN+= Tcl_SetRecursionLimit.3 SetRecLmt.3
TCLMAN+= Tcl_SetObjResult.3 SetResult.3
TCLMAN+= Tcl_SetVar.3 SetVar.3
TCLMAN+= Tcl_Sleep.3 Sleep.3
TCLMAN+= Tcl_SplitList.3 SplitList.3
TCLMAN+= Tcl_SplitPath.3 SplitPath.3
TCLMAN+= Tcl_StaticPackage.3 StaticPkg.3
TCLMAN+= Tcl_StringMatch.3 StrMatch.3
TCLMAN+= Tcl_NewStringObj.3 StringObj.3
TCLMAN+= Tcl_Main.3 Tcl_Main.3
TCLMAN+= Tcl_TraceVar.3 TraceVar.3
TCLMAN+= Tcl_TranslateFileName.3 Translate.3
TCLMAN+= Tcl_UpVar.3 UpVar.3
TCLMAN+= Tcl_WrongNumArgs.3 WrongNumArgs.3

_tcltmp=
_tclprev=
.for _tclpage in ${TCLMAN}
.if !empty(_tclprev)
_tcltmp:= ${_tcltmp} ${_tclprev}	# assign with expansion
${_tclprev}: ${TCLDIST}/doc/${_tclpage}
	cp -f ${.ALLSRC} ${.TARGET}
_tclprev=
.else
_tclprev=${_tclpage}
.endif
.endfor
CLEANFILES+= ${_tcltmp}

.include <bsd.lib.mk>
OpenPOWER on IntegriCloud