]> cvs.zerfleddert.de Git - micropolis/blob - src/tclx/tclsrc/makefile
correctly differentiate between solaris and SunOS
[micropolis] / src / tclx / tclsrc / makefile
1 #
2 # Makefile --
3 #
4 # Makefile for Extended Tcl package library.
5 #
6 #------------------------------------------------------------------------------
7 # Copyright 1992 Karl Lehenbauer and Mark Diekhans.
8 #
9 # Permission to use, copy, modify, and distribute this software and its
10 # documentation for any purpose and without fee is hereby granted, provided
11 # that the above copyright notice appear in all copies. Karl Lehenbauer and
12 # Mark Diekhans make no representations about the suitability of this
13 # software for any purpose. It is provided "as is" without express or
14 # implied warranty.
15 #------------------------------------------------------------------------------
16 # $Id: Makefile,v 2.0 1992/10/16 04:51:50 markd Rel $
17 #------------------------------------------------------------------------------
18 #
19
20 include ../config.mk
21 include ../config/$(TCL_CONFIG_FILE)
22 SHELL=/bin/sh
23
24 #------------------------------------------------------------------------------
25
26 TCL.TLIB=../tcllib/tcl.tlb
27 TCL.TNDX=../tcllib/tcl.tdx
28
29 #------------------------------------------------------------------------------
30
31 TCL_SRCS=array.tcl assign.tcl edprocs.tcl forfile.tcl \
32 forrec.tcl globrec.tcl help.tcl packages.tcl \
33 pushd.tcl setfuncs.tcl showproc.tcl strfile.tcl \
34 compat.tcl convlib.tcl profrep.tcl
35
36 #------------------------------------------------------------------------------
37
38 all: made.tmp
39
40 made.tmp: $(TCL.TLIB)
41 touch made.tmp
42
43 $(TCL.TLIB): $(TCL_SRCS)
44 cat $(TCL_SRCS) | egrep -v '^#$$|^# *|^#-|^#=|^ *#' > $@
45
46 #------------------------------------------------------------------------------
47
48 clean:
49 touch junk~
50 -rm -f *~ made.tmp $(TCL.TLIB) $(TCL.TNDX)
51
Impressum, Datenschutz