blob: 7a25a68d0cfaa3a4c7559bb6b692533fd92fbe43 (
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
48
49
50
51
52
53
54
55
56
|
--- Makefile.orig Sun Apr 28 16:16:29 1996
+++ Makefile Wed Feb 11 22:56:40 1998
@@ -12,17 +12,17 @@
#
# Where to install things for Linux sites (FSSTND)
-BINDIR = /usr/bin
-LIBDIR = /etc
-DOCDIR = /usr/doc/examples/minicom
-MANDIR = /usr/man/man1
+# BINDIR = /usr/bin
+# LIBDIR = /etc
+# DOCDIR = /usr/doc/examples/minicom
+# MANDIR = /usr/man/man1
# 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
@@ -38,18 +38,18 @@
#CC = cc
# Take these compilation flags for Linux with ncurses.
-FLAGS = -Wall -D_POSIX -D_SYSV -D_SELECT -D_HAVE_MACROS # -I/usr/include/ncurses
-PROGS = minicom runscript ascii-xfr
-LFLAGS = -s
-LIBS = -lncurses
-CC = cc
-
-# Take these compilation flags for FreeBSD.
-#FLAGS = -Wall -D_POSIX -D_BSD43 -D_SELECT -D_HAVE_MACROS -D_DCDFLOW
+#FLAGS = -Wall -D_POSIX -D_SYSV -D_SELECT -D_HAVE_MACROS # -I/usr/include/ncurses
#PROGS = minicom runscript ascii-xfr
#LFLAGS = -s
-#LIBS = -ltermcap
+#LIBS = -lncurses
#CC = cc
+
+# Take these compilation flags for FreeBSD.
+FLAGS = -Wall -D_POSIX -D_BSD43 -D_SELECT -D_HAVE_MACROS -D_DCDFLOW -DBINDIR=\"${BINDIR}\"
+PROGS = minicom runscript ascii-xfr
+LFLAGS = -s
+LIBS = -ltermcap
+CC = cc
# Take these flags for SCO unix.
#FLAGS = -D_SYSV -D_SCO -D_POSIX -D_SELECT -D_HAVE_MACROS
|