compile help seperately
This commit is contained in:
parent
49ac73202b
commit
8d94e6eff9
3 changed files with 15 additions and 4 deletions
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
|
|
13
logserv.h
13
logserv.h
|
@ -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
|
||||
|
|
Reference in a new issue