head	1.3;
access;
symbols
	RELEASE_8_1_0:1.2
	RELEASE_7_3_0:1.2
	RELEASE_8_0_0:1.2
	RELEASE_7_2_0:1.2
	RELEASE_7_1_0:1.2
	RELEASE_6_4_0:1.2
	RELEASE_5_EOL:1.2
	RELEASE_7_0_0:1.2
	RELEASE_6_3_0:1.2
	PRE_XORG_7:1.2
	RELEASE_4_EOL:1.2
	RELEASE_6_2_0:1.2
	RELEASE_6_1_0:1.2
	RELEASE_5_5_0:1.2
	RELEASE_6_0_0:1.2
	RELEASE_5_4_0:1.2
	RELEASE_4_11_0:1.2
	RELEASE_5_3_0:1.2
	RELEASE_4_10_0:1.2
	RELEASE_5_2_1:1.2
	RELEASE_5_2_0:1.2
	RELEASE_4_9_0:1.1
	RELEASE_5_1_0:1.1
	RELEASE_4_8_0:1.1
	RELEASE_5_0_0:1.1
	RELEASE_4_7_0:1.1
	RELEASE_4_6_2:1.1
	RELEASE_4_6_1:1.1
	RELEASE_4_6_0:1.1
	RELEASE_5_0_DP1:1.1
	RELEASE_4_5_0:1.1
	RELEASE_4_4_0:1.1
	RELEASE_4_3_0:1.1
	RELEASE_4_2_0:1.1
	RELEASE_4_1_1:1.1
	RELEASE_4_1_0:1.1
	RELEASE_3_5_0:1.1
	RELEASE_4_0_0:1.1
	RELEASE_3_4_0:1.1
	RELEASE_3_3_0:1.1
	RELEASE_3_2_0:1.1
	RELEASE_3_1_0:1.1
	RELEASE_2_2_8:1.1
	RELEASE_3_0_0:1.1
	RELEASE_2_2_7:1.1
	RELEASE_2_2_6:1.1
	RELEASE_2_2_5:1.1
	RELEASE_2_2_1:1.1
	RELEASE_2_2_2:1.1;
locks; strict;
comment	@# @;


1.3
date	2010.11.07.23.02.58;	author obrien;	state dead;
branches;
next	1.2;

1.2
date	2003.10.19.09.20.31;	author kris;	state Exp;
branches;
next	1.1;

1.1
date	96.11.15.07.35.25;	author jkh;	state Exp;
branches;
next	;


desc
@@


1.3
log
@Rename old ncftp port to "ncftp1".

PR:		151415
Submitted by:	brucec
@
text
@--- Makefile.orig	Sun Oct  1 17:50:58 1995
+++ Makefile	Sun Oct 19 02:18:45 2003
@@@@ -13,7 +13,7 @@@@
 
 # Program definitions.  See the README, part C.
 #--------------------------------------------------------------------------
-PDEFS =
+PDEFS = -DREADLINE
 #PDEFS = -DGETLINE
 #PDEFS = -DREADLINE -DCURSES
 #PDEFS = -DSOCKS
@@@@ -24,11 +24,12 @@@@
 # 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 ?= cc
 #CC = gcc
 
+CFLAGS ?= -O -pipe
 #CFLAGS = $(TERM_INC) -O
-CFLAGS = $(TERM_INC) -O2
+CFLAGS += $(TERM_INC)
 #CFLAGS = $(TERM_INC) -g
 
 LFLAGS = -s
@@@@ -53,7 +54,7 @@@@
 # You'll need to know where the Rconnect.o object file is if you want
 #   to use Socks.
 #--------------------------------------------------------------------------
-LIBS =
+LIBS = -lreadline
 #LIBS = -ldbmalloc
 #LIBS = -lgetline
 #LIBS = -lreadline -lcurses
@


1.2
log
@Respect CC and CFLAGS
@
text
@@


1.1
log
@Add readline support to ncftp.
Submitted-By: Dave Cornejo <dave@@dogwood.com>
@
text
@d1 35
a35 36
*** Makefile.orig	Sun Oct  1 17:50:58 1995
--- Makefile	Thu Nov 14 13:10:49 1996
***************
*** 13,19 ****
  
  # Program definitions.  See the README, part C.
  #--------------------------------------------------------------------------
! PDEFS =
  #PDEFS = -DGETLINE
  #PDEFS = -DREADLINE -DCURSES
  #PDEFS = -DSOCKS
--- 13,19 ----
  
  # Program definitions.  See the README, part C.
  #--------------------------------------------------------------------------
! PDEFS = -DREADLINE
  #PDEFS = -DGETLINE
  #PDEFS = -DREADLINE -DCURSES
  #PDEFS = -DSOCKS
***************
*** 53,59 ****
  # You'll need to know where the Rconnect.o object file is if you want
  #   to use Socks.
  #--------------------------------------------------------------------------
! LIBS =
  #LIBS = -ldbmalloc
  #LIBS = -lgetline
  #LIBS = -lreadline -lcurses
--- 53,59 ----
  # You'll need to know where the Rconnect.o object file is if you want
  #   to use Socks.
  #--------------------------------------------------------------------------
! LIBS = -lreadline
  #LIBS = -ldbmalloc
  #LIBS = -lgetline
  #LIBS = -lreadline -lcurses
@

