blob: df661cd2ba5c857b92208b503e3c85863acc5344 (
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
|
$NetBSD: patch-aa,v 1.7 1999/07/06 07:51:04 jlam Exp $
--- progs/Makefile.in.orig Wed Feb 11 07:14:03 1998
+++ progs/Makefile.in Tue Jun 29 08:59:34 1999
@@ -84,7 +84,7 @@
CFLAGS_DEFAULT = $(CFLAGS_@DFT_UPR_MODEL@)
LD = @LD@
-LINK = $(CC)
+LINK = $(LIBTOOL) --mode=link $(CC)
LDFLAGS = @EXTRA_LDFLAGS@ \
@PROG_ARGS@ @LDFLAGS@ @LD_MODEL@ @LIBS@ @EXTRA_LIBS@
@@ -102,7 +102,7 @@
AUTO_SRC = \
termsort.c
-PROGS = tic$x toe$x infocmp$x clear$x tput$x tset$x
+PROGS = tic$x toe$x infocmp$x
TESTPROGS = mvcur$x tctest$x hardscroll$x hashmap$x
@@ -122,21 +122,15 @@
uninstall.libs:
install.progs: $(PROGS) $(INSTALL_PREFIX)$(bindir)
- $(INSTALL_PROGRAM) tic$x $(INSTALL_PREFIX)$(bindir)/tic$x
- $(INSTALL_PROGRAM) toe$x $(INSTALL_PREFIX)$(bindir)/toe$x
- $(INSTALL_PROGRAM) infocmp$x $(INSTALL_PREFIX)$(bindir)/infocmp$x
- $(INSTALL_PROGRAM) clear$x $(INSTALL_PREFIX)$(bindir)/clear$x
- $(INSTALL_PROGRAM) tput$x $(INSTALL_PREFIX)$(bindir)/tput$x
- $(INSTALL_PROGRAM) tset$x $(INSTALL_PREFIX)$(bindir)/tset$x
+ $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) tic$x $(INSTALL_PREFIX)$(bindir)/tic$x
+ $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) toe$x $(INSTALL_PREFIX)$(bindir)/toe$x
+ $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) infocmp$x $(INSTALL_PREFIX)$(bindir)/infocmp$x
@echo "linking captoinfo to tic"
-@rm -f $(INSTALL_PREFIX)$(bindir)/captoinfo$x
(cd $(INSTALL_PREFIX)$(bindir) && $(LN_S) tic$x captoinfo$x)
@echo "linking infotocap to tic"
-@rm -f $(INSTALL_PREFIX)$(bindir)/infotocap$x
(cd $(INSTALL_PREFIX)$(bindir) && $(LN_S) tic$x infotocap$x)
- @echo "linking reset to tset"
- -@rm -f $(INSTALL_PREFIX)$(bindir)/reset$x
- (cd $(INSTALL_PREFIX)$(bindir) && $(LN_S) tset$x reset$x)
uninstall.progs:
-@rm -f $(INSTALL_PREFIX)$(bindir)/tic$x
|