Commit e91b914d authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

GNUmakefile: Add new delay-agent directory to build.

delay-agent/{callback,main}.c: Minor -Wall fixes.
parent 4d99871d
......@@ -8,7 +8,7 @@ SUBDIR = event
include $(OBJDIR)/Makeconf
SUBDIRS = lib sched tbgen example trafgen
SUBDIRS = lib sched tbgen example trafgen delay-agent
all: $(SUBDIRS)
......@@ -29,6 +29,9 @@ example:
trafgen:
@$(MAKE) -C trafgen all
delay-agent:
@$(MAKE) -C delay-agent all
install:
@$(MAKE) -C lib install
@$(MAKE) -C sched install
......@@ -42,6 +45,7 @@ subdir-clean:
@$(MAKE) -C tbgen clean
@$(MAKE) -C example clean
@$(MAKE) -C trafgen clean
@$(MAKE) -C delay-agent clean
distclean: subdir-distclean
......@@ -51,6 +55,7 @@ subdir-distclean:
@$(MAKE) -C tbgen distclean
@$(MAKE) -C example distclean
@$(MAKE) -C trafgen distclean
@$(MAKE) -C delay-agent distclean
.PHONY: $(SUBDIRS)
......@@ -107,7 +107,7 @@ void handle_pipes (char *objname, char *eventtype,
}
/***************** checkevent **************************************
/* checks if we are handling the link for which we got the event
* checks if we are handling the link for which we got the event
***************** checkevent **************************************/
int check_object (char *objname)
......
......@@ -242,8 +242,8 @@ void usage(char *progname)
info("entering function usage\n");
#endif
ERROR("Usage: %s -s server [-p port] -f link-map-file\n",
progname);
fprintf(stderr, "Usage: %s -s server [-p port] -f link-map-file\n",
progname);
exit(-1);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment