Created
March 23, 2018 21:59
-
-
Save mpurzynski/f4a0a075f7857211482b2607445d9ff2 to your computer and use it in GitHub Desktop.
anuglymakefile
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| CAFVER=0.14.6 | |
| all: caf bro | |
| caf: cleancaf fetchcaf buildcaf installcaf | |
| fetchcaf: | |
| wget https://github.com/actor-framework/actor-framework/archive/$(CAFVER).tar.gz | |
| buildcaf: | |
| tar zxvf $(CAFVER).tar.gz | |
| cd actor-framework-$(CAFVER) && ./configure --prefix=/usr && make | |
| installcaf: | |
| cd actor-framework-$(CAFVER) && make install | |
| cleancaf: | |
| rm -rf actor-framework-$(CAFVER) | |
| bro: cleanbro fetchbrofromgit buildbro installbro | |
| fetchbrofromgit: | |
| git clone --recursive git://git.bro.org/bro bro-master | |
| buildbro: | |
| cd bro-master && ./configure --enable-perftools --enable-broker --prefix=/usr --with-libcaf=/usr/lib && make | |
| installbro: | |
| cd bro-master && make install | |
| cleanbro: | |
| rm -rf bro-master | |
| broafpacketplugin: | |
| cleanbroafpacketplugin fetchbroafpacketplugin buildbroafpacketplugin installbroafpacketplugin | |
| fetchbroafpacketplugin: | |
| git clone https://github.com/J-Gras/bro-af_packet-plugin | |
| buildbroafpacketplugin: | |
| cd bro-af_packet-plugin && ./configure --bro-dist=../bro-master --install-root=/usr/lib/bro/plugins --with-latest-kernel && make | |
| installbroafpacketplugin: | |
| cd bro-af_packet-plugin && make install | |
| cleanbroafpacketplugin: | |
| rm -rf bro-af_packet-plugin |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment