Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
mx_getopt: rename files bee_getopt.[ch] to mx_getopt.[ch]
  • Loading branch information
mariux committed May 5, 2015
1 parent 7bdeb02 commit 0312d18
Show file tree
Hide file tree
Showing 8 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion .gitignore
@@ -1,4 +1,4 @@
bee_getopt.o
mx_getopt.o
mx_flock.o
mx_log.o
mx_util.o
Expand Down
26 changes: 13 additions & 13 deletions Makefile
Expand Up @@ -201,17 +201,17 @@ mxq_job.h += mxq_group.h

mxqd.h += mxqd.h

### bee_getopt.h ------------------------------------------------------
### mx_getopt.h ------------------------------------------------------

bee_getopt.h += bee_getopt.h
mx_getopt.h += mx_getopt.h

########################################################################

### bee_getopt.o -------------------------------------------------------
### mx_getopt.o -------------------------------------------------------

bee_getopt.o: $(bee_getopt.h)
mx_getopt.o: $(mx_getopt.h)

clean: CLEAN += bee_getopt.o
clean: CLEAN += mx_getopt.o

### mx_log.o ----------------------------------------------------------

Expand Down Expand Up @@ -249,7 +249,7 @@ clean: CLEAN += mxq_mysql.o
mxqdump.o: $(mx_log.h)
mxqdump.o: $(mxq_util.h)
mxqdump.o: $(mxq_mysql.h)
mxqdump.o: $(bee_getopt.h)
mxqdump.o: $(mx_getopt.h)
mxqdump.o: CFLAGS += $(CFLAGS_MYSQL)
mxqdump.o: CFLAGS += $(CFLAGS_MXQ_MYSQL_DEFAULT_FILE)

Expand All @@ -261,7 +261,7 @@ mxqkill.o: $(mx_log.h)
mxqkill.o: $(mx_util.h)
mxqkill.o: $(mxq_util.h)
mxqkill.o: $(mxq_mysql.h)
mxqkill.o: $(bee_getopt.h)
mxqkill.o: $(mx_getopt.h)
mxqkill.o: CFLAGS += $(CFLAGS_MYSQL)
mxqkill.o: CFLAGS += $(CFLAGS_MXQ_MYSQL_DEFAULT_FILE)

Expand Down Expand Up @@ -306,7 +306,7 @@ clean: CLEAN += mxq_job.o

### mxqd.o -------------------------------------------------------------

mxqd.o: $(bee_getopt.h)
mxqd.o: $(mx_getopt.h)
mxqd.o: $(mx_flock.h)
mxqd.o: $(mx_util.h)
mxqd.o: $(mx_log.h)
Expand All @@ -323,7 +323,7 @@ clean: CLEAN += mxqd.o

### mxqsub.o -------------------------------------------------------

mxqsub.o: $(bee_getopt.h)
mxqsub.o: $(mx_getopt.h)
mxqsub.o: $(mxq_util.h)
mxqsub.o: $(mx_util.h)
mxqsub.o: $(mx_log.h)
Expand All @@ -341,7 +341,7 @@ mxqd: mx_flock.o
mxqd: mx_util.o
mxqd: mx_log.o
mxqd: mxq_log.o
mxqd: bee_getopt.o
mxqd: mx_getopt.o
mxqd: mxq_group.o
mxqd: mxq_job.o
mxqd: mxq_util.o
Expand All @@ -357,7 +357,7 @@ install:: mxqd

### mxqsub ------------------------------------------------------------

mxqsub: bee_getopt.o
mxqsub: mx_getopt.o
mxqsub: mxq_mysql.o
mxqsub: mxq_util.o
mxqsub: mx_util.o
Expand All @@ -377,7 +377,7 @@ mxqdump: mx_log.o
mxqdump: mxq_group.o
mxqdump: mxq_mysql.o
mxqdump: mxq_util.o
mxqdump: bee_getopt.o
mxqdump: mx_getopt.o
mxqdump: LDLIBS += $(LDLIBS_MYSQL)

build: mxqdump
Expand All @@ -395,7 +395,7 @@ mxqkill: mxq_util.o
mxqkill: mx_util.o
mxqkill: mxq_group.o
mxqkill: mxq_job.o
mxqkill: bee_getopt.o
mxqkill: mx_getopt.o
mxqkill: LDLIBS += $(LDLIBS_MYSQL)

build: mxqkill
Expand Down
2 changes: 1 addition & 1 deletion bee_getopt.c → mx_getopt.c
Expand Up @@ -43,7 +43,7 @@
#include <string.h>
#include <assert.h>

#include "bee_getopt.h"
#include "mx_getopt.h"

int bee_getopt_init(struct bee_getopt_ctl *ctl, int argc, char **argv, struct bee_option *optv)
{
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion mxqd.c
Expand Up @@ -24,7 +24,7 @@
#include <pwd.h>
#include <grp.h>

#include "bee_getopt.h"
#include "mx_getopt.h"

#include "mx_flock.h"
#include "mx_util.h"
Expand Down
2 changes: 1 addition & 1 deletion mxqdump.c
Expand Up @@ -12,7 +12,7 @@

#include "mxq_util.h"
#include "mxq_mysql.h"
#include "bee_getopt.h"
#include "mx_getopt.h"

#ifndef MXQ_VERSION
#define MXQ_VERSION "0.00"
Expand Down
2 changes: 1 addition & 1 deletion mxqkill.c
Expand Up @@ -20,7 +20,7 @@
#include "mx_util.h"
#include "mxq_util.h"
#include "mxq_mysql.h"
#include "bee_getopt.h"
#include "mx_getopt.h"

#ifndef MXQ_VERSION
#define MXQ_VERSION "0.00"
Expand Down
2 changes: 1 addition & 1 deletion mxqsub.c
Expand Up @@ -24,7 +24,7 @@
#include "mxq_mysql.h"
#include "mxq_util.h"
#include "mx_util.h"
#include "bee_getopt.h"
#include "mx_getopt.h"


#define MXQ_TASK_JOB_FORCE_APPEND (1<<0)
Expand Down

0 comments on commit 0312d18

Please sign in to comment.