compile help seperately

This commit is contained in:
Mark 2004-03-08 22:26:43 +00:00
parent 49ac73202b
commit 8d94e6eff9
3 changed files with 15 additions and 4 deletions

View file

@ -8,13 +8,13 @@ INSTALL_DATA = @INSTALL_DATA@
DIRECTORY = @DIRINST@/dl/
INCLUDES = -I@DIRINST@/include/ -I.
SRCS= logserv.c log_processing.c
SRCS= logserv.c log_processing.c lgs_help.c
OBJS= ${SRCS:.c=.o}
TARGET= logserv.so
DOCS=LogServ.README LogServ.README.html
SCRIPTS=OnisDoLogs.sh onisconfig
DATA=
DISTFILES=$(SRCS) $(DOCS) $(SCRIPTS) *.in configure install-sh ChangeLog *.h lgs_help.c LICENSE
DISTFILES=$(SRCS) $(DOCS) $(SCRIPTS) *.in configure install-sh ChangeLog *.h LICENSE
DISTDIR= @PACKAGE@-@VERSION@
all: module

View file

@ -26,9 +26,7 @@
*/
#include <stdio.h>
#include "neostats.h"
#include "logserv.h"
#include "lgs_help.c"
/* forward decl */
static int lgs_about(User * u, char **av, int ac);

View file

@ -147,4 +147,17 @@ void lgs_RotateLogs();
void lgs_close_logs();
void lgs_switch_file(ChannelLog *cl);
extern const char lgs_help_about_oneline[];
extern const char lgs_help_version_oneline[];
extern const char lgs_help_chan_oneline[];
extern const char lgs_help_stats_oneline[];
extern const char *lgs_help_about[];
extern const char *lgs_help_chan[];
extern const char *lgs_help_stats[];
extern const char *lgs_help_version[];
extern const char *lgs_help_set_logtype[];
extern const char *lgs_help_set_logsize[];
extern const char *lgs_help_set_logtime[];
#endif