# Makefile for ncftp
#
# Major sections delimited by a dash lines. If several lines set the same
# make variable, you can choose between the commented #samples, or just
# type what you want manually.
#--------------------------------------------------------------------------
# System dependent definitions. See the README, part B.
#--------------------------------------------------------------------------
SDEFS =
# Program definitions. See the README, part C.
#--------------------------------------------------------------------------
PDEFS = -DREADLINE
#PDEFS = -DGETLINE
#PDEFS = -DREADLINE -DCURSES
#PDEFS = -DSOCKS
#PDEFS = -DDEBUG -DDB_ERRS
# Choose your compiler and flags below. Make sure you use an ANSI compiler
# that handles new style function declarations and prototypes (gcc should).
#--------------------------------------------------------------------------
CC = cc
#CC = gcc
#CFLAGS = -O
CFLAGS = -O2
#CFLAGS = -g
LFLAGS = -s
#LFLAGS =
# Additional libraries and/or object files.
#
# For each library, add -lLIBNAME to the LIBS line below, for a library
# named libLIBNAME.a.
#
# For each object file, just add the pathname of the object file.
#
# Some may need any of -lsocket, -lnet, -linet, -lintl, or -lnsl.
# You'll need -lcurses or -ltermcap if CURSES is defined.
# You'll need -lreadline AND either -lcurses or -ltermcap if you
# want to use the GNU Readline library.
# You'll need -lgetline (compile it as a library) if you want to use
# getline.
# If your system is running Yellow Pages, you'll need to add the library
# that has the YP/NIS version of getpwuid() in it (Important!)
# You'll need to know where the Rconnect.o object file is if you want
# to use Socks.
#--------------------------------------------------------------------------
LIBS = -lreadline -ltermcap
#LIBS = -ldbmalloc
#LIBS = -lgetline
#LIBS = -lreadline -lcurses
#LIBS = ../lib/Rconnect.o
#LIBS = -lnet -lnsl -lsocket -lcurses
#LIBS = -lcurses -ltermcap
# If the libraries are in a non-standard directory, or you if want to use
# getline or readline and they aren't installed system-wide, add the
# extra directories to look in here, using -L's.
#--------------------------------------------------------------------------
LIBDIRS =
#LIBDIRS = -L../getline
#LIBDIRS = -L../readline
# To make term sources define this to your term directory
TERMSRC = /root/term114
#TERMSRC = /usr/local/src/term114
# Additional headers.
#
# If you defined READLINE or GETLINE, you have to tell where it's header
# file can be found.
#
# For READLINE, provide a path which would find <readline/readline.h>,
# so you would put the parent directory of the readline directory below.
# If you had '/usr/local/readline/readline.h' you would use
# -I/usr/local.
#
# For GETLINE, a little different. Just supply a path that would find
# <getline.h>. If you had '/usr/local/getline/getline.h' you would use
# -I/usr/local/getline.
#--------------------------------------------------------------------------
HDRDIRS = -I/usr/include/readline
#HDRDIRS = -I../getline
#HDRDIRS = -I..
# If you want to 'make install,' edit these variables, otherwise don't
# worry about it.
# To install MAN style pages, set MANDIR to the proper location.
# To install CATMAN style pages, set CATMANDIR, NROFF, and PACK to the proper
# locations.
# To inhibit the installation of either, unset MANDIR/CATMANDIR.
#--------------------------------------------------------------------------
#BINDIR = /usr/lbin
BINDIR = /usr/bin
MANDIR = /usr/man/man1
#MANDIR =
#CATMANDIR = /usr/catman/LOCAL/g1
CATMANDIR =
NROFF = /usr/bin/nroff
PACK = pack
TEST = test
RM = rm -f
CP = cp
#************************************************
#*** SHOULD NOT NEED TO EDIT BELOW THIS POINT ***
#************************************************