--- 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