1381d53ba1
A redirector for Squid. PR: 14869 Submitted by: Denis Shaposhnikov <dsh@wizard.vlink.ru>
47 lines
1.4 KiB
Plaintext
47 lines
1.4 KiB
Plaintext
--- Makefile.orig Sat Jul 25 07:19:50 1998
|
|
+++ Makefile Mon Nov 8 18:22:45 1999
|
|
@@ -2,20 +2,20 @@
|
|
# HINT: If you want to run the program on an UltraSPARC driven machine,
|
|
# I recommend to use Sun C-Compiler >= 4.0 or gcc >= 2.8.0 with
|
|
# optimization level >= 4 for best performance.
|
|
-CC=cc
|
|
+#CC=cc
|
|
|
|
-INCLUDE = -I.
|
|
-LDFLAGS =
|
|
+#INCLUDE = -I.
|
|
+#LDFLAGS =
|
|
|
|
# Compiler Options
|
|
|
|
-AC_CFLAGS = -xO5 -mr -s -xcrossfile #-g -xsb # SUN cc >= 4.0
|
|
+#AC_CFLAGS = -xO5 -mr -s -xcrossfile #-g -xsb # SUN cc >= 4.0
|
|
#AC_CFLAGS = -O3 -s # SGI cc, AIX cc
|
|
#AC_CFLAGS = -O5 -s # GNU cc
|
|
|
|
# extra Libraries ( we need this for inet_addr(char *) only )
|
|
|
|
-XTRA_LIBS = -lnsl # Solaris 2.x
|
|
+#XTRA_LIBS = -lnsl # Solaris 2.x
|
|
#XTRA_LIBS = # AIX 4.2, Linux 2.x.x, IRIX 5.x, 6.x
|
|
|
|
# if you want to have the option, to enable debug message logging,
|
|
@@ -49,7 +49,7 @@
|
|
# If jesred is compiled without -DUSE_ACCEL the ACCEL strings in the
|
|
# redirect rules are ignored, if there are some.
|
|
#
|
|
-# DEFS = -DUSE_ACCEL
|
|
+DEFS = -DUSE_ACCEL -DDEFAULT_PATH=\"${PREFIX}/etc/squid\"
|
|
|
|
# That's it - no further changes should be necessary ;-)
|
|
# ===========================================================================
|
|
@@ -66,7 +66,7 @@
|
|
CFILES = $(patsubst %.o,%.c,$(OBJS))
|
|
|
|
PROGS = jesred
|
|
-CFLAGS = $(AC_CFLAGS) $(INCLUDE)
|
|
+CFLAGS += $(AC_CFLAGS) $(INCLUDE)
|
|
LIBS = -L. $(XTRA_LIBS)
|
|
|
|
.SUFFIXES: .o
|