updated to show Linux Makefile

This commit is contained in:
ahrenholz@gmail.com 2011-12-19 15:41:16 +00:00
parent 2785f0cd84
commit 5e851adc75

View file

@ -20,15 +20,16 @@ MGEN is an open source traffic generator developed by NRL, available here: [http
> ln -s ../protolib > ln -s ../protolib
}}} }}}
# if using FreeBSD, fix the MGEN makefile; edit the file `~/mgen/makefiles/Makefile.freebsd` and change the line `SYSTEM_LIBS = -lc_r` to `SYSTEM_LIBS = -lpthread` # if using FreeBSD, fix the MGEN makefile; edit the file `~/mgen/makefiles/Makefile.freebsd` and change the line `SYSTEM_LIBS = -lc_r` to `SYSTEM_LIBS = -lpthread`
# Build MGEN; use the Makefile for your OS (FreeBSD shown below) # Build MGEN; use the Makefile for your OS
{{{ {{{
> cd ~/mgen/makefiles > cd ~/mgen/makefiles
> make -f Makefile.freebsd > make -f Makefile.linux
> # or, if FreeBSD use this: make -f Makefile.freebsd
}}} }}}
# Install it # Install it
{{{ {{{
> sudo install -g wheel -o root -m 555 mgen /usr/bin > sudo install -g root -o root -m 555 mgen /usr/local/bin
> sudo install -g wheel -o root -m 555 mpmgr /usr/bin > sudo install -g root -o root -m 555 mpmgr /usr/local/bin
}}} }}}