Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
emulab-devel
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
143
Issues
143
List
Boards
Labels
Service Desk
Milestones
Merge Requests
6
Merge Requests
6
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
emulab
emulab-devel
Commits
2a0e64c9
Commit
2a0e64c9
authored
Jan 18, 2002
by
Leigh B. Stoller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Convert to use config.h, and replace hardwired FS dirs with configure
defines.
parent
fbad515c
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
5 deletions
+6
-5
tmcd/GNUmakefile.in
tmcd/GNUmakefile.in
+1
-2
tmcd/tmcc.c
tmcd/tmcc.c
+1
-0
tmcd/tmcd.c
tmcd/tmcd.c
+4
-3
No files found.
tmcd/GNUmakefile.in
View file @
2a0e64c9
...
...
@@ -12,8 +12,7 @@ all: tmcd tmcc tmcd.restart findif
include $(TESTBED_SRCDIR)/GNUmakerules
CFLAGS += -O -g -DUDP -DTBDBNAME='"$(TBDBNAME)"' -I/usr/local/include \
-DFSNODE='"$(FSNODE)"' -DBOSSNODE='"$(BOSSNODE)"'
CFLAGS += -O -g -DUDP -I${OBJDIR} -I/usr/local/include
tmcd: tmcd.o
$(CC) $(CFLAGS) -o tmcd tmcd.o \
...
...
tmcd/tmcc.c
View file @
2a0e64c9
...
...
@@ -17,6 +17,7 @@
#include <arpa/inet.h>
#include <netdb.h>
#include "decls.h"
#include "config.h"
#undef BOSSNODE
...
...
tmcd/tmcd.c
View file @
2a0e64c9
...
...
@@ -13,13 +13,14 @@
#include <assert.h>
#include <mysql/mysql.h>
#include "decls.h"
#include "config.h"
/*
* XXX This needs to be localized!
*/
#define FSPROJDIR FSNODE ":
/q/proj"
#define FSGROUPDIR FSNODE ":
/q/groups"
#define FSUSERDIR FSNODE ":
/users"
#define FSPROJDIR FSNODE ":
" FSDIR_PROJ
#define FSGROUPDIR FSNODE ":
" FSDIR_GROUPS
#define FSUSERDIR FSNODE ":
" FSDIR_USERS
#define PROJDIR "/proj"
#define GROUPDIR "/groups"
#define USERDIR "/users"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment