Update of /cvsroot/netadm/gwc
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17018
Modified Files:
Makefile.tmpl
Log Message:
MOD:
make enable logr ratelimit. (not not complete)
Index: Makefile.tmpl
===================================================================
RCS file: /cvsroot/netadm/gwc/Makefile.tmpl,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** Makefile.tmpl 6 May 2006 17:33:33 -0000 1.7
--- Makefile.tmpl 6 May 2006 23:43:23 -0000 1.8
***************
*** 15,24 ****
INCLUDE = -I. -I../include
! #USR_DEBUG_LEVEL += -DUSE_IF_HOSTNAME
! #USR_DEBUG_LEVEL += -DUSE_IF_NETMASK
! #USR_DEBUG_LEVEL += -DHAVE_SOCKADDR_SA_LEN
! #USR_DEBUG_LEVEL += -DTC_DEBUG
! #USR_DEBUG_LEVEL += -DDEBUG
! USR_DEBUG_LEVEL += -DUSE_SYSLOG
# DON'T USE LIMIT CLIENT POWER
--- 15,42 ----
INCLUDE = -I. -I../include
! #DFLAGS += -DUSE_IF_HOSTNAME
! #DFLAGS += -DUSE_IF_NETMASK
! #DFLAGS += -DHAVE_SOCKADDR_SA_LEN
! #DFLAGS += -DTC_DEBUG
!
! # \ \
! # DEBUG functionality
! # /-----------------------------------/
! # If you want all of output to go to stdout,
! # disable USE_SYSLOG and then uncomment the definition below.
! #DFLAGS += -DDEBUG
!
! # \ \
! # USE_SYSLOG functionality
! # /-----------------------------------/
! # This MACRO will make all of output of out () function to syslog which
! # and disable dprintf and dprintk macro function
! DFLAGS += -DUSE_SYSLOG
!
! # \ \
! # gwc_printk ratelimit functionality
! # /-----------------------------------/
! #
! # If you use this function, you must uncomment USE_GWCPK_RATELIMIT" in pf/Makefile
# DON'T USE LIMIT CLIENT POWER
***************
*** 28,33 ****
# For Debugging '-g'
! #CFLAGS = -g -Wall $(USR_DEBUG_LEVEL) $(SIGPW_CONTROL)
! CFLAGS = -O -Wall $(USR_DEBUG_LEVEL) $(SIGPW_CONTROL)
GTKLDFLAGS = `pkg-config --libs gtk+-2.0`
GTKCFLAGS = `pkg-config --cflags gtk+-2.0`
--- 46,51 ----
# For Debugging '-g'
! #CFLAGS = -g -Wall $(DFLAGS) $(SIGPW_CONTROL)
! CFLAGS = -O -Wall $(DFLAGS) $(SIGPW_CONTROL)
GTKLDFLAGS = `pkg-config --libs gtk+-2.0`
GTKCFLAGS = `pkg-config --cflags gtk+-2.0`
|