aboutsummaryrefslogtreecommitdiffstats
path: root/comms/minicom/files/patch-aa
blob: 6dbf14e1df812d9918f40a57d1104a9afbfdefdc (plain) (blame)
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
--- Makefile.orig   Tue Mar 10 12:15:11 1998
+++ Makefile    Tue Aug 11 02:51:32 1998
@@ -13,10 +13,10 @@
 #
 
 # Where to install things for Linux sites (FSSTND)
-BINDIR = /usr/bin
-LIBDIR = /etc
-DOCDIR = /usr/doc/minicom
-MANDIR = /usr/man/man1
+# BINDIR   = /usr/bin
+# LIBDIR   = /etc
+# DOCDIR   = /usr/doc/minicom
+# MANDIR   = /usr/man/man1
 
 # fmg 8/22/97: seems a more logical place for this :-)
 # Select Compile Options you want:
@@ -29,14 +29,14 @@
 # -D_SEARCH_HISTORY    - Support searching of History buffer
 #                         For documentation, see file "../doc/HistSearch"
 #
-OPFLAGS    = -D_HISTORY -D_HAVE_MACROS -D_SEARCH_HISTORY -D_I18N_
+OPFLAGS    = -D_HISTORY -D_HAVE_MACROS -D_SEARCH_HISTORY # -D_I18N_
 
 # Where to install things for FreeBSD sites.
-# BINDIR = /usr/local/bin
-# LIBDIR = /usr/local/etc/minicom
+ BINDIR = $(PREFIX)/bin
+ LIBDIR = $(PREFIX)/etc/minicom
 ##DOCDIR = /usr/local/share/minicom
-# DOCDIR = /usr/local/etc/minicom
-# MANDIR = /usr/local/man/man1
+ DOCDIR = $(PREFIX)/etc/minicom
+ MANDIR = $(PREFIX)/man/man1
 
 # Where to install things for "normal" sites.
 # BINDIR   = /usr/local/bin
@@ -45,19 +45,19 @@
 # MANDIR   = /usr/local/man/man1
 
 # Take these compilation flags for Linux with libncurses.
-FLAGS  = -Wall -D_POSIX -D_SYSV -D_SELECT -pipe # -I/usr/include/ncurses
-PROGS  = minicom runscript ascii-xfr
-LFLAGS = -s
-LIBS   = -lncurses -lintl
-CC = cc
-
-# Take these compilation flags for FreeBSD.
-#FLAGS = -Wall -D_POSIX -D_BSD43 -D_SELECT -D_DCDFLOW
+#FLAGS = -Wall -D_POSIX -D_SYSV -D_SELECT -pipe # -I/usr/include/ncurses
 #PROGS = minicom runscript ascii-xfr
 #LFLAGS    = -s
-#LIBS  = -ltermcap
+#LIBS  = -lncurses -lintl
 #CC    = cc
 
+# Take these compilation flags for FreeBSD.
+FLAGS  = -Wall -D_POSIX -D_BSD43 -D_SELECT -D_DCDFLOW -D_HAVE_MACROS
+PROGS  = minicom runscript ascii-xfr
+LFLAGS = -s
+LIBS   = -ltermcap -lcurses
+CC = cc
+
 # Take these flags for SCO unix.
 #FLAGS = -D_SYSV -D_SCO -D_POSIX -D_SELECT
 #PROGS = minicom runscript ascii-xfr
@@ -165,13 +165,13 @@
 
 R  = $(ROOTDIR)
 
-all:       $(PROGS) po
+all:       $(PROGS) # po
 
 minicom:   $(MOBJS)
        $(CC) $(LFLAGS) -o minicom $(MOBJS) $(LIBS)
 
 po: dummy
-       make -C po
+       $(MAKE) -C po
 
 keyserv:   $(KOBJS)
        $(CC) -o keyserv $(LFLAGS) $(KOBJS) $(LIBS)
@@ -223,11 +223,11 @@
 
 install:   $(PROGS)
        sh install.sh $(R)$(LIBDIR) $(R)$(BINDIR) $(R)$(MANDIR) $(R)$(DOCDIR)
-       make -C po install
+       # $(MAKE) -C po install
 
 clobber:
        rm -f *.o *~ minicom keyserv runscript ascii-xfr
-       make -C po clean
+       # $(MAKE) -C po clean
 
 clean:     
        rm -f *.o