Commit 3aff79b4 authored by Shashi Guruprasad's avatar Shashi Guruprasad

Added GNUmakefile.in for nse. Default target just prints a message. To

actually build nse, "make buildnse" needs to be done.
make install puts {nse,nseinput.tcl,startnse} in a hardwired path whose base is
currently /usr/testbed/sup/sup/FBSD45-STD/root/ . nse is put usr/local/bin
under the above. nseinput.tcl and startnse are put into etc/testbed
parent 9faf2882
...@@ -53,7 +53,6 @@ program_suffix=NONE ...@@ -53,7 +53,6 @@ program_suffix=NONE
program_transform_name=s,x,x, program_transform_name=s,x,x,
silent= silent=
site= site=
sitefile=
srcdir= srcdir=
target=NONE target=NONE
verbose= verbose=
...@@ -168,7 +167,6 @@ Configuration: ...@@ -168,7 +167,6 @@ Configuration:
--help print this message --help print this message
--no-create do not create output files --no-create do not create output files
--quiet, --silent do not print \`checking...' messages --quiet, --silent do not print \`checking...' messages
--site-file=FILE use FILE as the site file
--version print the version of autoconf that created configure --version print the version of autoconf that created configure
Directory and file names: Directory and file names:
--prefix=PREFIX install architecture-independent files in PREFIX --prefix=PREFIX install architecture-independent files in PREFIX
...@@ -339,11 +337,6 @@ EOF ...@@ -339,11 +337,6 @@ EOF
-site=* | --site=* | --sit=*) -site=* | --site=* | --sit=*)
site="$ac_optarg" ;; site="$ac_optarg" ;;
-site-file | --site-file | --site-fil | --site-fi | --site-f)
ac_prev=sitefile ;;
-site-file=* | --site-file=* | --site-fil=* | --site-fi=* | --site-f=*)
sitefile="$ac_optarg" ;;
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr) -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
ac_prev=srcdir ;; ac_prev=srcdir ;;
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
...@@ -509,16 +502,12 @@ fi ...@@ -509,16 +502,12 @@ fi
srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'` srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
# Prefer explicitly selected file to automatically selected ones. # Prefer explicitly selected file to automatically selected ones.
if test -z "$sitefile"; then if test -z "$CONFIG_SITE"; then
if test -z "$CONFIG_SITE"; then
if test "x$prefix" != xNONE; then if test "x$prefix" != xNONE; then
CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
else else
CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
fi fi
fi
else
CONFIG_SITE="$sitefile"
fi fi
for ac_site_file in $CONFIG_SITE; do for ac_site_file in $CONFIG_SITE; do
if test -r "$ac_site_file"; then if test -r "$ac_site_file"; then
...@@ -586,7 +575,7 @@ else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; } ...@@ -586,7 +575,7 @@ else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
fi fi
echo $ac_n "checking host system type""... $ac_c" 1>&6 echo $ac_n "checking host system type""... $ac_c" 1>&6
echo "configure:590: checking host system type" >&5 echo "configure:579: checking host system type" >&5
host_alias=$host host_alias=$host
case "$host_alias" in case "$host_alias" in
...@@ -607,7 +596,7 @@ host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` ...@@ -607,7 +596,7 @@ host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
echo "$ac_t""$host" 1>&6 echo "$ac_t""$host" 1>&6
echo $ac_n "checking build system type""... $ac_c" 1>&6 echo $ac_n "checking build system type""... $ac_c" 1>&6
echo "configure:611: checking build system type" >&5 echo "configure:600: checking build system type" >&5
build_alias=$build build_alias=$build
case "$build_alias" in case "$build_alias" in
...@@ -633,7 +622,7 @@ fi ...@@ -633,7 +622,7 @@ fi
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
set dummy ${ac_tool_prefix}gcc; ac_word=$2 set dummy ${ac_tool_prefix}gcc; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:637: checking for $ac_word" >&5 echo "configure:626: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
...@@ -665,7 +654,7 @@ fi ...@@ -665,7 +654,7 @@ fi
# Extract the first word of "${ac_tool_prefix}g++", so it can be a program name with args. # Extract the first word of "${ac_tool_prefix}g++", so it can be a program name with args.
set dummy ${ac_tool_prefix}g++; ac_word=$2 set dummy ${ac_tool_prefix}g++; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:669: checking for $ac_word" >&5 echo "configure:658: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
...@@ -697,7 +686,7 @@ fi ...@@ -697,7 +686,7 @@ fi
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
set dummy ${ac_tool_prefix}ar; ac_word=$2 set dummy ${ac_tool_prefix}ar; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:701: checking for $ac_word" >&5 echo "configure:690: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
...@@ -729,7 +718,7 @@ fi ...@@ -729,7 +718,7 @@ fi
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
set dummy ${ac_tool_prefix}ranlib; ac_word=$2 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:733: checking for $ac_word" >&5 echo "configure:722: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
...@@ -761,7 +750,7 @@ fi ...@@ -761,7 +750,7 @@ fi
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
set dummy ${ac_tool_prefix}strip; ac_word=$2 set dummy ${ac_tool_prefix}strip; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:765: checking for $ac_word" >&5 echo "configure:754: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
...@@ -793,7 +782,7 @@ fi ...@@ -793,7 +782,7 @@ fi
# Extract the first word of "${ac_tool_prefix}ssh", so it can be a program name with args. # Extract the first word of "${ac_tool_prefix}ssh", so it can be a program name with args.
set dummy ${ac_tool_prefix}ssh; ac_word=$2 set dummy ${ac_tool_prefix}ssh; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:797: checking for $ac_word" >&5 echo "configure:786: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_SSH'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_prog_SSH'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
...@@ -1107,6 +1096,7 @@ else ...@@ -1107,6 +1096,7 @@ else
event/example/GNUmakefile event/example/tbsend.pl \ event/example/GNUmakefile event/example/tbsend.pl \
event/example/tbrecv.pl event/example/tbsend-short.pl \ event/example/tbrecv.pl event/example/tbsend-short.pl \
event/trafgen/GNUmakefile \ event/trafgen/GNUmakefile \
event/nsetrafgen/GNUmakefile \
event/delay-agent/GNUmakefile \ event/delay-agent/GNUmakefile \
event/program-agent/GNUmakefile \ event/program-agent/GNUmakefile \
event/stated/GNUmakefile event/stated/stated"; event/stated/GNUmakefile event/stated/stated";
...@@ -1194,7 +1184,7 @@ fi ...@@ -1194,7 +1184,7 @@ fi
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
# ./install, which can be erroneously created by make from ./install.sh. # ./install, which can be erroneously created by make from ./install.sh.
echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
echo "configure:1198: checking for a BSD compatible install" >&5 echo "configure:1188: checking for a BSD compatible install" >&5
if test -z "$INSTALL"; then if test -z "$INSTALL"; then
if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
......
...@@ -227,6 +227,7 @@ else ...@@ -227,6 +227,7 @@ else
event/example/GNUmakefile event/example/tbsend.pl \ event/example/GNUmakefile event/example/tbsend.pl \
event/example/tbrecv.pl event/example/tbsend-short.pl \ event/example/tbrecv.pl event/example/tbsend-short.pl \
event/trafgen/GNUmakefile \ event/trafgen/GNUmakefile \
event/nsetrafgen/GNUmakefile \
event/delay-agent/GNUmakefile \ event/delay-agent/GNUmakefile \
event/program-agent/GNUmakefile \ event/program-agent/GNUmakefile \
event/stated/GNUmakefile event/stated/stated"; event/stated/GNUmakefile event/stated/stated";
......
...@@ -35,10 +35,7 @@ trafgen: ...@@ -35,10 +35,7 @@ trafgen:
@$(MAKE) -C trafgen all @$(MAKE) -C trafgen all
nsetrafgen: nsetrafgen:
@echo "" @$(MAKE) -C nsetrafgen all
@echo "WARNING! You must first install NSE if you want NSE traffic generation"
@echo "WARNING! See $(SRCDIR)/nsetrafgen/README"
@echo ""
delay-agent: delay-agent:
@$(MAKE) -C delay-agent all @$(MAKE) -C delay-agent all
...@@ -54,6 +51,7 @@ install: ...@@ -54,6 +51,7 @@ install:
@$(MAKE) -C sched install @$(MAKE) -C sched install
@$(MAKE) -C tbgen install @$(MAKE) -C tbgen install
@$(MAKE) -C stated install @$(MAKE) -C stated install
@$(MAKE) -C nsetrafgen install
control-install: control-install:
@$(MAKE) -C tbgen control-install @$(MAKE) -C tbgen control-install
......
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-2002 University of Utah and the Flux Group.
# All rights reserved.
#
SRCDIR = @srcdir@
TESTBED_SRCDIR = @top_srcdir@
OBJDIR = ../..
SUBDIR = event/nsetrafgen
INSTALL_SUPDIR = /usr/testbed/sup/sup/FBSD45-STD/root
INSTALL_FILES = $(SRCDIR)/nseinput.tcl $(SRCDIR)/startnse
INSTALL_NSE = $(SRCDIR)/nse
include $(OBJDIR)/Makeconf
all: msg
msg:
@echo ""
@echo -n "WARNING! You must first do a \"make buildnse\" in $(SRCDIR) "
@echo "if $(SRCDIR)/nse is not built"
@echo ""
include $(TESTBED_SRCDIR)/GNUmakerules
buildnse:
cd $(SRCDIR); $(SRCDIR)/nse-install
install:
cp $(INSTALL_FILES) $(INSTALL_SUPDIR)/etc/testbed
cp $(INSTALL_NSE) $(INSTALL_SUPDIR)/usr/local/bin
clean:
/bin/rm -f $(INSTALL_NSE)
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