head	1.4;
access;
symbols
	RELEASE_5_4_0:1.3
	RELEASE_4_11_0:1.3
	RELEASE_5_3_0:1.3
	RELEASE_4_10_0:1.3
	RELEASE_5_2_1:1.3
	RELEASE_5_2_0:1.3
	RELEASE_4_9_0:1.3
	RELEASE_5_1_0:1.3
	RELEASE_4_8_0:1.3
	RELEASE_5_0_0:1.3
	RELEASE_4_7_0:1.3
	RELEASE_4_6_2:1.2
	RELEASE_4_6_1:1.2
	RELEASE_4_6_0:1.2
	RELEASE_5_0_DP1:1.2
	RELEASE_4_5_0:1.2
	RELEASE_4_4_0:1.2
	RELEASE_4_3_0:1.2
	RELEASE_4_2_0:1.1
	RELEASE_4_1_1:1.1
	RELEASE_4_1_0:1.1
	RELEASE_3_5_0:1.1;
locks; strict;
comment	@# @;


1.4
date	2005.04.22.09.21.12;	author vs;	state dead;
branches;
next	1.3;

1.3
date	2002.07.04.08.07.24;	author mikeh;	state Exp;
branches;
next	1.2;

1.2
date	2001.03.12.18.10.32;	author sf;	state Exp;
branches;
next	1.1;

1.1
date	2000.04.01.12.31.41;	author will;	state Exp;
branches;
next	;


desc
@@


1.4
log
@Use ALL_TARGET/MAKE_ARGS
@
text
@--- Makefile.orig	Tue Nov 17 19:25:43 1998
+++ Makefile	Mon Jul  1 01:56:44 2002
@@@@ -1,17 +1,24 @@@@
-CC=gcc
-XFORMSLIBPATH=/usr/X11R6/lib      # path to xforms library
-XFORMSINCPATH=/usr/X11R6/include  # path to xforms header file <forms.h>
-XLIBSPATH=/usr/X11R6/lib          # path to standard X libraries
-XINCPATH=/usr/X11R6/include       # path to standard X header files
-LIBS= -lm -lX11 -lforms           # libraries 
+X11BASE?=/usr/X11R6
+CC ?=gcc
+XFORMSLIBPATH=${X11BASE}/lib      # path to xforms library
+.if exists (${X11BASE}/include/X11/forms.h)
+XFORMSINCPATH=${X11BASE}/include/X11
+.else
+XFORMSINCPATH=${X11BASE}/include
+.endif
+XLIBSPATH=${X11BASE}/lib          # path to standard X libraries
+XINCPATH=${X11BASE}/include       # path to standard X header files
+LIBS= -lm -lX11 -lforms -lXpm     # libraries 
 #EXTRALIBS=-lnsl -lsocket         # additional libraries needed by some unices
 SRC=xftp.c fd_xftp.c
 OBJ=$(SRC:.c=.o)
 EXE=xrmftp
-CFLAGS=-I/usr/include -I${XFORMSINCPATH} -I${XINCPATH} 
-LDFLAGS=-L/usr/lib -L${XLIBSPATH} ${LIBS} ${EXTRALIBS} -L${XFORMSLIBPATH} -O3
+CFLAGS +=-I/usr/include -I${XFORMSINCPATH} -I${XINCPATH}
+LDFLAGS =-L/usr/lib -L${XLIBSPATH} ${LIBS} ${EXTRALIBS} -L${XFORMSLIBPATH}
 
 #------------------------------------------------------------------------------
+
+all: ${EXE}
 
 ${EXE}: ${OBJ}
 	${CC}  ${LDFLAGS} -o ${EXE} ${OBJ}
@


1.3
log
@Prepare for xforms update.
@
text
@@


1.2
log
@fix build error caused by xforms change.

PR:		25697
Submitted by:	maintainer
@
text
@d2 2
a3 2
+++ Makefile	Sun Mar 11 05:59:19 2001
@@@@ -1,17 +1,20 @@@@
d9 1
d13 5
a17 1
+XFORMSINCPATH=${X11BASE}/include  # path to xforms header file <forms.h>
d20 1
a20 1
 LIBS= -lm -lX11 -lforms           # libraries 
@


1.1
log
@Add xrmftp 1.2.4, a xforms-based FTP client.

PR:		17653
Prodded by:	Matt Heckaman <matt@@LUCIDA.QC.CA>
Submitted by:	Matt Heckaman <matt@@LUCIDA.QC.CA>
@
text
@d1 2
a2 2
--- Makefile	Tue Nov 17 19:25:43 1998
+++ Makefile.new	Sat Apr  1 06:43:11 2000
a8 1
-LIBS= -lm -lX11 -lforms           # libraries 
d15 1
a15 1
+LIBS= -lm -lX11 -lxforms          # libraries 
d23 1
a23 1
+LDFLAGS =-L/usr/lib -L${XLIBSPATH} ${LIBS} ${EXTRALIBS} -L${XFORMSLIBPATH} -O3
@

