smallish fixup with compiling and -Wall
This commit is contained in:
parent
db0704f1ef
commit
5ead50bcca
5 changed files with 4823 additions and 1791 deletions
|
@ -8,6 +8,7 @@ NeoStats ChangeLog - Anything we add/remove/fix/change is in here (even our rant
|
|||
- StatServ now only Wallops records in a configurable amount of time. eg, 5 records in 5 minutes
|
||||
- Some of statserv stats were never displayed, fixed that
|
||||
- Fix a adns compile error and remove the warnings
|
||||
- -Wall is only set when compiling with debug mode support. No need for the make.log file anymore
|
||||
|
||||
* NeoStats * Shmad & Fish * Version 2.5.0-Release Candidate 2
|
||||
- Misc. Updates (S)
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Makefile for GeoStats
|
||||
# GeoStats CVS Identification
|
||||
# $Id: Makefile.in,v 1.28 2002/10/24 14:35:11 fishwaldo Exp $
|
||||
# $Id: Makefile.in,v 1.29 2002/12/14 09:14:21 fishwaldo Exp $
|
||||
# makefile originally created by Andy Church.
|
||||
include Makefile.inc
|
||||
|
||||
|
@ -18,7 +18,7 @@ DATA = data/tlds.nfo
|
|||
INCLUDES = config.h dl.h dotconf.h hash.h list.h stats.h Ultimate.h Unreal.h adns/adns.h hybrid7.h neoircd.h
|
||||
|
||||
.c.o:
|
||||
$(CC) $(NEOINCLUDES) $(CFLAGS) -c $< 2>> make.log
|
||||
$(CC) $(NEOINCLUDES) $(CFLAGS) -c $<
|
||||
|
||||
|
||||
all: libadns.a neostats modules
|
||||
|
|
|
@ -2,14 +2,13 @@ include ../Makefile.inc
|
|||
|
||||
INCLUDES = -I..
|
||||
RANLIB=ranlib
|
||||
CFLAGS2=-O2 -ggdb -fPIC -DPIC -I..
|
||||
|
||||
SOURCES= check.c event.c general.c parse.c query.c reply.c setup.c transmit.c types.c
|
||||
OBJECTS= check.o event.o general.o parse.o query.o reply.o setup.o transmit.o types.o
|
||||
all: libadns.a
|
||||
|
||||
.c.o:
|
||||
$(CC) $(CFLAGS2) $(INCLUDES) -c $<
|
||||
$(CC) $(CFLAGS) $(INCLUDES) -c $<
|
||||
|
||||
libadns.a: $(OBJECTS)
|
||||
ar cru $@ ${OBJECTS}
|
||||
|
|
|
@ -4,7 +4,7 @@ AC_CONFIG_HEADER(config.h)
|
|||
PACKAGE=NeoStats
|
||||
VERSION=2.5.0-RC3
|
||||
AC_PREFIX_DEFAULT(~/NeoStats)
|
||||
CFLAGS="$CFLAGS -O2 -Wall"
|
||||
CFLAGS="$CFLAGS -O2"
|
||||
|
||||
dnl Checks for programs.
|
||||
AC_PROG_CC
|
||||
|
@ -86,7 +86,7 @@ AC_ARG_ENABLE(debug,
|
|||
[ case "$enableval" in
|
||||
yes)
|
||||
AC_DEFINE(DEBUG, 1, 'Enable Debugging')
|
||||
CFLAGS="$CFLAGS -ggdb"
|
||||
CFLAGS="$CFLAGS -ggdb -Wall"
|
||||
AC_MSG_RESULT(yes - Watch your Log Files)
|
||||
;;
|
||||
*)
|
||||
|
|
Reference in a new issue