head	1.22;
access;
symbols
	RELEASE_8_3_0:1.22
	RELEASE_9_0_0:1.22
	RELEASE_7_4_0:1.22
	RELEASE_8_2_0:1.22
	RELEASE_6_EOL:1.22
	RELEASE_8_1_0:1.22
	RELEASE_7_3_0:1.22
	RELEASE_8_0_0:1.22
	RELEASE_7_2_0:1.22
	RELEASE_7_1_0:1.22
	RELEASE_6_4_0:1.22
	RELEASE_5_EOL:1.22
	RELEASE_7_0_0:1.22
	RELEASE_6_3_0:1.22
	PRE_XORG_7:1.22
	RELEASE_4_EOL:1.22
	RELEASE_6_2_0:1.22
	RELEASE_6_1_0:1.22
	RELEASE_5_5_0:1.22
	RELEASE_6_0_0:1.22
	RELEASE_5_4_0:1.22
	RELEASE_4_11_0:1.21
	RELEASE_5_3_0:1.21
	RELEASE_4_10_0:1.21
	RELEASE_5_2_1:1.20
	RELEASE_5_2_0:1.20
	RELEASE_4_9_0:1.20
	RELEASE_5_1_0:1.19
	RELEASE_4_8_0:1.19
	RELEASE_5_0_0:1.19
	RELEASE_4_7_0:1.19
	RELEASE_4_6_2:1.19
	RELEASE_4_6_1:1.19
	RELEASE_4_6_0:1.19
	RELEASE_5_0_DP1:1.19
	RELEASE_4_5_0:1.19
	RELEASE_4_4_0:1.18
	RELEASE_4_3_0:1.16
	RELEASE_4_2_0:1.14
	RELEASE_4_1_1:1.14
	RELEASE_4_1_0:1.14
	RELEASE_3_5_0:1.14
	RELEASE_4_0_0:1.12
	RELEASE_3_4_0:1.11
	RELEASE_3_3_0:1.10
	RELEASE_3_2_0:1.7
	RELEASE_3_1_0:1.7
	RELEASE_2_2_8:1.6
	RELEASE_3_0_0:1.6
	RELEASE_2_2_7:1.5
	RELEASE_2_2_6:1.4
	RELEASE_2_2_5:1.4
	RELEASE_2_2_1:1.3
	RELEASE_2_2_2:1.4
	analog_1_9_6:1.1.1.1
	RAYNARD:1.1.1;
locks; strict;
comment	@# @;


1.22
date	2005.01.09.21.21.29;	author mharo;	state Exp;
branches;
next	1.21;

1.21
date	2003.12.17.04.18.43;	author mharo;	state Exp;
branches;
next	1.20;

1.20
date	2003.07.17.04.31.37;	author mharo;	state Exp;
branches;
next	1.19;

1.19
date	2002.01.15.03.14.26;	author mharo;	state Exp;
branches;
next	1.18;

1.18
date	2001.05.04.12.23.28;	author mharo;	state Exp;
branches;
next	1.17;

1.17
date	2001.05.04.00.49.15;	author mharo;	state Exp;
branches;
next	1.16;

1.16
date	2001.04.13.23.42.14;	author mharo;	state Exp;
branches;
next	1.15;

1.15
date	2001.02.17.13.00.32;	author mharo;	state Exp;
branches;
next	1.14;

1.14
date	2000.04.15.07.28.01;	author ache;	state Exp;
branches;
next	1.13;

1.13
date	2000.03.23.09.35.41;	author ache;	state Exp;
branches;
next	1.12;

1.12
date	2000.02.15.19.51.19;	author ache;	state Exp;
branches;
next	1.11;

1.11
date	99.12.09.04.18.17;	author ache;	state Exp;
branches;
next	1.10;

1.10
date	99.09.09.21.29.46;	author ache;	state Exp;
branches;
next	1.9;

1.9
date	99.06.03.20.37.27;	author mph;	state Exp;
branches;
next	1.8;

1.8
date	99.05.19.21.33.52;	author ache;	state Exp;
branches;
next	1.7;

1.7
date	99.01.19.18.33.20;	author ache;	state Exp;
branches;
next	1.6;

1.6
date	98.08.18.21.12.12;	author stb;	state Exp;
branches;
next	1.5;

1.5
date	98.04.08.18.18.10;	author ache;	state Exp;
branches;
next	1.4;

1.4
date	97.05.02.23.16.57;	author ache;	state Exp;
branches;
next	1.3;

1.3
date	96.10.22.00.49.04;	author jfitz;	state Exp;
branches;
next	1.2;

1.2
date	96.08.04.14.11.20;	author jraynard;	state Exp;
branches;
next	1.1;

1.1
date	96.06.09.23.24.54;	author asami;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	96.06.09.23.24.54;	author asami;	state Exp;
branches;
next	;


desc
@@


1.22
log
@Upgrade to Analog 6.0
@
text
@--- src/Makefile.orig	Sun Dec 19 05:51:30 2004
+++ src/Makefile	Sun Jan  9 12:50:26 2005
@@@@ -2,16 +2,23 @@@@
 # Please read docs/Readme.html, or http://www.analog.cx/
 # This is a general Unix-like Makefile: Makefiles for other OS's can be found
 #   in the "build" directory.
-CC = gcc           # which compiler to use: eg cc, acc, gcc. NB Different
+CC ?= gcc           # which compiler to use: eg cc, acc, gcc. NB Different
 #                    compilers need different CFLAGS, e.g., -O instead of -O2.
 MAKE = make        # which "make" to use
-CFLAGS = -O2    # options, e.g. for optimisation or ANSI compilation.
+CFLAGS += -I${LOCALBASE}/include -I${LOCALBASE}/include/gd
+#CFLAGS = -O2    # options, e.g. for optimisation or ANSI compilation.
 #                 Some OS's need -D_FILE_OFFSET_BITS=64 to support files > 2MB.
 #                 HP/UX cc needs CFLAGS = -Aa (HP/UX 9) or -Ae (HP/UX 10)
 #                 BeOS needs CFLAGS = -O2 -Wl,-L/boot/home/config/lib
 #                 BS2000/OSD needs CFLAGS = -XLLML -XLLMK
 #                 NeXTSTEP needs CFLAGS = -O2 -pipe -no-precomp 
 DEFS =          # any combination of -DNOPIPES -DNODNS -DNODIRENT -DNOGLOB ...
+DEFS = -DLOGFILE=\"/var/log/httpd-access.log\" \
+       -DIMAGEDIR=\"/images/\" \
+       -DDEFAULTCONFIGFILE=\"$(PREFIX)/etc/analog.cfg\" \
+       -DLANGDIR=\"${PREFIX}/share/analog/lang/\" \
+       -DCONFIGDIR=\"$(PREFIX)/share/analog/\" \
+       -DHAVE_ZLIB
 #                 ... -DNOOPEN -DNOFOLLOW -DNOALARM -DNOGRAPHICS -DNOGMTIME ...
 #                 ... -DEBCDIC -DUSE_PLAIN_SETJMP ...
 #                 ... -DHAVE_GD -DHAVE_ZLIB -DHAVE_BZLIB -DHAVE_PCRE ...
@@@@ -31,6 +38,12 @@@@
 OS = UNIX         # Operating system: UNIX, DOS, WIN32, MAC, OS2, OSX, VMS
 #                   RISCOS, BEOS, NEXTSTEP, MPEIX, BS2000, AS400, OS390
 LIBS = -lm  # extra libraries needed; most platforms (but not OS X or BeOS)
+
+.if !defined(WITHOUT_GD)
+DEFS+= -DHAVE_GD
+LIBS+=  -L${LOCALBASE}/lib -lgd -lpng -ljpeg -lz
+.endif
+
 #               need -lm LAST
 #             if you defined HAVE_GD above you also need -lgd -lpng -ljpeg -lz
 #             if you defined HAVE_ZLIB above you also need -lz
@


1.21
log
@use DOCSDIR
   -- mharo

add -DHAVE_ZLIB to Makefile to use system libz and fix a bug
   -- Matthew Reimer <mreimer@@vpop.net>

PR:		55844
Submitted by:	Matthew Reimer <mreimer@@vpop.net>
@
text
@d1 4
a4 4
--- src/Makefile.orig	Sun Mar 23 05:57:02 2003
+++ src/Makefile	Thu Aug 21 10:26:26 2003
@@@@ -2,15 +2,22 @@@@
 # Please read docs/Readme.html, or <A HREF="http://www.analog.cx/">http://www.analog.cx/</A>
d14 1
d19 1
a19 1
-DEFS =          # any combination of -DNOPIPES -DNODNS -DNODIRENT -DNOGLOB ...
a25 1
+#DEFS =          # any combination of -DNOPIPES -DNODNS -DNODIRENT -DNOGLOB ...
d28 2
a29 2
 #                 ... -DHAVE_GD -DHAVE_ZLIB -DHAVE_PCRE ...
@@@@ -30,6 +37,12 @@@@
@


1.20
log
@Upgrade Analog to 5.32 (includes fixes)

PR:		52100
Submitted by:	    Kevin Golding <kevin@@caomhin.demon.co.uk>
@
text
@d1 4
a4 4
--- src/Makefile.orig	Sun Mar 23 13:57:02 2003
+++ src/Makefile	Sun May 11 09:24:47 2003
@@@@ -2,15 +2,21 @@@@
 # Please read docs/Readme.html, or http://www.analog.cx/
d23 2
a24 1
+       -DCONFIGDIR=\"$(PREFIX)/share/analog/\"
d29 1
a29 1
@@@@ -30,6 +36,12 @@@@
@


1.19
log
@properly update port to 5.1.
Bump PORT_EPOCH to 1 because 5.1 should be > 5.03

Submitted by:	Oliver Lehmann <olivleh1@@raisdorf.net>
@
text
@d1 3
a3 4
--- src/Makefile.orig	Wed Jan  9 21:16:22 2002
+++ src/Makefile	Wed Jan  9 21:18:38 2002
@@@@ -1,14 +1,20 @@@@
 # Makefile for analog 5.1
d5 2
d26 3
a28 3
 #                 ... -DEBCDIC -DUSE_PLAIN_SETJMP -DHAVE_GD -DHAVE_PCRE ...
 #                 ... -DNEED_STRCMP -DNEED_MEMMOVE -DNEED_STRTOUL ...
@@@@ -25,6 +31,12 @@@@
d40 1
a40 1
 #             if you defined HAVE_PCRE above you also need -lpcre
@


1.18
log
@Fix directory paths and use shared libraries
@
text
@d1 4
a4 4
--- src/Makefile.orig	Tue May  1 03:38:33 2001
+++ src/Makefile	Fri May  4 05:15:57 2001
@@@@ -1,12 +1,14 @@@@
 # Makefile for analog 5.0
d9 1
a10 1
+LOCALBASE?=/usr/local
d14 1
d18 5
d27 1
a27 11
@@@@ -19,10 +21,23 @@@@
 #                 64-bit Solaris needs -DHAVE_ADDR_T
 #                 DYNIX/ptx needs -D_SOCKET_VERSION=11
 #                 MPE/iX needs -D_POSIX_SOURCE -D_SOCKET_SOURCE
+DEFS =	-DLOGFILE=\"/var/log/httpd-access.log\" \
+	-DIMAGEDIR=\"/images/\" \
+	-DDEFAULTCONFIGFILE=\"$(PREFIX)/etc/analog.cfg\" \
+	-DLANGDIR=\"${PREFIX}/share/analog/lang/\" \
+	-DCONFIGDIR=\"$(PREFIX)/share/analog/\"
+	
 #
d30 1
a30 2
-LIBS = -lm  # extra libraries needed; almost all platforms (but not OS X)
+LIBS = -lm
d33 2
a34 2
+DEFS+=	-DHAVE_GD
+LIBS+=  -L${LOCALBASE}/lib -lgd -lpng -ljpeg -lz 
a36 1
+# extra libraries needed; almost all platforms (but not OS X)
@


1.17
log
@Update to 5.0

Submitted by:	petef@@databits.net
@
text
@d1 3
a3 3
--- src/Makefile.orig	Thu May  3 19:22:47 2001
+++ src/Makefile	Thu May  3 19:23:59 2001
@@@@ -1,12 +1,12 @@@@
d10 2
d21 1
a21 1
@@@@ -19,6 +19,11 @@@@
d25 1
a25 2
+DEFS =	-DANALOGDIR=\"$(PREFIX)/share/analog/\" \
+	-DLOGFILE=\"/var/log/httpd-access.log\" \
d27 3
a29 1
+	-DDEFAULTCONFIGFILE=\"$(PREFIX)/etc/analog.cfg\"
d34 12
@


1.16
log
@Fix package building error
Noticed by: "rob" <rob@@piethief.co.uk>

Move analog files from ${PREFIX}/lib/analog to ${PREFIX}/share/analog
Make CC / CFLAGS clean
Bumb PORTREVISION
@
text
@d1 4
a4 4
--- Makefile.orig	Tue Feb 13 07:09:08 2001
+++ Makefile	Wed Apr 11 17:28:09 2001
@@@@ -1,13 +1,13 @@@@
 # Makefile for analog 4.16
d9 15
a23 16
-CEXTRAFLAGS = -O2  # options, e.g. for optimisation or ANSI compilation.
+#CEXTRAFLAGS = -O2  # options, e.g. for optimisation or ANSI compilation.
 #                    HP/UX cc requires CEXTRAFLAGS = -Aa (HP/UX 9) or ...
 #                    -Ae (HP/UX 10);       BS2000/OSD requires -XLLML -XLLMK;
 #                    NeXTSTEP apparently needs...
 #                    CEXTRAFLAGS = -O2 -pipe -no-precomp 
-DEFS =             # any of -DNOPIPES -DNODNS -DNODIRENT -DNOOPEN ...
+#DEFS =             # any of -DNOPIPES -DNODNS -DNODIRENT -DNOOPEN ...
 #                    ... -DEBCDIC -DNOGMTIME -DNEED_STRCMP -DNEED_MEMMOVE ...
 #                    ... -DNEED_STRTOUL -DNEED_DIFFTIME -DHAVE_ADDR_T ...
 #                    ... -DNEED_FLOATINGPOINT_H
@@@@ -18,6 +18,10 @@@@
 #                    DYNIX/ptx reportedly needs -D_SOCKET_VERSION=11
 #                    MPE/iX needs -D_POSIX_SOURCE -D_SOCKET_SOURCE
 #                    All the options are explained at the bottom of this file.
+DEFS =  -DANALOGDIR=\"$(PREFIX)/share/analog/\" \
d27 4
a30 18
 OS = UNIX          # Operating system: UNIX, DOS, WIN32, MAC, OS2, OSX, VMS,
 #                    RISCOS, BEOS, NEXTSTEP, MPEIX, BS2000, AS400
 LIBS =       # extra libraries needed; Solaris 2 (SunOS 5) needs
@@@@ -33,12 +37,12 @@@@
 	input.o macinput.o macstuff.o output.o output2.o pcre.o process.o \
 	settings.o sort.o tree.o utils.o win32.o
 HEADERS = anlghead.h anlghea2.h anlghea3.h anlghea4.h macdir.h pcre.h
-CFLAGS = $(CEXTRAFLAGS) $(DEFS) -D$(OS)
+CFLAGS += $(DEFS) -D$(OS)
 
 $(PROGRAM): $(OBJS) $(HEADERS) Makefile
 	$(CC) $(CEXTRAFLAGS) -o $(PROGRAM) $(OBJS) $(LIBS)
 	@@echo '***'
-	@@echo '***IMPORTANT: You must read the licence before using analog'
+	@@echo '***IMPORTANT: You must read the license before using analog'
 	@@echo '***'
 
 # There doesn't seem to be a good way to write all these rules in a generic
@


1.15
log
@Update to from 4.11 to 4.16

 - Security fix for buffer overflow bug.
 - language / domain file updates
 - Bug fixes, especially for multibyte character sets.
 - Can count beyond Terabytes.
 - Can do a FLOOR beyond Terabytes.
 - Recognises Windows Me for Operating System Report.

PR:		25079
Submitted by:	    Christopher K Davis <ckd@@komarr.ckdhr.com>
@
text
@d1 11
a11 3
--- Makefile.orig	Thu Feb  1 08:58:17 2001
+++ Makefile	Sun Feb 11 16:06:14 2001
@@@@ -7,7 +7,7 @@@@
d24 1
a24 1
+DEFS =  -DANALOGDIR=\"$(PREFIX)/lib/analog/\" \
d31 1
a31 1
@@@@ -33,7 +37,7 @@@@
d40 6
@


1.14
log
@upgrade to 4.1
@
text
@d1 2
a2 2
--- Makefile.orig	Thu Mar 30 17:59:16 2000
+++ Makefile	Sat Apr 15 11:09:28 2000
d10 3
a12 4
 #                    ... -DNEED_STRTOUL -DNEED_DIFFTIME -DNEED_FLOATINGPOINT_H
 #                    Solaris 2 (SunOS 5) might need DEFS = -DNEED_STRCMP
@@@@ -15,6 +15,10 @@@@
 #   DEFS = -DNEED_MEMMOVE -DNEED_STRTOUL -DNEED_DIFFTIME -DNEED_FLOATINGPOINT_H
d14 1
d20 2
a21 2
 OS = UNIX          # Operating system: UNIX, DOS, WIN32, MAC, OS2, VMS
 #                    RISCOS, BEOS, NEXTSTEP, BS2000
d23 1
a23 1
@@@@ -29,7 +33,7 @@@@
d31 1
a31 1
 	$(CC) $(CEXTRAFLAGS) $(OBJS) -o $(PROGRAM) $(LIBS)
@


1.13
log
@upgrade to 4.04
@
text
@d1 3
a3 3
--- Makefile.orig	Tue Mar 21 12:58:01 2000
+++ Makefile	Thu Mar 23 12:25:23 2000
@@@@ -7,7 +7,11 @@@@
d7 9
a15 2
-DEFS =             # any of -DNOPIPES -DNODNS -DNODIRENT -DNOOPEN -DNOREGEX ...
+#DEFS =             # any of -DNOPIPES -DNODNS -DNODIRENT -DNOOPEN -DNOREGEX ...
d20 3
a22 3
 #                    ... -DEBCDIC -DNOGMTIME -DNEED_STRCMP -DNEED_MEMMOVE ...
 #                    ... -DNEED_STRTOUL -DNEED_DIFFTIME -DNEED_FLOATINGPOINT_H
 #                    Solaris 2 (SunOS 5) might need DEFS = -DNEED_STRCMP
d24 3
a26 3
 	input.o macinput.o macstuff.o output.o output2.o process.o settings.o \
 	sort.o tree.o utils.o win32.o
 HEADERS = anlghead.h anlghea2.h anlghea3.h anlghea4.h macdir.h
@


1.12
log
@upgrade to 4.02
@
text
@d1 6
a6 12
--- Makefile.orig	Sat Jan 29 19:01:08 2000
+++ Makefile	Tue Feb 15 22:20:06 2000
@@@@ -1,11 +1,15 @@@@
 # Makefile for analog 4.02
 # Please read docs/Readme.html, or http://www.statslab.cam.ac.uk/~sret1/analog/
-CC = gcc           # which compiler to use: eg cc, acc, gcc. NB Different
+#CC = gcc           # which compiler to use: eg cc, acc, gcc. NB Different
 #                    compilers need different CFLAGS, e.g., -O instead of -O2.
-CEXTRAFLAGS = -O2  # options, e.g. for optimisation or ANSI compilation.
+#CEXTRAFLAGS = -O2  # options, e.g. for optimisation or ANSI compilation.
 #                    HP/UX cc requires CEXTRAFLAGS = -Aa (HP/UX 9) or ...
 #                    -Ae (HP/UX 10);       BS2000/OSD requires -XLLML -XLLMK
d16 1
a16 1
@@@@ -27,7 +31,7 @@@@
d21 1
a21 1
+CFLAGS += $(CEXTRAFLAGS) $(DEFS) -D$(OS)
@


1.11
log
@Upgrade to 4.0
@
text
@d1 2
a2 2
--- Makefile.orig	Sun Nov 14 17:17:21 1999
+++ Makefile	Thu Dec  9 06:48:56 1999
d4 1
a4 1
 # Makefile for analog 4.0
d19 1
a19 1
 #                    ... -DEBCDIC -DNEED_STRCMP -DNEED_MEMMOVE ...
d22 1
a22 1
@@@@ -25,7 +29,7 @@@@
@


1.10
log
@upgrade to 3.32
@
text
@d1 2
a2 2
--- Makefile.orig	Wed Sep  1 17:24:44 1999
+++ Makefile	Fri Sep 10 01:02:27 1999
d4 1
a4 1
 # Makefile for analog 3.32
d7 1
a7 1
+CC ?= gcc           # which compiler to use: eg cc, acc, gcc. NB Different
d13 2
a14 2
-DEFS =             # any of -DNOPIPES -DNODNS -DNODIRENT -DNOOPEN -DEBCDIC ...
+#DEFS =             # any of -DNOPIPES -DNODNS -DNODIRENT -DNOOPEN -DEBCDIC ...
d19 2
a20 2
 #                    ... -DNEED_STRCMP -DNEED_MEMMOVE -DNEED_STRTOUL ...
 #                    ... -DNEED_DIFFTIME -DNEED_FLOATINGPOINT_H
d22 2
a23 2
@@@@ -25,11 +29,13 @@@@
 	macinput.o macstuff.o output.o output2.o process.o settings.o \
d25 1
a25 1
 HEADERS = analhead.h analhea2.h macdir.h
a27 6
 
 # Form interface options:
 FORMPROG = anlgform.cgi     # The program that processes the data from the form
 FORMSRC = anlgform.c        # The source code for that program
+
+all:	$(PROGRAM)
@


1.9
log
@Love, honor, and obey CC.
@
text
@d1 4
a4 4
--- Makefile.orig	Wed May 19 04:07:25 1999
+++ Makefile	Thu Jun  3 13:35:15 1999
@@@@ -1,11 +1,12 @@@@
 # Makefile for analog 3.3
d15 4
a18 1
+DEFS = -DPREFIX=\"$(PREFIX)\"
d22 1
a22 1
@@@@ -25,11 +26,13 @@@@
@


1.8
log
@upgrade to 3.3
@
text
@d1 4
a4 3
--- Makefile.orig	Wed May 19 15:07:25 1999
+++ Makefile	Wed May 19 23:53:39 1999
@@@@ -2,10 +2,11 @@@@
d6 2
a7 1
 CC = gcc           # which compiler to use: eg cc, acc, gcc. NB Different
@


1.7
log
@upgrade to 3.11
@
text
@d1 2
a2 2
--- Makefile.orig	Sat Nov  7 00:27:05 1998
+++ Makefile	Tue Jan 19 21:21:20 1999
d7 6
a12 6
-CFLAGS = -O2       # options, e.g. for optimisation or ANSI compilation.
+#CFLAGS = -O2       # options, e.g. for optimisation or ANSI compilation.
 #                    HP/UX cc needs -Aa (HP/UX 9) or -Ae (HP/UX 10)
 #                    Some Linuces might need -I/usr/src/linux/include
-DEFS =             # any of -DNOPIPES -DNODNS -DNODIRENT -DNOSTRCMP -DEBCDIC
+#DEFS =             # any of -DNOPIPES -DNODNS -DNODIRENT -DNOSTRCMP -DEBCDIC
d14 10
a23 4
 #                    Solaris 2 (SunOS 5) might need DEFS = -DNOSTRCMP
 OS = UNIX          # Operating system: UNIX, DOS, WIN32, MAC, OS2, VMS
 #                    RISCOS, BEOS, BS2000
@@@@ -27,6 +28,8 @@@@
d31 1
a31 1
 	$(CC) $(CFLAGS) $(OBJS) -o $(PROGRAM) $(LIBS)
@


1.6
log
@Updated to version 3.0
@
text
@d1 2
a2 2
--- Makefile.orig	Mon Jun 15 19:57:00 1998
+++ Makefile	Tue Aug 18 21:00:37 1998
d9 1
a9 1
 #                    HP/UX cc needs -Aa
d14 1
d17 1
a17 2
 LIBS =             # extra libraries needed; Solaris 2 (SunOS 5) needs
@@@@ -26,6 +27,8 @@@@
@


1.5
log
@Upgrade to 2.90beta3
@
text
@d1 25
a25 37
*** Makefile.orig	Wed Apr  8 17:37:54 1998
--- Makefile	Wed Apr  8 19:42:19 1998
***************
*** 2,11 ****
  # Please read docs/Readme.html, or http://www.statslab.cam.ac.uk/~sret1/analog/
  CC = gcc           # which compiler to use: eg cc, acc, gcc. NB Different
  #                    compilers need different CFLAGS, e.g., -O instead of -O2.
! CFLAGS = -O2       # options, e.g. for optimisation or ANSI compilation.
  #                    HP/UX cc needs -Aa
  #                    Some Linuces might need -I/usr/src/linux/include
! DEFS =             # any of -DNOPIPES -DNODNS -DNODIRENT
  OS = UNIX          # Operating system: UNIX, DOS, WIN32, MAC or VMS
  LIBS =             # extra libraries needed; Solaris 2 (SunOS 5) needs
  #                    LIBS = -lnsl and SCO Unix needs LIBS = -lsocket
--- 2,12 ----
  # Please read docs/Readme.html, or http://www.statslab.cam.ac.uk/~sret1/analog/
  CC = gcc           # which compiler to use: eg cc, acc, gcc. NB Different
  #                    compilers need different CFLAGS, e.g., -O instead of -O2.
! #CFLAGS = -O2       # options, e.g. for optimisation or ANSI compilation.
  #                    HP/UX cc needs -Aa
  #                    Some Linuces might need -I/usr/src/linux/include
! #DEFS =             # any of -DNOPIPES -DNODNS -DNODIRENT
! DEFS = -DPREFIX=\"$(PREFIX)\"
  OS = UNIX          # Operating system: UNIX, DOS, WIN32, MAC or VMS
  LIBS =             # extra libraries needed; Solaris 2 (SunOS 5) needs
  #                    LIBS = -lnsl and SCO Unix needs LIBS = -lsocket
***************
*** 26,31 ****
--- 27,34 ----
  FORMSRC = analform.c        # The source code for that program
  FORMHTML = analogform.html  # Where the form itself will go
  FORMOPTS =                  # Extra analog options when constructing the form
+ 
+ all: $(PROGRAM)
  
  $(PROGRAM): $(OBJS) $(HEADERS) Makefile
  	$(CC) $(CFLAGS) $(OBJS) -o $(PROGRAM) $(LIBS)
@


1.4
log
@Upgrade to 2.11
@
text
@d1 2
a2 2
*** Makefile.orig	Fri Mar 14 20:33:08 1997
--- Makefile	Sat May  3 03:09:30 1997
d4 2
a5 2
*** 2,8 ****
  # Please read Readme.html, or http://www.statslab.cam.ac.uk/~sret1/analog/
d9 3
a11 1
  DEFS =             # any of -DNOPIPES -DNODNS -DNODIRENT
d13 4
a16 3
  LIBS = -lm         # extra libraries needed; Solaris 2 (SunOS 5) needs
--- 2,8 ----
  # Please read Readme.html, or http://www.statslab.cam.ac.uk/~sret1/analog/
d20 4
a23 1
  DEFS =             # any of -DNOPIPES -DNODNS -DNODIRENT
d25 2
a26 1
  LIBS = -lm         # extra libraries needed; Solaris 2 (SunOS 5) needs
d28 2
a29 2
*** 22,27 ****
--- 22,29 ----
@


1.3
log
@Upgrade to v1.92.1
Remove directories created during pkg_delete
@
text
@d1 30
a30 20
--- Makefile.orig	Wed Oct  9 09:46:19 1996
+++ Makefile	Mon Oct 21 20:37:22 1996
@@@@ -2,7 +2,7 @@@@
 # Please read Readme.html, or http://www.statslab.cam.ac.uk/~sret1/analog/
 CC = gcc           # which compiler to use. NB Different compilers need
 #                    different CFLAGS, e.g., -O instead of -O2.
-CFLAGS = -O2       # options, e.g. for optimisation or ANSI compilation.
+#CFLAGS = -O2       # options, e.g. for optimisation or ANSI compilation.
 DEFS =             # any of -DNOPIPES -DNODNS -DNODIRENT
 OS = UNIX          # Operating system: UNIX, DOS, MAC or VMS
 LIBS = -lm         # extra libraries needed; Solaris 2 (SunOS 5) needs
@@@@ -21,6 +21,8 @@@@
 FORMSRC = analform.c        # The source code for that program
 FORMHTML = analogform.html  # Where the form itself will go
 FORMOPTS =                  # Extra analog options when constructing the form
+
+all: $(PROGRAM)
 
 $(PROGRAM): $(OBJS) $(HEADERS) Makefile
 	$(CC) $(CFLAGS) $(OBJS) -o $(PROGRAM) $(LIBS)
@


1.2
log
@Updated to version 1.91.4.  Use the FTP URL for the master site instead
of the HTML one.
@
text
@d1 2
a2 2
--- Makefile.orig	Sun Aug  4 09:19:11 1996
+++ Makefile	Sun Aug  4 09:20:41 1996
d6 1
a6 1
                    # different CFLAGS, e.g., -O instead of -O2.
a20 11
--- analform.c.orig	Sat Jul 13 14:47:55 1996
+++ analform.c	Sun Aug  4 09:16:42 1996
@@@@ -11,7 +11,7 @@@@
 
 /* You must change the next line to indicate where the analog program lives */
 
-#define COMMAND "/usr/local/etc/httpd/analog/analog"
+#define COMMAND "/usr/local/bin/analog"
 #define MAXARGLENGTH (2048)   /* should be plenty */
 #define OK (0)
 #define ERR (-1)
@


1.1
log
@Initial revision
@
text
@d1 31
a31 51
*** Makefile.orig	Wed Mar  6 15:12:05 1996
--- Makefile	Sun Jun  9 12:27:55 1996
***************
*** 2,8 ****
  # Please read Readme.html, or http://www.statslab.cam.ac.uk/~sret1/analog/
  CC = gcc           # which compiler to use. NB Different compilers need
                     # different CFLAGS, e.g., -O instead of -O2.
! CFLAGS = -O2       # options, e.g. for optimisation or ANSI compilation.
  LIBS = -lm         # extra libraries needed
  PAGER = less       # Your favourite pager program, e.g. more
  
--- 2,8 ----
  # Please read Readme.html, or http://www.statslab.cam.ac.uk/~sret1/analog/
  CC = gcc           # which compiler to use. NB Different compilers need
                     # different CFLAGS, e.g., -O instead of -O2.
! #CFLAGS = -O2       # options, e.g. for optimisation or ANSI compilation.
  LIBS = -lm         # extra libraries needed
  PAGER = less       # Your favourite pager program, e.g. more
  
***************
*** 16,21 ****
--- 16,23 ----
  FORMSRC = analform.c        # The source code for that program
  FORMHTML = analogform.html  # Where the form itself will go
  FORMOPTS =                  # Extra analog options when constructing the form
+ 
+ all: $(PROGRAM)
  
  $(PROGRAM): $(OBJS) $(HEADERS) Makefile
  	$(CC) $(CFLAGS) $(OBJS) -o $(PROGRAM) $(LIBS)

*** analform.c.orig	Wed Apr 10 08:57:01 1996
--- analform.c	Sun Jun  9 12:45:57 1996
***************
*** 6,12 ****
  
  /* You must change the next line to indicate where the analog program lives */
  
! #define COMMAND "/usr/local/etc/httpd/analog/analog"
  #define MAXARGLENGTH (2048)   /* should be plenty */
  #define OK (0)
  #define ERR (-1)
--- 6,12 ----
  
  /* You must change the next line to indicate where the analog program lives */
  
! #define COMMAND "/usr/local/bin/analog"
  #define MAXARGLENGTH (2048)   /* should be plenty */
  #define OK (0)
  #define ERR (-1)

@


1.1.1.1
log
@Web server statistics.

Submitted by:	James Raynard <fports@@jraynard.demon.co.uk>
@
text
@@
