head	1.3;
access;
symbols
	RELEASE_8_3_0:1.3
	RELEASE_9_0_0:1.3
	RELEASE_7_4_0:1.3
	RELEASE_8_2_0:1.3
	RELEASE_6_EOL:1.3
	RELEASE_8_1_0:1.3
	RELEASE_7_3_0:1.3
	RELEASE_8_0_0:1.3
	RELEASE_7_2_0:1.3
	RELEASE_7_1_0:1.3
	RELEASE_6_4_0:1.3
	RELEASE_5_EOL:1.3
	RELEASE_7_0_0:1.3
	RELEASE_6_3_0:1.3
	PRE_XORG_7:1.3
	RELEASE_4_EOL:1.3
	RELEASE_6_2_0:1.3
	RELEASE_6_1_0:1.3
	RELEASE_5_5_0:1.3
	RELEASE_6_0_0:1.3
	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.2
	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;
locks; strict;
comment	@# @;


1.3
date	2005.04.27.08.51.20;	author vs;	state Exp;
branches;
next	1.2;

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

1.1
date	2001.03.08.22.01.06;	author dannyboy;	state Exp;
branches;
next	;


desc
@@


1.3
log
@Use PLIST_FILES, OPTIONS, MAKE_ARGS
@
text
@--- Makefile.orig	Wed Dec 20 00:26:47 2000
+++ Makefile	Sun Jul  6 20:19:19 2003
@@@@ -26,15 +24,15 @@@@
 
 ssl:		$(OBJS) socket-ssl.o
 		rm -f htdump
-		$(CC) $(LFLAGS) -o htdump $(OBJS) socket-ssl.o -lssl -lcrypto -L/usr/local/ssl/lib
+		$(CC) $(LFLAGS) -o htdump $(OBJS) socket-ssl.o -lssl -lcrypto
 
-$(OBJS):	%.o: %.c $(HDRS)
+$(OBJS):	$(HDRS)
 
 socket.o:	socket.c $(HDRS)
 		$(CC) $(CFLAGS)   -c socket.c
 
 socket-ssl.o:	socket.c socket-ssl.c $(HDRS)
-		$(CC) $(CFLAGS)   -c socket-ssl.c -I /usr/local/ssl/include
+		$(CC) $(CFLAGS)   -c socket-ssl.c
 
 install:	$(PROGS)
 		cp htdump /usr/local/bin
@


1.2
log
@get rid of libgnugetopt dependency for -CURRENT,
use USE_GETOPT_LONG instead.
respect CC, CFLAGS.
use getopt_long() instead of getopt_long_only().
@
text
@a2 12
@@@@ -5,10 +5,8 @@@@
 #
 #
 
-CFLAGS	= -O4 -m486 -Wall #-funsigned-char -Wshadow -Wmissing-prototypes -Wmissing-declarations -Winline
 PROGS	= htdump
-LFLAGS	= -s #-static
-CC	= cc
+LFLAGS	= -s ${LDFLAGS}
 
 # Nothing should have to change beneath this line
 
@


1.1
log
@Add htdump 0.9x, a tool to retrieve WWW data.

PR:		25238
Submitted by:	Maxime Henrion (mux@@qualys.com)
@
text
@d1 3
a3 3
--- Makefile.orig	Tue Dec 19 16:26:47 2000
+++ Makefile	Wed Feb 21 00:33:15 2001
@@@@ -5,10 +5,11 @@@@
a7 1
+CFLAGS	= -O4 -Wall -I${PREFIX}/include #-funsigned-char -Wshadow -Wmissing-prototypes -Wmissing-declarations -Winline
d9 3
a11 3
 LFLAGS	= -s #-static
 CC	= cc
+LDFLAGS	+= -L${PREFIX}/lib
d15 1
a15 6
@@@@ -22,19 +23,19 @@@@
 
 htdump:		$(OBJS) socket.o
 		rm -f htdump
-		$(CC) $(LFLAGS) -o htdump $(OBJS) socket.o
+		$(CC) $(LFLAGS) -o htdump $(OBJS) socket.o ${LDFLAGS} -lgnugetopt
d20 1
a20 1
+		$(CC) $(LFLAGS) -o htdump $(OBJS) socket-ssl.o ${LDFLAGS} -lssl -lcrypto -lgnugetopt
@

