2000-02-23 19:31:56 +01:00
|
|
|
$NetBSD: patch-aa,v 1.7 2000/02/23 18:31:58 tron Exp $
|
1999-05-09 18:41:15 +02:00
|
|
|
|
2000-02-23 19:31:56 +01:00
|
|
|
--- Makefile.orig Sat Feb 12 19:18:08 2000
|
|
|
|
+++ Makefile Wed Feb 23 19:20:12 2000
|
Update "analog" package to version 4.0. Changes since version 3.32:
- Five new reports: Organisation Report, Operating System Report,
Search Word Report, Search Query Report, Processing Time Report.
- Browser Summary improved (will change results).
- Form interface completely rewritten, and considerably simplified.
- Multiple *'s now allowed on left-hand side of ALIASes.
- Regular expressions allowed in INCLUDEs & EXCLUDEs, and ALIASes.
- The output INCLUDEs and EXCLUDEs now apply to the lower levels of a
hierarchical report as well as the top level.
- New commands: CGI, STYLESHEET and ERRLINELENGTH.
- New column N in most reports.
- DEBUG C now reports which part of a corrupt logfile line is corrupt.
- Non-exact bytes are now displayed as, e.g., 47.68 Mbytes instead of
48,832 kbytes. This should be less confusing.
- Timestamps added to PROGRESSFREQ reports.
- The DNS file has a new time encoding.
- Header files split up to make anlghead.h simpler.
- Form interfaces in German and U.S. English included.
- New documentation about search arguments.
- New examples directory.
- New licence. (Nearly the same, just clarified, and slightly loosened).
1999-11-16 22:27:40 +01:00
|
|
|
@@ -2,10 +2,14 @@
|
1999-05-09 13:55:24 +02:00
|
|
|
# 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.
|
1999-05-29 12:31:06 +02:00
|
|
|
-CEXTRAFLAGS = -O2 # options, e.g. for optimisation or ANSI compilation.
|
2000-02-23 19:31:56 +01:00
|
|
|
+#CEXTRAFLAGS = -O2 # options, e.g. for optimisation or ANSI compilation.
|
1999-05-29 12:31:06 +02:00
|
|
|
# HP/UX cc requires CEXTRAFLAGS = -Aa (HP/UX 9) or ...
|
|
|
|
# -Ae (HP/UX 10); BS2000/OSD requires -XLLML -XLLMK
|
Update "analog" package to version 4.0. Changes since version 3.32:
- Five new reports: Organisation Report, Operating System Report,
Search Word Report, Search Query Report, Processing Time Report.
- Browser Summary improved (will change results).
- Form interface completely rewritten, and considerably simplified.
- Multiple *'s now allowed on left-hand side of ALIASes.
- Regular expressions allowed in INCLUDEs & EXCLUDEs, and ALIASes.
- The output INCLUDEs and EXCLUDEs now apply to the lower levels of a
hierarchical report as well as the top level.
- New commands: CGI, STYLESHEET and ERRLINELENGTH.
- New column N in most reports.
- DEBUG C now reports which part of a corrupt logfile line is corrupt.
- Non-exact bytes are now displayed as, e.g., 47.68 Mbytes instead of
48,832 kbytes. This should be less confusing.
- Timestamps added to PROGRESSFREQ reports.
- The DNS file has a new time encoding.
- Header files split up to make anlghead.h simpler.
- Form interfaces in German and U.S. English included.
- New documentation about search arguments.
- New examples directory.
- New licence. (Nearly the same, just clarified, and slightly loosened).
1999-11-16 22:27:40 +01:00
|
|
|
-DEFS = # any of -DNOPIPES -DNODNS -DNODIRENT -DNOOPEN -DNOREGEX ...
|
2000-02-23 19:31:56 +01:00
|
|
|
+DEFS = -DANALOGDIR=\"${PREFIX}/lib/analog/\" \
|
|
|
|
+ -DLOGFILE=\"/var/log/httpd-access.log\" \
|
|
|
|
+ -DIMAGEDIR=\"/images/\" \
|
|
|
|
+ -DDEFAULTCONFIGFILE=\"${PREFIX}/etc/analog.cfg\"
|
|
|
|
+ # any of -DNOPIPES -DNODNS -DNODIRENT -DNOOPEN -DNOREGEX ...
|
|
|
|
# ... -DEBCDIC -DNOGMTIME -DNEED_STRCMP -DNEED_MEMMOVE ...
|
Update "analog" package to version 4.0. Changes since version 3.32:
- Five new reports: Organisation Report, Operating System Report,
Search Word Report, Search Query Report, Processing Time Report.
- Browser Summary improved (will change results).
- Form interface completely rewritten, and considerably simplified.
- Multiple *'s now allowed on left-hand side of ALIASes.
- Regular expressions allowed in INCLUDEs & EXCLUDEs, and ALIASes.
- The output INCLUDEs and EXCLUDEs now apply to the lower levels of a
hierarchical report as well as the top level.
- New commands: CGI, STYLESHEET and ERRLINELENGTH.
- New column N in most reports.
- DEBUG C now reports which part of a corrupt logfile line is corrupt.
- Non-exact bytes are now displayed as, e.g., 47.68 Mbytes instead of
48,832 kbytes. This should be less confusing.
- Timestamps added to PROGRESSFREQ reports.
- The DNS file has a new time encoding.
- Header files split up to make anlghead.h simpler.
- Form interfaces in German and U.S. English included.
- New documentation about search arguments.
- New examples directory.
- New licence. (Nearly the same, just clarified, and slightly loosened).
1999-11-16 22:27:40 +01:00
|
|
|
# ... -DNEED_STRTOUL -DNEED_DIFFTIME -DNEED_FLOATINGPOINT_H
|
1999-05-09 18:41:15 +02:00
|
|
|
# Solaris 2 (SunOS 5) might need DEFS = -DNEED_STRCMP
|
2000-02-23 19:31:56 +01:00
|
|
|
@@ -22,15 +26,21 @@
|
|
|
|
# SVR4 requires LIBS = -lsocket -lnsl
|
|
|
|
# DYNIX/ptx requires LIBS = -L/usr/lib/bsd-socket -lsocket -lnsl
|
1999-11-23 14:20:09 +01:00
|
|
|
|
|
|
|
+OPSYS!= uname -s
|
|
|
|
+
|
|
|
|
+.if ${OPSYS} == "SunOS"
|
|
|
|
+LIBS+= -lsocket -lnsl
|
|
|
|
+.endif
|
|
|
|
+
|
|
|
|
PROGRAM = analog
|
|
|
|
OBJS = alias.o analog.o cache.o dates.o globals.o hash.o init.o init2.o \
|
Update "analog" package to version 4.0. Changes since version 3.32:
- Five new reports: Organisation Report, Operating System Report,
Search Word Report, Search Query Report, Processing Time Report.
- Browser Summary improved (will change results).
- Form interface completely rewritten, and considerably simplified.
- Multiple *'s now allowed on left-hand side of ALIASes.
- Regular expressions allowed in INCLUDEs & EXCLUDEs, and ALIASes.
- The output INCLUDEs and EXCLUDEs now apply to the lower levels of a
hierarchical report as well as the top level.
- New commands: CGI, STYLESHEET and ERRLINELENGTH.
- New column N in most reports.
- DEBUG C now reports which part of a corrupt logfile line is corrupt.
- Non-exact bytes are now displayed as, e.g., 47.68 Mbytes instead of
48,832 kbytes. This should be less confusing.
- Timestamps added to PROGRESSFREQ reports.
- The DNS file has a new time encoding.
- Header files split up to make anlghead.h simpler.
- Form interfaces in German and U.S. English included.
- New documentation about search arguments.
- New examples directory.
- New licence. (Nearly the same, just clarified, and slightly loosened).
1999-11-16 22:27:40 +01:00
|
|
|
input.o macinput.o macstuff.o output.o output2.o process.o settings.o \
|
1999-05-09 18:41:15 +02:00
|
|
|
sort.o tree.o utils.o win32.o
|
Update "analog" package to version 4.0. Changes since version 3.32:
- Five new reports: Organisation Report, Operating System Report,
Search Word Report, Search Query Report, Processing Time Report.
- Browser Summary improved (will change results).
- Form interface completely rewritten, and considerably simplified.
- Multiple *'s now allowed on left-hand side of ALIASes.
- Regular expressions allowed in INCLUDEs & EXCLUDEs, and ALIASes.
- The output INCLUDEs and EXCLUDEs now apply to the lower levels of a
hierarchical report as well as the top level.
- New commands: CGI, STYLESHEET and ERRLINELENGTH.
- New column N in most reports.
- DEBUG C now reports which part of a corrupt logfile line is corrupt.
- Non-exact bytes are now displayed as, e.g., 47.68 Mbytes instead of
48,832 kbytes. This should be less confusing.
- Timestamps added to PROGRESSFREQ reports.
- The DNS file has a new time encoding.
- Header files split up to make anlghead.h simpler.
- Form interfaces in German and U.S. English included.
- New documentation about search arguments.
- New examples directory.
- New licence. (Nearly the same, just clarified, and slightly loosened).
1999-11-16 22:27:40 +01:00
|
|
|
HEADERS = anlghead.h anlghea2.h anlghea3.h anlghea4.h macdir.h
|
1999-05-29 12:31:06 +02:00
|
|
|
-CFLAGS = $(CEXTRAFLAGS) $(DEFS) -D$(OS)
|
|
|
|
+CFLAGS += $(DEFS) -D$(OS)
|
1999-05-09 18:41:15 +02:00
|
|
|
|
1999-05-09 13:55:24 +02:00
|
|
|
$(PROGRAM): $(OBJS) $(HEADERS) Makefile
|
1999-05-29 12:31:06 +02:00
|
|
|
- $(CC) $(CEXTRAFLAGS) $(OBJS) -o $(PROGRAM) $(LIBS)
|
|
|
|
+ $(CC) $(OBJS) -o $(PROGRAM) $(LIBS)
|
1999-05-09 18:41:15 +02:00
|
|
|
@echo '***'
|
|
|
|
@echo '***IMPORTANT: You must read the licence before using analog'
|
|
|
|
@echo '***'
|