--- Makefile.orig Sun Apr 28 07:16:29 1996 +++ Makefile Tue Jul 9 00:18:00 1996 @@ -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 -##DOCDIR = /usr/local/share/minicom -# DOCDIR = /usr/local/etc/minicom -# MANDIR = /usr/local/man/man1 +BINDIR = $(PREFIX)/bin +LIBDIR = $(PREFIX)/etc/minicom +##DOCDIR = $(PREFIX)/share/minicom +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 +###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 PROGS = minicom runscript ascii-xfr LFLAGS = -s -LIBS = -lncurses +LIBS = -ltermcap CC = cc - -# Take these compilation flags for FreeBSD. -#FLAGS = -Wall -D_POSIX -D_BSD43 -D_SELECT -D_HAVE_MACROS -D_DCDFLOW -#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