/ Hex Artifact Content
Login

Artifact 5c3b0bdfb66c20d55ebff59d1718864461570ca9:


0000: 23 20 4d 61 6b 65 66 69 6c 65 2e 69 6e 20 2d 2d  # Makefile.in --
0010: 0a 23 0a 23 09 54 68 69 73 20 66 69 6c 65 20 69  .#.#.This file i
0020: 73 20 61 20 4d 61 6b 65 66 69 6c 65 20 66 6f 72  s a Makefile for
0030: 20 53 61 6d 70 6c 65 20 54 45 41 20 45 78 74 65   Sample TEA Exte
0040: 6e 73 69 6f 6e 2e 20 20 49 66 20 69 74 20 68 61  nsion.  If it ha
0050: 73 20 74 68 65 20 6e 61 6d 65 0a 23 09 22 4d 61  s the name.#."Ma
0060: 6b 65 66 69 6c 65 2e 69 6e 22 20 74 68 65 6e 20  kefile.in" then 
0070: 69 74 20 69 73 20 61 20 74 65 6d 70 6c 61 74 65  it is a template
0080: 20 66 6f 72 20 61 20 4d 61 6b 65 66 69 6c 65 3b   for a Makefile;
0090: 20 20 74 6f 20 67 65 6e 65 72 61 74 65 20 74 68    to generate th
00a0: 65 0a 23 09 61 63 74 75 61 6c 20 4d 61 6b 65 66  e.#.actual Makef
00b0: 69 6c 65 2c 20 72 75 6e 20 22 2e 2f 63 6f 6e 66  ile, run "./conf
00c0: 69 67 75 72 65 22 2c 20 77 68 69 63 68 20 69 73  igure", which is
00d0: 20 61 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e   a configuration
00e0: 20 73 63 72 69 70 74 0a 23 09 67 65 6e 65 72 61   script.#.genera
00f0: 74 65 64 20 62 79 20 74 68 65 20 22 61 75 74 6f  ted by the "auto
0100: 63 6f 6e 66 22 20 70 72 6f 67 72 61 6d 20 28 63  conf" program (c
0110: 6f 6e 73 74 72 75 63 74 73 20 6c 69 6b 65 20 22  onstructs like "
0120: 40 66 6f 6f 40 22 20 77 69 6c 6c 20 67 65 74 0a  @foo@" will get.
0130: 23 09 72 65 70 6c 61 63 65 64 20 69 6e 20 74 68  #.replaced in th
0140: 65 20 61 63 74 75 61 6c 20 4d 61 6b 65 66 69 6c  e actual Makefil
0150: 65 2e 0a 23 0a 23 20 43 6f 70 79 72 69 67 68 74  e..#.# Copyright
0160: 20 28 63 29 20 31 39 39 39 20 53 63 72 69 70 74   (c) 1999 Script
0170: 69 63 73 20 43 6f 72 70 6f 72 61 74 69 6f 6e 2e  ics Corporation.
0180: 0a 23 20 43 6f 70 79 72 69 67 68 74 20 28 63 29  .# Copyright (c)
0190: 20 32 30 30 32 2d 32 30 30 35 20 41 63 74 69 76   2002-2005 Activ
01a0: 65 53 74 61 74 65 20 43 6f 72 70 6f 72 61 74 69  eState Corporati
01b0: 6f 6e 2e 0a 23 0a 23 20 53 65 65 20 74 68 65 20  on..#.# See the 
01c0: 66 69 6c 65 20 22 6c 69 63 65 6e 73 65 2e 74 65  file "license.te
01d0: 72 6d 73 22 20 66 6f 72 20 69 6e 66 6f 72 6d 61  rms" for informa
01e0: 74 69 6f 6e 20 6f 6e 20 75 73 61 67 65 20 61 6e  tion on usage an
01f0: 64 20 72 65 64 69 73 74 72 69 62 75 74 69 6f 6e  d redistribution
0200: 0a 23 20 6f 66 20 74 68 69 73 20 66 69 6c 65 2c  .# of this file,
0210: 20 61 6e 64 20 66 6f 72 20 61 20 44 49 53 43 4c   and for a DISCL
0220: 41 49 4d 45 52 20 4f 46 20 41 4c 4c 20 57 41 52  AIMER OF ALL WAR
0230: 52 41 4e 54 49 45 53 2e 0a 23 0a 23 20 52 43 53  RANTIES..#.# RCS
0240: 3a 20 40 28 23 29 20 24 49 64 3a 20 4d 61 6b 65  : @(#) $Id: Make
0250: 66 69 6c 65 2e 69 6e 2c 76 20 31 2e 35 39 20 32  file.in,v 1.59 2
0260: 30 30 35 2f 30 37 2f 32 36 20 31 39 3a 31 37 3a  005/07/26 19:17:
0270: 30 32 20 6d 64 65 6a 6f 6e 67 20 45 78 70 20 24  02 mdejong Exp $
0280: 0a 0a 23 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ..#=============
0290: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
02a0: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
02b0: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
02c0: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 0a 23 20 41 64  ===========.# Ad
02d0: 64 20 61 64 64 69 74 69 6f 6e 61 6c 20 6c 69 6e  d additional lin
02e0: 65 73 20 74 6f 20 68 61 6e 64 6c 65 20 61 6e 79  es to handle any
02f0: 20 61 64 64 69 74 69 6f 6e 61 6c 20 41 43 5f 53   additional AC_S
0300: 55 42 53 54 20 63 61 73 65 73 20 74 68 61 74 0a  UBST cases that.
0310: 23 20 68 61 76 65 20 62 65 65 6e 20 61 64 64 65  # have been adde
0320: 64 20 69 6e 20 61 20 63 75 73 74 6f 6d 69 7a 65  d in a customize
0330: 64 20 63 6f 6e 66 69 67 75 72 65 20 73 63 72 69  d configure scri
0340: 70 74 2e 0a 23 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  pt..#===========
0350: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
0360: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
0370: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
0380: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 0a 0a 23  =============..#
0390: 53 41 4d 50 4c 45 5f 4e 45 57 5f 56 41 52 09 3d  SAMPLE_NEW_VAR.=
03a0: 20 40 53 41 4d 50 4c 45 5f 4e 45 57 5f 56 41 52   @SAMPLE_NEW_VAR
03b0: 40 0a 0a 23 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  @..#============
03c0: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
03d0: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
03e0: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
03f0: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 0a 23 20 4e  ============.# N
0400: 6f 74 68 69 6e 67 20 6f 66 20 74 68 65 20 76 61  othing of the va
0410: 72 69 61 62 6c 65 73 20 62 65 6c 6f 77 20 74 68  riables below th
0420: 69 73 20 6c 69 6e 65 20 73 68 6f 75 6c 64 20 6e  is line should n
0430: 65 65 64 20 74 6f 20 62 65 20 63 68 61 6e 67 65  eed to be change
0440: 64 2e 0a 23 20 50 6c 65 61 73 65 20 63 68 65 63  d..# Please chec
0450: 6b 20 74 68 65 20 54 41 52 47 45 54 53 20 73 65  k the TARGETS se
0460: 63 74 69 6f 6e 20 62 65 6c 6f 77 20 74 6f 20 6d  ction below to m
0470: 61 6b 65 20 73 75 72 65 20 74 68 65 20 6d 61 6b  ake sure the mak
0480: 65 20 74 61 72 67 65 74 73 0a 23 20 61 72 65 20  e targets.# are 
0490: 63 6f 72 72 65 63 74 2e 0a 23 3d 3d 3d 3d 3d 3d  correct..#======
04a0: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
04b0: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
04c0: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
04d0: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
04e0: 3d 3d 0a 0a 23 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ==..#===========
04f0: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
0500: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
0510: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
0520: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 0a 23 20  =============.# 
0530: 54 68 65 20 6e 61 6d 65 73 20 6f 66 20 74 68 65  The names of the
0540: 20 73 6f 75 72 63 65 20 66 69 6c 65 73 20 69 73   source files is
0550: 20 64 65 66 69 6e 65 64 20 69 6e 20 74 68 65 20   defined in the 
0560: 63 6f 6e 66 69 67 75 72 65 20 73 63 72 69 70 74  configure script
0570: 2e 0a 23 20 54 68 65 20 6f 62 6a 65 63 74 20 66  ..# The object f
0580: 69 6c 65 73 20 61 72 65 20 75 73 65 64 20 66 6f  iles are used fo
0590: 72 20 6c 69 6e 6b 69 6e 67 20 69 6e 74 6f 20 74  r linking into t
05a0: 68 65 20 66 69 6e 61 6c 20 6c 69 62 72 61 72 79  he final library
05b0: 2e 0a 23 20 54 68 69 73 20 77 69 6c 6c 20 62 65  ..# This will be
05c0: 20 75 73 65 64 20 77 68 65 6e 20 61 20 64 69 73   used when a dis
05d0: 74 20 74 61 72 67 65 74 20 69 73 20 61 64 64 65  t target is adde
05e0: 64 20 74 6f 20 74 68 65 20 4d 61 6b 65 66 69 6c  d to the Makefil
05f0: 65 2e 0a 23 20 49 74 20 69 73 20 6e 6f 74 20 69  e..# It is not i
0600: 6d 70 6f 72 74 61 6e 74 20 74 6f 20 73 70 65 63  mportant to spec
0610: 69 66 79 20 74 68 65 20 64 69 72 65 63 74 6f 72  ify the director
0620: 79 2c 20 61 73 20 6c 6f 6e 67 20 61 73 20 69 74  y, as long as it
0630: 20 69 73 20 74 68 65 0a 23 20 24 28 73 72 63 64   is the.# $(srcd
0640: 69 72 29 20 6f 72 20 69 6e 20 74 68 65 20 67 65  ir) or in the ge
0650: 6e 65 72 69 63 2c 20 77 69 6e 20 6f 72 20 75 6e  neric, win or un
0660: 69 78 20 73 75 62 64 69 72 65 63 74 6f 72 79 2e  ix subdirectory.
0670: 0a 23 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  .#==============
0680: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
0690: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
06a0: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
06b0: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 0a 0a 50 4b 47 5f  ==========..PKG_
06c0: 53 4f 55 52 43 45 53 09 3d 20 40 50 4b 47 5f 53  SOURCES.= @PKG_S
06d0: 4f 55 52 43 45 53 40 0a 50 4b 47 5f 4f 42 4a 45  OURCES@.PKG_OBJE
06e0: 43 54 53 09 3d 20 40 50 4b 47 5f 4f 42 4a 45 43  CTS.= @PKG_OBJEC
06f0: 54 53 40 0a 0a 50 4b 47 5f 53 54 55 42 5f 53 4f  TS@..PKG_STUB_SO
0700: 55 52 43 45 53 20 3d 20 40 50 4b 47 5f 53 54 55  URCES = @PKG_STU
0710: 42 5f 53 4f 55 52 43 45 53 40 0a 50 4b 47 5f 53  B_SOURCES@.PKG_S
0720: 54 55 42 5f 4f 42 4a 45 43 54 53 20 3d 20 40 50  TUB_OBJECTS = @P
0730: 4b 47 5f 53 54 55 42 5f 4f 42 4a 45 43 54 53 40  KG_STUB_OBJECTS@
0740: 0a 0a 23 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ..#=============
0750: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
0760: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
0770: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
0780: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 0a 23 20 50 4b  ===========.# PK
0790: 47 5f 54 43 4c 5f 53 4f 55 52 43 45 53 20 69 64  G_TCL_SOURCES id
07a0: 65 6e 74 69 66 69 65 73 20 54 63 6c 20 72 75 6e  entifies Tcl run
07b0: 74 69 6d 65 20 66 69 6c 65 73 20 74 68 61 74 20  time files that 
07c0: 61 72 65 20 61 73 73 6f 63 69 61 74 65 64 20 77  are associated w
07d0: 69 74 68 0a 23 20 74 68 69 73 20 70 61 63 6b 61  ith.# this packa
07e0: 67 65 20 74 68 61 74 20 6e 65 65 64 20 74 6f 20  ge that need to 
07f0: 62 65 20 69 6e 73 74 61 6c 6c 65 64 2c 20 69 66  be installed, if
0800: 20 61 6e 79 2e 0a 23 3d 3d 3d 3d 3d 3d 3d 3d 3d   any..#=========
0810: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
0820: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
0830: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
0840: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 0a  ===============.
0850: 0a 50 4b 47 5f 54 43 4c 5f 53 4f 55 52 43 45 53  .PKG_TCL_SOURCES
0860: 20 3d 20 40 50 4b 47 5f 54 43 4c 5f 53 4f 55 52   = @PKG_TCL_SOUR
0870: 43 45 53 40 0a 0a 23 3d 3d 3d 3d 3d 3d 3d 3d 3d  CES@..#=========
0880: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
0890: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
08a0: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
08b0: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 0a  ===============.
08c0: 23 20 54 68 69 73 20 69 73 20 61 20 6c 69 73 74  # This is a list
08d0: 20 6f 66 20 70 75 62 6c 69 63 20 68 65 61 64 65   of public heade
08e0: 72 20 66 69 6c 65 73 20 74 6f 20 62 65 20 69 6e  r files to be in
08f0: 73 74 61 6c 6c 65 64 2c 20 69 66 20 61 6e 79 2e  stalled, if any.
0900: 0a 23 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  .#==============
0910: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
0920: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
0930: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
0940: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 0a 0a 50 4b 47 5f  ==========..PKG_
0950: 48 45 41 44 45 52 53 09 3d 20 40 50 4b 47 5f 48  HEADERS.= @PKG_H
0960: 45 41 44 45 52 53 40 0a 0a 23 3d 3d 3d 3d 3d 3d  EADERS@..#======
0970: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
0980: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
0990: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
09a0: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
09b0: 3d 3d 0a 23 20 22 50 4b 47 5f 4c 49 42 5f 46 49  ==.# "PKG_LIB_FI
09c0: 4c 45 22 20 72 65 66 65 72 73 20 74 6f 20 74 68  LE" refers to th
09d0: 65 20 6c 69 62 72 61 72 79 20 28 64 79 6e 61 6d  e library (dynam
09e0: 69 63 20 6f 72 20 73 74 61 74 69 63 20 61 73 20  ic or static as 
09f0: 70 65 72 0a 23 20 63 6f 6e 66 69 67 75 72 61 74  per.# configurat
0a00: 69 6f 6e 20 6f 70 74 69 6f 6e 73 29 20 63 6f 6d  ion options) com
0a10: 70 6f 73 65 64 20 6f 66 20 74 68 65 20 6e 61 6d  posed of the nam
0a20: 65 64 20 6f 62 6a 65 63 74 73 2e 0a 23 3d 3d 3d  ed objects..#===
0a30: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
0a40: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
0a50: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
0a60: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
0a70: 3d 3d 3d 3d 3d 0a 0a 50 4b 47 5f 4c 49 42 5f 46  =====..PKG_LIB_F
0a80: 49 4c 45 09 3d 20 40 50 4b 47 5f 4c 49 42 5f 46  ILE.= @PKG_LIB_F
0a90: 49 4c 45 40 0a 50 4b 47 5f 53 54 55 42 5f 4c 49  ILE@.PKG_STUB_LI
0aa0: 42 5f 46 49 4c 45 20 3d 20 40 50 4b 47 5f 53 54  B_FILE = @PKG_ST
0ab0: 55 42 5f 4c 49 42 5f 46 49 4c 45 40 0a 0a 6c 69  UB_LIB_FILE@..li
0ac0: 62 5f 42 49 4e 41 52 49 45 53 09 3d 20 24 28 50  b_BINARIES.= $(P
0ad0: 4b 47 5f 4c 49 42 5f 46 49 4c 45 29 0a 42 49 4e  KG_LIB_FILE).BIN
0ae0: 41 52 49 45 53 09 3d 20 24 28 6c 69 62 5f 42 49  ARIES.= $(lib_BI
0af0: 4e 41 52 49 45 53 29 0a 0a 53 48 45 4c 4c 09 09  NARIES)..SHELL..
0b00: 3d 20 40 53 48 45 4c 4c 40 0a 0a 73 72 63 64 69  = @SHELL@..srcdi
0b10: 72 09 09 3d 20 40 73 72 63 64 69 72 40 0a 70 72  r..= @srcdir@.pr
0b20: 65 66 69 78 09 09 3d 20 40 70 72 65 66 69 78 40  efix..= @prefix@
0b30: 0a 65 78 65 63 5f 70 72 65 66 69 78 09 3d 20 40  .exec_prefix.= @
0b40: 65 78 65 63 5f 70 72 65 66 69 78 40 0a 0a 62 69  exec_prefix@..bi
0b50: 6e 64 69 72 09 09 3d 20 40 62 69 6e 64 69 72 40  ndir..= @bindir@
0b60: 0a 6c 69 62 64 69 72 09 09 3d 20 40 6c 69 62 64  .libdir..= @libd
0b70: 69 72 40 0a 64 61 74 61 64 69 72 09 09 3d 20 40  ir@.datadir..= @
0b80: 64 61 74 61 64 69 72 40 0a 6d 61 6e 64 69 72 09  datadir@.mandir.
0b90: 09 3d 20 40 6d 61 6e 64 69 72 40 0a 69 6e 63 6c  .= @mandir@.incl
0ba0: 75 64 65 64 69 72 09 3d 20 40 69 6e 63 6c 75 64  udedir.= @includ
0bb0: 65 64 69 72 40 0a 0a 44 45 53 54 44 49 52 09 09  edir@..DESTDIR..
0bc0: 3d 0a 0a 50 4b 47 5f 44 49 52 09 09 3d 20 24 28  =..PKG_DIR..= $(
0bd0: 50 41 43 4b 41 47 45 5f 4e 41 4d 45 29 24 28 50  PACKAGE_NAME)$(P
0be0: 41 43 4b 41 47 45 5f 56 45 52 53 49 4f 4e 29 0a  ACKAGE_VERSION).
0bf0: 70 6b 67 64 61 74 61 64 69 72 09 3d 20 24 28 64  pkgdatadir.= $(d
0c00: 61 74 61 64 69 72 29 2f 24 28 50 4b 47 5f 44 49  atadir)/$(PKG_DI
0c10: 52 29 0a 70 6b 67 6c 69 62 64 69 72 09 3d 20 24  R).pkglibdir.= $
0c20: 28 6c 69 62 64 69 72 29 2f 24 28 50 4b 47 5f 44  (libdir)/$(PKG_D
0c30: 49 52 29 0a 70 6b 67 69 6e 63 6c 75 64 65 64 69  IR).pkgincludedi
0c40: 72 09 3d 20 24 28 69 6e 63 6c 75 64 65 64 69 72  r.= $(includedir
0c50: 29 2f 24 28 50 4b 47 5f 44 49 52 29 0a 0a 74 6f  )/$(PKG_DIR)..to
0c60: 70 5f 62 75 69 6c 64 64 69 72 09 3d 20 2e 0a 0a  p_builddir.= ...
0c70: 49 4e 53 54 41 4c 4c 09 09 3d 20 40 49 4e 53 54  INSTALL..= @INST
0c80: 41 4c 4c 40 0a 49 4e 53 54 41 4c 4c 5f 50 52 4f  ALL@.INSTALL_PRO
0c90: 47 52 41 4d 09 3d 20 40 49 4e 53 54 41 4c 4c 5f  GRAM.= @INSTALL_
0ca0: 50 52 4f 47 52 41 4d 40 0a 49 4e 53 54 41 4c 4c  PROGRAM@.INSTALL
0cb0: 5f 44 41 54 41 09 3d 20 40 49 4e 53 54 41 4c 4c  _DATA.= @INSTALL
0cc0: 5f 44 41 54 41 40 0a 49 4e 53 54 41 4c 4c 5f 53  _DATA@.INSTALL_S
0cd0: 43 52 49 50 54 09 3d 20 40 49 4e 53 54 41 4c 4c  CRIPT.= @INSTALL
0ce0: 5f 53 43 52 49 50 54 40 0a 0a 50 41 43 4b 41 47  _SCRIPT@..PACKAG
0cf0: 45 5f 4e 41 4d 45 09 3d 20 40 50 41 43 4b 41 47  E_NAME.= @PACKAG
0d00: 45 5f 4e 41 4d 45 40 0a 50 41 43 4b 41 47 45 5f  E_NAME@.PACKAGE_
0d10: 56 45 52 53 49 4f 4e 09 3d 20 40 50 41 43 4b 41  VERSION.= @PACKA
0d20: 47 45 5f 56 45 52 53 49 4f 4e 40 0a 43 43 09 09  GE_VERSION@.CC..
0d30: 3d 20 40 43 43 40 0a 43 46 4c 41 47 53 5f 44 45  = @CC@.CFLAGS_DE
0d40: 46 41 55 4c 54 09 3d 20 40 43 46 4c 41 47 53 5f  FAULT.= @CFLAGS_
0d50: 44 45 46 41 55 4c 54 40 0a 43 46 4c 41 47 53 5f  DEFAULT@.CFLAGS_
0d60: 57 41 52 4e 49 4e 47 09 3d 20 40 43 46 4c 41 47  WARNING.= @CFLAG
0d70: 53 5f 57 41 52 4e 49 4e 47 40 0a 43 4c 45 41 4e  S_WARNING@.CLEAN
0d80: 46 49 4c 45 53 09 3d 20 40 43 4c 45 41 4e 46 49  FILES.= @CLEANFI
0d90: 4c 45 53 40 0a 45 58 45 45 58 54 09 09 3d 20 40  LES@.EXEEXT..= @
0da0: 45 58 45 45 58 54 40 0a 4c 44 46 4c 41 47 53 5f  EXEEXT@.LDFLAGS_
0db0: 44 45 46 41 55 4c 54 09 3d 20 40 4c 44 46 4c 41  DEFAULT.= @LDFLA
0dc0: 47 53 5f 44 45 46 41 55 4c 54 40 0a 4d 41 4b 45  GS_DEFAULT@.MAKE
0dd0: 5f 4c 49 42 09 3d 20 40 4d 41 4b 45 5f 4c 49 42  _LIB.= @MAKE_LIB
0de0: 40 0a 4d 41 4b 45 5f 53 48 41 52 45 44 5f 4c 49  @.MAKE_SHARED_LI
0df0: 42 09 3d 20 40 4d 41 4b 45 5f 53 48 41 52 45 44  B.= @MAKE_SHARED
0e00: 5f 4c 49 42 40 0a 4d 41 4b 45 5f 53 54 41 54 49  _LIB@.MAKE_STATI
0e10: 43 5f 4c 49 42 09 3d 20 40 4d 41 4b 45 5f 53 54  C_LIB.= @MAKE_ST
0e20: 41 54 49 43 5f 4c 49 42 40 0a 4d 41 4b 45 5f 53  ATIC_LIB@.MAKE_S
0e30: 54 55 42 5f 4c 49 42 09 3d 20 40 4d 41 4b 45 5f  TUB_LIB.= @MAKE_
0e40: 53 54 55 42 5f 4c 49 42 40 0a 4f 42 4a 45 58 54  STUB_LIB@.OBJEXT
0e50: 09 09 3d 20 40 4f 42 4a 45 58 54 40 0a 52 41 4e  ..= @OBJEXT@.RAN
0e60: 4c 49 42 09 09 3d 20 40 52 41 4e 4c 49 42 40 0a  LIB..= @RANLIB@.
0e70: 52 41 4e 4c 49 42 5f 53 54 55 42 09 3d 20 40 52  RANLIB_STUB.= @R
0e80: 41 4e 4c 49 42 5f 53 54 55 42 40 0a 53 48 4c 49  ANLIB_STUB@.SHLI
0e90: 42 5f 43 46 4c 41 47 53 09 3d 20 40 53 48 4c 49  B_CFLAGS.= @SHLI
0ea0: 42 5f 43 46 4c 41 47 53 40 0a 53 48 4c 49 42 5f  B_CFLAGS@.SHLIB_
0eb0: 4c 44 09 3d 20 40 53 48 4c 49 42 5f 4c 44 40 0a  LD.= @SHLIB_LD@.
0ec0: 53 48 4c 49 42 5f 4c 44 5f 4c 49 42 53 09 3d 20  SHLIB_LD_LIBS.= 
0ed0: 40 53 48 4c 49 42 5f 4c 44 5f 4c 49 42 53 40 0a  @SHLIB_LD_LIBS@.
0ee0: 53 54 4c 49 42 5f 4c 44 09 3d 20 40 53 54 4c 49  STLIB_LD.= @STLI
0ef0: 42 5f 4c 44 40 0a 23 54 43 4c 5f 44 45 46 53 09  B_LD@.#TCL_DEFS.
0f00: 3d 20 40 54 43 4c 5f 44 45 46 53 40 0a 54 43 4c  = @TCL_DEFS@.TCL
0f10: 5f 42 49 4e 5f 44 49 52 09 3d 20 40 54 43 4c 5f  _BIN_DIR.= @TCL_
0f20: 42 49 4e 5f 44 49 52 40 0a 54 43 4c 5f 53 52 43  BIN_DIR@.TCL_SRC
0f30: 5f 44 49 52 09 3d 20 40 54 43 4c 5f 53 52 43 5f  _DIR.= @TCL_SRC_
0f40: 44 49 52 40 0a 23 54 4b 5f 42 49 4e 5f 44 49 52  DIR@.#TK_BIN_DIR
0f50: 09 3d 20 40 54 4b 5f 42 49 4e 5f 44 49 52 40 0a  .= @TK_BIN_DIR@.
0f60: 23 54 4b 5f 53 52 43 5f 44 49 52 09 3d 20 40 54  #TK_SRC_DIR.= @T
0f70: 4b 5f 53 52 43 5f 44 49 52 40 0a 0a 23 20 54 68  K_SRC_DIR@..# Th
0f80: 69 73 20 69 73 20 6e 6f 20 6c 6f 6e 67 65 72 20  is is no longer 
0f90: 6e 65 63 65 73 73 61 72 79 20 65 76 65 6e 20 66  necessary even f
0fa0: 6f 72 20 70 61 63 6b 61 67 65 73 20 74 68 61 74  or packages that
0fb0: 20 75 73 65 20 70 72 69 76 61 74 65 20 54 63 6c   use private Tcl
0fc0: 20 68 65 61 64 65 72 73 0a 23 54 43 4c 5f 54 4f   headers.#TCL_TO
0fd0: 50 5f 44 49 52 5f 4e 41 54 49 56 45 09 3d 20 40  P_DIR_NATIVE.= @
0fe0: 54 43 4c 5f 54 4f 50 5f 44 49 52 5f 4e 41 54 49  TCL_TOP_DIR_NATI
0ff0: 56 45 40 0a 23 20 4e 6f 74 20 75 73 65 64 2c 20  VE@.# Not used, 
1000: 62 75 74 20 72 65 74 61 69 6e 65 64 20 66 6f 72  but retained for
1010: 20 72 65 66 65 72 65 6e 63 65 20 6f 66 20 77 68   reference of wh
1020: 61 74 20 6c 69 62 73 20 54 63 6c 20 72 65 71 75  at libs Tcl requ
1030: 69 72 65 64 0a 23 54 43 4c 5f 4c 49 42 53 09 3d  ired.#TCL_LIBS.=
1040: 20 40 54 43 4c 5f 4c 49 42 53 40 0a 0a 23 3d 3d   @TCL_LIBS@..#==
1050: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
1060: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
1070: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
1080: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
1090: 3d 3d 3d 3d 3d 3d 0a 23 20 54 43 4c 4c 49 42 50  ======.# TCLLIBP
10a0: 41 54 48 20 73 65 65 64 73 20 74 68 65 20 61 75  ATH seeds the au
10b0: 74 6f 5f 70 61 74 68 20 69 6e 20 54 63 6c 27 73  to_path in Tcl's
10c0: 20 69 6e 69 74 2e 74 63 6c 20 73 6f 20 77 65 20   init.tcl so we 
10d0: 63 61 6e 20 74 65 73 74 20 6f 75 72 0a 23 20 70  can test our.# p
10e0: 61 63 6b 61 67 65 20 77 69 74 68 6f 75 74 20 69  ackage without i
10f0: 6e 73 74 61 6c 6c 69 6e 67 2e 20 20 54 68 65 20  nstalling.  The 
1100: 6f 74 68 65 72 20 65 6e 76 69 72 6f 6e 6d 65 6e  other environmen
1110: 74 20 76 61 72 69 61 62 6c 65 73 20 61 6c 6c 6f  t variables allo
1120: 77 20 75 73 0a 23 20 74 6f 20 74 65 73 74 20 61  w us.# to test a
1130: 67 61 69 6e 73 74 20 61 6e 20 75 6e 69 6e 73 74  gainst an uninst
1140: 61 6c 6c 65 64 20 54 63 6c 2e 20 20 41 64 64 20  alled Tcl.  Add 
1150: 73 70 65 63 69 61 6c 20 65 6e 76 20 76 61 72 73  special env vars
1160: 20 74 68 61 74 20 79 6f 75 0a 23 20 72 65 71 75   that you.# requ
1170: 69 72 65 20 66 6f 72 20 74 65 73 74 69 6e 67 20  ire for testing 
1180: 68 65 72 65 20 28 6c 69 6b 65 20 54 43 4c 58 5f  here (like TCLX_
1190: 4c 49 42 52 41 52 59 29 2e 0a 23 3d 3d 3d 3d 3d  LIBRARY)..#=====
11a0: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
11b0: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
11c0: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
11d0: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
11e0: 3d 3d 3d 0a 0a 45 58 54 52 41 5f 50 41 54 48 09  ===..EXTRA_PATH.
11f0: 3d 20 24 28 74 6f 70 5f 62 75 69 6c 64 64 69 72  = $(top_builddir
1200: 29 3a 24 28 54 43 4c 5f 42 49 4e 5f 44 49 52 29  ):$(TCL_BIN_DIR)
1210: 0a 23 45 58 54 52 41 5f 50 41 54 48 09 3d 20 24  .#EXTRA_PATH.= $
1220: 28 74 6f 70 5f 62 75 69 6c 64 64 69 72 29 3a 24  (top_builddir):$
1230: 28 54 43 4c 5f 42 49 4e 5f 44 49 52 29 3a 24 28  (TCL_BIN_DIR):$(
1240: 54 4b 5f 42 49 4e 5f 44 49 52 29 0a 54 43 4c 4c  TK_BIN_DIR).TCLL
1250: 49 42 50 41 54 48 09 3d 20 24 28 74 6f 70 5f 62  IBPATH.= $(top_b
1260: 75 69 6c 64 64 69 72 29 0a 54 43 4c 53 48 5f 45  uilddir).TCLSH_E
1270: 4e 56 09 3d 20 54 43 4c 5f 4c 49 42 52 41 52 59  NV.= TCL_LIBRARY
1280: 3d 60 40 43 59 47 50 41 54 48 40 20 24 28 54 43  =`@CYGPATH@ $(TC
1290: 4c 5f 53 52 43 5f 44 49 52 29 2f 6c 69 62 72 61  L_SRC_DIR)/libra
12a0: 72 79 60 20 5c 0a 09 09 20 20 40 4c 44 5f 4c 49  ry` \...  @LD_LI
12b0: 42 52 41 52 59 5f 50 41 54 48 5f 56 41 52 40 3d  BRARY_PATH_VAR@=
12c0: 22 24 28 45 58 54 52 41 5f 50 41 54 48 29 3a 24  "$(EXTRA_PATH):$
12d0: 28 40 4c 44 5f 4c 49 42 52 41 52 59 5f 50 41 54  (@LD_LIBRARY_PAT
12e0: 48 5f 56 41 52 40 29 22 20 5c 0a 09 09 20 20 50  H_VAR@)" \...  P
12f0: 41 54 48 3d 22 24 28 45 58 54 52 41 5f 50 41 54  ATH="$(EXTRA_PAT
1300: 48 29 3a 24 28 50 41 54 48 29 22 20 5c 0a 09 09  H):$(PATH)" \...
1310: 20 20 54 43 4c 4c 49 42 50 41 54 48 3d 22 24 28    TCLLIBPATH="$(
1320: 54 43 4c 4c 49 42 50 41 54 48 29 22 0a 23 09 09  TCLLIBPATH)".#..
1330: 20 20 54 4b 5f 4c 49 42 52 41 52 59 3d 60 40 43    TK_LIBRARY=`@C
1340: 59 47 50 41 54 48 40 20 24 28 54 4b 5f 53 52 43  YGPATH@ $(TK_SRC
1350: 5f 44 49 52 29 2f 6c 69 62 72 61 72 79 60 0a 0a  _DIR)/library`..
1360: 54 43 4c 53 48 5f 50 52 4f 47 09 3d 20 40 54 43  TCLSH_PROG.= @TC
1370: 4c 53 48 5f 50 52 4f 47 40 0a 54 43 4c 53 48 09  LSH_PROG@.TCLSH.
1380: 3d 20 24 28 54 43 4c 53 48 5f 45 4e 56 29 20 24  = $(TCLSH_ENV) $
1390: 28 54 43 4c 53 48 5f 50 52 4f 47 29 0a 0a 23 57  (TCLSH_PROG)..#W
13a0: 49 53 48 5f 50 52 4f 47 09 3d 20 40 57 49 53 48  ISH_PROG.= @WISH
13b0: 5f 50 52 4f 47 40 0a 23 57 49 53 48 09 3d 20 24  _PROG@.#WISH.= $
13c0: 28 54 43 4c 53 48 5f 45 4e 56 29 20 24 28 57 49  (TCLSH_ENV) $(WI
13d0: 53 48 5f 50 52 4f 47 29 0a 0a 0a 53 48 41 52 45  SH_PROG)...SHARE
13e0: 44 5f 42 55 49 4c 44 09 3d 20 40 53 48 41 52 45  D_BUILD.= @SHARE
13f0: 44 5f 42 55 49 4c 44 40 0a 0a 49 4e 43 4c 55 44  D_BUILD@..INCLUD
1400: 45 53 09 3d 20 40 50 4b 47 5f 49 4e 43 4c 55 44  ES.= @PKG_INCLUD
1410: 45 53 40 20 40 54 43 4c 5f 49 4e 43 4c 55 44 45  ES@ @TCL_INCLUDE
1420: 53 40 20 2d 49 24 28 73 72 63 64 69 72 29 2f 2e  S@ -I$(srcdir)/.
1430: 2e 0a 23 49 4e 43 4c 55 44 45 53 09 3d 20 40 50  ..#INCLUDES.= @P
1440: 4b 47 5f 49 4e 43 4c 55 44 45 53 40 20 40 54 43  KG_INCLUDES@ @TC
1450: 4c 5f 49 4e 43 4c 55 44 45 53 40 20 40 54 4b 5f  L_INCLUDES@ @TK_
1460: 49 4e 43 4c 55 44 45 53 40 20 40 54 4b 5f 58 49  INCLUDES@ @TK_XI
1470: 4e 43 4c 55 44 45 53 40 0a 0a 50 4b 47 5f 43 46  NCLUDES@..PKG_CF
1480: 4c 41 47 53 09 3d 20 40 50 4b 47 5f 43 46 4c 41  LAGS.= @PKG_CFLA
1490: 47 53 40 0a 0a 23 20 54 43 4c 5f 44 45 46 53 20  GS@..# TCL_DEFS 
14a0: 69 73 20 6e 6f 74 20 73 74 72 69 63 74 6c 79 20  is not strictly 
14b0: 6e 65 65 64 20 68 65 72 65 2c 20 62 75 74 20 69  need here, but i
14c0: 66 20 79 6f 75 20 72 65 6d 6f 76 65 20 69 74 2c  f you remove it,
14d0: 20 74 68 65 6e 20 79 6f 75 0a 23 20 6d 75 73 74   then you.# must
14e0: 20 6d 61 6b 65 20 73 75 72 65 20 74 68 61 74 20   make sure that 
14f0: 63 6f 6e 66 69 67 75 72 65 2e 69 6e 20 63 68 65  configure.in che
1500: 63 6b 73 20 66 6f 72 20 74 68 65 20 6e 65 63 65  cks for the nece
1510: 73 73 61 72 79 20 63 6f 6d 70 6f 6e 65 6e 74 73  ssary components
1520: 0a 23 20 74 68 61 74 20 79 6f 75 72 20 6c 69 62  .# that your lib
1530: 72 61 72 79 20 6d 61 79 20 75 73 65 2e 20 20 54  rary may use.  T
1540: 43 4c 5f 44 45 46 53 20 63 61 6e 20 61 63 74 75  CL_DEFS can actu
1550: 61 6c 6c 79 20 62 65 20 61 20 70 72 6f 62 6c 65  ally be a proble
1560: 6d 20 69 66 0a 23 20 79 6f 75 20 64 6f 20 6e 6f  m if.# you do no
1570: 74 20 63 6f 6d 70 69 6c 65 20 77 69 74 68 20 61  t compile with a
1580: 20 73 69 6d 69 6c 61 72 20 6d 61 63 68 69 6e 65   similar machine
1590: 20 73 65 74 75 70 20 61 73 20 74 68 65 20 54 63   setup as the Tc
15a0: 6c 20 63 6f 72 65 20 77 61 73 0a 23 20 63 6f 6d  l core was.# com
15b0: 70 69 6c 65 64 20 77 69 74 68 2e 0a 23 44 45 46  piled with..#DEF
15c0: 53 09 09 3d 20 24 28 54 43 4c 5f 44 45 46 53 29  S..= $(TCL_DEFS)
15d0: 20 40 44 45 46 53 40 20 24 28 50 4b 47 5f 43 46   @DEFS@ $(PKG_CF
15e0: 4c 41 47 53 29 0a 44 45 46 53 09 09 3d 20 40 44  LAGS).DEFS..= @D
15f0: 45 46 53 40 20 24 28 50 4b 47 5f 43 46 4c 41 47  EFS@ $(PKG_CFLAG
1600: 53 29 0a 0a 43 4f 4e 46 49 47 5f 43 4c 45 41 4e  S)..CONFIG_CLEAN
1610: 5f 46 49 4c 45 53 20 3d 20 4d 61 6b 65 66 69 6c  _FILES = Makefil
1620: 65 20 70 6b 67 49 6e 64 65 78 2e 74 63 6c 0a 0a  e pkgIndex.tcl..
1630: 43 50 50 46 4c 41 47 53 09 3d 20 40 43 50 50 46  CPPFLAGS.= @CPPF
1640: 4c 41 47 53 40 0a 4c 49 42 53 09 09 3d 20 40 50  LAGS@.LIBS..= @P
1650: 4b 47 5f 4c 49 42 53 40 20 40 4c 49 42 53 40 0a  KG_LIBS@ @LIBS@.
1660: 41 52 09 09 3d 20 40 41 52 40 0a 43 46 4c 41 47  AR..= @AR@.CFLAG
1670: 53 09 09 3d 20 40 43 46 4c 41 47 53 40 0a 43 4f  S..= @CFLAGS@.CO
1680: 4d 50 49 4c 45 09 09 3d 20 24 28 43 43 29 20 24  MPILE..= $(CC) $
1690: 28 44 45 46 53 29 20 24 28 49 4e 43 4c 55 44 45  (DEFS) $(INCLUDE
16a0: 53 29 20 24 28 41 4d 5f 43 50 50 46 4c 41 47 53  S) $(AM_CPPFLAGS
16b0: 29 20 24 28 43 50 50 46 4c 41 47 53 29 20 24 28  ) $(CPPFLAGS) $(
16c0: 41 4d 5f 43 46 4c 41 47 53 29 20 24 28 43 46 4c  AM_CFLAGS) $(CFL
16d0: 41 47 53 29 0a 0a 23 3d 3d 3d 3d 3d 3d 3d 3d 3d  AGS)..#=========
16e0: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
16f0: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
1700: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
1710: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 0a  ===============.
1720: 23 20 53 74 61 72 74 20 6f 66 20 75 73 65 72 2d  # Start of user-
1730: 64 65 66 69 6e 61 62 6c 65 20 54 41 52 47 45 54  definable TARGET
1740: 53 20 73 65 63 74 69 6f 6e 0a 23 3d 3d 3d 3d 3d  S section.#=====
1750: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
1760: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
1770: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
1780: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
1790: 3d 3d 3d 0a 0a 23 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ===..#==========
17a0: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
17b0: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
17c0: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
17d0: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 0a 23  ==============.#
17e0: 20 54 45 41 20 54 41 52 47 45 54 53 2e 20 20 50   TEA TARGETS.  P
17f0: 6c 65 61 73 65 20 6e 6f 74 65 20 74 68 61 74 20  lease note that 
1800: 74 68 65 20 22 6c 69 62 72 61 72 69 65 73 3a 22  the "libraries:"
1810: 20 74 61 72 67 65 74 20 72 65 66 65 72 73 20 74   target refers t
1820: 6f 20 70 6c 61 74 66 6f 72 6d 0a 23 20 69 6e 64  o platform.# ind
1830: 65 70 65 6e 64 65 6e 74 20 66 69 6c 65 73 2c 20  ependent files, 
1840: 61 6e 64 20 74 68 65 20 22 62 69 6e 61 72 69 65  and the "binarie
1850: 73 3a 22 20 74 61 72 67 65 74 20 69 6e 63 6c 75  s:" target inclu
1860: 65 73 20 65 78 65 63 75 74 61 62 6c 65 20 70 72  es executable pr
1870: 6f 67 72 61 6d 73 20 61 6e 64 0a 23 20 70 6c 61  ograms and.# pla
1880: 74 66 6f 72 6d 2d 64 65 70 65 6e 64 65 6e 74 20  tform-dependent 
1890: 6c 69 62 72 61 72 69 65 73 2e 20 20 4d 6f 64 69  libraries.  Modi
18a0: 66 79 20 74 68 65 73 65 20 74 61 72 67 65 74 73  fy these targets
18b0: 20 73 6f 20 74 68 61 74 20 74 68 65 79 20 69 6e   so that they in
18c0: 73 74 61 6c 6c 0a 23 20 74 68 65 20 76 61 72 69  stall.# the vari
18d0: 6f 75 73 20 70 69 65 63 65 73 20 6f 66 20 79 6f  ous pieces of yo
18e0: 75 72 20 70 61 63 6b 61 67 65 2e 20 20 54 68 65  ur package.  The
18f0: 20 6d 61 6b 65 20 61 6e 64 20 69 6e 73 74 61 6c   make and instal
1900: 6c 20 72 75 6c 65 73 0a 23 20 66 6f 72 20 74 68  l rules.# for th
1910: 65 20 42 49 4e 41 52 49 45 53 20 74 68 61 74 20  e BINARIES that 
1920: 79 6f 75 20 73 70 65 63 69 66 69 65 64 20 61 62  you specified ab
1930: 6f 76 65 20 68 61 76 65 20 61 6c 72 65 61 64 79  ove have already
1940: 20 62 65 65 6e 20 64 6f 6e 65 2e 0a 23 3d 3d 3d   been done..#===
1950: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
1960: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
1970: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
1980: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
1990: 3d 3d 3d 3d 3d 0a 0a 61 6c 6c 3a 20 62 69 6e 61  =====..all: bina
19a0: 72 69 65 73 20 6c 69 62 72 61 72 69 65 73 20 64  ries libraries d
19b0: 6f 63 0a 0a 23 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  oc..#===========
19c0: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
19d0: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
19e0: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
19f0: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 0a 23 20  =============.# 
1a00: 54 68 65 20 62 69 6e 61 72 69 65 73 20 74 61 72  The binaries tar
1a10: 67 65 74 20 62 75 69 6c 64 73 20 65 78 65 63 75  get builds execu
1a20: 74 61 62 6c 65 20 70 72 6f 67 72 61 6d 73 2c 20  table programs, 
1a30: 57 69 6e 64 6f 77 73 20 2e 64 6c 6c 27 73 2c 20  Windows .dll's, 
1a40: 75 6e 69 78 0a 23 20 73 68 61 72 65 64 2f 73 74  unix.# shared/st
1a50: 61 74 69 63 20 6c 69 62 72 61 72 69 65 73 2c 20  atic libraries, 
1a60: 61 6e 64 20 61 6e 79 20 6f 74 68 65 72 20 70 6c  and any other pl
1a70: 61 74 66 6f 72 6d 2d 64 65 70 65 6e 64 65 6e 74  atform-dependent
1a80: 20 66 69 6c 65 73 2e 0a 23 20 54 68 65 20 6c 69   files..# The li
1a90: 73 74 20 6f 66 20 74 61 72 67 65 74 73 20 74 6f  st of targets to
1aa0: 20 62 75 69 6c 64 20 66 6f 72 20 22 62 69 6e 61   build for "bina
1ab0: 72 69 65 73 3a 22 20 69 73 20 73 70 65 63 69 66  ries:" is specif
1ac0: 69 65 64 20 61 74 20 74 68 65 20 74 6f 70 0a 23  ied at the top.#
1ad0: 20 6f 66 20 74 68 65 20 4d 61 6b 65 66 69 6c 65   of the Makefile
1ae0: 2c 20 69 6e 20 74 68 65 20 22 42 49 4e 41 52 49  , in the "BINARI
1af0: 45 53 22 20 76 61 72 69 61 62 6c 65 2e 0a 23 3d  ES" variable..#=
1b00: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
1b10: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
1b20: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
1b30: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
1b40: 3d 3d 3d 3d 3d 3d 3d 0a 0a 62 69 6e 61 72 69 65  =======..binarie
1b50: 73 3a 20 24 28 42 49 4e 41 52 49 45 53 29 0a 0a  s: $(BINARIES)..
1b60: 6c 69 62 72 61 72 69 65 73 3a 0a 0a 0a 23 3d 3d  libraries:...#==
1b70: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
1b80: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
1b90: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
1ba0: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
1bb0: 3d 3d 3d 3d 3d 3d 0a 23 20 59 6f 75 72 20 64 6f  ======.# Your do
1bc0: 63 20 74 61 72 67 65 74 20 73 68 6f 75 6c 64 20  c target should 
1bd0: 64 69 66 66 65 72 65 6e 74 69 61 74 65 20 66 72  differentiate fr
1be0: 6f 6d 20 64 6f 63 20 62 75 69 6c 64 73 20 28 62  om doc builds (b
1bf0: 79 20 74 68 65 20 64 65 76 65 6c 6f 70 65 72 29  y the developer)
1c00: 0a 23 20 61 6e 64 20 64 6f 63 20 69 6e 73 74 61  .# and doc insta
1c10: 6c 6c 73 20 28 73 65 65 20 69 6e 73 74 61 6c 6c  lls (see install
1c20: 2d 64 6f 63 29 2c 20 77 68 69 63 68 20 6a 75 73  -doc), which jus
1c30: 74 20 69 6e 73 74 61 6c 6c 20 74 68 65 20 64 6f  t install the do
1c40: 63 73 20 6f 6e 20 74 68 65 0a 23 20 65 6e 64 20  cs on the.# end 
1c50: 75 73 65 72 20 6d 61 63 68 69 6e 65 20 77 68 65  user machine whe
1c60: 6e 20 62 75 69 6c 64 69 6e 67 20 66 72 6f 6d 20  n building from 
1c70: 73 6f 75 72 63 65 2e 0a 23 3d 3d 3d 3d 3d 3d 3d  source..#=======
1c80: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
1c90: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
1ca0: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
1cb0: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
1cc0: 3d 0a 0a 64 6f 63 3a 0a 09 40 65 63 68 6f 20 22  =..doc:..@echo "
1cd0: 49 66 20 79 6f 75 20 68 61 76 65 20 64 6f 63 75  If you have docu
1ce0: 6d 65 6e 74 61 74 69 6f 6e 20 74 6f 20 63 72 65  mentation to cre
1cf0: 61 74 65 2c 20 70 6c 61 63 65 20 74 68 65 20 63  ate, place the c
1d00: 6f 6d 6d 61 6e 64 73 20 74 6f 22 0a 09 40 65 63  ommands to"..@ec
1d10: 68 6f 20 22 62 75 69 6c 64 20 74 68 65 20 64 6f  ho "build the do
1d20: 63 73 20 69 6e 20 74 68 65 20 27 64 6f 63 3a 27  cs in the 'doc:'
1d30: 20 74 61 72 67 65 74 2e 20 20 46 6f 72 20 65 78   target.  For ex
1d40: 61 6d 70 6c 65 3a 22 0a 09 40 65 63 68 6f 20 22  ample:"..@echo "
1d50: 20 20 20 20 20 20 20 20 78 6d 6c 32 6e 72 6f 66          xml2nrof
1d60: 66 20 73 61 6d 70 6c 65 2e 78 6d 6c 20 3e 20 73  f sample.xml > s
1d70: 61 6d 70 6c 65 2e 6e 22 0a 09 40 65 63 68 6f 20  ample.n"..@echo 
1d80: 22 20 20 20 20 20 20 20 20 78 6d 6c 32 68 74 6d  "        xml2htm
1d90: 6c 20 73 61 6d 70 6c 65 2e 78 6d 6c 20 3e 20 73  l sample.xml > s
1da0: 61 6d 70 6c 65 2e 68 74 6d 6c 22 0a 0a 69 6e 73  ample.html"..ins
1db0: 74 61 6c 6c 3a 20 61 6c 6c 20 69 6e 73 74 61 6c  tall: all instal
1dc0: 6c 2d 62 69 6e 61 72 69 65 73 20 69 6e 73 74 61  l-binaries insta
1dd0: 6c 6c 2d 6c 69 62 72 61 72 69 65 73 20 69 6e 73  ll-libraries ins
1de0: 74 61 6c 6c 2d 64 6f 63 0a 0a 69 6e 73 74 61 6c  tall-doc..instal
1df0: 6c 2d 62 69 6e 61 72 69 65 73 3a 20 62 69 6e 61  l-binaries: bina
1e00: 72 69 65 73 20 69 6e 73 74 61 6c 6c 2d 6c 69 62  ries install-lib
1e10: 2d 62 69 6e 61 72 69 65 73 20 69 6e 73 74 61 6c  -binaries instal
1e20: 6c 2d 62 69 6e 2d 62 69 6e 61 72 69 65 73 0a 0a  l-bin-binaries..
1e30: 23 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  #===============
1e40: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
1e50: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
1e60: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
1e70: 3d 3d 3d 3d 3d 3d 3d 3d 3d 0a 23 20 54 68 69 73  =========.# This
1e80: 20 72 75 6c 65 20 69 6e 73 74 61 6c 6c 73 20 70   rule installs p
1e90: 6c 61 74 66 6f 72 6d 2d 69 6e 64 65 70 65 6e 64  latform-independ
1ea0: 65 6e 74 20 66 69 6c 65 73 2c 20 73 75 63 68 20  ent files, such 
1eb0: 61 73 20 68 65 61 64 65 72 20 66 69 6c 65 73 2e  as header files.
1ec0: 0a 23 20 54 68 65 20 6c 69 73 74 3d 2e 2e 2e 3b  .# The list=...;
1ed0: 20 66 6f 72 20 70 20 69 6e 20 24 24 6c 69 73 74   for p in $$list
1ee0: 20 68 61 6e 64 6c 65 73 20 74 68 65 20 65 6d 70   handles the emp
1ef0: 74 79 20 6c 69 73 74 20 63 61 73 65 20 78 2d 70  ty list case x-p
1f00: 6c 61 74 66 6f 72 6d 2e 0a 23 3d 3d 3d 3d 3d 3d  latform..#======
1f10: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
1f20: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
1f30: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
1f40: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
1f50: 3d 3d 0a 0a 69 6e 73 74 61 6c 6c 2d 6c 69 62 72  ==..install-libr
1f60: 61 72 69 65 73 3a 20 6c 69 62 72 61 72 69 65 73  aries: libraries
1f70: 0a 09 40 6d 6b 64 69 72 20 2d 70 20 24 28 44 45  ..@mkdir -p $(DE
1f80: 53 54 44 49 52 29 24 28 69 6e 63 6c 75 64 65 64  STDIR)$(included
1f90: 69 72 29 0a 09 40 65 63 68 6f 20 22 49 6e 73 74  ir)..@echo "Inst
1fa0: 61 6c 6c 69 6e 67 20 68 65 61 64 65 72 20 66 69  alling header fi
1fb0: 6c 65 73 20 69 6e 20 24 28 44 45 53 54 44 49 52  les in $(DESTDIR
1fc0: 29 24 28 69 6e 63 6c 75 64 65 64 69 72 29 22 0a  )$(includedir)".
1fd0: 09 40 6c 69 73 74 3d 27 24 28 50 4b 47 5f 48 45  .@list='$(PKG_HE
1fe0: 41 44 45 52 53 29 27 3b 20 66 6f 72 20 69 20 69  ADERS)'; for i i
1ff0: 6e 20 24 24 6c 69 73 74 3b 20 64 6f 20 5c 0a 09  n $$list; do \..
2000: 20 20 20 20 65 63 68 6f 20 22 49 6e 73 74 61 6c      echo "Instal
2010: 6c 69 6e 67 20 24 28 73 72 63 64 69 72 29 2f 24  ling $(srcdir)/$
2020: 24 69 22 20 3b 20 5c 0a 09 20 20 20 20 24 28 49  $i" ; \..    $(I
2030: 4e 53 54 41 4c 4c 5f 44 41 54 41 29 20 24 28 73  NSTALL_DATA) $(s
2040: 72 63 64 69 72 29 2f 24 24 69 20 24 28 44 45 53  rcdir)/$$i $(DES
2050: 54 44 49 52 29 24 28 69 6e 63 6c 75 64 65 64 69  TDIR)$(includedi
2060: 72 29 20 3b 20 5c 0a 09 64 6f 6e 65 3b 0a 0a 23  r) ; \..done;..#
2070: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
2080: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
2090: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
20a0: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
20b0: 3d 3d 3d 3d 3d 3d 3d 3d 0a 23 20 49 6e 73 74 61  ========.# Insta
20c0: 6c 6c 20 64 6f 63 75 6d 65 6e 74 61 74 69 6f 6e  ll documentation
20d0: 2e 20 20 55 6e 69 78 20 6d 61 6e 70 61 67 65 73  .  Unix manpages
20e0: 20 73 68 6f 75 6c 64 20 67 6f 20 69 6e 20 74 68   should go in th
20f0: 65 20 24 28 6d 61 6e 64 69 72 29 0a 23 20 64 69  e $(mandir).# di
2100: 72 65 63 74 6f 72 79 2e 0a 23 3d 3d 3d 3d 3d 3d  rectory..#======
2110: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
2120: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
2130: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
2140: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
2150: 3d 3d 0a 0a 69 6e 73 74 61 6c 6c 2d 64 6f 63 3a  ==..install-doc:
2160: 20 64 6f 63 0a 09 40 6d 6b 64 69 72 20 2d 70 20   doc..@mkdir -p 
2170: 24 28 44 45 53 54 44 49 52 29 24 28 6d 61 6e 64  $(DESTDIR)$(mand
2180: 69 72 29 2f 6d 61 6e 6e 0a 09 40 65 63 68 6f 20  ir)/mann..@echo 
2190: 22 49 6e 73 74 61 6c 6c 69 6e 67 20 64 6f 63 75  "Installing docu
21a0: 6d 65 6e 74 61 74 69 6f 6e 20 69 6e 20 24 28 44  mentation in $(D
21b0: 45 53 54 44 49 52 29 24 28 6d 61 6e 64 69 72 29  ESTDIR)$(mandir)
21c0: 22 0a 09 40 6c 69 73 74 3d 27 24 28 73 72 63 64  "..@list='$(srcd
21d0: 69 72 29 2f 64 6f 63 2f 2a 2e 6e 27 3b 20 66 6f  ir)/doc/*.n'; fo
21e0: 72 20 69 20 69 6e 20 24 24 6c 69 73 74 3b 20 64  r i in $$list; d
21f0: 6f 20 5c 0a 09 20 20 20 20 65 63 68 6f 20 22 49  o \..    echo "I
2200: 6e 73 74 61 6c 6c 69 6e 67 20 24 24 69 22 3b 20  nstalling $$i"; 
2210: 5c 0a 09 20 20 20 20 72 6d 20 2d 66 20 24 28 44  \..    rm -f $(D
2220: 45 53 54 44 49 52 29 24 28 6d 61 6e 64 69 72 29  ESTDIR)$(mandir)
2230: 2f 6d 61 6e 6e 2f 60 62 61 73 65 6e 61 6d 65 20  /mann/`basename 
2240: 24 24 69 60 3b 20 5c 0a 09 20 20 20 20 24 28 49  $$i`; \..    $(I
2250: 4e 53 54 41 4c 4c 5f 44 41 54 41 29 20 24 24 69  NSTALL_DATA) $$i
2260: 20 24 28 44 45 53 54 44 49 52 29 24 28 6d 61 6e   $(DESTDIR)$(man
2270: 64 69 72 29 2f 6d 61 6e 6e 20 3b 20 5c 0a 09 64  dir)/mann ; \..d
2280: 6f 6e 65 0a 0a 74 65 73 74 3a 20 62 69 6e 61 72  one..test: binar
2290: 69 65 73 20 6c 69 62 72 61 72 69 65 73 0a 09 40  ies libraries..@
22a0: 65 63 68 6f 20 22 53 51 4c 69 74 65 20 54 45 41  echo "SQLite TEA
22b0: 20 64 69 73 74 72 69 62 75 74 69 6f 6e 20 64 6f   distribution do
22c0: 65 73 20 6e 6f 74 20 69 6e 63 6c 75 64 65 20 74  es not include t
22d0: 65 73 74 73 22 0a 0a 73 68 65 6c 6c 3a 20 62 69  ests"..shell: bi
22e0: 6e 61 72 69 65 73 20 6c 69 62 72 61 72 69 65 73  naries libraries
22f0: 0a 09 40 24 28 54 43 4c 53 48 29 20 24 28 53 43  ..@$(TCLSH) $(SC
2300: 52 49 50 54 29 0a 0a 67 64 62 3a 0a 09 24 28 54  RIPT)..gdb:..$(T
2310: 43 4c 53 48 5f 45 4e 56 29 20 67 64 62 20 24 28  CLSH_ENV) gdb $(
2320: 54 43 4c 53 48 5f 50 52 4f 47 29 20 24 28 53 43  TCLSH_PROG) $(SC
2330: 52 49 50 54 29 0a 0a 64 65 70 65 6e 64 3a 0a 0a  RIPT)..depend:..
2340: 23 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  #===============
2350: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
2360: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
2370: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
2380: 3d 3d 3d 3d 3d 3d 3d 3d 3d 0a 23 20 24 28 50 4b  =========.# $(PK
2390: 47 5f 4c 49 42 5f 46 49 4c 45 29 20 73 68 6f 75  G_LIB_FILE) shou
23a0: 6c 64 20 62 65 20 6c 69 73 74 65 64 20 61 73 20  ld be listed as 
23b0: 70 61 72 74 20 6f 66 20 74 68 65 20 42 49 4e 41  part of the BINA
23c0: 52 49 45 53 20 76 61 72 69 61 62 6c 65 0a 23 20  RIES variable.# 
23d0: 6d 65 6e 74 69 6f 6e 65 64 20 61 62 6f 76 65 2e  mentioned above.
23e0: 20 20 54 68 61 74 20 77 69 6c 6c 20 65 6e 73 75    That will ensu
23f0: 72 65 20 74 68 61 74 20 74 68 69 73 20 74 61 72  re that this tar
2400: 67 65 74 20 69 73 20 62 75 69 6c 74 20 77 68 65  get is built whe
2410: 6e 20 79 6f 75 0a 23 20 72 75 6e 20 22 6d 61 6b  n you.# run "mak
2420: 65 20 62 69 6e 61 72 69 65 73 22 2e 0a 23 0a 23  e binaries"..#.#
2430: 20 54 68 65 20 24 28 50 4b 47 5f 4f 42 4a 45 43   The $(PKG_OBJEC
2440: 54 53 29 20 6f 62 6a 65 63 74 73 20 61 72 65 20  TS) objects are 
2450: 63 72 65 61 74 65 64 20 61 6e 64 20 6c 69 6e 6b  created and link
2460: 65 64 20 69 6e 74 6f 20 74 68 65 20 66 69 6e 61  ed into the fina
2470: 6c 0a 23 20 6c 69 62 72 61 72 79 2e 20 20 49 6e  l.# library.  In
2480: 20 6d 6f 73 74 20 63 61 73 65 73 20 74 68 65 73   most cases thes
2490: 65 20 6f 62 6a 65 63 74 20 66 69 6c 65 73 20 77  e object files w
24a0: 69 6c 6c 20 63 6f 72 72 65 73 70 6f 6e 64 20 74  ill correspond t
24b0: 6f 20 74 68 65 0a 23 20 73 6f 75 72 63 65 20 66  o the.# source f
24c0: 69 6c 65 73 20 61 62 6f 76 65 2e 0a 23 3d 3d 3d  iles above..#===
24d0: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
24e0: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
24f0: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
2500: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
2510: 3d 3d 3d 3d 3d 0a 0a 24 28 50 4b 47 5f 4c 49 42  =====..$(PKG_LIB
2520: 5f 46 49 4c 45 29 3a 20 24 28 50 4b 47 5f 4f 42  _FILE): $(PKG_OB
2530: 4a 45 43 54 53 29 0a 09 2d 72 6d 20 2d 66 20 24  JECTS)..-rm -f $
2540: 28 50 4b 47 5f 4c 49 42 5f 46 49 4c 45 29 0a 09  (PKG_LIB_FILE)..
2550: 24 7b 4d 41 4b 45 5f 4c 49 42 7d 0a 09 24 28 52  ${MAKE_LIB}..$(R
2560: 41 4e 4c 49 42 29 20 24 28 50 4b 47 5f 4c 49 42  ANLIB) $(PKG_LIB
2570: 5f 46 49 4c 45 29 0a 0a 24 28 50 4b 47 5f 53 54  _FILE)..$(PKG_ST
2580: 55 42 5f 4c 49 42 5f 46 49 4c 45 29 3a 20 24 28  UB_LIB_FILE): $(
2590: 50 4b 47 5f 53 54 55 42 5f 4f 42 4a 45 43 54 53  PKG_STUB_OBJECTS
25a0: 29 0a 09 2d 72 6d 20 2d 66 20 24 28 50 4b 47 5f  )..-rm -f $(PKG_
25b0: 53 54 55 42 5f 4c 49 42 5f 46 49 4c 45 29 0a 09  STUB_LIB_FILE)..
25c0: 24 7b 4d 41 4b 45 5f 53 54 55 42 5f 4c 49 42 7d  ${MAKE_STUB_LIB}
25d0: 0a 09 24 28 52 41 4e 4c 49 42 5f 53 54 55 42 29  ..$(RANLIB_STUB)
25e0: 20 24 28 50 4b 47 5f 53 54 55 42 5f 4c 49 42 5f   $(PKG_STUB_LIB_
25f0: 46 49 4c 45 29 0a 0a 23 3d 3d 3d 3d 3d 3d 3d 3d  FILE)..#========
2600: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
2610: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
2620: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
2630: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
2640: 0a 23 20 57 65 20 6e 65 65 64 20 74 6f 20 65 6e  .# We need to en
2650: 75 6d 65 72 61 74 65 20 74 68 65 20 6c 69 73 74  umerate the list
2660: 20 6f 66 20 2e 63 20 74 6f 20 2e 6f 20 6c 69 6e   of .c to .o lin
2670: 65 73 20 68 65 72 65 2e 0a 23 0a 23 20 49 6e 20  es here..#.# In 
2680: 74 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 6c 69  the following li
2690: 6e 65 73 2c 20 24 28 73 72 63 64 69 72 29 20 72  nes, $(srcdir) r
26a0: 65 66 65 72 73 20 74 6f 20 74 68 65 20 74 6f 70  efers to the top
26b0: 6c 65 76 65 6c 20 64 69 72 65 63 74 6f 72 79 0a  level directory.
26c0: 23 20 63 6f 6e 74 61 69 6e 69 6e 67 20 79 6f 75  # containing you
26d0: 72 20 65 78 74 65 6e 73 69 6f 6e 2e 20 20 49 66  r extension.  If
26e0: 20 79 6f 75 72 20 73 6f 75 72 63 65 73 20 61 72   your sources ar
26f0: 65 20 69 6e 20 61 20 73 75 62 64 69 72 65 63 74  e in a subdirect
2700: 6f 72 79 2c 0a 23 20 79 6f 75 20 77 69 6c 6c 20  ory,.# you will 
2710: 68 61 76 65 20 74 6f 20 6d 6f 64 69 66 79 20 74  have to modify t
2720: 68 65 20 70 61 74 68 73 20 74 6f 20 72 65 66 6c  he paths to refl
2730: 65 63 74 20 74 68 69 73 3a 0a 23 0a 23 20 73 61  ect this:.#.# sa
2740: 6d 70 6c 65 2e 24 28 4f 42 4a 45 58 54 29 3a 20  mple.$(OBJEXT): 
2750: 24 28 73 72 63 64 69 72 29 2f 67 65 6e 65 72 69  $(srcdir)/generi
2760: 63 2f 73 61 6d 70 6c 65 2e 63 0a 23 20 09 24 28  c/sample.c.# .$(
2770: 43 4f 4d 50 49 4c 45 29 20 2d 63 20 60 40 43 59  COMPILE) -c `@CY
2780: 47 50 41 54 48 40 20 24 28 73 72 63 64 69 72 29  GPATH@ $(srcdir)
2790: 2f 67 65 6e 65 72 69 63 2f 73 61 6d 70 6c 65 2e  /generic/sample.
27a0: 63 60 20 2d 6f 20 24 40 0a 23 0a 23 20 53 65 74  c` -o $@.#.# Set
27b0: 74 69 6e 67 20 74 68 65 20 56 50 41 54 48 20 76  ting the VPATH v
27c0: 61 72 69 61 62 6c 65 20 74 6f 20 61 20 6c 69 73  ariable to a lis
27d0: 74 20 6f 66 20 70 61 74 68 73 20 77 69 6c 6c 20  t of paths will 
27e0: 63 61 75 73 65 20 74 68 65 20 6d 61 6b 65 66 69  cause the makefi
27f0: 6c 65 0a 23 20 74 6f 20 6c 6f 6f 6b 20 69 6e 74  le.# to look int
2800: 6f 20 74 68 65 73 65 20 70 61 74 68 73 20 77 68  o these paths wh
2810: 65 6e 20 72 65 73 6f 6c 76 69 6e 67 20 2e 63 20  en resolving .c 
2820: 74 6f 20 2e 6f 62 6a 20 64 65 70 65 6e 64 65 6e  to .obj dependen
2830: 63 69 65 73 2e 0a 23 20 41 73 20 6e 65 63 65 73  cies..# As neces
2840: 73 61 72 79 2c 20 61 64 64 20 24 28 73 72 63 64  sary, add $(srcd
2850: 69 72 29 3a 24 28 73 72 63 64 69 72 29 2f 63 6f  ir):$(srcdir)/co
2860: 6d 70 61 74 3a 2e 2e 2e 2e 0a 23 3d 3d 3d 3d 3d  mpat:.....#=====
2870: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
2880: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
2890: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
28a0: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
28b0: 3d 3d 3d 0a 0a 56 50 41 54 48 20 3d 20 24 28 73  ===..VPATH = $(s
28c0: 72 63 64 69 72 29 3a 24 28 73 72 63 64 69 72 29  rcdir):$(srcdir)
28d0: 2f 67 65 6e 65 72 69 63 3a 24 28 73 72 63 64 69  /generic:$(srcdi
28e0: 72 29 2f 75 6e 69 78 3a 24 28 73 72 63 64 69 72  r)/unix:$(srcdir
28f0: 29 2f 77 69 6e 0a 0a 2e 63 2e 40 4f 42 4a 45 58  )/win...c.@OBJEX
2900: 54 40 3a 0a 09 24 28 43 4f 4d 50 49 4c 45 29 20  T@:..$(COMPILE) 
2910: 2d 63 20 60 40 43 59 47 50 41 54 48 40 20 24 3c  -c `@CYGPATH@ $<
2920: 60 20 2d 6f 20 24 40 0a 0a 23 3d 3d 3d 3d 3d 3d  ` -o $@..#======
2930: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
2940: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
2950: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
2960: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
2970: 3d 3d 0a 23 20 44 69 73 74 72 69 62 75 74 69 6f  ==.# Distributio
2980: 6e 20 63 72 65 61 74 69 6f 6e 0a 23 20 59 6f 75  n creation.# You
2990: 20 6d 61 79 20 6e 65 65 64 20 74 6f 20 74 77 65   may need to twe
29a0: 61 6b 20 74 68 69 73 20 74 61 72 67 65 74 20 74  ak this target t
29b0: 6f 20 6d 61 6b 65 20 69 74 20 77 6f 72 6b 20 63  o make it work c
29c0: 6f 72 72 65 63 74 6c 79 2e 0a 23 3d 3d 3d 3d 3d  orrectly..#=====
29d0: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
29e0: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
29f0: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
2a00: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
2a10: 3d 3d 3d 0a 0a 23 43 4f 4d 50 52 45 53 53 09 3d  ===..#COMPRESS.=
2a20: 20 74 61 72 20 63 76 66 20 24 28 50 4b 47 5f 44   tar cvf $(PKG_D
2a30: 49 52 29 2e 74 61 72 20 24 28 50 4b 47 5f 44 49  IR).tar $(PKG_DI
2a40: 52 29 3b 20 63 6f 6d 70 72 65 73 73 20 24 28 50  R); compress $(P
2a50: 4b 47 5f 44 49 52 29 2e 74 61 72 0a 43 4f 4d 50  KG_DIR).tar.COMP
2a60: 52 45 53 53 09 3d 20 67 74 61 72 20 7a 63 76 66  RESS.= gtar zcvf
2a70: 20 24 28 50 4b 47 5f 44 49 52 29 2e 74 61 72 2e   $(PKG_DIR).tar.
2a80: 67 7a 20 24 28 50 4b 47 5f 44 49 52 29 0a 44 49  gz $(PKG_DIR).DI
2a90: 53 54 5f 52 4f 4f 54 09 3d 20 2f 74 6d 70 2f 64  ST_ROOT.= /tmp/d
2aa0: 69 73 74 0a 44 49 53 54 5f 44 49 52 09 3d 20 24  ist.DIST_DIR.= $
2ab0: 28 44 49 53 54 5f 52 4f 4f 54 29 2f 24 28 50 4b  (DIST_ROOT)/$(PK
2ac0: 47 5f 44 49 52 29 0a 0a 64 69 73 74 2d 63 6c 65  G_DIR)..dist-cle
2ad0: 61 6e 3a 0a 09 72 6d 20 2d 72 66 20 24 28 44 49  an:..rm -rf $(DI
2ae0: 53 54 5f 44 49 52 29 20 24 28 44 49 53 54 5f 52  ST_DIR) $(DIST_R
2af0: 4f 4f 54 29 2f 24 28 50 4b 47 5f 44 49 52 29 2e  OOT)/$(PKG_DIR).
2b00: 74 61 72 2e 2a 0a 0a 64 69 73 74 3a 20 64 69 73  tar.*..dist: dis
2b10: 74 2d 63 6c 65 61 6e 0a 09 6d 6b 64 69 72 20 2d  t-clean..mkdir -
2b20: 70 20 24 28 44 49 53 54 5f 44 49 52 29 0a 09 63  p $(DIST_DIR)..c
2b30: 70 20 2d 70 20 24 28 73 72 63 64 69 72 29 2f 52  p -p $(srcdir)/R
2b40: 45 41 44 4d 45 2a 20 24 28 73 72 63 64 69 72 29  EADME* $(srcdir)
2b50: 2f 6c 69 63 65 6e 73 65 2a 20 5c 0a 09 09 24 28  /license* \...$(
2b60: 73 72 63 64 69 72 29 2f 61 63 6c 6f 63 61 6c 2e  srcdir)/aclocal.
2b70: 6d 34 20 24 28 73 72 63 64 69 72 29 2f 63 6f 6e  m4 $(srcdir)/con
2b80: 66 69 67 75 72 65 20 24 28 73 72 63 64 69 72 29  figure $(srcdir)
2b90: 2f 2a 2e 69 6e 20 5c 0a 09 09 24 28 44 49 53 54  /*.in \...$(DIST
2ba0: 5f 44 49 52 29 2f 0a 09 63 68 6d 6f 64 20 36 36  _DIR)/..chmod 66
2bb0: 34 20 24 28 44 49 53 54 5f 44 49 52 29 2f 4d 61  4 $(DIST_DIR)/Ma
2bc0: 6b 65 66 69 6c 65 2e 69 6e 20 24 28 44 49 53 54  kefile.in $(DIST
2bd0: 5f 44 49 52 29 2f 61 63 6c 6f 63 61 6c 2e 6d 34  _DIR)/aclocal.m4
2be0: 0a 09 63 68 6d 6f 64 20 37 37 35 20 24 28 44 49  ..chmod 775 $(DI
2bf0: 53 54 5f 44 49 52 29 2f 63 6f 6e 66 69 67 75 72  ST_DIR)/configur
2c00: 65 20 24 28 44 49 53 54 5f 44 49 52 29 2f 63 6f  e $(DIST_DIR)/co
2c10: 6e 66 69 67 75 72 65 2e 69 6e 0a 0a 09 66 6f 72  nfigure.in...for
2c20: 20 69 20 69 6e 20 24 28 73 72 63 64 69 72 29 2f   i in $(srcdir)/
2c30: 2a 2e 5b 63 68 5d 3b 20 64 6f 20 5c 0a 09 20 20  *.[ch]; do \..  
2c40: 20 20 69 66 20 5b 20 2d 66 20 24 24 69 20 5d 3b    if [ -f $$i ];
2c50: 20 74 68 65 6e 20 5c 0a 09 09 63 70 20 2d 70 20   then \...cp -p 
2c60: 24 24 69 20 24 28 44 49 53 54 5f 44 49 52 29 2f  $$i $(DIST_DIR)/
2c70: 20 3b 20 5c 0a 09 20 20 20 20 66 69 3b 20 5c 0a   ; \..    fi; \.
2c80: 09 64 6f 6e 65 3b 0a 0a 09 6d 6b 64 69 72 20 24  .done;...mkdir $
2c90: 28 44 49 53 54 5f 44 49 52 29 2f 74 63 6c 63 6f  (DIST_DIR)/tclco
2ca0: 6e 66 69 67 0a 09 63 70 20 24 28 73 72 63 64 69  nfig..cp $(srcdi
2cb0: 72 29 2f 74 63 6c 63 6f 6e 66 69 67 2f 69 6e 73  r)/tclconfig/ins
2cc0: 74 61 6c 6c 2d 73 68 20 24 28 73 72 63 64 69 72  tall-sh $(srcdir
2cd0: 29 2f 74 63 6c 63 6f 6e 66 69 67 2f 74 63 6c 2e  )/tclconfig/tcl.
2ce0: 6d 34 20 5c 0a 09 09 24 28 44 49 53 54 5f 44 49  m4 \...$(DIST_DI
2cf0: 52 29 2f 74 63 6c 63 6f 6e 66 69 67 2f 0a 09 63  R)/tclconfig/..c
2d00: 68 6d 6f 64 20 36 36 34 20 24 28 44 49 53 54 5f  hmod 664 $(DIST_
2d10: 44 49 52 29 2f 74 63 6c 63 6f 6e 66 69 67 2f 74  DIR)/tclconfig/t
2d20: 63 6c 2e 6d 34 0a 09 63 68 6d 6f 64 20 2b 78 20  cl.m4..chmod +x 
2d30: 24 28 44 49 53 54 5f 44 49 52 29 2f 74 63 6c 63  $(DIST_DIR)/tclc
2d40: 6f 6e 66 69 67 2f 69 6e 73 74 61 6c 6c 2d 73 68  onfig/install-sh
2d50: 0a 0a 09 6c 69 73 74 3d 27 64 65 6d 6f 73 20 64  ...list='demos d
2d60: 6f 63 20 67 65 6e 65 72 69 63 20 6c 69 62 72 61  oc generic libra
2d70: 72 79 20 6d 61 63 20 74 65 73 74 73 20 75 6e 69  ry mac tests uni
2d80: 78 20 77 69 6e 27 3b 20 5c 0a 09 66 6f 72 20 70  x win'; \..for p
2d90: 20 69 6e 20 24 24 6c 69 73 74 3b 20 64 6f 20 5c   in $$list; do \
2da0: 0a 09 20 20 20 20 69 66 20 74 65 73 74 20 2d 64  ..    if test -d
2db0: 20 24 28 73 72 63 64 69 72 29 2f 24 24 70 20 3b   $(srcdir)/$$p ;
2dc0: 20 74 68 65 6e 20 5c 0a 09 09 6d 6b 64 69 72 20   then \...mkdir 
2dd0: 24 28 44 49 53 54 5f 44 49 52 29 2f 24 24 70 3b  $(DIST_DIR)/$$p;
2de0: 20 5c 0a 09 09 63 70 20 2d 70 20 24 28 73 72 63   \...cp -p $(src
2df0: 64 69 72 29 2f 24 24 70 2f 2a 2e 2a 20 24 28 44  dir)/$$p/*.* $(D
2e00: 49 53 54 5f 44 49 52 29 2f 24 24 70 2f 3b 20 5c  IST_DIR)/$$p/; \
2e10: 0a 09 20 20 20 20 66 69 3b 20 5c 0a 09 64 6f 6e  ..    fi; \..don
2e20: 65 0a 0a 09 28 63 64 20 24 28 44 49 53 54 5f 52  e...(cd $(DIST_R
2e30: 4f 4f 54 29 3b 20 24 28 43 4f 4d 50 52 45 53 53  OOT); $(COMPRESS
2e40: 29 3b 29 0a 0a 23 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  );)..#==========
2e50: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
2e60: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
2e70: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
2e80: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 0a 23  ==============.#
2e90: 20 45 6e 64 20 6f 66 20 75 73 65 72 2d 64 65 66   End of user-def
2ea0: 69 6e 61 62 6c 65 20 73 65 63 74 69 6f 6e 0a 23  inable section.#
2eb0: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
2ec0: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
2ed0: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
2ee0: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
2ef0: 3d 3d 3d 3d 3d 3d 3d 3d 0a 0a 23 3d 3d 3d 3d 3d  ========..#=====
2f00: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
2f10: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
2f20: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
2f30: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
2f40: 3d 3d 3d 0a 23 20 44 6f 6e 27 74 20 6d 6f 64 69  ===.# Don't modi
2f50: 66 79 20 74 68 65 20 66 69 6c 65 20 74 6f 20 63  fy the file to c
2f60: 6c 65 61 6e 20 68 65 72 65 2e 20 20 49 6e 73 74  lean here.  Inst
2f70: 65 61 64 2c 20 73 65 74 20 74 68 65 20 22 43 4c  ead, set the "CL
2f80: 45 41 4e 46 49 4c 45 53 22 0a 23 20 76 61 72 69  EANFILES".# vari
2f90: 61 62 6c 65 20 69 6e 20 63 6f 6e 66 69 67 75 72  able in configur
2fa0: 65 2e 69 6e 0a 23 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  e.in.#==========
2fb0: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
2fc0: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
2fd0: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
2fe0: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 0a 0a  ==============..
2ff0: 63 6c 65 61 6e 3a 20 20 0a 09 2d 74 65 73 74 20  clean:  ..-test 
3000: 2d 7a 20 22 24 28 42 49 4e 41 52 49 45 53 29 22  -z "$(BINARIES)"
3010: 20 7c 7c 20 72 6d 20 2d 66 20 24 28 42 49 4e 41   || rm -f $(BINA
3020: 52 49 45 53 29 0a 09 2d 72 6d 20 2d 66 20 2a 2e  RIES)..-rm -f *.
3030: 24 28 4f 42 4a 45 58 54 29 20 63 6f 72 65 20 2a  $(OBJEXT) core *
3040: 2e 63 6f 72 65 0a 09 2d 74 65 73 74 20 2d 7a 20  .core..-test -z 
3050: 22 24 28 43 4c 45 41 4e 46 49 4c 45 53 29 22 20  "$(CLEANFILES)" 
3060: 7c 7c 20 72 6d 20 2d 66 20 24 28 43 4c 45 41 4e  || rm -f $(CLEAN
3070: 46 49 4c 45 53 29 0a 0a 64 69 73 74 63 6c 65 61  FILES)..distclea
3080: 6e 3a 20 63 6c 65 61 6e 0a 09 2d 72 6d 20 2d 66  n: clean..-rm -f
3090: 20 2a 2e 74 61 62 2e 63 0a 09 2d 72 6d 20 2d 66   *.tab.c..-rm -f
30a0: 20 24 28 43 4f 4e 46 49 47 5f 43 4c 45 41 4e 5f   $(CONFIG_CLEAN_
30b0: 46 49 4c 45 53 29 0a 09 2d 72 6d 20 2d 66 20 63  FILES)..-rm -f c
30c0: 6f 6e 66 69 67 2e 63 61 63 68 65 20 63 6f 6e 66  onfig.cache conf
30d0: 69 67 2e 6c 6f 67 20 63 6f 6e 66 69 67 2e 73 74  ig.log config.st
30e0: 61 74 75 73 0a 0a 23 3d 3d 3d 3d 3d 3d 3d 3d 3d  atus..#=========
30f0: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
3100: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
3110: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
3120: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 0a  ===============.
3130: 23 20 49 6e 73 74 61 6c 6c 20 62 69 6e 61 72 79  # Install binary
3140: 20 6f 62 6a 65 63 74 20 6c 69 62 72 61 72 69 65   object librarie
3150: 73 2e 20 20 4f 6e 20 57 69 6e 64 6f 77 73 20 74  s.  On Windows t
3160: 68 69 73 20 69 6e 63 6c 75 64 65 73 20 62 6f 74  his includes bot
3170: 68 20 2e 64 6c 6c 20 61 6e 64 0a 23 20 2e 6c 69  h .dll and.# .li
3180: 62 20 66 69 6c 65 73 2e 20 20 42 65 63 61 75 73  b files.  Becaus
3190: 65 20 74 68 65 20 2e 6c 69 62 20 66 69 6c 65 73  e the .lib files
31a0: 20 61 72 65 20 6e 6f 74 20 65 78 70 6c 69 63 69   are not explici
31b0: 74 6c 79 20 6c 69 73 74 65 64 20 61 6e 79 77 68  tly listed anywh
31c0: 65 72 65 2c 0a 23 20 77 65 20 6e 65 65 64 20 74  ere,.# we need t
31d0: 6f 20 64 65 64 75 63 65 20 74 68 65 69 72 20 65  o deduce their e
31e0: 78 69 73 74 65 6e 63 65 20 66 72 6f 6d 20 74 68  xistence from th
31f0: 65 20 2e 64 6c 6c 20 66 69 6c 65 20 6f 66 20 74  e .dll file of t
3200: 68 65 20 73 61 6d 65 20 6e 61 6d 65 2e 0a 23 20  he same name..# 
3210: 4c 69 62 72 61 72 79 20 66 69 6c 65 73 20 67 6f  Library files go
3220: 20 69 6e 74 6f 20 74 68 65 20 6c 69 62 20 64 69   into the lib di
3230: 72 65 63 74 6f 72 79 2e 0a 23 20 49 6e 20 61 64  rectory..# In ad
3240: 64 69 74 69 6f 6e 2c 20 74 68 69 73 20 77 69 6c  dition, this wil
3250: 6c 20 67 65 6e 65 72 61 74 65 20 74 68 65 20 70  l generate the p
3260: 6b 67 49 6e 64 65 78 2e 74 63 6c 0a 23 20 66 69  kgIndex.tcl.# fi
3270: 6c 65 20 69 6e 20 74 68 65 20 69 6e 73 74 61 6c  le in the instal
3280: 6c 20 6c 6f 63 61 74 69 6f 6e 20 28 61 73 73 75  l location (assu
3290: 6d 69 6e 67 20 69 74 20 63 61 6e 20 66 69 6e 64  ming it can find
32a0: 20 61 20 75 73 61 62 6c 65 20 74 63 6c 73 68 20   a usable tclsh 
32b0: 73 68 65 6c 6c 29 0a 23 0a 23 20 59 6f 75 20 73  shell).#.# You s
32c0: 68 6f 75 6c 64 20 6e 6f 74 20 68 61 76 65 20 74  hould not have t
32d0: 6f 20 6d 6f 64 69 66 79 20 74 68 69 73 20 74 61  o modify this ta
32e0: 72 67 65 74 2e 0a 23 3d 3d 3d 3d 3d 3d 3d 3d 3d  rget..#=========
32f0: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
3300: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
3310: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
3320: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 0a  ===============.
3330: 0a 69 6e 73 74 61 6c 6c 2d 6c 69 62 2d 62 69 6e  .install-lib-bin
3340: 61 72 69 65 73 3a 20 62 69 6e 61 72 69 65 73 0a  aries: binaries.
3350: 09 40 6d 6b 64 69 72 20 2d 70 20 24 28 44 45 53  .@mkdir -p $(DES
3360: 54 44 49 52 29 24 28 70 6b 67 6c 69 62 64 69 72  TDIR)$(pkglibdir
3370: 29 0a 09 40 6c 69 73 74 3d 27 24 28 6c 69 62 5f  )..@list='$(lib_
3380: 42 49 4e 41 52 49 45 53 29 27 3b 20 66 6f 72 20  BINARIES)'; for 
3390: 70 20 69 6e 20 24 24 6c 69 73 74 3b 20 64 6f 20  p in $$list; do 
33a0: 5c 0a 09 20 20 69 66 20 74 65 73 74 20 2d 66 20  \..  if test -f 
33b0: 24 24 70 3b 20 74 68 65 6e 20 5c 0a 09 20 20 20  $$p; then \..   
33c0: 20 65 63 68 6f 20 22 20 24 28 49 4e 53 54 41 4c   echo " $(INSTAL
33d0: 4c 5f 50 52 4f 47 52 41 4d 29 20 24 24 70 20 24  L_PROGRAM) $$p $
33e0: 28 44 45 53 54 44 49 52 29 24 28 70 6b 67 6c 69  (DESTDIR)$(pkgli
33f0: 62 64 69 72 29 2f 24 24 70 22 3b 20 5c 0a 09 20  bdir)/$$p"; \.. 
3400: 20 20 20 24 28 49 4e 53 54 41 4c 4c 5f 50 52 4f     $(INSTALL_PRO
3410: 47 52 41 4d 29 20 24 24 70 20 24 28 44 45 53 54  GRAM) $$p $(DEST
3420: 44 49 52 29 24 28 70 6b 67 6c 69 62 64 69 72 29  DIR)$(pkglibdir)
3430: 2f 24 24 70 3b 20 5c 0a 09 20 20 20 20 73 74 75  /$$p; \..    stu
3440: 62 3d 60 65 63 68 6f 20 24 24 70 7c 73 65 64 20  b=`echo $$p|sed 
3450: 2d 65 20 22 73 2f 2e 2a 5c 28 73 74 75 62 5c 29  -e "s/.*\(stub\)
3460: 2e 2a 2f 5c 31 2f 22 60 3b 20 5c 0a 09 20 20 20  .*/\1/"`; \..   
3470: 20 69 66 20 74 65 73 74 20 22 78 24 24 73 74 75   if test "x$$stu
3480: 62 22 20 3d 20 22 78 73 74 75 62 22 3b 20 74 68  b" = "xstub"; th
3490: 65 6e 20 5c 0a 09 09 65 63 68 6f 20 22 20 24 28  en \...echo " $(
34a0: 52 41 4e 4c 49 42 5f 53 54 55 42 29 20 24 28 44  RANLIB_STUB) $(D
34b0: 45 53 54 44 49 52 29 24 28 70 6b 67 6c 69 62 64  ESTDIR)$(pkglibd
34c0: 69 72 29 2f 24 24 70 22 3b 20 5c 0a 09 09 24 28  ir)/$$p"; \...$(
34d0: 52 41 4e 4c 49 42 5f 53 54 55 42 29 20 24 28 44  RANLIB_STUB) $(D
34e0: 45 53 54 44 49 52 29 24 28 70 6b 67 6c 69 62 64  ESTDIR)$(pkglibd
34f0: 69 72 29 2f 24 24 70 3b 20 5c 0a 09 20 20 20 20  ir)/$$p; \..    
3500: 65 6c 73 65 20 5c 0a 09 09 65 63 68 6f 20 22 20  else \...echo " 
3510: 24 28 52 41 4e 4c 49 42 29 20 24 28 44 45 53 54  $(RANLIB) $(DEST
3520: 44 49 52 29 24 28 70 6b 67 6c 69 62 64 69 72 29  DIR)$(pkglibdir)
3530: 2f 24 24 70 22 3b 20 5c 0a 09 09 24 28 52 41 4e  /$$p"; \...$(RAN
3540: 4c 49 42 29 20 24 28 44 45 53 54 44 49 52 29 24  LIB) $(DESTDIR)$
3550: 28 70 6b 67 6c 69 62 64 69 72 29 2f 24 24 70 3b  (pkglibdir)/$$p;
3560: 20 5c 0a 09 20 20 20 20 66 69 3b 20 5c 0a 09 20   \..    fi; \.. 
3570: 20 20 20 65 78 74 3d 60 65 63 68 6f 20 24 24 70     ext=`echo $$p
3580: 7c 73 65 64 20 2d 65 20 22 73 2f 2e 2a 5c 2e 2f  |sed -e "s/.*\./
3590: 2f 22 60 3b 20 5c 0a 09 20 20 20 20 69 66 20 74  /"`; \..    if t
35a0: 65 73 74 20 22 78 24 24 65 78 74 22 20 3d 20 22  est "x$$ext" = "
35b0: 78 64 6c 6c 22 3b 20 74 68 65 6e 20 5c 0a 09 09  xdll"; then \...
35c0: 6c 69 62 3d 60 62 61 73 65 6e 61 6d 65 20 24 24  lib=`basename $$
35d0: 70 7c 73 65 64 20 2d 65 20 27 73 2f 2e 5b 5e 2e  p|sed -e 's/.[^.
35e0: 5d 2a 24 24 2f 2f 27 60 2e 6c 69 62 3b 20 5c 0a  ]*$$//'`.lib; \.
35f0: 09 09 69 66 20 74 65 73 74 20 2d 66 20 24 24 6c  ..if test -f $$l
3600: 69 62 3b 20 74 68 65 6e 20 5c 0a 09 09 20 20 20  ib; then \...   
3610: 20 65 63 68 6f 20 22 20 24 28 49 4e 53 54 41 4c   echo " $(INSTAL
3620: 4c 5f 44 41 54 41 29 20 24 24 6c 69 62 20 24 28  L_DATA) $$lib $(
3630: 44 45 53 54 44 49 52 29 24 28 70 6b 67 6c 69 62  DESTDIR)$(pkglib
3640: 64 69 72 29 2f 24 24 6c 69 62 22 3b 20 5c 0a 09  dir)/$$lib"; \..
3650: 20 20 20 20 20 20 20 20 20 20 20 20 24 28 49 4e              $(IN
3660: 53 54 41 4c 4c 5f 44 41 54 41 29 20 24 24 6c 69  STALL_DATA) $$li
3670: 62 20 24 28 44 45 53 54 44 49 52 29 24 28 70 6b  b $(DESTDIR)$(pk
3680: 67 6c 69 62 64 69 72 29 2f 24 24 6c 69 62 3b 20  glibdir)/$$lib; 
3690: 5c 0a 09 09 66 69 3b 20 5c 0a 09 20 20 20 20 66  \...fi; \..    f
36a0: 69 3b 20 5c 0a 09 20 20 66 69 3b 20 5c 0a 09 64  i; \..  fi; \..d
36b0: 6f 6e 65 0a 09 40 6c 69 73 74 3d 27 24 28 50 4b  one..@list='$(PK
36c0: 47 5f 54 43 4c 5f 53 4f 55 52 43 45 53 29 27 3b  G_TCL_SOURCES)';
36d0: 20 66 6f 72 20 70 20 69 6e 20 24 24 6c 69 73 74   for p in $$list
36e0: 3b 20 64 6f 20 5c 0a 09 20 20 69 66 20 74 65 73  ; do \..  if tes
36f0: 74 20 2d 66 20 24 28 73 72 63 64 69 72 29 2f 24  t -f $(srcdir)/$
3700: 24 70 3b 20 74 68 65 6e 20 5c 0a 09 20 20 20 20  $p; then \..    
3710: 64 65 73 74 70 3d 60 62 61 73 65 6e 61 6d 65 20  destp=`basename 
3720: 24 24 70 60 3b 20 5c 0a 09 20 20 20 20 65 63 68  $$p`; \..    ech
3730: 6f 20 22 20 49 6e 73 74 61 6c 6c 20 24 24 64 65  o " Install $$de
3740: 73 74 70 20 24 28 44 45 53 54 44 49 52 29 24 28  stp $(DESTDIR)$(
3750: 70 6b 67 6c 69 62 64 69 72 29 2f 24 24 64 65 73  pkglibdir)/$$des
3760: 74 70 22 3b 20 5c 0a 09 20 20 20 20 24 28 49 4e  tp"; \..    $(IN
3770: 53 54 41 4c 4c 5f 44 41 54 41 29 20 24 28 73 72  STALL_DATA) $(sr
3780: 63 64 69 72 29 2f 24 24 70 20 24 28 44 45 53 54  cdir)/$$p $(DEST
3790: 44 49 52 29 24 28 70 6b 67 6c 69 62 64 69 72 29  DIR)$(pkglibdir)
37a0: 2f 24 24 64 65 73 74 70 3b 20 5c 0a 09 20 20 66  /$$destp; \..  f
37b0: 69 3b 20 5c 0a 09 64 6f 6e 65 0a 09 40 69 66 20  i; \..done..@if 
37c0: 74 65 73 74 20 22 78 24 28 53 48 41 52 45 44 5f  test "x$(SHARED_
37d0: 42 55 49 4c 44 29 22 20 3d 20 22 78 31 22 3b 20  BUILD)" = "x1"; 
37e0: 74 68 65 6e 20 5c 0a 09 20 20 20 20 65 63 68 6f  then \..    echo
37f0: 20 22 20 49 6e 73 74 61 6c 6c 20 70 6b 67 49 6e   " Install pkgIn
3800: 64 65 78 2e 74 63 6c 20 24 28 44 45 53 54 44 49  dex.tcl $(DESTDI
3810: 52 29 24 28 70 6b 67 6c 69 62 64 69 72 29 22 3b  R)$(pkglibdir)";
3820: 20 5c 0a 09 20 20 20 20 24 28 49 4e 53 54 41 4c   \..    $(INSTAL
3830: 4c 5f 44 41 54 41 29 20 70 6b 67 49 6e 64 65 78  L_DATA) pkgIndex
3840: 2e 74 63 6c 20 24 28 44 45 53 54 44 49 52 29 24  .tcl $(DESTDIR)$
3850: 28 70 6b 67 6c 69 62 64 69 72 29 3b 20 5c 0a 09  (pkglibdir); \..
3860: 66 69 0a 0a 23 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  fi..#===========
3870: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
3880: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
3890: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
38a0: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 0a 23 20  =============.# 
38b0: 49 6e 73 74 61 6c 6c 20 62 69 6e 61 72 79 20 65  Install binary e
38c0: 78 65 63 75 74 61 62 6c 65 73 20 28 65 2e 67 2e  xecutables (e.g.
38d0: 20 2e 65 78 65 20 66 69 6c 65 73 20 61 6e 64 20   .exe files and 
38e0: 64 65 70 65 6e 64 65 6e 74 20 2e 64 6c 6c 20 66  dependent .dll f
38f0: 69 6c 65 73 29 0a 23 20 54 68 69 73 20 69 73 20  iles).# This is 
3900: 66 6f 72 20 66 69 6c 65 73 20 74 68 61 74 20 6d  for files that m
3910: 75 73 74 20 67 6f 20 69 6e 20 74 68 65 20 62 69  ust go in the bi
3920: 6e 20 64 69 72 65 63 74 6f 72 79 20 28 6c 6f 63  n directory (loc
3930: 61 74 65 64 20 6e 65 78 74 20 74 6f 0a 23 20 77  ated next to.# w
3940: 69 73 68 20 61 6e 64 20 74 63 6c 73 68 29 2c 20  ish and tclsh), 
3950: 6c 69 6b 65 20 64 65 70 65 6e 64 65 6e 74 20 2e  like dependent .
3960: 64 6c 6c 20 66 69 6c 65 73 20 6f 6e 20 57 69 6e  dll files on Win
3970: 64 6f 77 73 2e 0a 23 0a 23 20 59 6f 75 20 73 68  dows..#.# You sh
3980: 6f 75 6c 64 20 6e 6f 74 20 68 61 76 65 20 74 6f  ould not have to
3990: 20 6d 6f 64 69 66 79 20 74 68 69 73 20 74 61 72   modify this tar
39a0: 67 65 74 2c 20 65 78 63 65 70 74 20 74 6f 20 64  get, except to d
39b0: 65 66 69 6e 65 20 62 69 6e 5f 42 49 4e 41 52 49  efine bin_BINARI
39c0: 45 53 0a 23 20 61 62 6f 76 65 20 69 66 20 6e 65  ES.# above if ne
39d0: 63 65 73 73 61 72 79 2e 0a 23 3d 3d 3d 3d 3d 3d  cessary..#======
39e0: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
39f0: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
3a00: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
3a10: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
3a20: 3d 3d 0a 0a 69 6e 73 74 61 6c 6c 2d 62 69 6e 2d  ==..install-bin-
3a30: 62 69 6e 61 72 69 65 73 3a 20 62 69 6e 61 72 69  binaries: binari
3a40: 65 73 0a 09 40 6d 6b 64 69 72 20 2d 70 20 24 28  es..@mkdir -p $(
3a50: 44 45 53 54 44 49 52 29 24 28 62 69 6e 64 69 72  DESTDIR)$(bindir
3a60: 29 0a 09 40 6c 69 73 74 3d 27 24 28 62 69 6e 5f  )..@list='$(bin_
3a70: 42 49 4e 41 52 49 45 53 29 27 3b 20 66 6f 72 20  BINARIES)'; for 
3a80: 70 20 69 6e 20 24 24 6c 69 73 74 3b 20 64 6f 20  p in $$list; do 
3a90: 5c 0a 09 20 20 69 66 20 74 65 73 74 20 2d 66 20  \..  if test -f 
3aa0: 24 24 70 3b 20 74 68 65 6e 20 5c 0a 09 20 20 20  $$p; then \..   
3ab0: 20 65 63 68 6f 20 22 20 24 28 49 4e 53 54 41 4c   echo " $(INSTAL
3ac0: 4c 5f 50 52 4f 47 52 41 4d 29 20 24 24 70 20 24  L_PROGRAM) $$p $
3ad0: 28 44 45 53 54 44 49 52 29 24 28 62 69 6e 64 69  (DESTDIR)$(bindi
3ae0: 72 29 2f 24 24 70 22 3b 20 5c 0a 09 20 20 20 20  r)/$$p"; \..    
3af0: 24 28 49 4e 53 54 41 4c 4c 5f 50 52 4f 47 52 41  $(INSTALL_PROGRA
3b00: 4d 29 20 24 24 70 20 24 28 44 45 53 54 44 49 52  M) $$p $(DESTDIR
3b10: 29 24 28 62 69 6e 64 69 72 29 2f 24 24 70 3b 20  )$(bindir)/$$p; 
3b20: 5c 0a 09 20 20 66 69 3b 20 5c 0a 09 64 6f 6e 65  \..  fi; \..done
3b30: 0a 0a 2e 53 55 46 46 49 58 45 53 3a 20 2e 63 20  ...SUFFIXES: .c 
3b40: 2e 24 28 4f 42 4a 45 58 54 29 0a 0a 4d 61 6b 65  .$(OBJEXT)..Make
3b50: 66 69 6c 65 3a 20 24 28 73 72 63 64 69 72 29 2f  file: $(srcdir)/
3b60: 4d 61 6b 65 66 69 6c 65 2e 69 6e 20 20 24 28 74  Makefile.in  $(t
3b70: 6f 70 5f 62 75 69 6c 64 64 69 72 29 2f 63 6f 6e  op_builddir)/con
3b80: 66 69 67 2e 73 74 61 74 75 73 0a 09 63 64 20 24  fig.status..cd $
3b90: 28 74 6f 70 5f 62 75 69 6c 64 64 69 72 29 20 5c  (top_builddir) \
3ba0: 0a 09 20 20 26 26 20 43 4f 4e 46 49 47 5f 46 49  ..  && CONFIG_FI
3bb0: 4c 45 53 3d 24 40 20 43 4f 4e 46 49 47 5f 48 45  LES=$@ CONFIG_HE
3bc0: 41 44 45 52 53 3d 20 24 28 53 48 45 4c 4c 29 20  ADERS= $(SHELL) 
3bd0: 2e 2f 63 6f 6e 66 69 67 2e 73 74 61 74 75 73 0a  ./config.status.
3be0: 0a 75 6e 69 6e 73 74 61 6c 6c 2d 62 69 6e 61 72  .uninstall-binar
3bf0: 69 65 73 3a 0a 09 6c 69 73 74 3d 27 24 28 6c 69  ies:..list='$(li
3c00: 62 5f 42 49 4e 41 52 49 45 53 29 27 3b 20 66 6f  b_BINARIES)'; fo
3c10: 72 20 70 20 69 6e 20 24 24 6c 69 73 74 3b 20 64  r p in $$list; d
3c20: 6f 20 5c 0a 09 20 20 72 6d 20 2d 66 20 24 28 44  o \..  rm -f $(D
3c30: 45 53 54 44 49 52 29 24 28 70 6b 67 6c 69 62 64  ESTDIR)$(pkglibd
3c40: 69 72 29 2f 24 24 70 3b 20 5c 0a 09 64 6f 6e 65  ir)/$$p; \..done
3c50: 0a 09 6c 69 73 74 3d 27 24 28 50 4b 47 5f 54 43  ..list='$(PKG_TC
3c60: 4c 5f 53 4f 55 52 43 45 53 29 27 3b 20 66 6f 72  L_SOURCES)'; for
3c70: 20 70 20 69 6e 20 24 24 6c 69 73 74 3b 20 64 6f   p in $$list; do
3c80: 20 5c 0a 09 20 20 70 3d 60 62 61 73 65 6e 61 6d   \..  p=`basenam
3c90: 65 20 24 24 70 60 3b 20 5c 0a 09 20 20 72 6d 20  e $$p`; \..  rm 
3ca0: 2d 66 20 24 28 44 45 53 54 44 49 52 29 24 28 70  -f $(DESTDIR)$(p
3cb0: 6b 67 6c 69 62 64 69 72 29 2f 24 24 70 3b 20 5c  kglibdir)/$$p; \
3cc0: 0a 09 64 6f 6e 65 0a 09 6c 69 73 74 3d 27 24 28  ..done..list='$(
3cd0: 62 69 6e 5f 42 49 4e 41 52 49 45 53 29 27 3b 20  bin_BINARIES)'; 
3ce0: 66 6f 72 20 70 20 69 6e 20 24 24 6c 69 73 74 3b  for p in $$list;
3cf0: 20 64 6f 20 5c 0a 09 20 20 72 6d 20 2d 66 20 24   do \..  rm -f $
3d00: 28 44 45 53 54 44 49 52 29 24 28 62 69 6e 64 69  (DESTDIR)$(bindi
3d10: 72 29 2f 24 24 70 3b 20 5c 0a 09 64 6f 6e 65 0a  r)/$$p; \..done.
3d20: 0a 2e 50 48 4f 4e 59 3a 20 61 6c 6c 20 62 69 6e  ..PHONY: all bin
3d30: 61 72 69 65 73 20 63 6c 65 61 6e 20 64 65 70 65  aries clean depe
3d40: 6e 64 20 64 69 73 74 63 6c 65 61 6e 20 64 6f 63  nd distclean doc
3d50: 20 69 6e 73 74 61 6c 6c 20 6c 69 62 72 61 72 69   install librari
3d60: 65 73 20 74 65 73 74 0a 0a 23 20 54 65 6c 6c 20  es test..# Tell 
3d70: 76 65 72 73 69 6f 6e 73 20 5b 33 2e 35 39 2c 33  versions [3.59,3
3d80: 2e 36 33 29 20 6f 66 20 47 4e 55 20 6d 61 6b 65  .63) of GNU make
3d90: 20 74 6f 20 6e 6f 74 20 65 78 70 6f 72 74 20 61   to not export a
3da0: 6c 6c 20 76 61 72 69 61 62 6c 65 73 2e 0a 23 20  ll variables..# 
3db0: 4f 74 68 65 72 77 69 73 65 20 61 20 73 79 73 74  Otherwise a syst
3dc0: 65 6d 20 6c 69 6d 69 74 20 28 66 6f 72 20 53 79  em limit (for Sy
3dd0: 73 56 20 61 74 20 6c 65 61 73 74 29 20 6d 61 79  sV at least) may
3de0: 20 62 65 20 65 78 63 65 65 64 65 64 2e 0a 2e 4e   be exceeded...N
3df0: 4f 45 58 50 4f 52 54 3a 0a                       OEXPORT:.