]> git.zerfleddert.de Git - micropolis/blob - src/tclx/ucbsrc/makefile
src/tclx/tkucbsrc/makefile: Micropolis build fixes for recent macOS
[micropolis] / src / tclx / ucbsrc / makefile
1 #
2 # Makefile --
3 #
4 # Makefile for Extended Tcl updates to the standard UCB Tcl.
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:44 markd Rel $
17 #------------------------------------------------------------------------------
18 #
19
20
21 include ../config.mk
22 include ../config/$(TCL_CONFIG_FILE)
23 SHELL=/bin/sh
24
25 #------------------------------------------------------------------------------
26
27 CFLAGS=$(OPTIMIZE_FLAG) $(XCFLAGS) -I../$(TCL_UCB_DIR) $(MEM_DEBUG_FLAGS) \
28 $(SYS_DEP_FLAGS)
29
30 #------------------------------------------------------------------------------
31
32 OBJS=tclbasic.o tclexpr.o
33
34 #------------------------------------------------------------------------------
35
36 all: made.tmp
37
38 made.tmp: $(OBJS)
39 -$(AR) d ../libtcl.a $(OBJS)
40 $(AR) cr ../libtcl.a $(OBJS)
41 touch made.tmp
42
43 tclbasic.c: ../$(TCL_UCB_DIR)/tclbasic.c
44 rm -f tclbasic.c
45 sed -f tclbasic.sed <../$(TCL_UCB_DIR)/tclbasic.c >tclbasic.c
46
47 tclexpr.c: ../$(TCL_UCB_DIR)/tclexpr.c
48 rm -f tclexpr.c
49 sed -f tclexpr.sed <../$(TCL_UCB_DIR)/tclexpr.c >tclexpr.c
50
51 #------------------------------------------------------------------------------
52
53 clean:
54 touch junk~
55 -rm -f *~ made.tmp tclbasic.c tclexpr.c
56 -rm -f $(OBJS)
Impressum, Datenschutz